Skip to content

Commit

Permalink
Merge pull request #517 from Project-MONAI/AI-627
Browse files Browse the repository at this point in the history
Ai 627
  • Loading branch information
neildsouth authored Jul 25, 2024
2 parents 9bc789b + 8ef63a2 commit c41faaf
Show file tree
Hide file tree
Showing 25 changed files with 425 additions and 324 deletions.
12 changes: 7 additions & 5 deletions .github/.gitversion.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ assembly-versioning-scheme: MajorMinorPatchTag
mode: ContinuousDelivery
branches:
main:
tag: ''
label: ''
release:
tag: rc
label: rc
develop:
tag: beta
label: beta
increment: Patch
feature:
tag: alpha.{BranchName}
label: alpha.{BranchName}
pull-request:
tag: pr
label: pr
increment: Patch

ignore:
sha: []
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
semVer: ${{ steps.gitversion.outputs.semVer }}
preReleaseLabel: ${{ steps.gitversion.outputs.preReleaseLabel }}
majorMinorPatch: ${{ steps.gitversion.outputs.majorMinorPatch }}
nuGetVersionV2: ${{ steps.gitversion.outputs.nuGetVersionV2 }}
nuGetVersionV2: ${{ steps.gitversion.outputs.MajorMinorPatch }}

steps:
- uses: actions/checkout@v4
Expand All @@ -50,12 +50,17 @@ jobs:
with:
dotnet-version: "8.0.x"

# - name: Install GitVersion
# run: dotnet tool install --global GitVersion.Tool

- name: Install GitVersion
run: dotnet tool install --global GitVersion.Tool
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.10.2
uses: gittools/actions/gitversion/execute@v2.0.1
with:
useConfigFile: true
updateAssemblyInfo: true
Expand Down
1 change: 1 addition & 0 deletions doc/dependency_decisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@
- 8.0.2
- 8.0.3
- 8.0.6
- 8.0.7
:when: 2022-10-14T23:37:16.793Z
:who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
Expand Down
2 changes: 2 additions & 0 deletions src/Api/Storage/Payload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public TimeSpan Elapsed

public int FilesFailedToUpload { get => Files.Count(p => p.IsUploadFailed); }

public Payload() { }

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (AcrApi, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebExport, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScu, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (Fhir, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (HealthLevel7, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (RemoteAppExecutionPlugIn, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomDimseScp, ef)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / integration-test (DicomWebStow, mongodb)

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / analyze

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Analyze

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'DataTrigger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'DataOrigins' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / docs

Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / unit-test

Non-nullable field '_lastReceived' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / unit-test

Non-nullable property 'Key' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 89 in src/Api/Storage/Payload.cs

View workflow job for this annotation

GitHub Actions / unit-test

Non-nullable property 'Files' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

public Payload(string key, string correlationId, string? workflowInstanceId, string? taskId, DataOrigin dataTrigger, uint timeout)
{
Guard.Against.NullOrWhiteSpace(key, nameof(key));
Expand Down
6 changes: 3 additions & 3 deletions src/Api/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
},
"Monai.Deploy.Messaging": {
"type": "Direct",
Expand Down
6 changes: 3 additions & 3 deletions src/CLI/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
},
"System.CommandLine.Hosting": {
"type": "Direct",
Expand Down
6 changes: 3 additions & 3 deletions src/Client.Common/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/Common/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
},
"System.IO.Abstractions": {
"type": "Direct",
Expand Down
6 changes: 3 additions & 3 deletions src/Configuration/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"net8.0": {
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
},
"Ardalis.GuardClauses": {
"type": "Transitive",
Expand Down
6 changes: 3 additions & 3 deletions src/DicomWebClient/CLI/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
},
"Ardalis.GuardClauses": {
"type": "Transitive",
Expand Down
6 changes: 3 additions & 3 deletions src/DicomWebClient/packages.lock.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.6, )",
"resolved": "8.0.6",
"contentHash": "E+lDylsTeP4ZiDmnEkiJ5wobnGaIJzFhOgZppznJCb69UZgbh6G3cfv1pnLDLLBx6JAgl0kAlnINDeT3uCuczQ=="
"requested": "[8.0.7, )",
"resolved": "8.0.7",
"contentHash": "iI52ptEKby2ymQ6B7h4TWbFmm85T4VvLgc/HvS45Yr3lgi4IIFbQtjON3bQbX/Vc94jXNSLvrDOp5Kh7SJyFYQ=="
},
"Ardalis.GuardClauses": {
"type": "Transitive",
Expand Down
6 changes: 6 additions & 0 deletions src/InformaticsGateway/Logging/Log.0.General.cs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@ public static partial class Log

[LoggerMessage(EventId = 13, Level = LogLevel.Critical, Message = "Failed to start {ServiceName}.")]
public static partial void ServiceFailedToStart(this ILogger logger, string serviceName, Exception ex);

[LoggerMessage(EventId = 14, Level = LogLevel.Critical, Message = "All services are unhealthy")]
public static partial void AllServiceUnheathly(this ILogger logger);

[LoggerMessage(EventId = 15, Level = LogLevel.Error, Message = "Some services are unhealthy {list}")]
public static partial void SomeServiceUnheathly(this ILogger logger, string list);
}
}
4 changes: 2 additions & 2 deletions src/InformaticsGateway/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
using Monai.Deploy.InformaticsGateway.Services.DicomWeb;
using Monai.Deploy.InformaticsGateway.Services.Export;
using Monai.Deploy.InformaticsGateway.Services.Fhir;
using Monai.Deploy.InformaticsGateway.Services.HealthLevel7;
using Monai.Deploy.InformaticsGateway.Services.Http;
using Monai.Deploy.InformaticsGateway.Services.Scp;
using Monai.Deploy.InformaticsGateway.Services.Scu;
Expand Down Expand Up @@ -138,7 +139,6 @@ internal static IHostBuilder CreateHostBuilder(string[] args) =>
services.AddSingleton<IScuQueue, ScuQueue>();
services.AddSingleton<IMllpService, MllpService>();
var timeout = TimeSpan.FromSeconds(hostContext.Configuration.GetValue("InformaticsGateway:dicomWeb:clientTimeout", DicomWebConfiguration.DefaultClientTimeout));
services
.AddHttpClient("dicomweb", configure => configure.Timeout = timeout)
Expand All @@ -163,7 +163,7 @@ internal static IHostBuilder CreateHostBuilder(string[] args) =>
services.AddHostedService<ScuExportService>();
services.AddHostedService<DicomWebExportService>();
services.AddHostedService<PayloadNotificationService>();
services.AddHostedService<MllpService>();
services.AddHostedService<MllpServiceHost>();
services.AddHostedService<Hl7ExportService>();
})
Expand Down
12 changes: 10 additions & 2 deletions src/InformaticsGateway/Repositories/MonaiServiceLocator.cs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
using System.Linq;
using System.Reflection;
using Ardalis.GuardClauses;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Monai.Deploy.InformaticsGateway.Api.Rest;
using Monai.Deploy.InformaticsGateway.Services.Common;

Expand Down Expand Up @@ -51,7 +53,13 @@ public Dictionary<string, ServiceStatus> GetServiceStatus()
{
Guard.Against.Null(type, nameof(type));

return (_serviceProvider.GetService(type) as IMonaiService);
var TypeInterface = type.GetInterfaces().FirstOrDefault(i => i.Name == $"I{type.Name}");
if (TypeInterface is null)
{
var service = _serviceProvider.GetServices<IHostedService>()?.FirstOrDefault(i => i.GetType().Name == type.Name);
return service as IMonaiService;
}
return (_serviceProvider.GetService(TypeInterface) as IMonaiService);

}

Expand All @@ -67,7 +75,7 @@ private static List<Type> LocateTypes()
return services.Distinct().ToList();
}

private IList<IMonaiService> LocateServices()
private List<IMonaiService> LocateServices()
{
var list = new List<IMonaiService>();
foreach (var t in _types)
Expand Down
19 changes: 17 additions & 2 deletions src/InformaticsGateway/Services/Connectors/PayloadAssembler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Monai.Deploy.InformaticsGateway.Api;
using Monai.Deploy.InformaticsGateway.Api.Rest;
using Monai.Deploy.InformaticsGateway.Api.Storage;
using Monai.Deploy.InformaticsGateway.Database.Api.Repositories;
using Monai.Deploy.InformaticsGateway.Logging;
using Monai.Deploy.InformaticsGateway.Services.Common;
using Monai.Deploy.Messaging.Events;

#nullable enable
Expand All @@ -38,7 +40,7 @@ namespace Monai.Deploy.InformaticsGateway.Services.Connectors
/// An in-memory queue for providing any files/DICOM instances received by the Informatics Gateway to
/// other internal services.
/// </summary>
internal sealed partial class PayloadAssembler : IPayloadAssembler, IDisposable
internal sealed partial class PayloadAssembler : IPayloadAssembler, IDisposable, IMonaiService
{
internal const int DEFAULT_TIMEOUT = 5;
private readonly ILogger<PayloadAssembler> _logger;
Expand All @@ -56,6 +58,8 @@ public PayloadAssembler(
{
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
_serviceScopeFactory = serviceScopeFactory ?? throw new ArgumentNullException(nameof(serviceScopeFactory));
var scope = _serviceScopeFactory.CreateScope();
var repository = scope.ServiceProvider.GetRequiredService<IPayloadRepository>(); // done here to ensure connection on startup

_workItems = [];
_tokenSource = new CancellationTokenSource();
Expand All @@ -69,8 +73,14 @@ public PayloadAssembler(
};
_timer.Elapsed += OnTimedEvent;
_timer.Enabled = true;

Status = ServiceStatus.Running;
}

public string ServiceName { get => nameof(PayloadAssembler); }

public ServiceStatus Status { get; set; } = ServiceStatus.Unknown;

private async Task RemovePendingPayloads()
{
_logger.RemovingPendingPayloads();
Expand Down Expand Up @@ -193,6 +203,8 @@ private async Task QueueBucketForNotification(string key, Payload payload)
payload.State = Payload.PayloadState.Move;
var scope = _serviceScopeFactory.CreateScope();
var repository = scope.ServiceProvider.GetRequiredService<IPayloadRepository>();


await repository.UpdateAsync(payload).ConfigureAwait(false);
_logger.PayloadSaved(payload.PayloadId);
_workItems.Add(payload);
Expand All @@ -219,9 +231,11 @@ private async Task<Payload> CreateOrGetPayload(string key, string correlationId,

private async Task<Payload> PayloadFactory(string key, string correlationId, string? workflowInstanceId, string? taskId, Messaging.Events.DataOrigin dataOrigin, uint timeout, CancellationToken cancellationToken)
{
var newPayload = new Payload(key, correlationId, workflowInstanceId, taskId, dataOrigin, timeout, null);
var scope = _serviceScopeFactory.CreateScope();
var repository = scope.ServiceProvider.GetRequiredService<IPayloadRepository>();
var newPayload = new Payload(key, correlationId, workflowInstanceId, taskId, dataOrigin, timeout, null);


await repository.AddAsync(newPayload, cancellationToken).ConfigureAwait(false);
_logger.BucketCreated(key, timeout);
return newPayload;
Expand All @@ -232,6 +246,7 @@ public void Dispose()
_tokenSource.Cancel();
_payloads.Clear();
_timer.Stop();
Status = ServiceStatus.Stopped;
}
}
}
10 changes: 5 additions & 5 deletions src/InformaticsGateway/Services/Export/Hl7ExportService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,38 @@
using Monai.Deploy.InformaticsGateway.Configuration;
using Monai.Deploy.InformaticsGateway.Database.Api.Repositories;
using Monai.Deploy.InformaticsGateway.Logging;
using Monai.Deploy.InformaticsGateway.Api.Mllp;
using Monai.Deploy.Messaging.Common;
using Polly;
using Monai.Deploy.InformaticsGateway.Api.Mllp;

namespace Monai.Deploy.InformaticsGateway.Services.Export
{
internal class Hl7ExportService : ExportServiceBase
{
private readonly ILogger<Hl7ExportService> _logger;
private readonly InformaticsGatewayConfiguration _configuration;
private readonly IMllpService _mllpService;

protected override ushort Concurrency { get; }
public override string RoutingKey { get; }
public override string ServiceName => "DICOM Export HL7 Service";
private readonly IMllpService _mllpService;


public Hl7ExportService(
ILogger<Hl7ExportService> logger,
IServiceScopeFactory serviceScopeFactory,
IOptions<InformaticsGatewayConfiguration> configuration,
IDicomToolkit dicomToolkit)
IDicomToolkit dicomToolkit,
IMllpService mllpService)
: base(logger, configuration, serviceScopeFactory, dicomToolkit)
{
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
_configuration = configuration.Value ?? throw new ArgumentNullException(nameof(configuration));

_mllpService = serviceScopeFactory.CreateScope().ServiceProvider.GetRequiredService<IMllpService>();
RoutingKey = $"{configuration.Value.Messaging.Topics.ExportHL7}";
ExportCompleteTopic = $"{configuration.Value.Messaging.Topics.ExportHl7Complete}";
Concurrency = _configuration.Dicom.Scu.MaximumNumberOfAssociations;
_mllpService = mllpService ?? throw new ArgumentNullException(nameof(mllpService));
}


Expand Down Expand Up @@ -159,6 +160,5 @@ protected override Task<ExportRequestDataMessage> ExecuteOutputDataEngineCallbac
{
return Task.FromResult(exportDataRequest);
}

}
}
Loading

0 comments on commit c41faaf

Please sign in to comment.