Closed prtandrup closed 1 year ago
Merging #1877 (19e5f9e) into main (f0115c3) will increase coverage by
51.75%
. The diff coverage is83.33%
.
@@ Coverage Diff @@
## main #1877 +/- ##
===========================================
+ Coverage 32.22% 83.98% +51.75%
===========================================
Files 24 454 +430
Lines 512 8059 +7547
Branches 23 23
===========================================
+ Hits 165 6768 +6603
- Misses 332 1147 +815
- Partials 15 144 +129
Flag | Coverage Δ | |
---|---|---|
business | 87.49% <83.33%> (?) |
|
clientlibraries | 32.22% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
...nEnergyHub.Charges.QueryApi/Model/ChargeHistory.cs | 0.00% <0.00%> (ø) |
|
...nEnergyHub.Charges.QueryApi/Model/ChargeMessage.cs | 0.00% <ø> (ø) |
|
...ges/source/GreenEnergyHub.Charges.QueryApi/Data.cs | 100.00% <100.00%> (ø) |
|
...EnergyHub.Charges.QueryApi/Model/QueryDbContext.cs | 98.54% <100.00%> (ø) |
|
...ueryApi/QueryServices/ChargeHistoryQueryService.cs | 100.00% <100.00%> (ø) |
|
...ueryApi/QueryServices/ChargeMessageQueryService.cs | 90.19% <100.00%> (ø) |
|
...s.WebApi/Controllers/V1/ChargeHistoryController.cs | 100.00% <100.00%> (ø) |
|
...nEnergyHub.Charges.WebApi/QueryApiConfiguration.cs | 98.07% <100.00%> (ø) |
|
...ub.Charges.Domain/ChargeLinks/ChargeLinkFactory.cs | 100.00% <0.00%> (ø) |
|
...hargePriceMessagePersisterEndpointConfiguration.cs | 100.00% <0.00%> (ø) |
|
... and 425 more |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Kudos, SonarCloud Quality Gate passed!
Description
With this PR a new Charges Web API endpoint is created that upon request can provide Charge History data (Charge Information).
ChargeHistoryController
and test addedChargeHistoryQueryServiceTests
ChargeHistoryQueryService
must be able to deliver the "actual timeline" based on the AtDateTime provided in the search criteriaReferences
1846