Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Support Enbridge's Green Button Implementation #16

Open
dangowans opened this issue Sep 20, 2023 · 2 comments
Open

[FEATURE REQUEST] Support Enbridge's Green Button Implementation #16

dangowans opened this issue Sep 20, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dangowans
Copy link
Member

dangowans commented Sep 20, 2023

What feature are you suggesting?

Support for Enbridge's upcoming Green Button Connect My Data Implementation.

Is your feature request related to a problem?

No.

Are there any workarounds? Are there any alternative solutions that would work?

Download the data manually for 30+ assets using Green Button Download My Data, and upload it into EMILE. Note that manually generated Green Button files from Enbridge are importing successfully, so node-green-button-parser should be ready.

Are there any other helpful details?

  • 🛑 Enbridge's Third Party Application is not yet ready.

  • ‼️ The requirements to become a third party are more extensive than PUC, based on Enbridge's FAQ page.

  • 😩 The bulk download endpoint appears significantly more complicated compared to PUC. Rather than providing the data on request like PUC, Enbridge's solution requires a public facing notify URL to notify when data is ready to download over SFTP. Updates to node-green-button-subscriber will be required.

@dangowans dangowans added the enhancement New feature or request label Sep 20, 2023
@dangowans dangowans self-assigned this Sep 20, 2023
@dangowans dangowans added this to EMILE Sep 20, 2023
@dangowans
Copy link
Member Author

dangowans commented Sep 20, 2023

From the FAQ

Are you supporting Representational State Transfer (REST) or SFTP for bulk data request?

We support REST for bulk data requests. When you access our bulk API, you’ll receive a 202 response immediately if the request was sent with the correct token. We’ll process your request in a batch mode and send you the Batchlist via the Notify URI. You’ll have to use the URIs from the Batchlist to get the data, use Client_Access_Token when you access the URIs. Please note that – our backend system allows bulk data sharing between 7 am – 4 pm ET only. If you request the Batchlist URIs outside of this window, your request will be refused.

TODOs

  • 🧱 Handle accepting 202 responses in node-green-button-subscriber.
  • 👂 Create a notify URL to handle notifications when the data is ready to download.
  • 🕛 Implement time-of-day limits to only make requests between 7am and 4pm. Handle the time-of-day rejections.

@dangowans dangowans moved this to Todo in EMILE Sep 20, 2023
dangowans added a commit to cityssm/node-green-button-subscriber that referenced this issue Sep 21, 2023
preparing for Enbridge's implementation

cityssm/EMILE#16
dangowans added a commit that referenced this issue Oct 5, 2023
for enbridge implementation #16
@dangowans
Copy link
Member Author

Enbridge's third party application process is now available.

@dangowans dangowans moved this from Todo to In Progress in EMILE Oct 26, 2023
dangowans added a commit to cityssm/node-green-button-subscriber that referenced this issue Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant