Energinet-DataHub / ARCHIVED-geh-charges

Apache License 2.0
7 stars 3 forks source link

Feat: Add ChargeHistory table (and move data model documentation) #1872

Closed prtandrup closed 1 year ago

prtandrup commented 1 year ago

Description

This PR creates the ChargeHistory sql table defined in this previous PR.

Also included in PR;

References

codecov[bot] commented 1 year ago

Codecov Report

Merging #1872 (e71105f) into main (0a64bd3) will decrease coverage by 11.55%. The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main    #1872       +/-   ##
===========================================
- Coverage   84.48%   72.93%   -11.56%     
===========================================
  Files         471      450       -21     
  Lines        8121     7888      -233     
  Branches      442       22      -420     
===========================================
- Hits         6861     5753     -1108     
- Misses       1174     2010      +836     
- Partials       86      125       +39     
Flag Coverage Δ
business 75.67% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ueryApi/QueryServices/ChargeMessageQueryService.cs 0.00% <0.00%> (-94.00%) :arrow_down:
...ges/source/GreenEnergyHub.Charges.QueryApi/Data.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...ergyHub.Charges.Domain/Charges/ChargeIdentifier.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...b.Charges.WebApi/Controllers/V1/ODataController.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...Charges.WebApi/Controllers/V1/ChargesController.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...rges.QueryApi/QueryServices/ChargesQueryService.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...ges.WebApi/Controllers/V1/ChargeLinksController.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...es.WebApi/Controllers/V1/ChargePricesController.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...s.QueryApi/QueryPredicates/ChargeLinkQueryLogic.cs 0.00% <0.00%> (-100.00%) :arrow_down:
....QueryApi/QueryServices/ChargePriceQueryService.cs 0.00% <0.00%> (-100.00%) :arrow_down:
... and 115 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

prtandrup commented 1 year ago

ok, regner med datamodellerne kommer i et andet PR

Data models are back in, apparently they were not included in the first commit.... :/

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication