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

Ai 382 #508

Merged
merged 6 commits into from
Jan 19, 2024
Merged

Ai 382 #508

merged 6 commits into from
Jan 19, 2024

Conversation

neildsouth
Copy link
Contributor

Description

small tweeks to tidy up

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • All tests passed locally.
  • Documentation comments included/updated.
  • User guide updated.
  • I have updated the changelog

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

Attention: 577 lines in your changes are missing coverage. Please review.

Comparison is base (eb841e4) 65.35326% compared to head (959816b) 63.74703%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##             develop        #508         +/-   ##
===================================================
- Coverage   65.35326%   63.74703%   -1.60624%     
===================================================
  Files            374         379          +5     
  Lines          21344       21852        +508     
  Branches        1332        1333          +1     
===================================================
- Hits           13949       13930         -19     
- Misses          6886        7413        +527     
  Partials         509         509                 
Flag Coverage Δ
unittests 63.74703% <9.41915%> (-1.60624%) ⬇️

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

Files Coverage Δ
src/Api/Storage/Payload.cs 91.48936% <ø> (-2.26064%) ⬇️
src/Api/Test/HL7DestinationEntityTest.cs 100.00000% <100.00000%> (ø)
src/Api/Test/SourceBaseApplicationEntityTest.cs 100.00000% <100.00000%> (ø)
...Configuration/HL7DestinationEntityConfiguration.cs 100.00000% <100.00000%> (ø)
...amework/Test/HL7DestinationEntityRepositoryTest.cs 98.48485% <100.00000%> (-0.16381%) ⬇️
...base/EntityFramework/Test/SqliteDatabaseFixture.cs 98.07692% <100.00000%> (ø)
...gration.Test/HL7DestinationEntityRepositoryTest.cs 98.55072% <100.00000%> (-0.15059%) ⬇️
...e/MongoDB/Integration.Test/MongoDatabaseFixture.cs 100.00000% <100.00000%> (ø)
...oDB/Repositories/HL7DestinationEntityRepository.cs 82.92683% <ø> (-0.20571%) ⬇️
...csGateway/Services/Common/InputDataPluginEngine.cs 100.00000% <100.00000%> (ø)
... and 22 more

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb841e4...959816b. Read the comment docs.

Signed-off-by: Neil South <neil.south@answerdigital.com>
Signed-off-by: Neil South <neil.south@answerdigital.com>
Signed-off-by: Neil South <neil.south@answerdigital.com>
Signed-off-by: Neil South <neil.south@answerdigital.com>
@@ -240,7 +231,7 @@ private async Task ValidateCreateAsync(MonaiApplicationEntity item)
{
throw new ObjectExistsException($"A MONAI Application Entity with the same AE Title '{item.AeTitle}' already exists.");
}
if (item.IgnoredSopClasses.Any() && item.AllowedSopClasses.Any())
if (item.IgnoredSopClasses.Count != 0 && item.AllowedSopClasses.Count != 0)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency do you want to change this to is not as well instead of !=. Happy either way

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, will do.

Signed-off-by: Neil South <neil.south@answerdigital.com>
Signed-off-by: Neil South <neil.south@answerdigital.com>
@neildsouth neildsouth merged commit 79eeb1b into develop Jan 19, 2024
27 of 31 checks passed
@neildsouth neildsouth deleted the AI-382 branch January 19, 2024 15:42
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.

2 participants