Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
365 commits
Select commit Hold shift + click to select a range
3c62bd4
Qucikstart fix and overview link adjustment following move
danuw Feb 12, 2024
98c4543
Up Helm chart version to 1.1.0
YaSuenag Feb 12, 2024
bfdb8ef
Signed-off-by: Vaughan Knight <[email protected]>
vaughanknight Feb 7, 2024
de8d88c
CarbonHack24 Update to README.md
danuw Feb 11, 2024
1cc4302
Create tests.md
danuw Feb 7, 2024
a3a5da6
Update tests.md
danuw Feb 12, 2024
13becaf
Signed-off-by: Vaughan Knight <[email protected]>
vaughanknight Feb 7, 2024
e0507cf
Merge pull request #463 from Green-Software-Foundation/danuw-hack-ban…
danuw Feb 13, 2024
db78f30
Merge pull request #464 from Willmish/Willmish-patch-securitymd
danuw Feb 13, 2024
751724e
Merge pull request #454 from JasonLuuk/patch-3
danuw Feb 13, 2024
f5a58db
Merge pull request #453 from JasonLuuk/patch-2
danuw Feb 13, 2024
b45c456
Merge pull request #449 from YaSuenag/pr/helm-location-sources
danuw Feb 13, 2024
590f262
blog updates
danuw Feb 13, 2024
20d120b
Merge branch 'dev' into docs/docusaurus
danuw Feb 13, 2024
aa01e63
DCO Remediation Commit for Dan Benitah <[email protected]>
danuw Feb 13, 2024
6aed17f
DCO Remediation Commit for danuw <[email protected]>
danuw Feb 13, 2024
3b8abfa
Update baseURL docusaurus config
osamajandali Feb 14, 2024
3f4fb30
Update docusaurus.config.js
osamajandali Feb 14, 2024
7dcb7d3
Revert changes
osamajandali Feb 14, 2024
53b5d7a
Update domain from docusaurus
osamajandali Feb 14, 2024
6fee055
Update docusaurus.config.js
osamajandali Feb 14, 2024
ee4532b
Create CNAME file
osamajandali Feb 14, 2024
ed464fc
clean up for title
danuw Feb 19, 2024
5f0bbff
Option to show the samples in the local docs using `nm run start-with…
danuw Feb 19, 2024
f5b3eb6
seo for the doc site
danuw Feb 19, 2024
89c1d64
docs fixes
danuw Feb 20, 2024
093ecb4
layout update for blogs
danuw Feb 20, 2024
2dc06f8
Update SECURITY.md
vaughanknight Feb 20, 2024
893439f
DCO Remediation Commit for Vaughan Knight <[email protected]>
vaughanknight Feb 20, 2024
5efc85e
Merge pull request #469 from Green-Software-Foundation/Security-Docum…
danuw Feb 20, 2024
f15a593
Ensure pictures on the blog are correctly sized
danuw Feb 20, 2024
f3c6a73
Merge pull request #466 from Green-Software-Foundation/docs/docusaurus
vaughanknight Feb 20, 2024
8cabb04
updated links to videos
danuw Feb 21, 2024
faf44cb
Update README.md
jacksorjacksor Feb 26, 2024
c062723
Update README.md
jacksorjacksor Feb 26, 2024
834d6b7
Merge pull request #472 from jacksorjacksor/patch-1
danuw Feb 26, 2024
c7e5ecd
first draft of release 1.3 changelog
danuw Feb 26, 2024
7d5e50e
Update README.md with updated link to overview
danuw Feb 27, 2024
85d83d3
Fix overview URL in README
Willmish Feb 27, 2024
fd6b5cd
Update README.md
russelltrow Feb 27, 2024
8776a69
Merge pull request #470 from Green-Software-Foundation/fix/readmefile…
danuw Feb 27, 2024
2788f56
Merge pull request #478 from Green-Software-Foundation/russelltrow-pa…
danuw Feb 27, 2024
f267eba
Updates to the contribution documentation
vaughanknight Feb 27, 2024
3ce2ba3
DCO Remediation Commit for Vaughan Knight <[email protected]>
vaughanknight Feb 27, 2024
57f50a7
Merge pull request #480 from Green-Software-Foundation/vk-contributing
vaughanknight Feb 28, 2024
1e84f60
Merge pull request #475 from Green-Software-Foundation/Changelog-1.3
vaughanknight Mar 5, 2024
fe6797d
Readme as project overview in docs, disclaimer update for graduated p…
danuw Mar 6, 2024
52705a6
DCO Remediation Commit for Vaughan Knight <[email protected]>
vaughanknight Mar 6, 2024
734605d
Merge pull request #485 from Green-Software-Foundation/docs/update-ov…
vaughanknight Mar 6, 2024
9d51f79
Migrate to .NET 8
tiwatsuka Mar 27, 2024
94b428a
fix typos
omahs Mar 27, 2024
58b548c
fix typo
omahs Mar 27, 2024
c2101f8
fix typo
omahs Mar 27, 2024
9eb3fa2
fix typos
omahs Mar 27, 2024
5b3a352
fix typos
omahs Mar 27, 2024
85d113b
fix typos
omahs Mar 27, 2024
fd6db72
Merge pull request #493 from YaSuenag/pr/dotnet8
danuw Apr 3, 2024
9b6dbc2
Update agenda-template.md
Sophietn Apr 9, 2024
38af213
Merge pull request #497 from Green-Software-Foundation/Sophietn-patch-1
Sophietn Apr 9, 2024
abd9e6b
Resolve NU1605 relating to System.IO.FileSystem.Primitives
YaSuenag Apr 10, 2024
da7a254
Use RID rather than QEMU to build WebAPI container image
YaSuenag Apr 10, 2024
6799e5b
Separate OpenAPI document generation from build-env stage
YaSuenag Apr 10, 2024
10104a2
Merge pull request #498 from YaSuenag/pr/containerize-refinement
danuw Apr 10, 2024
5921f99
Merge pull request #494 from omahs/patch-1
danuw Apr 10, 2024
d0d5e72
Add GHA workflow for generating WebAPI client library for Java
YaSuenag Feb 23, 2024
5e2b5ac
Create case-study-template.md
vaughanknight Apr 16, 2024
22c09c3
Update case-study-template.md
vaughanknight Apr 16, 2024
412f185
Up Helm chart version to 1.2.0 (#500)
YaSuenag Apr 23, 2024
b9490e4
First draft of the ADR for watt time v3 changes
vaughanknight May 7, 2024
faae742
Initial changelog 1.4.0 (#511)
danuw May 7, 2024
c6b2c14
overview.md: Fixed three broken links Signed-off-by: joecus1 <joecusa…
joecus1 May 7, 2024
add24fe
DCO Remediation Commit for joecus1 <[email protected]>
joecus1 May 7, 2024
9fb9ba0
Update enablement.md
nttDamien May 8, 2024
cd44f46
(fix) broken links - Update enablement.md
nttDamien May 8, 2024
b991bac
Moved ADR to correct location
vaughanknight May 8, 2024
f4bbf52
Further updates for the watt time v2 to v3 upgrade
vaughanknight May 8, 2024
d6ad67c
Further updates for the watt time v2 to v3 upgrade
vaughanknight May 8, 2024
15a6f9c
Merge branch 'wattime-v3-support' of https://github.com/Green-Softwar…
vaughanknight May 8, 2024
4192933
Update SECURITY.md (.NET 8 upgrade)
nttDamien May 13, 2024
3398e5a
Update enablement.md
nttDamien May 14, 2024
27f41df
Merge pull request #516 from nttDamien/dev
danuw May 14, 2024
85e6c72
Merge pull request #515 from joecus1/dev
danuw May 14, 2024
2664153
Merge branch 'main' into dev
vaughanknight May 14, 2024
f29f4c9
Update docusaurus.config.js
danuw May 14, 2024
a08a9d9
Update docusaurus.config.js
danuw May 14, 2024
db72545
documentation-change.yml: Created issue template for documentation ch…
joecus1 May 15, 2024
cb46877
Update 0016-watt-time-v3.md
vaughanknight May 15, 2024
e324f36
First draft of the ADR for watt time v3 changes
vaughanknight May 7, 2024
be6663c
Moved ADR to correct location
vaughanknight May 8, 2024
17210ed
Further updates for the watt time v2 to v3 upgrade
vaughanknight May 8, 2024
7920786
Update 0016-watt-time-v3.md
vaughanknight May 15, 2024
3a7c681
Add blog article for .NET 8 upgrade
YaSuenag May 16, 2024
1106968
Merge pull request #522 from Green-Software-Foundation/remove-hack24-…
Sophietn May 17, 2024
8f1297a
Update article
YaSuenag May 24, 2024
e4f1494
Create 0016-watt-time-v3.md
vaughanknight May 31, 2024
b443e9e
Added base url to the configuration with validation
vaughanknight May 31, 2024
ab1205d
Updated start and end configuration
vaughanknight May 31, 2024
7c115fa
Balancing Authority Parameter Renamed to Region
vaughanknight May 31, 2024
2541119
Update GHA workflow for uploading Javadoc
YaSuenag Jun 4, 2024
4f5dbd2
Add example for 'podman play kube' (#340)
YaSuenag Jun 11, 2024
e047c9a
Updates for historical data API
vaughanknight Jun 17, 2024
aa81382
Removed accidental file
vaughanknight Jun 17, 2024
8640c8c
Lots of test updates
vaughanknight Jun 17, 2024
880fcf7
Historical forecasts updated
vaughanknight Jun 17, 2024
92f8dbc
DCO Remediation Commit for Vaughan Knight <[email protected]>
vaughanknight Jun 17, 2024
39e45a6
Many tests reworked, a few to go
vaughanknight Jun 18, 2024
fbfcac1
Further test updates
vaughanknight Jun 18, 2024
0080ae8
Merge branch 'wattime-v3-support' of https://github.com/Green-Softwar…
vaughanknight Jun 18, 2024
f3fd570
Merge branch 'wattime-v3-support' of https://github.com/Green-Softwar…
vaughanknight Jun 18, 2024
9aabd27
Further updates, just 1 test left to remediate
vaughanknight Jun 18, 2024
8127a92
Updated to add authentication client to the service builder for the t…
vaughanknight Jun 18, 2024
4ff0151
Renaming of Balancing Authority to Region
vaughanknight Jun 18, 2024
d93320f
Fixed spelling error in latitude
vaughanknight Jun 18, 2024
91799f7
Fixed a bug where location sources were loading twice
vaughanknight Jun 19, 2024
4665813
Fixed typo for method name
vaughanknight Jun 19, 2024
b228cf7
DCO Remediation Commit for Vaughan Knight <[email protected]>
vaughanknight Jun 19, 2024
8137659
Updates based on code review for WattTime Tests
vaughanknight Jun 19, 2024
f64ec8e
Cleaned up a lot of the string literals
vaughanknight Jun 19, 2024
daa4503
More cleanup of some of the strings
vaughanknight Jun 20, 2024
903a58f
Updates to documentation and changelog
vaughanknight Jun 25, 2024
301db94
Fix
YaSuenag Jun 26, 2024
55b9b10
Merge pull request #532 from Green-Software-Foundation/wattime-v3-sup…
danuw Jun 28, 2024
61420cc
Update azure-regions.json (#536)
danuw Jul 2, 2024
a734c56
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
8bf03bc
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
28e0c2f
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
16ba58b
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
4c72759
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
0daeb94
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
fc11261
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
670b6c0
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
af44de1
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
cee7dd5
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
9af35e5
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
8b7930d
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
bdebd19
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
9a5fa5f
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
7e60a26
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
7dfe8ca
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
d415c3a
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
1d375ab
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
b49f6c1
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
a51a284
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
f30a4a8
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
25c6833
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
5f405b0
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
e80947a
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
ea59427
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
406f7b0
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
42d991e
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
6cecab3
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
bdfb40b
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
a4e5a03
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
0f15148
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
c076597
Update casdk-docs/blog/2024-05-16-dotnet8/index.md
YaSuenag Jul 9, 2024
6cdcabc
Fix comments
YaSuenag Jul 10, 2024
07fb748
Update CHANGELOG.md for v1.5
danuw Jul 12, 2024
05e6a91
Update CHANGELOG.md
danuw Jul 16, 2024
fd2f560
Merge pull request #541 from Green-Software-Foundation/Changelog-1.5
danuw Jul 17, 2024
01465dd
Add env directive to values.yaml and troubleshooting guide to avoid i…
YaSuenag Jun 13, 2024
a9d1690
Add env directive into explanation of values.yaml for Helm chart
YaSuenag Jul 20, 2024
4123038
Merge branch 'main' into dev
vaughanknight Jul 23, 2024
1c57aee
Merge pull request #523 from joecus1/dev
danuw Jul 23, 2024
6bbd05e
Merge pull request #524 from YaSuenag/pr/dotnet8-blog
danuw Aug 6, 2024
878f630
typo: fix incorrect usage of it's
trent-s Aug 13, 2024
0b092c9
Docs/blog update for releases 1.3 to1.5 and fix (#551)
danuw Aug 13, 2024
5f0ed0c
Merge branch 'Green-Software-Foundation:dev' into dev
trent-s Aug 13, 2024
89a5ba3
Merge pull request #553 from trent-s/dev
danuw Aug 14, 2024
ecda90d
Add a configuration for disabling to cache JSON emission data
YaSuenag Aug 24, 2024
e67716d
Merge pull request #555 from YaSuenag/pr/update-json-emissiondata
danuw Aug 27, 2024
4a8aa9e
Merge pull request #544 from YaSuenag/pr/inotify
danuw Aug 27, 2024
a036409
Update CHANGELOG.md for 1.6
danuw Sep 10, 2024
d5bd112
Merge pull request #560 from Green-Software-Foundation/Changelog-1.6
danuw Sep 17, 2024
93d9ba2
Merge branch 'main' into dev
danuw Sep 17, 2024
d81d12c
Update 1-pr.yaml
danuw Sep 18, 2024
48d743b
Update dev_carbon-aware-api.yml
danuw Sep 18, 2024
5a5ba8f
Merge pull request #562 from Green-Software-Foundation/hotfix/discrep…
danuw Sep 18, 2024
705e72e
fixes and release notes post for 1.6
danuw Sep 19, 2024
d3b054b
updated blog post
danuw Sep 24, 2024
f412591
docs workflow's node version updated to latest LTS -> 22
danuw Sep 24, 2024
2057c32
DCO Remediation Commit for Dan Benitah <[email protected]>
danuw Sep 24, 2024
cefcd73
blogs with truncate
danuw Sep 24, 2024
3d265a1
node version update back to 20
danuw Sep 24, 2024
eae5bd1
adding yarn.lock
danuw Sep 24, 2024
dfea675
pipelines fixes
danuw Sep 24, 2024
e8b8e84
Update CarbonAwareController.cs (minor typos)
jacksorjacksor Sep 24, 2024
e8e7530
DCO Remediation Commit for Dan Benitah <[email protected]>
danuw Sep 24, 2024
c50f5f5
Merge pull request #568 from Green-Software-Foundation/docs/hotfix
danuw Sep 24, 2024
f05dcf4
Merge pull request #569 from jacksorjacksor/patch-1
danuw Sep 24, 2024
0afba03
Consider null value in carbonIntensity on EM (#575)
YaSuenag Oct 15, 2024
0cd1998
EM datasource didn't filter out-of-range emission data (#572)
YaSuenag Oct 15, 2024
e7def2b
Update CHANGELOG.md
danuw Oct 29, 2024
ead82a2
Merge pull request #580 from Green-Software-Foundation/Changelog-1.6.1
danuw Oct 29, 2024
b502723
Add configuration for tracing log (#531)
YaSuenag Nov 5, 2024
f35bb59
Updating 1.6.1 to include #531 straight away
danuw Nov 5, 2024
a3290f1
DCO Remediation Commit for Dan Benitah <[email protected]
danuw Nov 5, 2024
c723398
fix
danuw Nov 5, 2024
08560c3
Merge pull request #582 from Green-Software-Foundation/Changelog-1.6.…
danuw Nov 5, 2024
f5182d6
add gh cli to devcontainer/codespace
danuw Nov 12, 2024
8ade7de
Merge branch 'main' into hotfix/1.6.1-merge-issues
danuw Nov 12, 2024
e7ba0ff
Merge pull request #586 from Green-Software-Foundation/hotfix/1.6.1-m…
danuw Nov 12, 2024
2380486
Merge branch 'dev' into pr/generate-java-webapi-client
YaSuenag Nov 13, 2024
4abb9c6
Add developerEmail to config.json
YaSuenag Nov 13, 2024
2e51a3e
Fix typo in commit message for Javadoc
YaSuenag Nov 13, 2024
d650520
Upgrade actions/checkout to v4
YaSuenag Nov 13, 2024
6ee03f6
Fix compile error in Program.cs in WebAPI
YaSuenag Nov 13, 2024
a82b090
Merge pull request #471 from YaSuenag/pr/generate-java-webapi-client
danuw Nov 19, 2024
f363695
Merge pull request #588 from Green-Software-Foundation/features/add-g…
danuw Nov 19, 2024
189c3bc
Add workflow for generating NPM library
YaSuenag Nov 20, 2024
b9b7e0b
Add WebAPI client example for TS
YaSuenag Dec 6, 2024
14554d3
Add client API docs into sidebar
YaSuenag Dec 6, 2024
fedbb6d
Merge pull request #591 from YaSuenag/pr/generate-npm-client
danuw Dec 10, 2024
5f97ba6
Add Client API documents for WebAPI 1.0.0
danuw Dec 11, 2024
48bcdaf
Merge pull request #597 from Green-Software-Foundation/gha/pr/webapid…
danuw Dec 17, 2024
ec78553
Update CHANGELOG.md for 1.7
danuw Jan 7, 2025
e5c66ce
Create 2025-01-07-release-1.7.mdx
danuw Jan 7, 2025
ba0d5f0
Create 2024-11-30-relese1.6.1.mdx
danuw Jan 7, 2025
6d372af
Merge pull request #602 from Green-Software-Foundation/Chnagelog-1.7
danuw Jan 14, 2025
f2ab21d
Update CHANGELOG.md
danuw Jan 14, 2025
5dffbcc
Merge pull request #604 from Green-Software-Foundation/Chnagelog-1.7
danuw Jan 14, 2025
44415fa
Merge branch 'dev' into feature/main-merge-conflicts-1.6.1
danuw Jan 19, 2025
a9412ac
Merge pull request #606 from Green-Software-Foundation/feature/main-m…
danuw Jan 20, 2025
ed28d43
Remove JSON examples from artifacts
YaSuenag Jan 21, 2024
6c51473
Support co2_aoer in WattTime
YaSuenag Jan 31, 2025
de988b0
docs(casdk): make documentation signal agnostic
unitrium Feb 3, 2025
137cd72
docs(ca.web.api): make documentation signal agnostic
unitrium Feb 3, 2025
69254e0
DCO Remediation Commit for Robin TROESCH <[email protected]
unitrium Feb 4, 2025
13e252d
Merge pull request #614 from electricitymaps/robin/update-forecast-do…
danuw Feb 25, 2025
20af68c
Add ADR for signal type in WattTime data source
YaSuenag Feb 26, 2025
443add5
Use SignalTypes enum instead of String literal
YaSuenag Feb 26, 2025
32849dd
Merge pull request #611 from YaSuenag/pr/wt-aoer
danuw Mar 3, 2025
b086396
refactor(ElectricityMaps): unify ElectricityMaps and ElectricityMapsFree
unitrium Mar 10, 2025
e3ba7d1
remove free trial mention
unitrium Mar 10, 2025
ced86c7
DCO Remediation Commit for Robin TROESCH <[email protected]
unitrium Mar 10, 2025
ea41012
fix(carbon-aware-web-api): fix integration test with json src
unitrium Mar 18, 2025
1c3a86a
DCO Remediation Commit for Robin TROESCH <[email protected]
unitrium Mar 18, 2025
d7a95d8
Update quickstart.md
YaSuenag Mar 20, 2025
95555ea
Update enablement.md
YaSuenag Mar 20, 2025
1e58ef7
Set JsonStringConverter to JSON deserializer option in WattTimeClient
YaSuenag Apr 7, 2025
781f7a7
Added test for enum serialization
vaughanknight Apr 8, 2025
88f0a9e
Merge pull request #623 from YaSuenag/pr/jsonstringconverter
danuw Apr 8, 2025
726e86a
add API TokenHeader and APIToken config
lav-julien Apr 14, 2025
3729a26
Merge pull request #619 from electricitymaps/robin/update-empas-docum…
danuw Apr 14, 2025
616a42f
Merge branch 'dev' into pr/remove-jsons
YaSuenag Apr 15, 2025
1bc9a4c
Revert changes for EMFree
YaSuenag Apr 15, 2025
46eb765
Merge pull request #450 from YaSuenag/pr/remove-jsons
danuw Apr 22, 2025
a38841c
Add datasource configuration in 1-pr.yaml
YaSuenag Apr 30, 2025
0b34a7a
Merge pull request #632 from YaSuenag/pr/gha-pr
danuw May 6, 2025
350caaf
Updated changelog for 1.8 (#630)
danuw May 13, 2025
e6de58d
Merge branch 'main' into dev
danuw May 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/1-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@ jobs:
directory: ${{ env.DOTNET_SRC_DIR }}

- name: Generate Open API
run: dotnet tool run swagger tofile --output ./wwwroot/api/v1/swagger.yaml --yaml ${{ env.DLL_FILE_PATH }} v1
env:
DataSources__EmissionsDataSource: Json
DataSources__Configurations__Json__Type: JSON
DOTNET_ROLL_FORWARD: LatestMajor
run: dotnet tool run swagger tofile --output ./wwwroot/api/v1/swagger.yaml --yaml ${{ env.DLL_FILE_PATH }} v1
working-directory: ./src/CarbonAware.WebApi/src

- name: Upload swagger artifact
Expand All @@ -146,7 +148,7 @@ jobs:

- name: Docker Run Container
run: |
docker run -d --name runnable-container -p 8080:8080 ca-api
docker run -d --name runnable-container -e DataSources__EmissionsDataSource=Json -e DataSources__Configurations__Json__Type=JSON -p 8080:8080 ca-api
docker container ls

- name: Docker WGET Health Endpoint
Expand Down Expand Up @@ -182,6 +184,8 @@ jobs:
- name: Generate Open API
run: dotnet tool run swagger tofile --output ./wwwroot/api/v1/swagger.yaml --yaml ${{ env.DLL_FILE_PATH }} v1
env:
DataSources__EmissionsDataSource: Json
DataSources__Configurations__Json__Type: JSON
DOTNET_ROLL_FORWARD: LatestMajor
- name: Upload dev artifact
uses: actions/upload-artifact@v4
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

All notable changes to the Carbon Aware SDK will be documented in this file.


## [1.8] - 2025-04

This release consolidates the ElectricityMaps sources, introduces new CO₂-intensity signal support in WattTime, and rounds out the release with documentation improvements and critical bug fixes [https://github.com/Green-Software-Foundation/carbon-aware-sdk/labels/v1.8](https://github.com/Green-Software-Foundation/carbon-aware-sdk/labels/v1.8).

### Added


- [PR #619] feat(ElectricityMaps source): unify ElectricityMaps and ElectricityMapsFree ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/619)
- [PR #614] Make documentation for forecasts signal agnostic ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/614)
- [PR #611] Support co2_aoer in WattTime ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/611)
- [PR #450] Remove JSON examples from artifacts ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/450)

And supporting issues:

- [#612] Documentation: Update wording about marginal signal ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/612)
- [#440] [Feature Contribution]: Remove JSON examples from WebAPI container ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/440)
- [#396] [Feature Contribution]: Better to throw exception when future datetime is specified to endpoints for current/historical data ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/396)

### Fixed

- [#613] [Bug]: Electricity Maps API configuration is out of date ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/613)
- [PR #623] [URGENT] Set JsonStringConverter to JSON deserializer option in WattTimeClient ](https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/623)

For more details, checkout [https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/628](https://github.com/Green-Software-Foundation/carbon-aware-sdk/issues/628)

## [1.7] - 2025-01

This release mainly introduces new clients libraries for NPM and Java [https://github.com/Green-Software-Foundation/carbon-aware-sdk/labels/v1.7](https://github.com/Green-Software-Foundation/carbon-aware-sdk/labels/v1.7)
Expand Down
3 changes: 1 addition & 2 deletions casdk-docs/docs/architecture/c-sharp-client-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ The following namespaces are included:

There are two main classes that represents the data fetched from the data
sources (i.e `Static Json`, [WattTime](https://www.watttime.org),
[ElectricityMaps](https://www.electricitymaps.com), and
[ElectricityMapsFree](https://www.co2signal.com/)):
[ElectricityMaps](https://www.electricitymaps.com)):

- `EmissionsData`
- `EmissionsForecast`
Expand Down
3 changes: 1 addition & 2 deletions casdk-docs/docs/architecture/data-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ sidebar_position: 3

Data sources allow developers easily integrate different data providers into the
carbon aware SDK ([WattTime](https://www.wattime.org),
[ElectricityMaps](https://www.electricitymaps.com/),
[ElectricityMapsFree](https://www.co2signal.com/) etc) to be made available to
[ElectricityMaps](https://www.electricitymaps.com/), etc) to be made available to
all higher-level user-interfaces (WebAPI, CLI, etc), while avoiding the details
of how to interact with any specific provider.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 0017. Signal Type in WattTime v3 Data Source

## Status

Proposed

## Context

WattTime v3 API has been supported since [Carbon Aware SDK v1.5.0](https://carbon-aware-sdk.greensoftware.foundation/blog/release-v1.5). As we mentioned in [ADR-0015](https://carbon-aware-sdk.greensoftware.foundation/docs/architecture/decisions/watt-time-v3), `signal_type` has been added in each endpoints which the SDK will access since v3 API. We should be able to set following parameters to it, but it can't in Carbo Aware SDK.

https://watttime.org/data-science/data-signals/

| Signal Type | Description |
|---|---|
| `co2_moer` | Marginal Operating Emissions Rate of carbon dioxide. |
| `co2_aoer` | Average Operating Emissions Rate of carbon dioxide. |

According to [Green Software Practitioners](https://learn.greensoftware.foundation/carbon-awareness#marginal-carbon-intensity), "marginal" means the carbon intensity of the power plant that would have to be employed to meet any new demand. On the other hand, "average" means the average of all of power plants. It should be chosen by Carbon Aware SDK user because which value is needed depends on the user.

`co2_moer` is hard-coded until Carbon Aware SDK v1.7.0 (at least).

## Decision

The proposal is for adding a new parameter for Signal Type in WattTime Data Source.

## Update Changes

We will introduce new parameter for data source configuration of WattTime as following.

### appsettings.json

```json
"WattTime": {
"Type": "WattTime",
"Username": "username",
"Password": "password",
"BaseURL": "https://api.watttime.org/v3/",
"SignalType": "co2_aoer"
}
```

### environment variable

```bash
DataSources__Configurations__WattTime__SignalType=co2_aoer
```

## Green Impact

Neutral
45 changes: 20 additions & 25 deletions casdk-docs/docs/overview/enablement.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sidebar_position: 3
* SDK
* Use cases

2. [How to Use Carbon Aware SDK](#2-how-to-use-carbon-aware-sdk)
2. [How to Use Carbon Aware SDK](#2-how-to-use-carbon-aware-sdk)

2.1 [Pre-requisites](#21-pre-requisites)
* Data sources
Expand All @@ -23,13 +23,13 @@ sidebar_position: 3
* Setup
* Usage

2.3 [WebAPI](#23-webapi)
2.3 [WebAPI](#23-webapi)
* Setup
* Deploying with container
* Deploying with Kubernetes
* Usage
* Calling WebAPI using CLI
* Calling WebAPI using client libraries
* Calling WebAPI using client libraries

2.4 [Configurations](#24-configurations)

Expand All @@ -43,16 +43,16 @@ you different data than the WebAPI for the same query). We provide a number of
different endpoints to provide the most flexibility to integrate to your
environment:

* CLI
* CLI
You can run the application using the [CLI](/src/CarbonAware.CLI) and refer
to more documentation [here](../tutorial-basics/carbon-aware-cli.md).
to more documentation [here](../tutorial-basics/carbon-aware-cli.md).

* WebAPI
* WebAPI
You can build a container containing the [WebAPI](/src/CarbonAware.WebApi)
and connect via REST requests and refer to more documentation
[here](../tutorial-basics/carbon-aware-webapi.md).

* SDK
* SDK
You can reference the [Carbon Aware C# Library](/src/GSF.CarbonAware) in your
projects and make use of its functionalities and features.

Expand All @@ -75,7 +75,6 @@ We support various data sources of carbon aware data:

* [WattTime](https://www.watttime.org/)
* [ElectricityMaps](https://www.electricitymaps.com/)
* [ElectricityMapsFree](https://www.co2signal.com/)
* JSON file

There are a few constraints to select data sources to some functions of
Expand All @@ -91,7 +90,7 @@ providers into the carbon aware SDK.
* Alternatively:
* Docker
* VSCode and its [Remote Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
* WebAPI
* WebAPI
* Docker
* VSCode and its [Remote Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)

Expand Down Expand Up @@ -127,20 +126,13 @@ VSCode Remote Containers (Dev Container). To run locally:
or

```bash
export DataSources__EmissionsDataSource="ElectricityMaps"
export DataSources__ForecastDataSource="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__Type="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__APITokenHeader="auth-token"
export DataSources__Configurations__ElectricityMaps__APIToken="<YOUR_ELECTRICITYMAPS_TOKEN>"
```

or

```bash
export DataSources__EmissionsDataSource="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__Type="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__token="<CO2SIGNAL_TOKEN>"
```

4. Run the CLI using `dotnet run`

The CLI will ask you to at minimum provide a `--location (-l)` parameter.
Expand All @@ -155,6 +147,8 @@ parameters and short explanations.
To get a list of all locations supported, you can use the Locations API,
referenced in `src/CarbonAware.CLI/src/Commands/Location`
and the command `.\caw locations`.
Note that you have to configure `LocationDataSourcesConfiguration`
into `appsettings.json` before running the command.

Expected output:

Expand Down Expand Up @@ -269,19 +263,13 @@ First we need to set up the GitHub repository
or

```bash
export DataSources__EmissionsDataSource="ElectricityMaps"
export DataSources__ForecastDataSource="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__Type="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__APITokenHeader="auth-token"
export DataSources__Configurations__ElectricityMaps__APIToken="<YOUR_ELECTRICITYMAPS_TOKEN>"
```

or

```bash
export DataSources__EmissionsDataSource="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__Type="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__token="<CO2SIGNAL_TOKEN>"
```

6. In the VSCode Terminal:
7. Change directory to: `cd src/CarbonAware.WebApi/src`
Expand Down Expand Up @@ -452,6 +440,9 @@ endpoints, full endpoint description can be found [here](https://github.com/Gree
To get a list of all locations supported, you can use the Locations API endpoint
`/locations` referenced in
`src/CarbonAware.WebApi/src/Controllers/LocationsController.cs`.
Note that you have to configure `LocationDataSourcesConfiguration`
into `appsettings.json` before launching WebAPI, otherwise WebAPI returns
HTTP 204 (No Content).

Expected Output:

Expand All @@ -474,12 +465,16 @@ Expected Output:
##### Calling the `/emissions/bylocation` endpoint

In console, we can run the below command, to request data for a single location
(currently Azure region names supported) in a particular timeframe:
in a particular timeframe:

```bash
curl "http://localhost:5073/emissions/bylocation?location=westus&time=2022-08-23T14%3A00&toTime=2022-08-23T14%3A30" | jq
```

Note that region names in this example (e.g. `westus`) are defined in
[azure-regions.json](https://github.com/Green-Software-Foundation/carbon-aware-sdk/blob/dev/src/data/location-sources/azure-regions.json).
AWS region is also available in [aws-regions.json](https://github.com/Green-Software-Foundation/carbon-aware-sdk/blob/dev/src/data/data-files/aws-regions.json).

You can omit the `| jq` to get the JSON data raw and unparsed. This is a request
for data in the `westus` region from the date `2022-08-23 at 14:00` to
`2022-08-23 at 14:30`. (Note: semicolons `:` are encoded as `%3A` in URLs).
Expand Down
28 changes: 12 additions & 16 deletions casdk-docs/docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,13 @@ VSCode Remote Containers (Dev Container). To run locally:
or

```bash
export DataSources__EmissionsDataSource="ElectricityMaps"
export DataSources__ForecastDataSource="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__Type="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__APITokenHeader="auth-token"
export DataSources__Configurations__ElectricityMaps__APIToken="<YOUR_ELECTRICITYMAPS_TOKEN>"
```

or

```bash
export DataSources__EmissionsDataSource="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__Type="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__token="<CO2SIGNAL_TOKEN>"
```

1. Run the CLI using `dotnet run`

Expand All @@ -81,7 +75,8 @@ parameters and short explanations.

To get a list of all locations supported, you can use the Locations API,
referenced in `src/CarbonAware.CLI/src/Commands/Location`
and the command `.\caw locations`.
and the command `.\caw locations`. Note that you have to configure `LocationDataSourcesConfiguration`
into `appsettings.json` before running the command.

Expected output:

Expand Down Expand Up @@ -213,19 +208,13 @@ First we need to set up the GitHub repository
or

```bash
export DataSources__EmissionsDataSource="ElectricityMaps"
export DataSources__ForecastDataSource="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__Type="ElectricityMaps"
export DataSources__Configurations__ElectricityMaps__APITokenHeader="auth-token"
export DataSources__Configurations__ElectricityMaps__APIToken="<YOUR_ELECTRICITYMAPS_TOKEN>"
```

or

```bash
export DataSources__EmissionsDataSource="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__Type="ElectricityMapsFree"
export DataSources__Configurations__ElectricityMapsFree__token="<CO2SIGNAL_TOKEN>"
```

6. In the VSCode Terminal:
7. Change directory to: `cd src/CarbonAware.WebApi/src`
Expand All @@ -246,6 +235,9 @@ endpoints, full endpoint description can be found here:
To get a list of all locations supported, you can use the Locations API endpoint
`/locations` referenced in
`src/CarbonAware.WebApi/src/Controllers/LocationsController.cs`.
Note that you have to configure `LocationDataSourcesConfiguration`
into `appsettings.json` before launching WebAPI, otherwise WebAPI returns
HTTP 204 (No Content).

Expected Output:

Expand All @@ -269,12 +261,16 @@ Expected Output:
#### Calling the `/emissions/bylocation` endpoint

In console, we can run the below command, to request data for a single location
(currently Azure region names supported) in a particular timeframe:
in a particular timeframe:

```bash
curl "http://localhost:5073/emissions/bylocation?location=westus&time=2022-08-23T14%3A00&toTime=2022-08-23T14%3A30" | jq
```

Note that region names in this example (e.g. `westus`) are defined in
[azure-regions.json](https://github.com/Green-Software-Foundation/carbon-aware-sdk/blob/dev/src/data/location-sources/azure-regions.json).
AWS region is also available in [aws-regions.json](https://github.com/Green-Software-Foundation/carbon-aware-sdk/blob/dev/src/data/data-files/aws-regions.json).

You can omit the `| jq` to get the JSON data raw and unparsed. This is a request
for data in the `westus` region from the date `2022-08-23 at 14:00` to
`2022-08-23 at 14:30`. (Note: semicolons `:` are encoded as `%3A` in URLs).
Expand Down
Loading
Loading