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

feat: Implement get emissions data and carbon intensity #4

Merged
merged 2 commits into from Mar 29, 2023
Merged

feat: Implement get emissions data and carbon intensity #4

merged 2 commits into from Mar 29, 2023

Conversation

helayoty
Copy link
Contributor

@helayoty helayoty commented Mar 28, 2023

  • Call the following CarbonAware APIs:
    • GetEmissionsDataForLocationByTime
    • GetAverageCarbonIntensity
    • GetCurrentForecastData
  • Fix client time format and add missing contentType application/problem+json to the response decode.
  • Add e2e-test workflow
  • Add copyright header

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty changed the title feat: Implement get emissions data feat: Implement get emissions data and carbon intensity Mar 28, 2023
@helayoty helayoty requested a review from Fei-Guo March 28, 2023 18:59
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
pkg/exporter/exporter.go Show resolved Hide resolved
@Fei-Guo Fei-Guo merged commit 1e33042 into Azure:main Mar 29, 2023
3 checks passed
@helayoty helayoty deleted the get-data branch March 30, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants