Energinet-DataHub / ARCHIVED-geh-charges

Apache License 2.0
7 stars 3 forks source link

feat: 1836 Add create charge WebApi #1861

Closed ShaBloze closed 1 year ago

ShaBloze commented 1 year ago

Description

Add create charge in WebApi. Create a ChargeInformationCommand and send it through ServiceBus.

References

codecov[bot] commented 1 year ago

Codecov Report

Merging #1861 (c5df8a9) into main (6cde2e5) will decrease coverage by 0.40%. The diff coverage is 61.26%.

@@            Coverage Diff             @@
##             main    #1861      +/-   ##
==========================================
- Coverage   84.48%   84.08%   -0.41%     
==========================================
  Files         471      451      -20     
  Lines        8121     7978     -143     
  Branches      442       23     -419     
==========================================
- Hits         6861     6708     -153     
+ Misses       1174     1126      -48     
- Partials       86      144      +58     
Flag Coverage Δ
business 87.63% <66.01%> (?)
clientlibraries 32.22% <0.00%> (-0.52%) :arrow_down:

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

Impacted Files Coverage Δ
...t.DataHub.Charges.Clients/Charges/ChargesClient.cs 86.53% <0.00%> (-13.47%) :arrow_down:
...Hub.Charges.Clients/Charges/ChargesRelativeUris.cs 83.33% <0.00%> (-16.67%) :arrow_down:
.../ChargeLinks/ChargeLinksCommandReceiverEndpoint.cs 0.00% <ø> (ø)
...t/ChargeLinks/ChargeLinksEventPublisherEndpoint.cs 0.00% <ø> (ø)
...geLinks/CreateDefaultChargeLinksReplierEndpoint.cs 0.00% <ø> (ø)
...geLinkConfirmationDataAvailableNotifierEndpoint.cs 0.00% <ø> (ø)
...sageHub/ChargeLinkDataAvailableNotifierEndpoint.cs 0.00% <ø> (ø)
...argeLinksRejectionDataAvailableNotifierEndpoint.cs 0.00% <ø> (ø)
...harges/ChargeInformationCommandReceivedEndpoint.cs 0.00% <ø> (ø)
...arges/ChargeInformationMessagePersisterEndpoint.cs 0.00% <ø> (ø)
... and 95 more

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

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 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication