From cee98e70351946e9466aa9da5e8ff3d85552dc4e Mon Sep 17 00:00:00 2001 From: Steffen Date: Wed, 14 Oct 2026 10:58:43 +0200 Subject: [PATCH] Record Architecture B approval and verified pinned baseline --- .gitignore | 7 + ImplementationPlan/acceptance-register.md | 152 + .../architecture-conformance.md | 18 + ImplementationPlan/baseline-manifest.json | 97 + ImplementationPlan/documentation-inventory.md | 91 + .../evidence/baseline-summary.json | 65 + .../_Sil3ntDragon_2026-10-14_10_57_42.trx | 21529 ++++++++++++++++ .../_Sil3ntDragon_2026-10-14_10_57_42[1].trx | 232 + .../_Sil3ntDragon_2026-10-14_10_57_43.trx | 742 + ImplementationPlan/functional-equivalence.md | 41 + ImplementationPlan/implementation-log.md | 25 + ImplementationPlan/implementation-plan.md | 140 + ImplementationPlan/open-questions.md | 13 + ImplementationPlan/reference-files.json | 147 + ImplementationPlan/source-test-inventory.md | 29 + .../workflows/prototype-native-install.yml | 38 + Reference/ArchitectureA/.gitignore | 15 + Reference/ArchitectureA/HealthApp.slnx | 17 + .../ConfigurationWriter.cs | 41 + .../DatabaseProvisioning.cs | 72 + .../HealthApp.Provisioning/Deployment.cs | 157 + .../HealthApp.Provisioning/Distribution.cs | 93 + .../HealthApp.Provisioning.csproj | 10 + .../InstallationVerification.cs | 126 + .../HealthApp.Provisioning/LaunchdWriter.cs | 32 + .../deploy/HealthApp.Provisioning/Program.cs | 83 + .../ArchitectureA/deploy/INSTALLATION.md | 258 + .../deploy/api-gateway.env.example | 33 + .../ArchitectureA/deploy/build-release.ps1 | 22 + .../ArchitectureA/deploy/build-release.sh | 34 + .../deploy/health-overview.env.example | 8 + .../ArchitectureA/deploy/insights.env.example | 8 + .../deploy/installer/bootstrap.sh | 56 + .../deploy/installer/distribute.sh | 23 + .../deploy/installer/install-macos.sh | 156 + .../deploy/installer/install.ps1 | 159 + .../ArchitectureA/deploy/installer/install.sh | 150 + .../deploy/installer/services.sh | 28 + .../ArchitectureA/deploy/installer/verify.sh | 31 + .../deploy/observation.env.example | 9 + .../deploy/patient-profile.env.example | 7 + .../systemd/healthapp-api-gateway.service | 22 + .../systemd/healthapp-health-overview.service | 20 + .../deploy/systemd/healthapp-insights.service | 20 + .../systemd/healthapp-observation.service | 20 + .../systemd/healthapp-patient-profile.service | 20 + Reference/ArchitectureA/global.json | 6 + Reference/ArchitectureA/src/AUTHENTICATION.md | 200 + .../src/ApiGateway/ApiGateway.csproj | 10 + .../Controllers/AuthenticationController.cs | 39 + .../Controllers/HealthOverviewController.cs | 48 + .../Controllers/InsightsController.cs | 52 + .../MeasurementGuidanceController.cs | 62 + .../Controllers/ObservationController.cs | 81 + .../Controllers/PatientController.cs | 69 + .../Controllers/ProfessionalController.cs | 17 + .../ArchitectureA/src/ApiGateway/Program.cs | 116 + .../InternalServiceAuthenticationHandler.cs | 29 + .../Security/PatientAccessMiddleware.cs | 92 + .../Security/ProfessionalAssignments.cs | 24 + .../ApiGateway/Security/PrototypeAccounts.cs | 39 + .../src/ApiGateway/appsettings.json | 8 + .../HealthOverviewApplicationService.cs | 30 + .../Clients/InsightsServiceClient.cs | 28 + .../Clients/ObservationServiceClient.cs | 24 + .../Clients/PatientProfileServiceClient.cs | 24 + .../Contracts/HealthOverviewDto.cs | 24 + .../Controllers/HealthOverviewController.cs | 34 + .../HealthOverviewService.csproj | 10 + .../src/HealthOverviewService/Program.cs | 79 + .../HealthOverviewService/appsettings.json | 8 + .../Application/InsightsApplicationService.cs | 36 + .../Clients/HttpObservationServiceClient.cs | 23 + .../Clients/ObservationServiceClient.cs | 10 + .../Contracts/HealthInsightDto.cs | 8 + .../Contracts/ObservationDto.cs | 8 + .../Controllers/InsightsController.cs | 74 + .../Domain/ContextSelection.cs | 12 + .../InsightsService/Domain/HealthInsight.cs | 6 + .../Domain/InsightCalculator.Trends.cs | 223 + .../Domain/InsightCalculator.cs | 50 + .../InsightsService/Domain/TrendAssessment.cs | 21 + .../InsightsService/InsightsService.csproj | 10 + .../src/InsightsService/Program.cs | 61 + .../src/InsightsService/appsettings.json | 8 + Reference/ArchitectureA/src/OVERVIEW.md | 64 + .../ObservationApplicationService.cs | 89 + .../Application/ObservationRepository.cs | 16 + .../Contracts/MeasurementContextPatch.cs | 87 + .../Contracts/ObservationDto.cs | 6 + .../Contracts/PatchObservationRequest.cs | 78 + .../Contracts/RecordObservationRequest.cs | 24 + .../Contracts/UpdateObservationRequest.cs | 17 + .../Controllers/ObservationController.cs | 90 + .../Domain/BloodPressureObservation.cs | 16 + .../Domain/ContextSelection.cs | 12 + .../Domain/MeasurementContext.cs | 21 + .../ObservationService.csproj | 13 + ...95222_InitialObservationSchema.Designer.cs | 77 + ...20261001095222_InitialObservationSchema.cs | 42 + ...632_RecordedMeasurementContext.Designer.cs | 134 + ...261005094632_RecordedMeasurementContext.cs | 100 + .../ObservationDbContextModelSnapshot.cs | 131 + .../Persistence/ObservationDbContext.cs | 39 + .../Persistence/SqlObservationRepository.cs | 79 + .../src/ObservationService/Program.cs | 74 + .../src/ObservationService/appsettings.json | 9 + .../Application/PatientApplicationService.cs | 45 + .../Application/PatientRepository.cs | 11 + .../ProfileAlreadyExistsException.cs | 5 + .../Contracts/CreatePatientRequest.cs | 14 + .../Contracts/PatientDto.cs | 3 + .../Contracts/UpdatePatientRequest.cs | 11 + .../Controllers/PatientController.cs | 51 + .../PatientProfileService/Domain/Patient.cs | 12 + .../PatientProfileService.csproj | 13 + ...930200031_InitialPatientSchema.Designer.cs | 62 + .../20260930200031_InitialPatientSchema.cs | 38 + ...2209_AccountProfileAssociation.Designer.cs | 69 + ...0261005082209_AccountProfileAssociation.cs | 38 + .../PatientDbContextModelSnapshot.cs | 66 + .../Persistence/PatientDbContext.cs | 24 + .../Persistence/SqlPatientRepository.cs | 37 + .../src/PatientProfileService/Program.cs | 48 + .../PatientProfileService/appsettings.json | 9 + Reference/ArchitectureA/src/README.md | 346 + Reference/ArchitectureA/src/TRENDS.md | 85 + .../BootstrapTests.cs | 92 + .../Deployment.AcceptanceTests.csproj | 16 + .../DeploymentFixture.cs | 197 + .../InstallationTests.cs | 309 + .../ContextFilteredHistoryTests.cs | 179 + .../ContextSelectedInsightTests.cs | 205 + .../DeleteContextualisedObservationTests.cs | 129 + .../DeleteObservationTests.cs | 91 + .../HealthInsightTests.cs | 158 + .../HealthOverviewTests.cs | 249 + .../HealthTrendTests.cs | 415 + .../LatestObservationTests.cs | 157 + .../MeasurementContextMigrationTests.cs | 64 + .../Observation.AcceptanceTests.csproj | 23 + .../ObservationApiFixture.cs | 188 + .../ObservationHistoryTests.cs | 106 + .../PatchObservationTests.cs | 190 + .../PatientAuthenticationTests.cs | 277 + .../ProfessionalAccessTests.cs | 275 + .../RecordMeasurementContextTests.cs | 195 + .../RecordObservationTests.cs | 150 + .../UpdateObservationTests.cs | 121 + .../ViewObservationContextTests.cs | 149 + .../AuthenticationIntegrationTests.cs | 102 + .../CreatePatientTests.cs | 99 + .../MeasurementGuidanceTests.cs | 136 + .../PatientApiFixture.cs | 93 + .../PatientProfile.AcceptanceTests.csproj | 20 + .../UpdatePatientTests.cs | 71 + .../tests/Support/AuthenticatedTestClient.cs | 112 + Reference/README.md | 3 + 158 files changed, 33575 insertions(+) create mode 100644 .gitignore create mode 100644 ImplementationPlan/acceptance-register.md create mode 100644 ImplementationPlan/architecture-conformance.md create mode 100644 ImplementationPlan/baseline-manifest.json create mode 100644 ImplementationPlan/documentation-inventory.md create mode 100644 ImplementationPlan/evidence/baseline-summary.json create mode 100644 ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42.trx create mode 100644 ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42[1].trx create mode 100644 ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_43.trx create mode 100644 ImplementationPlan/functional-equivalence.md create mode 100644 ImplementationPlan/implementation-log.md create mode 100644 ImplementationPlan/implementation-plan.md create mode 100644 ImplementationPlan/open-questions.md create mode 100644 ImplementationPlan/reference-files.json create mode 100644 ImplementationPlan/source-test-inventory.md create mode 100644 Reference/ArchitectureA/.github/workflows/prototype-native-install.yml create mode 100644 Reference/ArchitectureA/.gitignore create mode 100644 Reference/ArchitectureA/HealthApp.slnx create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/ConfigurationWriter.cs create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/DatabaseProvisioning.cs create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/Deployment.cs create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/Distribution.cs create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/InstallationVerification.cs create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/LaunchdWriter.cs create mode 100644 Reference/ArchitectureA/deploy/HealthApp.Provisioning/Program.cs create mode 100644 Reference/ArchitectureA/deploy/INSTALLATION.md create mode 100644 Reference/ArchitectureA/deploy/api-gateway.env.example create mode 100644 Reference/ArchitectureA/deploy/build-release.ps1 create mode 100644 Reference/ArchitectureA/deploy/build-release.sh create mode 100644 Reference/ArchitectureA/deploy/health-overview.env.example create mode 100644 Reference/ArchitectureA/deploy/insights.env.example create mode 100644 Reference/ArchitectureA/deploy/installer/bootstrap.sh create mode 100644 Reference/ArchitectureA/deploy/installer/distribute.sh create mode 100644 Reference/ArchitectureA/deploy/installer/install-macos.sh create mode 100644 Reference/ArchitectureA/deploy/installer/install.ps1 create mode 100644 Reference/ArchitectureA/deploy/installer/install.sh create mode 100644 Reference/ArchitectureA/deploy/installer/services.sh create mode 100644 Reference/ArchitectureA/deploy/installer/verify.sh create mode 100644 Reference/ArchitectureA/deploy/observation.env.example create mode 100644 Reference/ArchitectureA/deploy/patient-profile.env.example create mode 100644 Reference/ArchitectureA/deploy/systemd/healthapp-api-gateway.service create mode 100644 Reference/ArchitectureA/deploy/systemd/healthapp-health-overview.service create mode 100644 Reference/ArchitectureA/deploy/systemd/healthapp-insights.service create mode 100644 Reference/ArchitectureA/deploy/systemd/healthapp-observation.service create mode 100644 Reference/ArchitectureA/deploy/systemd/healthapp-patient-profile.service create mode 100644 Reference/ArchitectureA/global.json create mode 100644 Reference/ArchitectureA/src/AUTHENTICATION.md create mode 100644 Reference/ArchitectureA/src/ApiGateway/ApiGateway.csproj create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/AuthenticationController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/HealthOverviewController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/InsightsController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/MeasurementGuidanceController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/ObservationController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/PatientController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Controllers/ProfessionalController.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Program.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Security/PatientAccessMiddleware.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Security/ProfessionalAssignments.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/Security/PrototypeAccounts.cs create mode 100644 Reference/ArchitectureA/src/ApiGateway/appsettings.json create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Application/HealthOverviewApplicationService.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Clients/InsightsServiceClient.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Clients/ObservationServiceClient.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Clients/PatientProfileServiceClient.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Contracts/HealthOverviewDto.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Controllers/HealthOverviewController.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/HealthOverviewService.csproj create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/Program.cs create mode 100644 Reference/ArchitectureA/src/HealthOverviewService/appsettings.json create mode 100644 Reference/ArchitectureA/src/InsightsService/Application/InsightsApplicationService.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Clients/HttpObservationServiceClient.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Clients/ObservationServiceClient.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Contracts/HealthInsightDto.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Contracts/ObservationDto.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Controllers/InsightsController.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Domain/ContextSelection.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Domain/HealthInsight.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.Trends.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/Domain/TrendAssessment.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/InsightsService.csproj create mode 100644 Reference/ArchitectureA/src/InsightsService/Program.cs create mode 100644 Reference/ArchitectureA/src/InsightsService/appsettings.json create mode 100644 Reference/ArchitectureA/src/OVERVIEW.md create mode 100644 Reference/ArchitectureA/src/ObservationService/Application/ObservationApplicationService.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Application/ObservationRepository.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Contracts/MeasurementContextPatch.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Contracts/ObservationDto.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Contracts/PatchObservationRequest.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Contracts/RecordObservationRequest.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Contracts/UpdateObservationRequest.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Controllers/ObservationController.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Domain/BloodPressureObservation.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Domain/ContextSelection.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Domain/MeasurementContext.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/ObservationService.csproj create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/ObservationDbContext.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Persistence/SqlObservationRepository.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/Program.cs create mode 100644 Reference/ArchitectureA/src/ObservationService/appsettings.json create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Application/PatientApplicationService.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Application/PatientRepository.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Application/ProfileAlreadyExistsException.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Contracts/CreatePatientRequest.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Contracts/PatientDto.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Contracts/UpdatePatientRequest.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Controllers/PatientController.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Domain/Patient.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/PatientProfileService.csproj create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/PatientDbContext.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Persistence/SqlPatientRepository.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/Program.cs create mode 100644 Reference/ArchitectureA/src/PatientProfileService/appsettings.json create mode 100644 Reference/ArchitectureA/src/README.md create mode 100644 Reference/ArchitectureA/src/TRENDS.md create mode 100644 Reference/ArchitectureA/tests/Deployment.AcceptanceTests/BootstrapTests.cs create mode 100644 Reference/ArchitectureA/tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj create mode 100644 Reference/ArchitectureA/tests/Deployment.AcceptanceTests/DeploymentFixture.cs create mode 100644 Reference/ArchitectureA/tests/Deployment.AcceptanceTests/InstallationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteObservationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthInsightTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthOverviewTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthTrendTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/LatestObservationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationApiFixture.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationHistoryTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatchObservationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordObservationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/UpdateObservationTests.cs create mode 100644 Reference/ArchitectureA/tests/Observation.AcceptanceTests/ViewObservationContextTests.cs create mode 100644 Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs create mode 100644 Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs create mode 100644 Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs create mode 100644 Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs create mode 100644 Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj create mode 100644 Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs create mode 100644 Reference/ArchitectureA/tests/Support/AuthenticatedTestClient.cs create mode 100644 Reference/README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5708d6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +**/bin/ +**/obj/ +**/TestResults/ +*.user +*.env +!*.env.example +ImplementationPlan/evidence/*.log diff --git a/ImplementationPlan/acceptance-register.md b/ImplementationPlan/acceptance-register.md new file mode 100644 index 0000000..a993a1c --- /dev/null +++ b/ImplementationPlan/acceptance-register.md @@ -0,0 +1,152 @@ +# Acceptance preservation register + +Prepared 2026-10-14. All 146 criterion IDs/titles and required outcomes below are retained from the pinned target traceability document. Planned suite allocations refer to the original source and guide adaptation; they do not establish passing coverage. Preserve outline examples, refine exact methods and results during implementation, and add missing assertions without weakening existing ones. US-16 is separately governed by Q1 and the full criterion mapping in `ArchitectureProposal/us16-revision.md`. + +| Criterion / title | Required outcomes / outline cases | Planned source suites | Verification | +| --- | --- | --- | --- | +| 00-AC-01: Include both boundaries | both boundary observations contribute; observations outside the period do not contribute. Outline cases: operation: history, numerical insight, trend assessment, overview insight | ObservationHistoryTests; ContextFilteredHistoryTests; ContextSelectedInsightTests; HealthTrendTests; HealthOverviewTests | Not verified; exact methods/results pending | +| 00-AC-02: Equal bounds are valid | the period is accepted; only observations at that instant are selected; the operation applies its own data-sufficiency rules. Outline cases: operation: history, numerical insight, trend assessment, overview insight | ObservationHistoryTests; ContextFilteredHistoryTests; ContextSelectedInsightTests; HealthTrendTests; HealthOverviewTests | Not verified; exact methods/results pending | +| 00-AC-03: Reject reversed bounds | the request is rejected. Outline cases: operation: history, numerical insight, trend assessment, overview insight | ObservationHistoryTests; ContextFilteredHistoryTests; ContextSelectedInsightTests; HealthTrendTests; HealthOverviewTests | Not verified; exact methods/results pending | +| 01-AC-01: Create a patient with valid information | the patient profile is created successfully; a patient identifier is assigned; the identifier is associated with the authenticated account | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-02: A patient name is required | the patient profile is rejected | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-03: A date of birth is required | the patient profile is rejected | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-04: Reject a second profile | the request reports that a profile already exists; no second profile is created and the association is unchanged | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-05: Persistent account association | the same associated profile is returned | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-06: Retry after a successful creation response was lost | the result indicates that the profile already exists; no duplicate profile or replacement association is created | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-07: Concurrent initial creation | at most one profile is created and associated with the account; no request reports a second profile as created | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-08: Recovery after interrupted creation | the operation recovers to one accessible associated profile or reports that creation remains incomplete; it neither produces duplicate profiles nor reports an inaccessible profile as successfully created | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 01-AC-09: Unauthenticated initial creation | the request is rejected and no profile is created | CreatePatientTests; PatientAuthenticationTests | Not verified; exact methods/results pending | +| 02-AC-01: Retrieve an existing patient | the patient profile is returned; the returned patient identifier matches the requested patient; the patient's name is included; the patient's date of birth is included; the patient's contact information is included | CreatePatientTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 02-AC-02: Request a patient that does not exist | the request reports that the patient does not exist | CreatePatientTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 03-AC-01: Update an existing patient | the update succeeds; the patient identifier is unchanged; the patient profile contains contact information "new@example.test" | UpdatePatientTests | Not verified; exact methods/results pending | +| 03-AC-02: Update a patient that does not exist | the update is rejected; no new patient is created | UpdatePatientTests | Not verified; exact methods/results pending | +| 04-AC-01: Record a valid observation | the observation is accepted; an observation identifier is assigned; the observation is associated with the patient; the observation can be retrieved later | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-02: Record an observation without optional fields | the observation is accepted | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-03: Reject an observation containing a non-positive measured value | the observation is rejected. Outline cases: columns (systolic, diastolic, pulse); cases (0, 82, 68), (-1, 82, 68), (128, 0, 68), (128, -1, 68), (128, 82, 0), (128, 82, -1) | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-04: Reject an observation without a measurement timestamp | the observation is rejected | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-05: Record an observation for a patient that does not exist | the observation is rejected | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-06: Record setting and condition independently | observation creation succeeds | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-07: Record partial context | observation creation succeeds | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-08: Retain support for absent context | observation creation succeeds | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-09: Record departure from routine | observation creation succeeds | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-10: Reject unsupported category | the operation is rejected with an explanation of the invalid category | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-11: Retrieve previously saved context | the returned observation contains those saved details associated with that observation | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 04-AC-12: Reject another patient’s context submission | the operation is rejected | RecordObservationTests; RecordMeasurementContextTests | Not verified; exact methods/results pending | +| 05-AC-01: Retrieve an existing observation | the observation is returned; the systolic value is 128; the diastolic value is 82; the pulse value is 68 | ViewObservationContextTests; PatientAuthenticationTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 05-AC-02: Retrieve an observation that does not exist | the request reports that the observation does not exist | ViewObservationContextTests; PatientAuthenticationTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 05-AC-03: Return complete saved context | its saved context is returned with its numerical measurements and timestamp | ViewObservationContextTests; PatientAuthenticationTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 05-AC-04: Return partial context | Clinic is returned as the setting; activity condition is represented as unknown | ViewObservationContextTests; PatientAuthenticationTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 05-AC-05: Preserve historical free text | the original text is returned; no definite setting or activity condition is invented | ViewObservationContextTests; PatientAuthenticationTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 05-AC-06: Protect context | access is rejected; its context is not disclosed | ViewObservationContextTests; PatientAuthenticationTests; ProfessionalAccessTests | Not verified; exact methods/results pending | +| 06-AC-01: Return the most recent observation | the observation measured at "2026-09-12T08:00:00" is returned | LatestObservationTests | Not verified; exact methods/results pending | +| 06-AC-02: Patient has no observations | the result indicates that no observation is available | LatestObservationTests | Not verified; exact methods/results pending | +| 06-AC-03: Return context of latest observation | the newer observation is returned with its after-activity context | LatestObservationTests | Not verified; exact methods/results pending | +| 06-AC-04: Do not substitute a more complete observation | the latest observation is returned; its context is represented as unknown | LatestObservationTests | Not verified; exact methods/results pending | +| 06-AC-05: Preserve timestamp tie selection | the second observation is returned with its own setting | LatestObservationTests | Not verified; exact methods/results pending | +| 06-AC-06: No observations | the system reports that no observation is available | LatestObservationTests | Not verified; exact methods/results pending | +| 06-AC-07: Resolve a complete timestamp tie reproducibly | the same observation is returned under the documented final tie rule | LatestObservationTests | Not verified; exact methods/results pending | +| 07-AC-01: Retrieve observations within a period | exactly 1 observation is returned; the returned observation was measured at "2026-09-05T08:00:00" | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-02: Return observations in chronological order | the observations are returned in chronological order by measurement timestamp | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-03: No observations exist within the requested period | an empty observation collection is returned | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-04: Reject an invalid period | the request is rejected | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-05: Select home observations | only home observations within the period are returned with their context | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-06: Combine setting and activity | only home-resting observations are returned | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-07: Select unknown context | only observations with unknown setting are returned | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-08: No selection excludes nothing on context alone | all those observations are returned in ascending measurement-time order | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-09: No matching observations | an empty collection is returned | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-10: Reject unsupported selection | the request is rejected with an explanation | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 07-AC-11: Preserve patient and boundary rules | both boundary observations are returned; the outside-period and other-patient observations are excluded | ObservationHistoryTests; ContextFilteredHistoryTests | Not verified; exact methods/results pending | +| 08-AC-01: Correct an existing observation | the update succeeds; the observation identifier is unchanged; the observation contains systolic value 128 | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-02: Reject an update containing a non-positive measured value | the update is rejected. Outline cases: columns (systolic, diastolic, pulse); cases (0, 82, 68), (128, 0, 68), (128, 82, 0) | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-03: Update an observation that does not exist | the update is rejected | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-04: Add context to historical observation | the update succeeds | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-05: Correct one context value | the update succeeds | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-06: Clear optional context | the update succeeds | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-07: Retrieve partially corrected observation | Clinic is returned; the original numerical values, timestamp, activity condition, and note are returned unchanged | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-08: Reject invalid context correction | the update is rejected | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-09: Nonexistent observation | the update is rejected | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 08-AC-10: Unauthorised correction | the operation is rejected | UpdateObservationTests; PatchObservationTests | Not verified; exact methods/results pending | +| 09-AC-01: Delete an existing observation | the deletion succeeds; the observation can no longer be retrieved; the observation no longer appears in the patient's observation history | DeleteObservationTests; DeleteContextualisedObservationTests | Not verified; exact methods/results pending | +| 09-AC-02: Delete an observation that does not exist | the request reports that the observation does not exist | DeleteObservationTests; DeleteContextualisedObservationTests | Not verified; exact methods/results pending | +| 09-AC-03: Delete contextualised observation | deletion succeeds | DeleteObservationTests; DeleteContextualisedObservationTests | Not verified; exact methods/results pending | +| 09-AC-04: History excludes previously deleted observation | the deleted observation and its context are absent; the remaining matching observations are returned | DeleteObservationTests; DeleteContextualisedObservationTests | Not verified; exact methods/results pending | +| 09-AC-05: Assessment excludes deleted data | the deleted values and context do not contribute to the result | DeleteObservationTests; DeleteContextualisedObservationTests | Not verified; exact methods/results pending | +| 09-AC-06: Reject unauthorised deletion | the operation is rejected | DeleteObservationTests; DeleteContextualisedObservationTests | Not verified; exact methods/results pending | +| 10-AC-01: Calculate averages for a period | the average systolic value is 125; the average diastolic value is 82; the average pulse value is 65 | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-02: Calculate minimum and maximum blood-pressure values | the minimum systolic value is 118; the maximum systolic value is 130; the minimum diastolic value is 76; the maximum diastolic value is 84 | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-03: Insight uses only observations in the requested period | only observations within the requested period contribute to the calculated values | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-04: No observations exist in the requested period | the result indicates that insufficient observation data is available for calculation | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-05: Reject an invalid insight period | the request is rejected | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-06: Calculate from selected context only | average systolic pressure is 125.00; the result identifies Home, At rest, and two contributing observations | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-07: No filter preserves pooled calculation | all eligible observations contribute to the existing numerical calculations; the mixed or unknown context is made apparent | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-08: One selected observation | each mean equals that observation’s corresponding value; each blood-pressure minimum and maximum equals its corresponding value | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-09: No matching observations | the system reports that no insight can be calculated for the selection | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-10: Correction changes membership | that observation does not contribute to the home-only calculation | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-11: Reject unsupported selection | the request is rejected with an explanation | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-12: Round a halfway mean upwards | the average systolic value is 120.13 | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 10-AC-13: Round a repeating fractional mean | the average systolic value is 120.33 | HealthInsightTests; ContextSelectedInsightTests | Not verified; exact methods/results pending | +| 11-AC-01: Calculate a trend from observations | a trend result is returned; the trend is derived only from observations within the requested period | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-02: No observations exist for trend calculation | the result indicates that insufficient observation data is available for trend calculation | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-03: Reject an invalid trend period | the request is rejected | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-04: Assess a comparable selection | separate systolic, diastolic, and pulse assessments are returned; the result identifies the selection, contributing count, and recorded basis for comparability | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-05: Different conditions remain visible | the result identifies the differing conditions; explains limitations on interpreting their combined trajectory | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-06: Unknown details limit comparability | the explanation identifies the known similarities and missing details; does not certify that all measurement conditions were identical | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-07: Missing context preserves numerical information | supported numerical direction and variation are returned; the limitations on clinical interpretation and comparability are explained | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-08: Conflicting descriptions | the conflict is identified; an unsupported resting interpretation is not asserted | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-09: Compare labelled selections | each result identifies its own selection and contributing observations; a difference between settings alone is not labelled improvement or deterioration over time | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-10: Insufficient selected series | the result reports insufficient observations for temporal direction; does not use excluded observations to manufacture a trend | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-11: No temporal separation | temporal direction is reported as unavailable | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-12: No matching data | the result reports that no matching observations are available | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-13: Updated context is used | that observation no longer contributes to the result | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-14: Reject invalid selection | the request is rejected with an explanation | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-15: AC-11-A | the result presents each measurement separately; identifies its unit, observed level, direction, and variation | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-16: AC-11-B | only observations for that patient within the selected period contribute to the result | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-17: AC-11-C | the result identifies the corresponding direction; bases that assessment on measurements throughout the period | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-18: AC-11-D | the result describes the intermediate variation; does not describe the period as clinically stable merely because its endpoints are similar | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-19: AC-11-E | the explanation describes the reversal or mixed development; does not imply that all measurements follow one consistent direction | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-20: AC-11-F | the explanation identifies their position relative to the reference values; does not describe them as healthy solely because their variation is limited | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-21: AC-11-G | the explanation describes that development and its basis; distinguishes improvement from having reached an appropriate level | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-22: AC-11-H | the explanation describes the concern and its basis; does not treat a decrease as favourable solely because the values are falling | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-23: AC-11-I | the result explains the interpretation of each affected measurement; does not force them into a single favourable or concerning classification | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-24: AC-11-J | the result presents the supported numerical information; explains that the clinical interpretation is limited by missing context | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-25: AC-11-K | the result explicitly reports that direction cannot be determined; does not substitute an increasing, decreasing, or unchanged conclusion | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-26: AC-11-L | the result identifies the reference values used; does not present a general reference threshold as an individual treatment target | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-27: AC-11-M | the assessment remains unchanged | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-28: AC-11-N | the result reflects the current observations | HealthTrendTests | Not verified; exact methods/results pending | +| 11-AC-29: Supported reference comparison despite incomplete preparation details | the supported reference comparison is provided; the explanation identifies the remaining limits without rejecting all clinical interpretation | HealthTrendTests | Not verified; exact methods/results pending | +| 12-AC-01: View an overview for a patient with observations | the patient's profile is included; the latest blood-pressure observation is included; the calculated health insight is included | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-02: View an overview for a patient without observations | the patient's profile is included; no latest blood-pressure observation is returned; the overview indicates that no calculated health insight is available | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-03: Request an overview for a patient that does not exist | the request reports that the patient does not exist | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-04: Reject an invalid overview period | the request is rejected | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-05: Latest context and insight selection differ | the latest after-activity observation and its context are returned; the insight uses only matching home-resting observations; the result distinguishes their different bases | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-06: No matching insight observations | the profile and latest observation remain available; the absence of insight for the selection is explained | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-07: Unknown context remains unknown | its context is represented as unknown; no context is copied from other observations | HealthOverviewTests | Not verified; exact methods/results pending | +| 12-AC-08: Default overview preserves context limitations | the original pooled insight is returned; its mixed-context explanation is included | HealthOverviewTests | Not verified; exact methods/results pending | +| 13-AC-01: Successful authentication | the system recognises my account and Patient role; recognises its associated patient profile if one has been created | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-02: Access to my own information | access is permitted; the operation follows its existing acceptance criteria | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-03: Invalid credentials | authentication is rejected; the response does not reveal which part of the credentials was incorrect | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-04: Missing authentication | the request is rejected; no patient information is returned or changed | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-05: Invalid authentication information | the request is rejected; no patient information is returned or changed | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-06: Access to another patient’s information | access is rejected; none of that patient’s information is returned or changed | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-07: Own information does not yet exist | the system follows the existing behaviour for missing information; does not return another patient’s information | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-08: Login before profile creation | authentication succeeds and recognises my account and Patient role; I may create my initial profile under US-01; I gain no access to another patient’s information | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 13-AC-09: Expired authentication | the request is rejected; no patient information is returned or changed | PatientAuthenticationTests; AuthenticationIntegrationTests | Not verified; exact methods/results pending | +| 14-AC-01: Successful authentication | the system recognises my identity and healthcare professional role | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-02: View assigned patients | the system returns only patients assigned to me | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-03: View an assigned patient’s information | access is permitted; the requested information is returned according to the existing retrieval requirements | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-04: No assigned patients | the system indicates that no patients are assigned; does not return other patients | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-05: Patient information does not yet exist | the system follows the existing behaviour for missing information | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-06: Access to an unassigned patient | access is rejected; no information about that patient is returned | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-07: Attempt to change patient information | the operation is rejected; the patient information remains unchanged | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-08: Invalid credentials | authentication is rejected; the response does not reveal which part of the credentials was incorrect | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-09: Missing or invalid authentication | the request is rejected; no patient information is returned | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 14-AC-10: Patient account attempts professional access | access is rejected; my existing access to my own information is unaffected | ProfessionalAccessTests | Not verified; exact methods/results pending | +| 15-AC-01: Access guidance before first observation | preparation, measurement, and recording instructions are available; the source, applicability, and review date are identified | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-02: Home measurement guidance | the instructions cover rest, equipment and cuff, positioning, repeated readings, and recording conditions; any numeric instructions follow the identified Danish or European guidance | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-03: Unknown setting | its supported setting is identified; no measurement setting is saved or assumed on the user’s behalf | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-04: Different measurement conditions | the guidance distinguishes it from a resting measurement; explains recording the actual conditions without relabelling the result as resting | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-05: Pulse context | it explains recording the pulse value and relevant activity condition; does not describe the single pulse value as a rhythm assessment | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-06: Guidance does not certify compliance | no observation is saved or altered; following the procedure is not recorded automatically | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-07: Guidance is optional | creation succeeds | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-08: Guidance unavailable | its unavailability is explained; unsupported instructions are not presented as verified guidance | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | +| 15-AC-09: General guidance without login | the general guidance is available; no patient-specific information or assignment list is returned | MeasurementGuidanceTests; RecordObservationTests | Not verified; exact methods/results pending | diff --git a/ImplementationPlan/architecture-conformance.md b/ImplementationPlan/architecture-conformance.md new file mode 100644 index 0000000..2ccb78b --- /dev/null +++ b/ImplementationPlan/architecture-conformance.md @@ -0,0 +1,18 @@ +# Architecture conformance register + +Prepared 2026-10-14. **Implementation not started; all implementation evidence is not verified.** Allocation is a plan, not conformance proof. Authoritative target: `ArchitectureProposal/software-architecture.md` at `3426236c6cfcece36e94642ae84d1843288f86d5`. + +| Target | Required implementation evidence | Status | +| --- | --- | --- | +| ADR-01 / components | One process/listener; module facades/private repositories; acyclic dependency checks; no internal HTTP/callbacks | Not verified | +| ADR-02 / ownership | One DB, Profile/Observation schemas/history/owners, restricted FK, constraints/index, DML-only runtime grants | Not verified | +| ADR-03 / creation sequence | Unique non-null account association, trusted identity, race/rollback/restart/lost-response tests, commit-before-success | Not verified | +| ADR-04 / access | Framework tokens/expiry/persistent keys; actual-owner/assignment policy; no bypass routes/service keys; secret/TLS protections | Not verified | +| ADR-05 / read sequence | Repeatable-read from authorization through capture; coherent overview; release before computation/transfer; current next-request reads; no result store/cache | Not verified | +| ADR-06 / Analytics/Guidance | Preserved documented mathematics, separated clinical policy/catalog, claim-specific review/provenance, numerical sufficiency and context/narrative limits | Not verified | +| ADR-07 / context | Flattened owned fields, Unknown/AND/clear/omission/text invariants; locked atomic writes with owner recheck | Not verified | +| ADR-08 / deployment/install sequence | Single app unit and identity; local/remote DB; generated settings/roles/certificates; transient installer; real PID/HTTPS/workflow/restart proof | Not verified | +| §8 operational boundary | Safe status mapping, no false absence, no-store, sanitized logs, deadline/rollback/cancellation, bounded admission/pool | Not verified | +| §9 readiness/remote placement | Usable DB/content/key readiness, public guidance on DB outage, verified DB TLS/name, no unnecessary local DB install | Not verified | + +Approved deviations: none. Pending incompatibility approvals: Q1 in [open-questions.md](open-questions.md). Any new necessary deviation requires explanation and approval before implementation. diff --git a/ImplementationPlan/baseline-manifest.json b/ImplementationPlan/baseline-manifest.json new file mode 100644 index 0000000..2fe65fa --- /dev/null +++ b/ImplementationPlan/baseline-manifest.json @@ -0,0 +1,97 @@ +{ + "capturedOn": "2026-10-14", + "sourceRepository": "/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepository", + "sourceCommit": "2117236366130775214d9fd2611984d4348f2b79", + "sourceStatus": "", + "implementationCommit": "3426236c6cfcece36e94642ae84d1843288f86d5", + "proposalCommit": "3426236c6cfcece36e94642ae84d1843288f86d5", + "preExistingChanges": [ + " M AGENT.md", + "?? AGENTOldOutdated.md" + ], + "sha256": { + "Docs/Architecture/.$04_class_observation_service.drawio.bkp": "cddda9a4d1fdbb7cd332aef729912a74fdf05b34e68d89612bdc314b8cef3396", + "Docs/Architecture/.$05_class_insights_service.drawio.bkp": "e2b1dfa14d111fb858f0f588a433beebaf21649819b6d9b8360de8dcdd4e5adf", + "Docs/Architecture/.$06_class_health_overview_service.drawio.bkp": "9503302ba2d0326bf1f80576975599da7014ef424502a37445953c1206333dcc", + "Docs/Architecture/.$08_er_observation_service.drawio.bkp": "4592723517abb47d440b5c5e034dc82c6ca91dc2cf4a8844508e0261a01b9a1f", + "Docs/Architecture/.$09_er_insights_service.drawio.bkp": "c93980f0269e720f3e821525e21535f36f54bff5738c1c2e0bf96dd6a1173372", + "Docs/Architecture/01_domain_model.jpg": "43354c405b637578074d6d0b74269a81e92be93a9549af8550d36314310680c9", + "Docs/Architecture/02_microservice_architecture.jpg": "67862bb8e9c1029f1ba8cd1db680a02e7c0a7d2aeeb09bda824972f14e24e1f1", + "Docs/Architecture/03_class_patient_profile_service.jpg": "4abc364239a97b0d77dd59352f2ac537a583e02181014a4963ceb180315fab1e", + "Docs/Architecture/04_class_observation_service.drawio": "0b48a2760252607d36fe745512b97c1796067f972c0198423cb15ace3f93c678", + "Docs/Architecture/04_class_observation_service.jpg": "749647606ee3a5a7053dbc956fc26b09b4e26a5929eb1a60729d713fecd1fcf3", + "Docs/Architecture/05_class_insights_service.drawio": "8c5837f38eb745e1cf8362b4e8c7e538e7f1e6b7e8555ae4e8a4baecf2c9f969", + "Docs/Architecture/05_class_insights_service.jpg": "18d5fbeec5db5947da0dca67e34b4d221ae13d5b2ea3682e7b3073c991b3e070", + "Docs/Architecture/06_class_health_overview_service.drawio": "8c401510f8c0a2e88936b23ad670448ccc07c28d051b207d79d222f13ec9422e", + "Docs/Architecture/06_class_health_overview_service.jpg": "1c2751c7fdbf123bdaed207f35ebdcd58f0ee0d2145cbdd173b7d5ae71e9778b", + "Docs/Architecture/07_er_patient_profile_service.jpg": "8074f734e3e4e28ea27416409d5abdf67c6a0e3205d97c994c6292ca8d2261e4", + "Docs/Architecture/08_er_observation_service.drawio": "88cc97c26ff40650cae593b906ebab42539bf329440c5c6f4e637ef5fc029bb1", + "Docs/Architecture/08_er_observation_service.jpg": "e6b02064ba2019ac58f7111264a0277116bd08114871e9c1f92fb49cabeb0999", + "Docs/Architecture/09_er_insights_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg": "6f01585a506f84efa6d553087c68263370cbceee74706fef1bf6879ef300ccbc", + "Docs/Architecture/09_er_insights_service.drawio": "534ba79368ac79eb80d797178411b4f5e83316b8a730fc62e214527571cbea9a", + "Docs/Architecture/10_er_health_overview_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg": "b27db286ce26cbc14bc5aff4cc190aff62c4537ef37de26008b0e6e0f17534a2", + "Docs/Architecture/README.md": "3754fa7ed95a6ef5422ce35f064eaabfdfe958720bd744cc533a169cb0c691f0", + "Docs/Architecture/personal_health_measurement_all_diagrams-Domain Model.jpg": "285c4c52440a300051a2c0f775d53ee36ef68c17eebbebf579be5ccca5b49976", + "Docs/Architecture/us10-insights-correction.md": "259d59ee3151806824dd2f879e7f9313b1db79b0fd9eb6a65cacc06d064dc4c7", + "Docs/AsBuiltArchitecture/README.md": "1936608a23872074b31f7d6053b8b896d1eb5a88e604fd633213abbc779782b7", + "Docs/AsBuiltArchitecture/architecture-decisions.md": "3edfbcd2081892d25f18bbe3e99ce68c92029056ea45a9c5ce3a72c13be7627d", + "Docs/AsBuiltArchitecture/class-diagram-coverage.md": "cdd13445e535663d11c7ac99acd8c643d66f9b9fd76c278397236f521d26dc1c", + "Docs/AsBuiltArchitecture/diagrams/01-system-context.drawio": "8da56ceb1ff2a37e9e6c8452fa1dc710ff26888339e9c737199ce8fb2d1d0047", + "Docs/AsBuiltArchitecture/diagrams/02-logical-services.drawio": "4ed58fe137068f77a930d52af4bf360e9b007ad181de02caaeab88d988e8a2d3", + "Docs/AsBuiltArchitecture/diagrams/03-domain-model.drawio": "aac0b332e4693652d46a0ab87f60d187b2b7dfa75d8035768259757761d34e50", + "Docs/AsBuiltArchitecture/diagrams/04-class-ApiGateway.drawio": "5a2af15508671acddb1507d5896792bc544addfdf40caa22430d53e81f2a6ae5", + "Docs/AsBuiltArchitecture/diagrams/04-class-HealthOverviewService.drawio": "7c4fb22fb53b564917cb86e9bb5cf87ea20c487462f8df628fac56ebc98f28b9", + "Docs/AsBuiltArchitecture/diagrams/04-class-InsightsService.drawio": "008ac8a03206c366fc469661610f56ad85675b37dd707893018d197a3b3e59bd", + "Docs/AsBuiltArchitecture/diagrams/04-class-ObservationService.drawio": "55b3eb960a9886c78adb6b2871a3863dff2c972cafa7d84f1f22fe58724b8e27", + "Docs/AsBuiltArchitecture/diagrams/04-class-PatientProfileService.drawio": "de3b253e09f68f2beb3f0a36bcebd71764bcf803bd7fd114947525d7ccadc74d", + "Docs/AsBuiltArchitecture/diagrams/04-design-classes.drawio": "14554a8d29c58ef76f0ad7b464d25c36bcf624925a2e6335a074ecc484941230", + "Docs/AsBuiltArchitecture/diagrams/05-data-ownership.drawio": "2fa232fe931f29b6e4ebfeea9e2dc2515f46099e81852f45e17ad3b9b9f7e4c2", + "Docs/AsBuiltArchitecture/diagrams/06-deployment.drawio": "7d1e534fa54f3ec123ca97260f10377bc78b892eeaf6d54c35c5d677ba266a9c", + "Docs/AsBuiltArchitecture/diagrams/07-sequences.drawio": "796c20eb9d84d849e4f2b58ddf01240b698a235021582f0e2cd69eebae1c65ef", + "Docs/AsBuiltArchitecture/discrepancies.md": "55a282ec2f3cfb8e91d554ee6dca62a57c2d5c591581b1e125a9bb598b3b8ef7", + "Docs/AsBuiltArchitecture/evidence-inventory.md": "d44791a09c1886819ff4fa8eed77dec37c986b4a78f26a0f05b7e14bb052c64b", + "Docs/AsBuiltArchitecture/requirements-traceability.md": "393754603a5a56428e8d3cc66ef659577c031e0ece597c4ea5646a315ba01cee", + "Docs/AsBuiltArchitecture/software-architecture.md": "67f4272d650cbf7ee8b68fe0e72449457de95c23683c4516cb05a2a3de9678cf", + "Docs/AsBuiltArchitecture/validation.md": "e688ec8372e829bf28b0ba9c58907af66273b1cffd6bdff1b72edb5ba5013b27", + "Docs/Design/authentication-and-access-control-design.md": "b044d0f78d542be0cf4a9c9db6635006f1c9be505a725c50e42ea26818d58f3b", + "Docs/Requirements/00-common-requirements.md": "1f056a53699e0875e11dfc203f2e324aaf2c4df02ffa41ed478699e4cc42dc66", + "Docs/Requirements/US16 easy installation and deployment installer.txt": "07416edc16ce034aea42f444ee939b1c70cb7b436194d73121d0c9a9635d0432", + "Docs/Requirements/us01-create-patient-profile.md": "52872490bd37b15e5b16b547b282a72b68e3daf6b01b4397d940d2f0bc7d82c5", + "Docs/Requirements/us02-view-patient-profile.md": "8af9e4e55ddb9bb42747fe2f16b12d95060d47b6b6f5c3102ddd215101c67477", + "Docs/Requirements/us03-update-patient-profile.md": "0825a974cea879240832ff11b709764f39cf7b7b03e52fe35fe68ec7363c1dd4", + "Docs/Requirements/us04-record-observation.md": "894e99dac4e056045c51bb3a16eafa25120c9fda2fee9f9aff6c2fcfa0e6cbc5", + "Docs/Requirements/us05-view-observation.md": "3632aebd02b34996483cf2a5e8b1c2a578a4de8226b20708ad30947116591f74", + "Docs/Requirements/us06-latest-observation.md": "dfec3b4fcb1c84109e0a685c82b7d58652f6e894196d8e8ae91c5f8916fbef42", + "Docs/Requirements/us07-observation-history.md": "dec0f06cee54e713dd8257b09338864976a813b3d282d422e45c66e204aa4dc7", + "Docs/Requirements/us08-update-observation.md": "1e65e62813db4e50d8858511978d7fa54088aa33c62ba43f3f63953601ae510b", + "Docs/Requirements/us09-delete-observation.md": "28e4dc1cbc92f60bbc700960b2174817a909a51cfb1226e3a873db46a329876a", + "Docs/Requirements/us10-calculated-insight.md": "ed2f03e69d460ef5bda98bb886749c52810bf14d0ba1477ca4533c683a0ef06b", + "Docs/Requirements/us11-health-trend.md": "7121bb4890e70621cae27163760ae5ccc6f9dd233e4e930a6a8c6c184d7f6181", + "Docs/Requirements/us12-health-overview.md": "58db5d95b70b09f77dfae42c0d85df5b6624d19bdaf137f89b9ab1a90baa8750", + "Docs/Requirements/us13-patient-authentication.md": "d2584876fbb17ecd4f751ffde5625eaf16d45a2f1b0d00edf45f74737c7bc512", + "Docs/Requirements/us14-professional-access.md": "bb451f00e4bad5d7773ed8073c4fdda362c50986f98a300b5d733fe5b71b2f6f", + "Docs/Requirements/us15-measurement-guidance.md": "1aa52764ac93fcdb36c49796cb1a242f3bfbb85572c6f009739493ebaa268074", + "Docs/Requirements/us16-addendum": "61f88829b25010506648af3f679d625e78f75b27b491bebdadb4b166115ac045", + "Docs/requirements-reconciliation-changelog.md": "318c4e2c9f3c1137d48caa04c5fe390c804a53c2684869d47a5e7d062bfe2d74", + "ArchitectureProposal/README.md": "302d9dddaf1cf848041b882f4e57db451c16f6a31aef0b50d985d0c91d7f0b18", + "ArchitectureProposal/architecture-decisions.md": "edb50808227dcfec2eba4d940103f6785777f1faf148e43998cfc1210eaa4f2d", + "ArchitectureProposal/diagram-guide.md": "d7b43b41e4c373a6c9ffdbe971510c49d3b54cb1346916d96191ed26c3dc8d9b", + "ArchitectureProposal/diagrams/01-system-context.drawio": "2398027144076461288b08af3cdc2dfa089d8ef9b25f8da69ac459d16a56517f", + "ArchitectureProposal/diagrams/02-logical-components.drawio": "3f26322e375fa68287380f4464614e926113c413e77eba572c88d1b3dba2ec7e", + "ArchitectureProposal/diagrams/03-domain-model.drawio": "bf811c558c7b30dd6a17b49d292034ce2b1992714b5793ff3f0762ed8a057f63", + "ArchitectureProposal/diagrams/04-conceptual-classes.drawio": "2ed335cf359bcd24851bbadb3b2a7926415d07996a6590adb8c39933e90b1ed9", + "ArchitectureProposal/diagrams/05-data-ownership.drawio": "9f6a924a4c81ceef9c1124c3764da1257d02576ca35343865561282bc2342303", + "ArchitectureProposal/diagrams/06-deployment.drawio": "8367a23bf1ae412601278595aa9cb25d25ff5627d62078df2a5422e39a639def", + "ArchitectureProposal/diagrams/07-sequences.drawio": "1023f4a5b7dc19e7a2f9f4300f8daca9ad4d251ca7deb4fa3bd3f9d57641b75d", + "ArchitectureProposal/energy-hypotheses.md": "5d4c28b69629471a6a34715c46ff7c735d4608ff8700e330855fbf0863be4bf7", + "ArchitectureProposal/input-inventory.md": "8253bdb30cc3b64ccac17c47d84d6d89d1d91f6a36adb081dce5d2e41ffdde4a", + "ArchitectureProposal/requirements-and-constraints.md": "714c855256a94d47eb5579aa90dd9993d30685d5cb17d5208103d272dd4475af", + "ArchitectureProposal/requirements-traceability.md": "36cfe3207b05e7ea5cb11e87dfe24e678f9c6f2353dde9dee3eae6cdc266b0cd", + "ArchitectureProposal/risks-and-open-questions.md": "5ebb2ba9511925333bbcbb14c8261d0ace896338507b63aa84d0a05ecc1e4537", + "ArchitectureProposal/software-architecture.md": "3238df5ae4b97de6fe97dd5a8c520cb0350b414974c6984f71cf7c8f44e6cd49", + "ArchitectureProposal/us16-revision.md": "0d8d6eac9ba659f0835c376fbec314e66f058f5442228c7b7054f48461385ea5", + "ArchitectureProposal/validation.md": "cb95155481cae3ac1f0922988ff3748f79243cb6f8132756b4e3f75ad30c454b", + "AGENT.md": "4394ef08384749a3f7394906e1c4eed36c3d2d1c8daccb3b66b4f83962ffb3a2", + "AGENTOldOutdated.md": "1e83d98a89575e39f10df2b6b3a40833590ad4be37172437ceb70f39cd441872" + } +} diff --git a/ImplementationPlan/documentation-inventory.md b/ImplementationPlan/documentation-inventory.md new file mode 100644 index 0000000..05a820a --- /dev/null +++ b/ImplementationPlan/documentation-inventory.md @@ -0,0 +1,91 @@ +# Documentation inventory + +Captured 2026-10-14. `Docs/Requirements` governs functionality; `ArchitectureProposal` governs the target structure subject to implementation approval. As-built documents describe an earlier source snapshot and are checked against the pinned source. Historical images/backups supply context and are superseded where the Architecture README says so. File hashes are in `baseline-manifest.json`. + +| File | Classification | Diagram pages | +| --- | --- | --- | +| `Docs/Architecture/.$04_class_observation_service.drawio.bkp` | Historical diagram / backup | | +| `Docs/Architecture/.$05_class_insights_service.drawio.bkp` | Historical diagram / backup | | +| `Docs/Architecture/.$06_class_health_overview_service.drawio.bkp` | Historical diagram / backup | | +| `Docs/Architecture/.$08_er_observation_service.drawio.bkp` | Historical diagram / backup | | +| `Docs/Architecture/.$09_er_insights_service.drawio.bkp` | Historical diagram / backup | | +| `Docs/Architecture/01_domain_model.jpg` | Historical diagram / backup | | +| `Docs/Architecture/02_microservice_architecture.jpg` | Historical diagram / backup | | +| `Docs/Architecture/03_class_patient_profile_service.jpg` | Historical diagram / backup | | +| `Docs/Architecture/04_class_observation_service.drawio` | Baseline structure or reconciliation; functional intent retained | Observation Service — updated class model | +| `Docs/Architecture/04_class_observation_service.jpg` | Historical diagram / backup | | +| `Docs/Architecture/05_class_insights_service.drawio` | Baseline structure or reconciliation; functional intent retained | Insights Service — updated class and result model | +| `Docs/Architecture/05_class_insights_service.jpg` | Historical diagram / backup | | +| `Docs/Architecture/06_class_health_overview_service.drawio` | Baseline structure or reconciliation; functional intent retained | Health Overview Service — updated class model | +| `Docs/Architecture/06_class_health_overview_service.jpg` | Historical diagram / backup | | +| `Docs/Architecture/07_er_patient_profile_service.jpg` | Historical diagram / backup | | +| `Docs/Architecture/08_er_observation_service.drawio` | Baseline structure or reconciliation; functional intent retained | Observation Service — updated logical persistence model | +| `Docs/Architecture/08_er_observation_service.jpg` | Historical diagram / backup | | +| `Docs/Architecture/09_er_insights_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg` | Historical diagram / backup | | +| `Docs/Architecture/09_er_insights_service.drawio` | Baseline structure or reconciliation; functional intent retained | Insights Service — no persisted summary entities | +| `Docs/Architecture/10_er_health_overview_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg` | Historical diagram / backup | | +| `Docs/Architecture/README.md` | Baseline structure or reconciliation; functional intent retained | | +| `Docs/Architecture/personal_health_measurement_all_diagrams-Domain Model.jpg` | Historical diagram / backup | | +| `Docs/Architecture/us10-insights-correction.md` | Baseline structure or reconciliation; functional intent retained | | +| `Docs/AsBuiltArchitecture/README.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/architecture-decisions.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/class-diagram-coverage.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/diagrams/01-system-context.drawio` | Descriptive baseline; not a new requirement | System context | +| `Docs/AsBuiltArchitecture/diagrams/02-logical-services.drawio` | Descriptive baseline; not a new requirement | Service processes and communication | +| `Docs/AsBuiltArchitecture/diagrams/03-domain-model.drawio` | Descriptive baseline; not a new requirement | Complete application domain: health, access and guidance; Deployment administration concepts (separate supporting domain) | +| `Docs/AsBuiltArchitecture/diagrams/04-class-ApiGateway.drawio` | Descriptive baseline; not a new requirement | ApiGateway — implementation classes | +| `Docs/AsBuiltArchitecture/diagrams/04-class-HealthOverviewService.drawio` | Descriptive baseline; not a new requirement | HealthOverviewService — implementation classes | +| `Docs/AsBuiltArchitecture/diagrams/04-class-InsightsService.drawio` | Descriptive baseline; not a new requirement | InsightsService — implementation classes | +| `Docs/AsBuiltArchitecture/diagrams/04-class-ObservationService.drawio` | Descriptive baseline; not a new requirement | ObservationService — implementation classes; ObservationService — EF migration classes | +| `Docs/AsBuiltArchitecture/diagrams/04-class-PatientProfileService.drawio` | Descriptive baseline; not a new requirement | PatientProfileService — implementation classes; PatientProfileService — EF migration classes | +| `Docs/AsBuiltArchitecture/diagrams/04-design-classes.drawio` | Descriptive baseline; not a new requirement | ApiGateway — implementation classes; PatientProfileService — implementation classes; PatientProfileService — EF migration classes; ObservationService — implementation classes; ObservationService — EF migration classes; InsightsService — implementation classes; HealthOverviewService — implementation classes; Administrative provisioning (not a microservice) | +| `Docs/AsBuiltArchitecture/diagrams/05-data-ownership.drawio` | Descriptive baseline; not a new requirement | Ownership and physical persistence | +| `Docs/AsBuiltArchitecture/diagrams/06-deployment.drawio` | Descriptive baseline; not a new requirement | Colocated Linux: separate native processes; Distributed Linux: supported topology; Native platform adapters: same application DLLs | +| `Docs/AsBuiltArchitecture/diagrams/07-sequences.drawio` | Descriptive baseline; not a new requirement | Login and initial profile creation; Record observation with patient existence check; Observation-ID read, patch or delete ownership; On-demand numerical insight or trend; Overview: sequential nested gateway reads; Professional assigned-patient reads and rejection; Installation: preparation, provisioning and verification | +| `Docs/AsBuiltArchitecture/discrepancies.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/evidence-inventory.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/requirements-traceability.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/software-architecture.md` | Descriptive baseline; not a new requirement | | +| `Docs/AsBuiltArchitecture/validation.md` | Descriptive baseline; not a new requirement | | +| `Docs/Design/authentication-and-access-control-design.md` | Security intent; historical topology superseded by approved target | | +| `Docs/Requirements/00-common-requirements.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/US16 easy installation and deployment installer.txt` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us01-create-patient-profile.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us02-view-patient-profile.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us03-update-patient-profile.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us04-record-observation.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us05-view-observation.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us06-latest-observation.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us07-observation-history.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us08-update-observation.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us09-delete-observation.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us10-calculated-insight.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us11-health-trend.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us12-health-overview.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us13-patient-authentication.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us14-professional-access.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us15-measurement-guidance.md` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/Requirements/us16-addendum` | Functional requirements; US-16 topology requires explicit revision | | +| `Docs/requirements-reconciliation-changelog.md` | Baseline structure or reconciliation; functional intent retained | | +| `ArchitectureProposal/README.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/architecture-decisions.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/diagram-guide.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/diagrams/01-system-context.drawio` | Target architecture / supporting evidence | Health App — system context | +| `ArchitectureProposal/diagrams/02-logical-components.drawio` | Target architecture / supporting evidence | Logical components — all in one application process | +| `ArchitectureProposal/diagrams/03-domain-model.drawio` | Target architecture / supporting evidence | Domain — identity and access; Domain — observations and selection; Domain — derived views and clinical provenance | +| `ArchitectureProposal/diagrams/04-conceptual-classes.drawio` | Target architecture / supporting evidence | Conceptual classes — access and Profile; Conceptual classes — Observations; Conceptual classes — Analytics; Conceptual classes — Overview and Guidance | +| `ArchitectureProposal/diagrams/05-data-ownership.drawio` | Target architecture / supporting evidence | Persistence — one database, explicit logical ownership | +| `ArchitectureProposal/diagrams/06-deployment.drawio` | Target architecture / supporting evidence | Deployment — default local Linux; Deployment — optional separate database host | +| `ArchitectureProposal/diagrams/07-sequences.drawio` | Target architecture / supporting evidence | Login and initial profile creation; Actual-owner observation correction and deletion; Insight, trend and overview snapshot composition; Native installation and verification | +| `ArchitectureProposal/energy-hypotheses.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/input-inventory.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/requirements-and-constraints.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/requirements-traceability.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/risks-and-open-questions.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/software-architecture.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/us16-revision.md` | Target architecture / supporting evidence | | +| `ArchitectureProposal/validation.md` | Target architecture / supporting evidence | | + +## Diagram inspection + +All editable Draw.io files were parsed; target labels and relationships were inspected, including all four sequence pages. No GUI rendering or round-trip validation was performed in this preparation. Target diagrams describe modules, immutable values, one database with restricted FK, two deployment placements and authorized shared snapshots; no internal HTTP or separately installable feature services. Historical JPEGs were inventoried rather than treated as current structure. diff --git a/ImplementationPlan/evidence/baseline-summary.json b/ImplementationPlan/evidence/baseline-summary.json new file mode 100644 index 0000000..6b74c45 --- /dev/null +++ b/ImplementationPlan/evidence/baseline-summary.json @@ -0,0 +1,65 @@ +[ + { + "file": "_Sil3ntDragon_2026-10-14_10_57_42.trx", + "counters": { + "total": "236", + "executed": "236", + "passed": "236", + "failed": "0", + "error": "0", + "timeout": "0", + "aborted": "0", + "inconclusive": "0", + "passedButRunAborted": "0", + "notRunnable": "0", + "notExecuted": "0", + "disconnected": "0", + "warning": "0", + "completed": "0", + "inProgress": "0", + "pending": "0" + } + }, + { + "file": "_Sil3ntDragon_2026-10-14_10_57_42[1].trx", + "counters": { + "total": "34", + "executed": "34", + "passed": "34", + "failed": "0", + "error": "0", + "timeout": "0", + "aborted": "0", + "inconclusive": "0", + "passedButRunAborted": "0", + "notRunnable": "0", + "notExecuted": "0", + "disconnected": "0", + "warning": "0", + "completed": "0", + "inProgress": "0", + "pending": "0" + } + }, + { + "file": "_Sil3ntDragon_2026-10-14_10_57_43.trx", + "counters": { + "total": "29", + "executed": "29", + "passed": "29", + "failed": "0", + "error": "0", + "timeout": "0", + "aborted": "0", + "inconclusive": "0", + "passedButRunAborted": "0", + "notRunnable": "0", + "notExecuted": "0", + "disconnected": "0", + "warning": "0", + "completed": "0", + "inProgress": "0", + "pending": "0" + } + } +] diff --git a/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42.trx b/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42.trx new file mode 100644 index 0000000..5dfd690 --- /dev/null +++ b/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42.trx @@ -0,0 +1,21529 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0) +[xUnit.net 00:00:00.04] Discovering: Observation.AcceptanceTests +[xUnit.net 00:00:00.10] Discovered: Observation.AcceptanceTests +[xUnit.net 00:00:00.13] Starting: Observation.AcceptanceTests +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35665 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40179 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43727 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37451 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41649 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37075 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33317 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42777 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43785 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41653 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38137 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32777 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44541 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35193 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45391 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38783 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {8a335768-e9f5-4aa3-905e-e0b794503a7d} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {c9db2f39-f810-42ca-aea7-22b25d7a218b} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {01dc598d-b37c-45d1-8508-bfdc7a1f6b03} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {58de0380-8705-4ff4-ba06-dae5490e74e7} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45671 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34793 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45093 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {8a4466fc-e0a1-4104-861e-035124ea1860} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34787 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43129 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {6f2b2867-43b1-42a3-a7d3-e394b29202d2} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {134f83ec-ba1b-4e0f-9f5a-82a78dd087c0} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {012ff9f0-05bb-4598-bb2c-905ab85c130e} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39241 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44703 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35431 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {913182f9-1060-4e61-8a14-55a922b29199} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {86ad7222-f37d-4cfe-a48d-71dca1859724} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {22e36a46-b48b-427d-9f39-b47aa50edc00} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f4c01a61-da0e-484a-a2a8-ac7bc4f21400} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36679 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {4c1f16a9-0ef6-4ff0-9cae-72a9a60672d3} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f51a55e2-11f8-4471-a384-dd0641497e8c} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {8f97e721-b394-4dca-9c14-6f473ee614c4} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33585 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {6a235422-29df-4025-98f2-18d267d4679b} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35989 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42727 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32885 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32889 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36181 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40359 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40793 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35079 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40249 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37523 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36475 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36357 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36215 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33579 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45233 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35947 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38209 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35373 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37129 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36189 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36709 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39557 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42879 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42131 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38935 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41677 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39227 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35533 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33809 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33621 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45211 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42809 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46817 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35393 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41365 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46295 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39741 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36703 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45805 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43389 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46491 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44269 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34315 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34723 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34831 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34625 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38337 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35461 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38157 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42845 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46647 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43523 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44699 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40335 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:41653/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45391/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35665/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:32777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33317/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:41653/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35665/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:32777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33317/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45391/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38783/api/patients/by-account/test-181 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38783/api/patients/by-account/test-181 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 79.9177ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 83.1492ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37523/api/observations/6e6365b3-079d-43de-b824-6117693b180f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37523/api/observations/6e6365b3-079d-43de-b824-6117693b180f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 115.9779ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.1447ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.1419ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.1841ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.0725ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.1188ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.1005ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.1626ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.1952ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.0825ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.0437ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.0828ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.1157ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 121.9689ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.309ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.1123ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.3118ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.2223ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.102ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 114.797ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.244ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 114.8248ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.1421ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.2794ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.2432ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.1506ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.3862ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.2437ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 116.3329ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 122.2888ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.288ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.3365ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.3386ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.379ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.5187ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.5486ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.0909ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.1528ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.2481ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.2899ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.7123ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.7554ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32777/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32777/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 24.0302ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 23.2878ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 23.3463ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 24.0795ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 23.9989ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 24.0369ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 75.7554ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 75.8091ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 21.6265ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 21.6551ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 21.4315ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 21.4634ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 21.9073ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 21.9403ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3803ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4174ms - 201 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/5771b6df-107f-4bd1-9d3a-1c0956396280/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/5771b6df-107f-4bd1-9d3a-1c0956396280/trends?* +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/dc657d42-fdf5-4caa-93ed-d3f7b995a3a6/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/dc657d42-fdf5-4caa-93ed-d3f7b995a3a6/overview?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.4611ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4954ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36709/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/335f336d-6b5c-45c5-b5f7-25a1e61aa0e9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36709/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/335f336d-6b5c-45c5-b5f7-25a1e61aa0e9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/e9744890-bdb0-44ab-aab7-a278dc8207b7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/e9744890-bdb0-44ab-aab7-a278dc8207b7/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/e18c706f-8d38-49a6-b39c-64e47fb81a68/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/e18c706f-8d38-49a6-b39c-64e47fb81a68/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36357/api/patients/9ca2a3d9-5948-4758-b85d-d11ecba8b321/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36357/api/patients/9ca2a3d9-5948-4758-b85d-d11ecba8b321/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37523/api/observations/6e6365b3-079d-43de-b824-6117693b180f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37523/api/observations/6e6365b3-079d-43de-b824-6117693b180f +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.1535ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.193ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.908ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.9373ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.0964ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.1327ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36189/api/patients/bb1ef3ac-2f68-48a3-894f-0e7530e8b78b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36189/api/patients/bb1ef3ac-2f68-48a3-894f-0e7530e8b78b/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32859 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44703/api/patients/9ca2a3d9-5948-4758-b85d-d11ecba8b321 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/e18c706f-8d38-49a6-b39c-64e47fb81a68 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40359/api/patients/bb1ef3ac-2f68-48a3-894f-0e7530e8b78b +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42727/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42727/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44703/api/patients/9ca2a3d9-5948-4758-b85d-d11ecba8b321 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/e18c706f-8d38-49a6-b39c-64e47fb81a68 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/335f336d-6b5c-45c5-b5f7-25a1e61aa0e9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/335f336d-6b5c-45c5-b5f7-25a1e61aa0e9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32889/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32889/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40359/api/patients/bb1ef3ac-2f68-48a3-894f-0e7530e8b78b +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 35.8516ms - 400 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 36.0449ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 35.8923ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 36.0942ms - 400 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 33.1223ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 33.1755ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32777/api/patients/9ca2a3d9-5948-4758-b85d-d11ecba8b321 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32777/api/patients/9ca2a3d9-5948-4758-b85d-d11ecba8b321 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/e18c706f-8d38-49a6-b39c-64e47fb81a68 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/e18c706f-8d38-49a6-b39c-64e47fb81a68 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/335f336d-6b5c-45c5-b5f7-25a1e61aa0e9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/335f336d-6b5c-45c5-b5f7-25a1e61aa0e9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/bb1ef3ac-2f68-48a3-894f-0e7530e8b78b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/bb1ef3ac-2f68-48a3-894f-0e7530e8b78b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32805 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.62ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.6715ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.4423ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.4747ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5104ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5532ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/b0fe78b7-9154-4e3b-96b1-626d3493ab56/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/b0fe78b7-9154-4e3b-96b1-626d3493ab56/trends?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.4024ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.4406ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.9362ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.9681ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 40.4733ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.3437ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 40.5159ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.3976ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 40.6057ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 40.3442ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 40.383ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.3386ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.3526ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.3826ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 40.667ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.4052ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 40.5068ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 40.5585ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 40.6191ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 40.6546ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1548ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1882ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.1915ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2307ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 40.3483ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1857ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 40.4139ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.2002ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1631ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.2101ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2046ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2528ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1568ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2073ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 41.1852ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 41.289ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1652ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2119ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2469ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1667ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2234ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2389ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.1818ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.2194ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2748ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3084ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 41.8682ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 41.9153ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/417a5c4c-f37e-43cf-9496-c8064af50bec/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/417a5c4c-f37e-43cf-9496-c8064af50bec/overview?* +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 55.8115ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 55.8732ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 1.2508ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 1.2786ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6119ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.648ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/4b8e1f52-77d0-4fba-9c91-8e636f7ed8e4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/4b8e1f52-77d0-4fba-9c91-8e636f7ed8e4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.4018ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.434ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.9441ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.9963ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.9116ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.9715ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2316ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 113.4746ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2743ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 113.5151ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 131.0223ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 131.0711ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 128.8164ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 128.8485ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 127.0193ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 127.0528ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 128.2537ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 128.2841ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 130.0233ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 130.0599ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 131.1826ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 131.2271ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 131.0633ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 131.1122ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 114.881ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 126.7037ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 114.9285ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 126.7353ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3107ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3406ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/b110ba48-1c33-4b85-af52-8b76bf0b8b61/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/b110ba48-1c33-4b85-af52-8b76bf0b8b61/trends?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 128.8327ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 128.8593ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0609ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0954ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/2e380fd6-6600-4228-9716-6a51c83518fe/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/2e380fd6-6600-4228-9716-6a51c83518fe/overview?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8849ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9146ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.2852ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.3189ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/ade8cdd2-f24f-43e8-9f50-75d5d1f9ccac/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/ade8cdd2-f24f-43e8-9f50-75d5d1f9ccac/observations +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 9.8473ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 9.8907ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6122ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6651ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 13.7573ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 13.7965ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3941ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4251ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0773ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1183ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0752ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1177ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.943ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9771ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.022ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0491ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3159ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3396ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2371ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2695ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9483ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9765ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0892ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.1151ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2543ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2864ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34817 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9947ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0248ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.384ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4124ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34827 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2261ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2557ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/77ec49b5-2c2a-4993-b668-095395edbfb6/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2254ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2727ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9823ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.017ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4794ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5153ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8449ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8756ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9752ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0096ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/fe263378-1c53-40aa-b67a-b6a065696401 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/fe263378-1c53-40aa-b67a-b6a065696401 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1435ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1725ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3892ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4307ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0289ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0584ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36709/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36709/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32889/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32889/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1152ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1491ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1945ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2222ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8669ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9024ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.4856ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.5135ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2054ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2373ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4593ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4889ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5801ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6139ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8839ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9175ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.2627ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.3035ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39227/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39227/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1947ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2267ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.0848ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.1164ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.0483ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.2808ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.078ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.3219ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2212ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.264ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.7292ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.7672ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 21.1106ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 21.1633ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/ef8533ab-d9c4-470c-8afe-fdf99f4ed9a7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/ef8533ab-d9c4-470c-8afe-fdf99f4ed9a7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2868ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3278ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 27.8129ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 27.8467ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3975ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4332ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9949ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0234ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6867ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.71ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43377 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36189/api/patients/30c752da-0262-4816-aeb9-ad38fbd44cb2/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36189/api/patients/30c752da-0262-4816-aeb9-ad38fbd44cb2/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.6215ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.6566ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0456ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0714ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/2edd9aaf-dc33-481a-b1f0-b7d29dd18802/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/2edd9aaf-dc33-481a-b1f0-b7d29dd18802/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.8184ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 27.6587ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.8805ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 27.7085ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5503ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5782ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1021ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1335ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/f0bbc753-7fc0-460f-bee8-e5a036a59c58/overview? +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/f0bbc753-7fc0-460f-bee8-e5a036a59c58/overview? +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 0.421ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 0.4532ms - 400 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5314ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5651ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/a5ef9646-3552-4f14-9ff1-1e9a3ec9decf/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/a5ef9646-3552-4f14-9ff1-1e9a3ec9decf/trends?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5315ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5611ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6244ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6629ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 2.3808ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.4222ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/insights?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.5027ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.5302ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3626ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.3937ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.5092ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.5654ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-1 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39043 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40723 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1657ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1945ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37561 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46295/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46295/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/insights?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/ef8533ab-d9c4-470c-8afe-fdf99f4ed9a7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/ef8533ab-d9c4-470c-8afe-fdf99f4ed9a7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5444ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5832ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.3176ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.3618ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/439be9c8-94e3-4a4c-89f0-eba7f2eed4eb/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2327ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2708ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 18.2727ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 18.305ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 47.5152ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 47.5558ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/patients/94b3c61e-8208-416c-b2f2-5a0574b445a9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1294ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1564ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0482ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0808ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.224ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2516ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.002ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.0375ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 15.4048ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 15.4422ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45391/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45391/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 30.9979ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 31.0546ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34727 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 40.6046ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 40.6467ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/464ae6c4-2171-40a0-8c32-152af407efe4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4232ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5329ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0803ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.123ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1476ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1987ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1574ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2086ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4319ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4594ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36709/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36709/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.9893ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.0302ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.1437ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1964ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 29.4464ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 29.4833ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-5 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44043 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2786ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3237ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/646afec1-c4ef-4d60-b0cf-f3463886e41c/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/646afec1-c4ef-4d60-b0cf-f3463886e41c/overview?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.058ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0868ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/96de781e-c6f0-4f8c-adb2-9817f2968f3e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/96de781e-c6f0-4f8c-adb2-9817f2968f3e/observations +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 0.444ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 0.4795ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0866ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1206ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/709ec2f5-9f57-45dd-86ee-f127f5b556f3/trends? +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/709ec2f5-9f57-45dd-86ee-f127f5b556f3/trends? +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.554ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5799ms - 400 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3552ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.3797ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.1963ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.2347ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2657ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2983ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 32.51ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 32.5436ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/bd82ef1a-dade-4ec6-9cb3-21d5300642c0/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/bd82ef1a-dade-4ec6-9cb3-21d5300642c0/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32889/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32889/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2086ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2386ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9736ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.006ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/bd82ef1a-dade-4ec6-9cb3-21d5300642c0 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/bd82ef1a-dade-4ec6-9cb3-21d5300642c0 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/bd82ef1a-dade-4ec6-9cb3-21d5300642c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/bd82ef1a-dade-4ec6-9cb3-21d5300642c0 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.7024ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.7352ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0517ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0854ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3924ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4274ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41767 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.2073ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.2407ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9958ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0287ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45391/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 43.9166ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 43.9488ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 51.7043ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 51.7402ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 82.5411ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 82.581ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.0842ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0236ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1177ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0543ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1788ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.208ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2423ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.27ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36709/api/observations/28d5248f-2ec2-48f9-8c17-ce6cb3def3a8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36709/api/observations/28d5248f-2ec2-48f9-8c17-ce6cb3def3a8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.7191ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.75ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0197ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0487ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0805ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1132ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4591ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4929ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1187ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1465ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.108ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.147ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39557/api/observations/52603cc1-6f6d-4e96-aba8-7a5d5d6b9fa6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39557/api/observations/52603cc1-6f6d-4e96-aba8-7a5d5d6b9fa6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0513ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0792ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.2043ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.2416ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4557ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4871ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2814ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3173ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35079/api/observations/c39bf080-f6a4-4b55-8ef3-ef2869b67b27 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35079/api/observations/c39bf080-f6a4-4b55-8ef3-ef2869b67b27 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1038ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1364ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/2fe76485-2051-42a3-9ad8-4403925cac2e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.468ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4925ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45211/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45211/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/insights?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8846ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9234ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9274ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.96ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/beabcd49-f9e7-4e3d-a298-3d05a943e727 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/beabcd49-f9e7-4e3d-a298-3d05a943e727 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0994ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1362ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/beabcd49-f9e7-4e3d-a298-3d05a943e727 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/beabcd49-f9e7-4e3d-a298-3d05a943e727 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1723ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.218ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36189/api/patients/6f82b7ee-d7e4-463a-a192-4f6f8cc4269e/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36189/api/patients/6f82b7ee-d7e4-463a-a192-4f6f8cc4269e/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9931ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0259ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1245ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.1525ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:36709/api/observations/28d5248f-2ec2-48f9-8c17-ce6cb3def3a8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:36709/api/observations/28d5248f-2ec2-48f9-8c17-ce6cb3def3a8 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42727/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42727/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/patients/ce438f1e-cca7-4f8f-bcf3-50aa3e631a33/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1259ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1542ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3961ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4294ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.1789ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.2157ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:39557/api/observations/52603cc1-6f6d-4e96-aba8-7a5d5d6b9fa6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:39557/api/observations/52603cc1-6f6d-4e96-aba8-7a5d5d6b9fa6 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 8.4059ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 8.4377ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.251ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.285ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:35079/api/observations/c39bf080-f6a4-4b55-8ef3-ef2869b67b27 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:35079/api/observations/c39bf080-f6a4-4b55-8ef3-ef2869b67b27 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2296ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2642ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.8407ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.8773ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1345ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1614ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0456ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0751ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1174ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1467ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 22.9636ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 23.0081ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 23.667ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 23.707ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32805/api/patients/by-account/test-182 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32805/api/patients/by-account/test-182 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.0658ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.1013ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 24.7524ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 24.8028ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/b80458a2-03ae-4319-bf80-46172dcebb57/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/b80458a2-03ae-4319-bf80-46172dcebb57/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 38.1516ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 38.1876ms - 204 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 35.6309ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 35.6718ms - 204 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/b80458a2-03ae-4319-bf80-46172dcebb57 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/b80458a2-03ae-4319-bf80-46172dcebb57 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/b80458a2-03ae-4319-bf80-46172dcebb57 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/b80458a2-03ae-4319-bf80-46172dcebb57 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6915ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5787ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7342ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6475ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.7215ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7607ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1044ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.14ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/40ce524e-59c8-4c8d-a48c-84f020dc5a48/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/40ce524e-59c8-4c8d-a48c-84f020dc5a48/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2078ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2453ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46295/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46295/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.312ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3469ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1393ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1783ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.514ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5439ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/59ae6e82-f51b-4713-985c-7a9e59f21de8/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/59ae6e82-f51b-4713-985c-7a9e59f21de8/trends?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5816ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6191ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.4097ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.4423ms - 400 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36181/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2243ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2554ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/bc993c78-5095-456a-beb0-5b4fdad10dee/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/bc993c78-5095-456a-beb0-5b4fdad10dee/overview?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.1037ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2986ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.1291ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3336ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/d82e0a27-ee36-48eb-b32d-da702f8c9228 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3327ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3665ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/f9150395-a239-48cb-8105-3a96316f062d/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/f9150395-a239-48cb-8105-3a96316f062d/insights?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 0.3722ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 0.4021ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1998ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2255ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5529ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5862ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.458ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.493ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9/observations +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.9137ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.946ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.7914ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8792ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.908ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1353ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1676ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5995ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6382ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.4778ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.5155ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46441 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40723/api/observations/90be1db7-3a8f-4e40-9fe5-acdb6e17a9a5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40723/api/observations/90be1db7-3a8f-4e40-9fe5-acdb6e17a9a5 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.2498ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4917ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4718ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.524ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5085ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.2845ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.802ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8399ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.8246ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.062ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0945ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7507ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7884ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2709ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3024ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33317/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.189ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2234ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7743ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8083ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1437ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1821ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39557/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2191ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2499ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2197ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.251ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5697ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6001ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.7388ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.7733ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1778ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2049ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32859/api/patients/de50b1b9-09a6-4f52-9224-46f2cb1ae24f +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32859/api/patients/de50b1b9-09a6-4f52-9224-46f2cb1ae24f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.6373ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6652ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9958ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0311ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3403ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3738ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4629ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5019ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2412ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2721ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36189/api/patients/8db42043-b2a3-4bc7-9357-67464d22a15e/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36189/api/patients/8db42043-b2a3-4bc7-9357-67464d22a15e/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/68f7f835-dfa9-40f1-80db-f546f36eadb9/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9861ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.019ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0642ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0919ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3415ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3719ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5097ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5361ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0983ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1316ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/60b96035-3541-4512-9f35-f6ebf3b4cc2f +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0908ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1225ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.1414ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.1763ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2551ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2837ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-152 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0285ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0662ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/e94214df-a4a3-4266-8217-71d9c00f3c3e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/e94214df-a4a3-4266-8217-71d9c00f3c3e +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0937ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.128ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4384ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4647ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0764ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1169ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0967ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1242ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/e94214df-a4a3-4266-8217-71d9c00f3c3e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/e94214df-a4a3-4266-8217-71d9c00f3c3e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39303 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4035ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4322ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1439ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1739ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5926ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6242ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43785/api/patients/by-account/test-151 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.5437ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.5788ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1281ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1656ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0603ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0888ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3945ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4188ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 12.986ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 13.022ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35947/api/observations/a653817d-f0c7-4414-820d-4807c7782fc6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 16.0875ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 16.123ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43377/api/observations/7b3e4542-4253-43c5-979b-ee115622e8ae +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43377/api/observations/7b3e4542-4253-43c5-979b-ee115622e8ae +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.6104ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6418ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40723/api/observations/90be1db7-3a8f-4e40-9fe5-acdb6e17a9a5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40723/api/observations/90be1db7-3a8f-4e40-9fe5-acdb6e17a9a5 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46429 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1741ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2008ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/be199014-83b6-4361-8710-ff99eb9e0c9e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3995ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4314ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 70.8528ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 70.8848ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.4278ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.4645ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.5133ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5575ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3417ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3726ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39227/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39227/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.5132ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.5401ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45485 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-7 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2974ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3375ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/427e8ecc-609c-4305-81cf-8b0fb38c1f80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/427e8ecc-609c-4305-81cf-8b0fb38c1f80/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.2801ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3176ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.652ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.6948ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.131ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.164ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5953ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6285ms - 400 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.5112ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.5506ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.3754ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.406ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.7496ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7865ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3095ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3405ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3606ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3946ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35533/api/patients/f5552975-2849-44a1-bde0-acde8fcc69de/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35533/api/patients/f5552975-2849-44a1-bde0-acde8fcc69de/trends?* +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/98af9d71-4d22-4102-9001-a4bfd29eb1f7/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/98af9d71-4d22-4102-9001-a4bfd29eb1f7/overview?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3768ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.4052ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0975ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1256ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/73d9828b-d3f2-4ef2-b3e8-037e99263fc3/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/73d9828b-d3f2-4ef2-b3e8-037e99263fc3/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/73d9828b-d3f2-4ef2-b3e8-037e99263fc3 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/73d9828b-d3f2-4ef2-b3e8-037e99263fc3 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 1.5046ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 1.5432ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0594ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0938ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/73d9828b-d3f2-4ef2-b3e8-037e99263fc3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/73d9828b-d3f2-4ef2-b3e8-037e99263fc3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0578ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0937ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43377/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43377/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.221ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2495ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0702ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.103ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8735ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9041ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4796ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5127ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.95ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9751ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/1f3b98cd-a766-490d-ae4e-1a4673102dd3/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/1f3b98cd-a766-490d-ae4e-1a4673102dd3/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.2226ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.2592ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/1f3b98cd-a766-490d-ae4e-1a4673102dd3 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/1f3b98cd-a766-490d-ae4e-1a4673102dd3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5221ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5514ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0627ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0948ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/1f3b98cd-a766-490d-ae4e-1a4673102dd3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/1f3b98cd-a766-490d-ae4e-1a4673102dd3 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/495fe972-261e-4f8b-bca3-4873eab144e5/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/495fe972-261e-4f8b-bca3-4873eab144e5/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9444ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9745ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.3916ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.4173ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9718ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0138ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:41649/api/patients +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.776ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.807ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.4247ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.4527ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2831ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1183ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.314ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1475ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4156ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4442ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4472ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4841ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39227/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39227/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.8653ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.9004ms - 404 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6116ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6381ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.114ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1395ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34787/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35079/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5367ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5688ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6937ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7196ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.2355ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.2601ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4163ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4527ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.8554ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.9101ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1858ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.221ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.5914ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.6345ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41653/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1071ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1377ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.112ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1375ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0854ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1124ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/3339561c-8ca5-43d8-a232-d9256ffc9740 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc/observations? +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/0061df91-d4d4-444e-a9f7-0257ded023dc/observations? +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1007ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.129ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1344ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1582ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.4623ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4901ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5068ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.534ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2334ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2618ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1386ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1709ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0688ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0991ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9764ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0044ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36189/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36189/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/dbf971ad-5bc4-4d8d-adfa-dd6c96eee3b0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/dbf971ad-5bc4-4d8d-adfa-dd6c96eee3b0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0502ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0939ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34633 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0624ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0921ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/dbf971ad-5bc4-4d8d-adfa-dd6c96eee3b0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/dbf971ad-5bc4-4d8d-adfa-dd6c96eee3b0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2903ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3166ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 11.9525ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 11.9811ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/1beeebf1-c289-4680-9ce1-64bf49604cae +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37561/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37561/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.014ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0414ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 12.3839ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 12.421ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36189/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36189/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0603ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0884ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4605ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5023ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41649/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0115ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0423ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36189/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36189/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1232ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1619ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:35079/api/observations/e06c9c53-66ca-401d-b2b0-19bcc5ea2289 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1526ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1796ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43785/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34817/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations?* +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34817/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1915ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2356ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0516ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0776ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3736ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4023ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9083ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9474ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-8 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34017 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.95ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.98ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2514ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2833ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/2a704dc2-54b6-4e35-89d5-e27a81fd7667/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/2a704dc2-54b6-4e35-89d5-e27a81fd7667/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.0282ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.0574ms - 204 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.5031ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.5345ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9843ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6843ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0234ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7195ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/c44dfe16-b963-4700-b26b-31a15cb04238/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/c44dfe16-b963-4700-b26b-31a15cb04238/overview?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 0.4353ms - 400 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 0.4684ms - 400 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1178ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1536ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations +fail: Microsoft.EntityFrameworkCore.Database.Command[20102] + Failed executing DbCommand (1ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?', @p2='?', @p3='?' (DbType = DateTime2), @p4='?' (DbType = Date), @p5='?', @p6='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] + INSERT INTO patient (patient_id, account_id, contact_info, created_at, date_of_birth, name, updated_at) + VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6); +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43377/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43377/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9806ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0184ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33989 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6605ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6948ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 2.6541ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.6948ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43753 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.6794ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.7087ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.534ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.5681ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2904ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3273ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/9937c3d6-454f-40c5-921a-2db91990a614/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/9937c3d6-454f-40c5-921a-2db91990a614/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1908ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2256ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3783ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.4057ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9851ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0174ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2474ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6073ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2902ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6511ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.7049ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.7446ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 17.9004ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 17.9323ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 26.5673ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 26.6037ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 47.7653ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 47.822ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43377/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43377/api/patients/7227a893-06dd-4458-8289-1fc67a7da685/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.185ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2227ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/8a5559b0-7a44-4ce2-894a-3a70f1f81bfa/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34859 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 26.0788ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 26.1105ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46429/api/observations/cb7bb679-de9c-4bfc-b26d-36c7d0f1b359 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46429/api/observations/cb7bb679-de9c-4bfc-b26d-36c7d0f1b359 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7896ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.8336ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5845ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6101ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.486ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.5267ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.546ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5812ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/c67f42a3-0382-4295-a744-e8ced521fe5b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/c67f42a3-0382-4295-a744-e8ced521fe5b/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3243ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.272ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3619ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3062ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/c67f42a3-0382-4295-a744-e8ced521fe5b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/c67f42a3-0382-4295-a744-e8ced521fe5b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/c67f42a3-0382-4295-a744-e8ced521fe5b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/c67f42a3-0382-4295-a744-e8ced521fe5b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.2664ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3106ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36475/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36475/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9856ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0151ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3155ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0583ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3496ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0972ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/188d41ce-97cc-496f-bbcb-3700448d6968/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/188d41ce-97cc-496f-bbcb-3700448d6968/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1274ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1582ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/7b13c8b4-ddab-4f9d-afd6-1bae1ce6f6f3/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/7b13c8b4-ddab-4f9d-afd6-1bae1ce6f6f3/observations +fail: Microsoft.EntityFrameworkCore.Update[10000] + An exception occurred in the database while saving changes for context type 'PatientProfileService.Persistence.PatientDbContext'. + Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. + ---> Npgsql.PostgresException (0x80004005): P0001: test write failure + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + Exception data: + Severity: ERROR + SqlState: P0001 + MessageText: test write failure + Where: PL/pgSQL function fail_profile_test() line 3 at RAISE + File: pl_exec.c + Line: 3909 + Routine: exec_stmt_raise + --- End of inner exception stack trace --- + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. + ---> Npgsql.PostgresException (0x80004005): P0001: test write failure + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + Exception data: + Severity: ERROR + SqlState: P0001 + MessageText: test write failure + Where: PL/pgSQL function fail_profile_test() line 3 at RAISE + File: pl_exec.c + Line: 3909 + Routine: exec_stmt_raise + --- End of inner exception stack trace --- + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.462ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4869ms - 400 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/7b13c8b4-ddab-4f9d-afd6-1bae1ce6f6f3 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/7b13c8b4-ddab-4f9d-afd6-1bae1ce6f6f3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.5273ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.5622ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/7b13c8b4-ddab-4f9d-afd6-1bae1ce6f6f3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/7b13c8b4-ddab-4f9d-afd6-1bae1ce6f6f3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2566ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.295ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0609ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.0914ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.106ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1399ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4439ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4949ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3362ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.378ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/8f7fe9ff-852c-46ae-9535-8f4cd509cda9/insights? +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/8f7fe9ff-852c-46ae-9535-8f4cd509cda9/insights? +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3816ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.4139ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1204ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1457ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5049ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5419ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.0584ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.0941ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4438ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4713ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1578ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1876ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 53.0643ms - 500 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 53.1007ms - 500 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45093/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45093/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9381ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9683ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6438ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6744ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0726ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1013ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4573ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4917ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.833ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8569ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/b4c46315-998c-4898-a96f-0ddb22ac391b/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.3947ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4198ms - 400 +fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1] + An unhandled exception has occurred while executing the request. + Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. + ---> Npgsql.PostgresException (0x80004005): P0001: test write failure + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + Exception data: + Severity: ERROR + SqlState: P0001 + MessageText: test write failure + Where: PL/pgSQL function fail_profile_test() line 3 at RAISE + File: pl_exec.c + Line: 3909 + Routine: exec_stmt_raise + --- End of inner exception stack trace --- + at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) + at PatientProfileService.Persistence.SqlPatientRepository.SaveAsync(Patient patient, CancellationToken cancellationToken) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService/Persistence/SqlPatientRepository.cs:line 13 + at PatientProfileService.Application.PatientApplicationService.CreatePatientAsync(CreatePatientRequest request, String accountId, CancellationToken cancellationToken) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService/Application/PatientApplicationService.cs:line 19 + at PatientProfileService.Controllers.PatientController.CreatePatient(CreatePatientRequest request, CancellationToken cancellationToken) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService/Controllers/PatientController.cs:line 19 + at lambda_method549(Closure, Object) + at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) + at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) + at PatientProfileService.Program.<>c__DisplayClass0_0.<<Main>b__2>d.MoveNext() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService/Program.cs:line 43 + --- End of stack trace from previous location --- + at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task) +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0546ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0855ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5415ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5704ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.2282ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.2573ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.8974ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.9323ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/06f4bbf5-58cc-4b34-8b72-905158622a66 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/06f4bbf5-58cc-4b34-8b72-905158622a66 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1319ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1613ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/c2f3a49d-3262-4ca3-b2e0-a2d80a060b7e +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1374ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1703ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/06f4bbf5-58cc-4b34-8b72-905158622a66 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/06f4bbf5-58cc-4b34-8b72-905158622a66 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3755ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4015ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46429/api/observations/cb7bb679-de9c-4bfc-b26d-36c7d0f1b359 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46429/api/observations/cb7bb679-de9c-4bfc-b26d-36c7d0f1b359 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9831ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0073ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0933ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1202ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2451ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2755ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3108ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3422ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/40e1ed09-0b15-41e9-bc7a-1267c09a38e5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0944ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1283ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43727/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43727/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.7255ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.7541ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.442ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4817ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 13.1916ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 13.2214ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 22.8615ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 22.892ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:32859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:32859/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42459 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.488ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5411ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.7732ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.811ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2964ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3331ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3166ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3586ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6651ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.712ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2917ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3407ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3936ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4409ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3059ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3441ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/2ddeffad-6382-4f02-b8c5-076956465e17/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/2ddeffad-6382-4f02-b8c5-076956465e17/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1094ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1399ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/2ddeffad-6382-4f02-b8c5-076956465e17 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/2ddeffad-6382-4f02-b8c5-076956465e17 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/079b83f6-31fd-4a49-a235-a37c1a06aa80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/079b83f6-31fd-4a49-a235-a37c1a06aa80/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1194ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/2ddeffad-6382-4f02-b8c5-076956465e17 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1528ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/2ddeffad-6382-4f02-b8c5-076956465e17 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1023ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1307ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/079b83f6-31fd-4a49-a235-a37c1a06aa80 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/079b83f6-31fd-4a49-a235-a37c1a06aa80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/079b83f6-31fd-4a49-a235-a37c1a06aa80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/079b83f6-31fd-4a49-a235-a37c1a06aa80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0851ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1174ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.3362ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.3688ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/07fd152c-be27-45c7-b4da-bb0ab7c8910c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/07fd152c-be27-45c7-b4da-bb0ab7c8910c/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4583ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4894ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5181ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.553ms - 400 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7935ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8368ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6115ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6512ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0571ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0857ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3461ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3807ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/922861fb-80e5-4e5c-80ad-ae55befa067b/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/922861fb-80e5-4e5c-80ad-ae55befa067b/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3937ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.4323ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.637ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6661ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4524ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4857ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3019ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3402ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8052ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8339ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35853 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43727/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0282ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0578ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1121ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.1464ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36589 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.5702ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.6022ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.4032ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.4284ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.571ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6041ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-5 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2395ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2782ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/ecdff2ef-3a8b-40d1-a97a-500ace157d8c/observations?* +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2421ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2823ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5432ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5791ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.216ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2564ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/94c1bbec-3781-4edd-9179-d1a340bec71e/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4683ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5071ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.23ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2561ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0279ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0647ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.1104ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.1416ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.4551ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4906ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/4eb1b8cd-0027-4b23-b845-e325c7804f95 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/4eb1b8cd-0027-4b23-b845-e325c7804f95 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0986ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1283ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2067ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2458ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5995ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6348ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6589ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6906ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3044ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3319ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/observations/4eb1b8cd-0027-4b23-b845-e325c7804f95 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/observations/4eb1b8cd-0027-4b23-b845-e325c7804f95 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2369ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2699ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0746ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1037ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/a443971a-dd05-4e55-a009-868bd2be3e58 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/a443971a-dd05-4e55-a009-868bd2be3e58 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.27ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3043ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3539ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3867ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2948ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3258ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/0da5b220-2872-4676-91cd-ed981633327b +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0653ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0913ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/28928a07-e57a-4840-a827-5cc3090198d6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0955ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1347ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0878ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1144ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.5786ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.6117ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.0983ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.1428ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-2 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32907 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43377/api/patients/03e01762-322c-4fb9-94a4-417720a1e17c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43377/api/patients/03e01762-322c-4fb9-94a4-417720a1e17c/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45981 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3829ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4258ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.362ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.4075ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34817/api/patients/03e01762-322c-4fb9-94a4-417720a1e17c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34817/api/patients/03e01762-322c-4fb9-94a4-417720a1e17c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.8793ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.9137ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32859/api/patients/03e01762-322c-4fb9-94a4-417720a1e17c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32859/api/patients/03e01762-322c-4fb9-94a4-417720a1e17c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/a443971a-dd05-4e55-a009-868bd2be3e58 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/a443971a-dd05-4e55-a009-868bd2be3e58 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5991ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.631ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1983ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2441ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7812ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8145ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38545 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.393ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4263ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.42ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/8dfeb76a-50d1-48b3-9a72-878567b0225c/insights?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4508ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/8dfeb76a-50d1-48b3-9a72-878567b0225c/insights?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3208ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.3486ms - 400 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34257 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9336ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9647ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/5ba3c7e1-926d-4da4-a958-f0dad3f3bb6a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/5ba3c7e1-926d-4da4-a958-f0dad3f3bb6a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6401ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6679ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.9404ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.9847ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46429/api/patients/0fd447bb-3f8e-4375-8cb8-bf714eb6bfe4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46429/api/patients/0fd447bb-3f8e-4375-8cb8-bf714eb6bfe4/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43785/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4052ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.446ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.7272ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7657ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0693ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1027ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/bf4bc5a7-16ee-4f8a-90ea-710f981a140c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/bf4bc5a7-16ee-4f8a-90ea-710f981a140c/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/bf4bc5a7-16ee-4f8a-90ea-710f981a140c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/bf4bc5a7-16ee-4f8a-90ea-710f981a140c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[104] + HTTP request failed after 1.7422ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:43785) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/bf4bc5a7-16ee-4f8a-90ea-710f981a140c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/bf4bc5a7-16ee-4f8a-90ea-710f981a140c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[104] + HTTP request failed after 3.8089ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:43785) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1689ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1991ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/7c353c06-01d7-4c2f-b46b-12109ee5dc2f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/7c353c06-01d7-4c2f-b46b-12109ee5dc2f/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0415ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0707ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3456ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3717ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/7c353c06-01d7-4c2f-b46b-12109ee5dc2f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/7c353c06-01d7-4c2f-b46b-12109ee5dc2f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/7c353c06-01d7-4c2f-b46b-12109ee5dc2f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/7c353c06-01d7-4c2f-b46b-12109ee5dc2f +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42317 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0614ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0921ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3691ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3949ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9556ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9897ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1659ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.196ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.5389ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.5694ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7437ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7831ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.172ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2058ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0114ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0394ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.297ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3236ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0918ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.125ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0063ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0355ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0645ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0902ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 14.8015ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 14.8413ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 17.2926ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33515 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 17.3242ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 14.2158ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 14.2485ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8168ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.8548ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4014ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.433ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3708ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3975ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2585ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2931ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1611ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1842ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/d1558e4c-cb06-41aa-bc26-e95054843de8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.999ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0284ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3081ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3376ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2223ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2573ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/17639424-b106-42a6-a7e2-be0d769b4a69 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5676ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6114ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1111ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.134ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.028ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0673ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9122ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9391ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4416ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4664ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4613ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.501ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1831ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2174ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/f62eab58-213c-41ea-885a-419576c84e56/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/f62eab58-213c-41ea-885a-419576c84e56/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1316ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1634ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6128ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6456ms - 400 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0959ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1265ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.054ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0947ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0711ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0998ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.6265ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.6611ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4341ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.467ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/28d5248f-2ec2-48f9-8c17-ce6cb3def3a8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/28d5248f-2ec2-48f9-8c17-ce6cb3def3a8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9741ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0064ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.044ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0701ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3527ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3768ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0609ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0893ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2439ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2709ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43057 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43567 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1888ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2203ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1125ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1451ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4665ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4943ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1631ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1992ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41399 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6593ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6943ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.3576ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3845ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.1277ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.1623ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.0097ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.0421ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0138ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0394ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3164ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3522ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.521ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5628ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/7ee78a31-322a-4c65-b381-ffde33d59e18/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2191ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3326ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/75c6b919-be15-420c-bc21-a80fbb2eb823/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6285ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6742ms - 400 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35881 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4109ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4444ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.9584ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9836ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4876ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5196ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1729ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.219ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/9db061f5-5a2b-46b5-875d-6dc895a25cd1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/9db061f5-5a2b-46b5-875d-6dc895a25cd1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0472ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0744ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.2299ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.9912ms - 201 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2845ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3182ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/9db061f5-5a2b-46b5-875d-6dc895a25cd1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/9db061f5-5a2b-46b5-875d-6dc895a25cd1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 19.7709ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 19.8119ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 20.2729ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 20.3064ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 19.6651ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 19.6933ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 20.9194ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 20.9587ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6565ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.7155ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46429/api/patients/b1960aa7-de4a-454a-9a81-c42e7eb7f08b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46429/api/patients/b1960aa7-de4a-454a-9a81-c42e7eb7f08b/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0515ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0829ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.999ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0243ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0045ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0348ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.0786ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1122ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.4795ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5192ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4089ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4381ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/36662253-cc08-4074-8582-3d7146d33dd8/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/36662253-cc08-4074-8582-3d7146d33dd8/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/36662253-cc08-4074-8582-3d7146d33dd8 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/36662253-cc08-4074-8582-3d7146d33dd8 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42827 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/36662253-cc08-4074-8582-3d7146d33dd8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/36662253-cc08-4074-8582-3d7146d33dd8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4647ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4952ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7885ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8124ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/93aa1749-1538-4103-8d85-2d44bd3a2b69/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/93aa1749-1538-4103-8d85-2d44bd3a2b69/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/93aa1749-1538-4103-8d85-2d44bd3a2b69 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/93aa1749-1538-4103-8d85-2d44bd3a2b69 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0987ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1291ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.447ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4757ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1604ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1944ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/93aa1749-1538-4103-8d85-2d44bd3a2b69 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/93aa1749-1538-4103-8d85-2d44bd3a2b69 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35373/api/patients/538ec5d2-5384-45d3-947b-a9384feaeafd/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35373/api/patients/538ec5d2-5384-45d3-947b-a9384feaeafd/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36015 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6021ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6369ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9729ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0045ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3158ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3507ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.558ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5854ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.2731ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.3064ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4448ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4735ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45485/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45485/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4017ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4311ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.9317ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.9638ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2271ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2588ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 12.6262ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 12.6608ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2042ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2318ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1897ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2294ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2041ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.229ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9056ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9398ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5206ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.549ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0759ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1054ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1419ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1708ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6817ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7147ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/bed8b140-278b-4c23-98c2-826cd27971ff +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/bed8b140-278b-4c23-98c2-826cd27971ff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.2356ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.2802ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 42.7474ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 42.7814ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1321ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1576ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/57f736b6-3937-4cd7-b9ae-a588266f9ecc +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2702ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3004ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/139c0fe1-6b1f-45f3-94ee-06e212978cee +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2621ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2909ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5988ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6261ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2075ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2418ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4382ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4708ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0654ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.092ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3945ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4417ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45885 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.3514ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.3868ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37983 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8321ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8575ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38007 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42317/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 15.3534ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 15.3909ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 15.134ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 15.1659ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37451/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.8629ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.8918ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.2226ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.2633ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.8255ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.8597ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9619ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9897ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/bed8b140-278b-4c23-98c2-826cd27971ff +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/bed8b140-278b-4c23-98c2-826cd27971ff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1621ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1937ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3789ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4034ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6718ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6973ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.131ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1623ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.2082ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.2418ms - 201 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35853/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35853/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4775ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5221ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5338ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5716ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5341ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5579ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.4802ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.5045ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0368ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0669ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3312ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3597ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46429/api/patients/4a243fbe-aecd-4804-9dff-8762678060ff/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46429/api/patients/4a243fbe-aecd-4804-9dff-8762678060ff/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.128ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1563ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4536ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4818ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37451/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5484ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5779ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[104] + HTTP request failed after 0.8556ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:37451) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1578ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1961ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[104] + HTTP request failed after 1.2038ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:37451) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45805/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45805/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/overview?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4622ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4903ms - 201 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2655ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2954ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.7832ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.8169ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.036ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.0749ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1042ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1382ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/4c7d2f0a-834d-4993-bcdb-f77a61145559/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.4149ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4386ms - 400 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.379ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4061ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:40249/api/observations/8e18f8ce-d521-4fda-bcbb-e0f06b48eabb +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/76709162-390e-408e-b8a7-0e3552c971e7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/76709162-390e-408e-b8a7-0e3552c971e7/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.7685ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.8048ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/76709162-390e-408e-b8a7-0e3552c971e7 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/76709162-390e-408e-b8a7-0e3552c971e7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/76709162-390e-408e-b8a7-0e3552c971e7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/76709162-390e-408e-b8a7-0e3552c971e7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1712ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2011ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/86450d97-2736-4f53-9144-3a89db16138e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/86450d97-2736-4f53-9144-3a89db16138e +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32907/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32907/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3211ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3512ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/3b5beaa3-358a-4066-bc5f-f8d11300b1d8/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/3b5beaa3-358a-4066-bc5f-f8d11300b1d8/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3804ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6188ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4085ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6479ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9655ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.0011ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/86450d97-2736-4f53-9144-3a89db16138e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/86450d97-2736-4f53-9144-3a89db16138e +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/3b5beaa3-358a-4066-bc5f-f8d11300b1d8 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/3b5beaa3-358a-4066-bc5f-f8d11300b1d8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/3b5beaa3-358a-4066-bc5f-f8d11300b1d8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/3b5beaa3-358a-4066-bc5f-f8d11300b1d8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0968ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.125ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0275ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0546ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3288ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3628ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9125ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9442ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-8 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37349 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.8161ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.8513ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1609ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.1967ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1357ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1762ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/abc79af1-1508-42f0-9508-0c8dfdf8cc8d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/abc79af1-1508-42f0-9508-0c8dfdf8cc8d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.8416ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.8848ms - 204 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6637ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7035ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/abc79af1-1508-42f0-9508-0c8dfdf8cc8d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/abc79af1-1508-42f0-9508-0c8dfdf8cc8d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0993ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1309ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/abc79af1-1508-42f0-9508-0c8dfdf8cc8d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/abc79af1-1508-42f0-9508-0c8dfdf8cc8d +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1183ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1471ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/a98c12dc-68b7-4a42-b101-747583416531 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/a98c12dc-68b7-4a42-b101-747583416531 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1827ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2206ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2376ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2657ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5788ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6126ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.368ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4003ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.8228ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.8678ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 18.0223ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 18.0584ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.315ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3702ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1542ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1811ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/a98c12dc-68b7-4a42-b101-747583416531 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/a98c12dc-68b7-4a42-b101-747583416531 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 39.145ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 39.1764ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3885ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4209ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.136ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.172ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.7501ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.7837ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f/observations +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.2878ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.3259ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3567ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3865ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4444ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4664ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.465ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4931ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45485/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45485/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0718ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0988ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3049ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3332ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/patients/171a2474-ac3a-4b81-9eca-e745792bae17/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4428ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4745ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7988ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8392ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.7971ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.8381ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/observations/d00476fa-64c0-407e-a515-07bb5a293e03 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/observations/d00476fa-64c0-407e-a515-07bb5a293e03 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4114ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4431ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2741ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3036ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32907/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32907/api/patients/a5897d89-4849-47ea-8fd1-5ab2a3c2560c/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 19.9725ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 20.0138ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.5344ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.592ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 33.5366ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 33.5733ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 20.092ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 20.1225ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 20.4266ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 20.4561ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:40249/api/observations/d00476fa-64c0-407e-a515-07bb5a293e03 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:40249/api/observations/d00476fa-64c0-407e-a515-07bb5a293e03 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 20.3892ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 20.4201ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2832ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3217ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/f8049d91-ce3c-455f-8c41-4746b78336cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.7535ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.7911ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.5913ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6237ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.4698ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 21.2335ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.9645ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.9995ms - 204 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0844ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1177ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4773ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4883ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5135ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5207ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6185ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6542ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38209/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38209/api/patients/34056923-d40c-4bb8-bd82-269fb89e4c8f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0842ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.118ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2248ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2578ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/insights?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/patients/05a62144-8c41-4a89-bd89-07e87230be8e/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3969ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4305ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.8922ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9272ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/a801ab6a-735f-4a97-9a09-47d4535ebd31 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7553ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7871ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1784ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2115ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.559ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5945ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.944ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9711ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2812ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3188ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.5518ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.5863ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46429/api/patients/5d18ecaf-1455-44cd-9313-1afcfd475170/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46429/api/patients/5d18ecaf-1455-44cd-9313-1afcfd475170/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1238ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1594ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6178ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6531ms - 400 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4313ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4598ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7646ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8011ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37989 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38739 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33479 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5143ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5525ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/70dd9831-fa2f-4c36-a4a8-3eda4899a9b8 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35467 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42131/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42131/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1353ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1707ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/7cc5a1c7-e3b1-426f-afa1-b6210c22e360/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.4314ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.4535ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.9647ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.0032ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9387ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9771ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/07bf8884-4ab2-4450-a039-aca94d8341e6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/07bf8884-4ab2-4450-a039-aca94d8341e6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.117ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1426ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/observations/07bf8884-4ab2-4450-a039-aca94d8341e6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/observations/07bf8884-4ab2-4450-a039-aca94d8341e6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0512ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0762ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36639 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36215/api/patients/889be9bf-3bad-4452-b3e7-976c64afe3ae/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.6375ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.6804ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 15.1836ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 15.2157ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 20.8374ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 20.8668ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 29.3117ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 29.3771ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38137/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39119 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 93.317ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 93.3598ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.6689ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.7036ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9072ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9412ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45485/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45485/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.1203ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3435ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1632ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3821ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3747ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4252ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1254ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1511ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2371ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2646ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/80bc3fa4-2b03-407a-bda9-d2a80caf2ed3/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/80bc3fa4-2b03-407a-bda9-d2a80caf2ed3/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/10e7a417-422f-407b-8258-314e33bea009/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/10e7a417-422f-407b-8258-314e33bea009/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/80bc3fa4-2b03-407a-bda9-d2a80caf2ed3 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/80bc3fa4-2b03-407a-bda9-d2a80caf2ed3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/10e7a417-422f-407b-8258-314e33bea009 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/10e7a417-422f-407b-8258-314e33bea009 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/80bc3fa4-2b03-407a-bda9-d2a80caf2ed3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/80bc3fa4-2b03-407a-bda9-d2a80caf2ed3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/10e7a417-422f-407b-8258-314e33bea009 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/10e7a417-422f-407b-8258-314e33bea009 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0132ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0447ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1519ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1843ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42273 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40249/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40249/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33385 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1053ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1376ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2455ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2901ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1507ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.184ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37185 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4313ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4672ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6149ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6481ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46429/api/patients/5a8ff958-fe06-4160-aa92-8378b7c66396/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46429/api/patients/5a8ff958-fe06-4160-aa92-8378b7c66396/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39603 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6792ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7175ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2515ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2913ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3847ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4183ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6817ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7165ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7071ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7397ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0593ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.086ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9737ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.0126ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1627ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1943ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5216ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5494ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1468ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1852ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.8353ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.8671ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0205ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0485ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.835ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.8678ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6043ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.6305ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.1391ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1687ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39303/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39303/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2328ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2612ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1618ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1908ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.7974ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.8456ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38137/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.557ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.6013ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5438ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5794ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1725ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2055ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.4332ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.466ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1069ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1389ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4163ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.446ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1999ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2346ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38935/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38935/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1428ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1888ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45485/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45485/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45671/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45671/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1292ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1655ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/35bbee69-9731-45f3-91db-21ae62749068 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40249/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40249/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1224ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1533ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.127ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1552ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0594ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1138ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4221ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4467ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/1eb75bdf-5876-4dd3-b4ff-b57dcce0183f +info: System.Net.Http.HttpClient.Observation.ClientHandler[104] + HTTP request failed after 0.7219ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:40249) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Observation.LogicalHandler[104] + HTTP request failed after 1.0402ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:40249) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4127ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4572ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5598ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5855ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1827ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.217ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.863ms - 502 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.9048ms - 502 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0377ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0672ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.8282ms - 502 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.8626ms - 502 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5298ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5592ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37983/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37983/api/patients/111dc35a-e806-4bdc-9595-83ec64267480/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 27.17ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 27.2206ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 20.4113ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 20.6766ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 20.7286ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 20.4497ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 20.9248ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 20.9643ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-183 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-183 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2474ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2839ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3211ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3509ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39043/api/patients +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7055ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7369ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.1095ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.1438ms - 201 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:32907/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:32907/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2353ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2772ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0979ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.134ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 25.8768ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 25.9264ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1648ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2091ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36215/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36215/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.8835ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.9185ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35431/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35431/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.227ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2598ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42777/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42777/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.4454ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.4836ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3449ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3804ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7153ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7544ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1121ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1429ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4669ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5039ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0571ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0924ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46429/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46429/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46441/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46441/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36589/api/patients/18822e70-4120-497a-8c85-cc4897da785c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36589/api/patients/18822e70-4120-497a-8c85-cc4897da785c/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6933ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.738ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.203ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.2377ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35853/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35853/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.32ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3562ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1772ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.212ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.2519ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.2856ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.7442ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7712ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4749ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5007ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1831ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2073ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/415a437d-b7ea-4f2c-8080-ffdece9d6890/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/415a437d-b7ea-4f2c-8080-ffdece9d6890/observations +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4645ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4882ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/415a437d-b7ea-4f2c-8080-ffdece9d6890 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/415a437d-b7ea-4f2c-8080-ffdece9d6890 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.087ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1198ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/415a437d-b7ea-4f2c-8080-ffdece9d6890 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/415a437d-b7ea-4f2c-8080-ffdece9d6890 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/f47de16e-8058-496c-a03e-d964328e09a5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/f47de16e-8058-496c-a03e-d964328e09a5/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42459/api/patients/18822e70-4120-497a-8c85-cc4897da785c +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42459/api/patients/18822e70-4120-497a-8c85-cc4897da785c +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40453 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/f47de16e-8058-496c-a03e-d964328e09a5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/f47de16e-8058-496c-a03e-d964328e09a5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/18822e70-4120-497a-8c85-cc4897da785c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/18822e70-4120-497a-8c85-cc4897da785c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9297ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9634ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2745ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3112ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9205ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9509ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39043/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39043/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/f47de16e-8058-496c-a03e-d964328e09a5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/f47de16e-8058-496c-a03e-d964328e09a5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2011ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2393ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8464ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.888ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6436ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6742ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9565ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9808ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1669ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1969ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/5ed34806-02c2-4967-bc54-15a6a719d829/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.7714ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.8016ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46503 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-10 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40753 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5604ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5928ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.5936ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.6314ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0364ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0654ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45485/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45485/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38539 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.7744ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.8062ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.723ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.7593ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 12.5691ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 12.6031ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4751ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5056ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6968ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7295ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.255ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2836ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/0b4a058c-f946-4d51-a0df-f4d8aa8fcbaa +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/0b4a058c-f946-4d51-a0df-f4d8aa8fcbaa +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.679ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7174ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 32.4654ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 32.5003ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44541/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.5224ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.5739ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 18.1917ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 18.2232ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 34.2905ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 34.3232ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 18.2604ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 18.2907ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 18.1981ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 18.2304ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 21.7063ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 21.7415ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 40.9525ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 40.9926ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42777/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42777/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.8021ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.8337ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7474ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7881ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/8e1caf2d-84b7-46f2-bbf4-641f0be98783 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 31.1064ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 31.1453ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.563ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5984ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/15f217e2-ee32-44f7-97ce-7d890cf717cc +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/15f217e2-ee32-44f7-97ce-7d890cf717cc +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.4973ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.5398ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2232ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2646ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2019ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2506ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/cf9ef118-2961-4110-8556-0935742ca3ee +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0691ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0967ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/15f217e2-ee32-44f7-97ce-7d890cf717cc +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/15f217e2-ee32-44f7-97ce-7d890cf717cc +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0765ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1082ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 43.2299ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 43.2672ms - 201 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3947ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4283ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5182ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.9995ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.0356ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5504ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1245ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1491ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2225ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2572ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-3 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/32787f44-9b3f-488b-b2fc-74d2ffc099ac/observations?* +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5604ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5938ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/63d60c3b-e6c4-4cee-baf7-6fd37520b30b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.257ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2884ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38209/api/patients/41ded10e-c846-456f-84e3-cbaa3f23d7f2/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38209/api/patients/41ded10e-c846-456f-84e3-cbaa3f23d7f2/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4659ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5064ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/patients/18822e70-4120-497a-8c85-cc4897da785c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/patients/18822e70-4120-497a-8c85-cc4897da785c/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35989/api/patients/41ded10e-c846-456f-84e3-cbaa3f23d7f2 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35989/api/patients/41ded10e-c846-456f-84e3-cbaa3f23d7f2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44541/api/patients/41ded10e-c846-456f-84e3-cbaa3f23d7f2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44541/api/patients/41ded10e-c846-456f-84e3-cbaa3f23d7f2 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.5404ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.5755ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3869ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.934ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.9718ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4436ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4494ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4927ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1887ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2263ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5674ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.605ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 4.7839ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 4.812ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43753/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43753/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7849ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8163ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32901 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44103 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/trends?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 13.0136ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 13.0476ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.6793ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.7162ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2585ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3027ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6469ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.677ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4253ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4624ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7907ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8147ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32801 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.3227ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.3576ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1389ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1661ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4452ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4703ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7831ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8077ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37983/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37983/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8501ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8749ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45485/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45485/api/patients +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/3b19074e-4e44-4ede-a48e-7b0c1622a36c/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39303/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39303/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.3389ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.4049ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43057/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43057/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34473 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6841ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.7269ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0903ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1224ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4842ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5281ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4182ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4611ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5269ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5625ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3477ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3867ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4109ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4434ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2839ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3183ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2988ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3286ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/e6ac4e0d-64fb-4250-b57d-9ffcb6652df7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/e6ac4e0d-64fb-4250-b57d-9ffcb6652df7/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/1079c8bd-b0e0-4763-8e46-a8fced704871/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/1079c8bd-b0e0-4763-8e46-a8fced704871/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39663 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1944ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2338ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36589/api/patients/1acfce8a-d119-436d-abfa-d66133418236/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36589/api/patients/1acfce8a-d119-436d-abfa-d66133418236/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/1079c8bd-b0e0-4763-8e46-a8fced704871 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/1079c8bd-b0e0-4763-8e46-a8fced704871 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/1079c8bd-b0e0-4763-8e46-a8fced704871 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/1079c8bd-b0e0-4763-8e46-a8fced704871 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42459/api/patients/1acfce8a-d119-436d-abfa-d66133418236 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42459/api/patients/1acfce8a-d119-436d-abfa-d66133418236 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/e6ac4e0d-64fb-4250-b57d-9ffcb6652df7 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/e6ac4e0d-64fb-4250-b57d-9ffcb6652df7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/1acfce8a-d119-436d-abfa-d66133418236 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/1acfce8a-d119-436d-abfa-d66133418236 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/e6ac4e0d-64fb-4250-b57d-9ffcb6652df7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/e6ac4e0d-64fb-4250-b57d-9ffcb6652df7 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1388ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1674ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2483ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2825ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6219ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6523ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4576ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4845ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1341ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1717ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.0963ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.1527ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3491ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3827ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9108ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9405ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 43.0644ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 43.1047ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1656ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1989ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5045ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5342ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7629ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7891ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5059ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.543ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7318ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7532ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.8991ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.9334ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2914ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3239ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3766ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.407ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/d534119f-9c55-4099-9d61-cfccb83ff98f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/d534119f-9c55-4099-9d61-cfccb83ff98f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3666ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3954ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.4613ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.4969ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/8dd535ab-dc1b-4a19-9ce6-f94ecfde6dde/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2853ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3197ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4635ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4953ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1653ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.195ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-2 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37525 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.6926ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7247ms - 400 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3846ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4188ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.583ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.6237ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 14.3482ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 14.3842ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5032ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5316ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2691ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3002ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1159ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.154ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37783 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.7385ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7894ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 57.644ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 57.6824ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3746ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4286ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/f3f22e1d-8b13-4e08-9df0-7be3d751b64e +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40121 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3687ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3992ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2826ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3157ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2318ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2618ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/56040c24-8b03-4753-b014-b01e4613799f +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 45.3621ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 45.4074ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.709ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.7362ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37983/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37983/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.8921ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.9161ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:36589/api/observations/d534119f-9c55-4099-9d61-cfccb83ff98f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:36589/api/observations/d534119f-9c55-4099-9d61-cfccb83ff98f +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-185 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-185 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43057/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43057/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36635 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1672ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2085ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.003ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5637ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.0601ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5978ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/5a333a48-b148-4c06-84a3-3010c5c3d2d4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/5a333a48-b148-4c06-84a3-3010c5c3d2d4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.215ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2411ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/5a333a48-b148-4c06-84a3-3010c5c3d2d4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/5a333a48-b148-4c06-84a3-3010c5c3d2d4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 28.0393ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 28.0807ms - 204 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.2469ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.2813ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 29.709ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 29.7464ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1925ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2248ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/patients/1acfce8a-d119-436d-abfa-d66133418236/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/patients/1acfce8a-d119-436d-abfa-d66133418236/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.182ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.216ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37983/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37983/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43057/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43057/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36537 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.8142ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.8504ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3543ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3891ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/96b65713-31a5-4db0-afd5-36b44023f445 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42705 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2501ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2845ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 2.102ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.1398ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4416ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4861ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4534ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.503ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/patients/1acfce8a-d119-436d-abfa-d66133418236/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/patients/1acfce8a-d119-436d-abfa-d66133418236/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.208ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.245ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3016ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.339ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39303/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1464ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1764ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.47ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5064ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9809ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0163ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/f9b3207c-b73f-4dd0-a3e5-b8ea4aee6967/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/f9b3207c-b73f-4dd0-a3e5-b8ea4aee6967/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0109ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0501ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36589/api/observations/d534119f-9c55-4099-9d61-cfccb83ff98f +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36589/api/observations/d534119f-9c55-4099-9d61-cfccb83ff98f +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/f9b3207c-b73f-4dd0-a3e5-b8ea4aee6967 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/f9b3207c-b73f-4dd0-a3e5-b8ea4aee6967 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/f9b3207c-b73f-4dd0-a3e5-b8ea4aee6967 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/f9b3207c-b73f-4dd0-a3e5-b8ea4aee6967 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.2721ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.3171ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.2274ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.2586ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0553ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0827ms - 404 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4584ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4908ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1462ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3132ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6339ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6756ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2067ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2397ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0136ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0476ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0758ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1114ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4107ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5495ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.8101ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.8444ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7298ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7558ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3606ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3904ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.1622ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.201ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.7316ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7796ms - 400 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 14.9122ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 14.9474ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.42ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4583ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 27.5535ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 27.6057ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.5869ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.6402ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-186 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-186 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43753/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43753/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-9 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33653 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 28.1194ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 28.1903ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 28.16ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 28.1923ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/f4c2355b-522f-4c73-a447-a97f443d55c3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0707ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0974ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5035ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5323ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.2798ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.3127ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 6.6768ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 6.7283ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4621ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4916ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37471 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 31.2071ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 31.2535ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.5926ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.6615ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.2942ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.3291ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/33eebe11-2b9d-4896-b9a4-a3def0a26303 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/33eebe11-2b9d-4896-b9a4-a3def0a26303 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0415ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0738ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/dfc7ec04-a308-4804-912d-71c227e3d02a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/dfc7ec04-a308-4804-912d-71c227e3d02a/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/dfc7ec04-a308-4804-912d-71c227e3d02a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/dfc7ec04-a308-4804-912d-71c227e3d02a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/dfc7ec04-a308-4804-912d-71c227e3d02a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/dfc7ec04-a308-4804-912d-71c227e3d02a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4584ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4952ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37983/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37983/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0861ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1158ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/07c8779b-3482-4b17-9c57-cafaa1fe33df +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/07c8779b-3482-4b17-9c57-cafaa1fe33df +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43057/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43057/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8727ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9114ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2157ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2453ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.2051ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.2344ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43753/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43753/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.2875ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.3268ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9964ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0261ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2679ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2969ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5527ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5777ms - 404 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 44.3984ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 44.4388ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1829ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2157ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.3103ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.346ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1658ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1942ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/07c8779b-3482-4b17-9c57-cafaa1fe33df +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/07c8779b-3482-4b17-9c57-cafaa1fe33df +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3866ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4244ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/bdb94a7b-5efd-40c7-ba12-4ee26eb95cf4/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.1336ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.1616ms - 404 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1327ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1608ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1157ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1489ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4576ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4847ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.9383ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.9708ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.3084ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.3456ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.8562ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.886ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.1016ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.1428ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.8801ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.9242ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.8986ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.9316ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37783/api/observations/9dda4c04-f717-46c9-8f15-6e27396e74a1 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37783/api/observations/9dda4c04-f717-46c9-8f15-6e27396e74a1 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8318ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8673ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2853ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.36ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0817ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1246ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.147ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1749ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/6e7c6b4e-a574-493b-83ce-57657d806adc/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33157 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8708ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9314ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.1223ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.1588ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2772ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3142ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4231ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4635ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/21141ab9-3850-440d-8ced-03722cafcfc0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2272ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2552ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 26.7418ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 26.7865ms - 404 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35643 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37461 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5467ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5863ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.1012ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.1349ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.9495ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.9894ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-187 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6025ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34017/api/patients/by-account/test-187 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6516ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/99d411ce-c0a2-4ede-a0fe-c5a16e0438e2/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/99d411ce-c0a2-4ede-a0fe-c5a16e0438e2/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/99d411ce-c0a2-4ede-a0fe-c5a16e0438e2 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/99d411ce-c0a2-4ede-a0fe-c5a16e0438e2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/99d411ce-c0a2-4ede-a0fe-c5a16e0438e2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/99d411ce-c0a2-4ede-a0fe-c5a16e0438e2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0701ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1043ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.141ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1764ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/8381a9b0-f8db-46df-8c1d-a60a0c24531d +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/8381a9b0-f8db-46df-8c1d-a60a0c24531d +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9252ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9532ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2156ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2461ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5649ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5939ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3197ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3501ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43567/api/observations/8381a9b0-f8db-46df-8c1d-a60a0c24531d +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43567/api/observations/8381a9b0-f8db-46df-8c1d-a60a0c24531d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1789ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2026ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4434ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4767ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1369ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1678ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.377ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0894ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4077ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1217ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.9367ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9887ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1452ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1766ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6265ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6595ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8891ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9244ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.197ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.2424ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.827ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.8598ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.9908ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.0186ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39731 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8607ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8882ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.172ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1989ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.9775ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0148ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3482ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3791ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40793/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40793/api/patients/014a12d5-f26d-45c3-ab79-702d3f0eb18f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.2364ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.2669ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7251ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7586ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.4956ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.5244ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0641ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0991ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/1e22362c-69d3-4f24-bd14-61d3656f5337/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.049ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0815ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1672ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2256ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7087ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.746ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.0774ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.1122ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/64c0b831-8309-455b-ae15-a02ed875a1cb +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.5842ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.6095ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35881/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35881/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.104ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2307ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.6237ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.6604ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.9041ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.9444ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1592ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2057ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/26485499-cb75-450e-b9db-1d993ab3f9f2/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/26485499-cb75-450e-b9db-1d993ab3f9f2/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/26485499-cb75-450e-b9db-1d993ab3f9f2 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/26485499-cb75-450e-b9db-1d993ab3f9f2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/26485499-cb75-450e-b9db-1d993ab3f9f2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/26485499-cb75-450e-b9db-1d993ab3f9f2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35467/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35467/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2271ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2618ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6029ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6342ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37461/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37461/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.2294ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.2639ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 18.4937ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 18.523ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 13.0917ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 13.1304ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35881/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35881/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 30.9073ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 30.9646ms - 201 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37471/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37471/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 31.2895ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 31.3365ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 51.5671ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 51.6126ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.353ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3819ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.8697ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.9262ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.376ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4294ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3661ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3978ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7155ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7448ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.5ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5305ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.5286ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5596ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.9522ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.982ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4163ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4486ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1296ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1654ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1041ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1371ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40793/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40793/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34793/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34793/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40179/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40179/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.7417ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.7765ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2165ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2466ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6037ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6319ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1694ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1982ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4606ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4875ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-13 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40893 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4707ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.602ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6502ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6764ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9892ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.0181ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 2.2792ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.3194ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1303ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1586ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45581 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0462ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8205ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0805ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8609ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/995441f9-7879-4370-ae18-fb5e977f134a +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46503/api/patients/5e4f64b5-ae61-4a2f-bcf6-1f824bcd788a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46503/api/patients/5e4f64b5-ae61-4a2f-bcf6-1f824bcd788a/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33157/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33157/api/patients/9106cd1c-a158-493a-b647-b1993cce81a0/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1533ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.1813ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.1545ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.1992ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.4133ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.4507ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9609ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9914ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4313ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4673ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37783/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37783/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.6814ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.7188ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33251 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2098ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2424ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5997ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.633ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1846ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2255ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5828ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6183ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42273/api/patients/5e4f64b5-ae61-4a2f-bcf6-1f824bcd788a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42273/api/patients/5e4f64b5-ae61-4a2f-bcf6-1f824bcd788a +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.2518ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.2837ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32901/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32901/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.6927ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.7284ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4378ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4685ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/b2beb71e-ef15-4d0e-9bc5-07aee101dd34/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 11.6751ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 11.7037ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 23.2259ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 23.279ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 51.4148ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 51.4485ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5012ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5437ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.8506ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.8822ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.36ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.3874ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42509 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 15.135ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 15.1662ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35881/api/patients/5e4f64b5-ae61-4a2f-bcf6-1f824bcd788a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35881/api/patients/5e4f64b5-ae61-4a2f-bcf6-1f824bcd788a +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42827/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42827/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9898ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0144ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.294ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3254ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39605 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40179/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37075/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.415ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.4462ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.7303ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.768ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 26.4071ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 26.4393ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1887ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2155ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.5138ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.5456ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.2919ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3336ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 24.4754ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 24.5042ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43143 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.8134ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.8435ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0141ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0445ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3765ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4098ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4216ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4581ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37129/api/patients/83c1d496-bf77-4d26-b697-87a240e66000/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37129/api/patients/83c1d496-bf77-4d26-b697-87a240e66000/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32885/api/patients/83c1d496-bf77-4d26-b697-87a240e66000 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32885/api/patients/83c1d496-bf77-4d26-b697-87a240e66000 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/83c1d496-bf77-4d26-b697-87a240e66000 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/83c1d496-bf77-4d26-b697-87a240e66000 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2903ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3246ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.0176ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.0432ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0247ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0531ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3566ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3831ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0898ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1232ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 37.35ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 37.3794ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6019ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6308ms - 201 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-14 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45457 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.2715ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.3036ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2012ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2343ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37783/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37783/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6145ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6418ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/280e5e7b-b2ed-40b1-88f3-3f9c29cefd1d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/280e5e7b-b2ed-40b1-88f3-3f9c29cefd1d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.2799ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.31ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.6277ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.6587ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/280e5e7b-b2ed-40b1-88f3-3f9c29cefd1d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/280e5e7b-b2ed-40b1-88f3-3f9c29cefd1d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37075/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/280e5e7b-b2ed-40b1-88f3-3f9c29cefd1d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/280e5e7b-b2ed-40b1-88f3-3f9c29cefd1d +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 44.208ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 44.2366ms - 201 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.5924ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.626ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33527 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3666ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3976ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7134ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7419ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32901/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32901/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/10f79007-9b08-48c7-a7ea-90d982e72325 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3153ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3632ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6905ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7179ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5581ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5925ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37129/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37129/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8663ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.894ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39877 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3543ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4156ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:37129/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:37129/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.0368ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.0623ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2143ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2422ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1471ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1767ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.8104ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.8477ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1556ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1807ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-15 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-15 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36651 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7074ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7625ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.0662ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.1008ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 20.1161ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 20.1593ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37783/api/observations/11d071a9-7845-4c98-979b-e26c53b41922 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37783/api/observations/11d071a9-7845-4c98-979b-e26c53b41922 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 23.0164ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 23.0677ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.2036ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.2314ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0647ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0931ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 17.0138ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 17.0702ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 15.9009ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 15.9335ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 16.2366ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 16.2651ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40753/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40753/api/patients +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 17.7094ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 17.7446ms - 201 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 19.016ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 19.0411ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37783/api/observations/11d071a9-7845-4c98-979b-e26c53b41922 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37783/api/observations/11d071a9-7845-4c98-979b-e26c53b41922 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3502ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3948ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0754ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1119ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1085ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1402ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4512ms - 400 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4894ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1585ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1909ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6412ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6711ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2801ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3153ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.6196ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6505ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 3.9495ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 3.9835ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0792ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1072ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 4.6885ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 4.7188ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/11c45720-da93-4321-b732-e513411f11f0 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8879ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9171ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0582ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0845ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.5632ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.6095ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1384ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1721ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3472ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3773ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5522ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5818ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/67c34c2a-6464-4fab-9f43-9c259e904235/observations?* +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9267ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9568ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40093 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7472ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7858ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.1594ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.1938ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.8105ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.8423ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.9273ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.9538ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0023ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.036ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43207 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39681 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0537ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0816ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1144ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1449ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4748ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4995ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4425ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.469ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2965ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3268ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/1f541a01-c30c-4ad3-84c0-674a8283f805/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38649 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4049ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4385ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.7724ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.8019ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.5437ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.5715ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41509 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42827/api/patients/by-account/test-157 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42827/api/patients/by-account/test-157 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2521ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2965ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35467/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35467/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4428ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4838ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.4786ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5129ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.4062ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4355ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0239ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0491ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37783/api/patients/7483a6f0-edd4-43b5-9b18-082f6baa5e55/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37783/api/patients/7483a6f0-edd4-43b5-9b18-082f6baa5e55/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42827/api/patients/b122a969-6990-4801-93c6-7f85f11f7155 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42827/api/patients/b122a969-6990-4801-93c6-7f85f11f7155 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.7122ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.7651ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:32901/api/patients/7483a6f0-edd4-43b5-9b18-082f6baa5e55 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:32901/api/patients/7483a6f0-edd4-43b5-9b18-082f6baa5e55 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 25.0781ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 25.1089ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1277ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1536ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40709 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9854ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0113ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35467/api/patients/7483a6f0-edd4-43b5-9b18-082f6baa5e55 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35467/api/patients/7483a6f0-edd4-43b5-9b18-082f6baa5e55 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0339ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0689ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6847ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7142ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36125 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0329ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0601ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3718ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4025ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9643ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9886ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2317ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2616ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 32.8799ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 32.9081ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42061 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4202ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4455ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2344ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2654ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3404ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3784ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.3442ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6954ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3807ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7412ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3346ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3614ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9992ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0308ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1804ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2087ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1706ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2016ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4537ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4807ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2358ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2726ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.964ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9943ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0384ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0242ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0656ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0531ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1294ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1596ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.9693ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.0001ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9105ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9338ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1726ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2052ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1031ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1306ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1783ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2069ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.5008ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.5262ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5876ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6142ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.918ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9458ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9609ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9871ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2277ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2448ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2706ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0381ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0659ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.5594ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.59ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9828ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0102ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6955ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7212ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9552ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9964ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2889ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3193ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1808ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2073ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33157/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5423ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5625ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37471/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.4933ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.5295ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.123ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1488ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.76ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.7845ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2444ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2781ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5837ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6166ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5469ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.584ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.9259ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.9563ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3111ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3422ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.2656ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.5528ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.2902ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.577ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0508ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0759ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2194ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2512ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5201ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5629ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3874ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.42ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6425ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6719ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/trends?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/cecad3b1-43b2-44e6-a2f7-1378039e595f/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38339 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2699ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3043ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3936ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4197ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1787ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2067ms - 201 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.7614ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.7892ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.2005ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.226ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1759ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2037ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0045ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0267ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 20.1523ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 20.1871ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3947ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4309ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.842ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8879ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 30.5717ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 30.6028ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.426ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.4662ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.7582ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.7876ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40753/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40753/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33783 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5694ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6045ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0938ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1364ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9614ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9866ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2511ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2829ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0902ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1165ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33157/api/patients/84c525d3-5d3b-4454-8a83-8c6c0d58cbd4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33157/api/patients/84c525d3-5d3b-4454-8a83-8c6c0d58cbd4/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37471/api/patients/84c525d3-5d3b-4454-8a83-8c6c0d58cbd4 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37471/api/patients/84c525d3-5d3b-4454-8a83-8c6c0d58cbd4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40753/api/patients/84c525d3-5d3b-4454-8a83-8c6c0d58cbd4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40753/api/patients/84c525d3-5d3b-4454-8a83-8c6c0d58cbd4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.3082ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3419ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.8949ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.9302ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.121ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1467ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4464ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4769ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44239 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4668ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5081ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.1521ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.1842ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0963ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1234ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7856ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8165ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9159ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9405ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2063ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2307ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9235ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9598ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/patients/06caa603-9a9b-470b-8ef3-ba80caa85a6a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.197ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2213ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.0082ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.039ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0104ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0389ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.1088ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.1507ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34581 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9987ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0258ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.314ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3454ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6423ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6818ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9973ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0241ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0977ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1241ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44317 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9771ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0046ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.8807ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.9072ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/d2debe6f-857e-4072-bf5c-147020874f92 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9977ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0242ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2885ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3155ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.062ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1001ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0533ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0856ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/7fe992ce-1d7b-4df7-94f4-b194bfc2eed5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45457/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45457/api/patients/ca8180c2-dd2a-431e-ad14-eea4f91c19e9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0851ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1222ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1108ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1399ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1977ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2331ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.6087ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.6485ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43167 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/insights?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/d2debe6f-857e-4072-bf5c-147020874f92/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4462ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4886ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.8585ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.9037ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 15.3828ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 15.4165ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.7542ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 16.4974ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.235ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2678ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0557ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.5792ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0861ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6168ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46029 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.5151ms - 409 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.5438ms - 409 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1678ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1998ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4809ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5225ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42827/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.5649ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.5927ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1067ms - 409 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1399ms - 409 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38339/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38339/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/overview?* +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6578ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6866ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.9889ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.0205ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1343ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1609ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/patients/bc5d7416-705c-41e0-bdd9-701aa819dcee/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9874ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0146ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2887ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3142ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2727ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3011ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9938ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0215ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0491ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0814ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41509/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41509/api/patients/96b65713-31a5-4db0-afd5-36b44023f445/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9383ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9617ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45959 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2154ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2459ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9987ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0264ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8344ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.8589ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0454ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.0723ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8429ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8754ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0952ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.125ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3907ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4145ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1184ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1466ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.2158ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.2433ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:39605/api/observations/274cfa3e-d950-4bca-bfcd-9617f040c9c3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.02ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0517ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41509/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41509/api/patients/51eab38e-6a2c-445c-bdb8-4d469f670cd3/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2222ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2464ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 20.9582ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 21.007ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 27.1711ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 27.1991ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 37.4528ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 37.4882ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4632ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4968ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/b5e0602d-166a-4f1f-8922-7adfd919d209/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/b5e0602d-166a-4f1f-8922-7adfd919d209/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/b5e0602d-166a-4f1f-8922-7adfd919d209 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/b5e0602d-166a-4f1f-8922-7adfd919d209 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/b5e0602d-166a-4f1f-8922-7adfd919d209 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/b5e0602d-166a-4f1f-8922-7adfd919d209 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 26.1503ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 26.1869ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9716ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9995ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2546ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2772ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.9607ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.0047ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37525/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37525/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.6484ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6765ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8955ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9271ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40719 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0625ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0936ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1949ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2279ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3696ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3976ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/39be8661-4999-428d-80c9-4da7dac5f250 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/39be8661-4999-428d-80c9-4da7dac5f250 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35081 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40835 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.6081ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.6444ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.152ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1773ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/39be8661-4999-428d-80c9-4da7dac5f250 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/39be8661-4999-428d-80c9-4da7dac5f250 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43143/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43143/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0505ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0821ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36639/api/patients/a9f03287-34e9-44af-b65b-d13cf1728e8b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36639/api/patients/a9f03287-34e9-44af-b65b-d13cf1728e8b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0956ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1249ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/a9f03287-34e9-44af-b65b-d13cf1728e8b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/a9f03287-34e9-44af-b65b-d13cf1728e8b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/a9f03287-34e9-44af-b65b-d13cf1728e8b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/a9f03287-34e9-44af-b65b-d13cf1728e8b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0443ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0807ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.08ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1051ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4106ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4469ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.1514ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.1852ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.8034ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.829ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.294ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.3261ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1754ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2017ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5326ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5717ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8589ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8908ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0647ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.094ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0816ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.117ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.012ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.0499ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3935ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.422ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3625ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3895ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.6783ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.7107ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.3389ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.3633ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9643ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9917ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2509ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2852ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.9997ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 11.0373ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 21.169ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 21.2157ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9861ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0127ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/0d848bd4-da02-481e-9c92-c71e0c3e09e5/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 15.7939ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 15.8252ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.8723ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.9198ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 22.0582ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 22.085ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 14.1617ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 14.2033ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.127ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1595ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 14.8762ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 14.9021ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38885 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42279 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44003 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/1d948c15-5650-4924-bff8-19d573db3b21 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45457/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45457/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.305ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3366ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.7234ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7561ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35643/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35643/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8752ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9044ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-7 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43207/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43207/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1118ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1454ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/insights?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33251/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33251/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/1d948c15-5650-4924-bff8-19d573db3b21/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38613 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4404ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4701ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.7766ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.8044ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3524ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3787ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.2839ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.3075ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2584ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2885ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.6666ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6987ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.5543ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.5911ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37525/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37525/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0241ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.055ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.8458ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.88ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.2992ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.3354ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43143/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43143/api/patients/0f3aa36b-d067-41c4-8c11-78133fd8654f/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4526ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4816ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/46aa200f-d531-41c8-add3-426e4a492eaa/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/46aa200f-d531-41c8-add3-426e4a492eaa/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/46aa200f-d531-41c8-add3-426e4a492eaa +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/46aa200f-d531-41c8-add3-426e4a492eaa +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/46aa200f-d531-41c8-add3-426e4a492eaa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/46aa200f-d531-41c8-add3-426e4a492eaa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.7825ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.8212ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.5099ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5362ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1689ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2008ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1633ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1941ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 13.549ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 13.5809ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41509/api/patients/93634caa-47b1-46e9-b182-73a8b99e12e5/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41509/api/patients/93634caa-47b1-46e9-b182-73a8b99e12e5/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0585ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0853ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3762ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4044ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9986ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0223ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9763ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0079ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 21.0636ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 21.0956ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0408ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0703ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 12.7366ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 12.7718ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0417ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0683ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0146ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0381ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.6594ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6847ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9234ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9505ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45457/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45457/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52/observations?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 18.8074ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 18.8354ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 39.3893ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 39.4238ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35643/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0622ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0992ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37047 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 105.7176ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 105.7486ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.518ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5549ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41509/api/observations/4f730121-6f32-4135-b9c5-9142ffffffff +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41509/api/observations/4f730121-6f32-4135-b9c5-9142ffffffff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5773ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6116ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.8692ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.905ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/2fadf471-4c67-43a7-84dd-b0e04863f6c5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/2fadf471-4c67-43a7-84dd-b0e04863f6c5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.8368ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.8664ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2867ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.346ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1788ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2068ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/32f744fe-fe9f-4634-9289-953ba49fddd3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37525/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0733ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1005ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1868ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2136ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45457/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45457/api/patients/7ad37f17-5f34-4de9-ba9d-5e47b3887f52/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4597ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4937ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 19.7262ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 18.2406ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 18.2843ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 19.7811ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 18.5951ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 18.6323ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34257/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.867ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.9085ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40985 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/2fadf471-4c67-43a7-84dd-b0e04863f6c5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/2fadf471-4c67-43a7-84dd-b0e04863f6c5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.5503ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.5992ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40041 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38337 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/patients/414a3186-1b31-461e-8c9a-b2fe95b90cbf/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:41509/api/observations/4f730121-6f32-4135-b9c5-9142ffffffff +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:41509/api/observations/4f730121-6f32-4135-b9c5-9142ffffffff +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.7189ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.7561ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.1221ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.1573ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0127ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0356ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40011 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34257/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.3022ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.3426ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43631 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/2fadf471-4c67-43a7-84dd-b0e04863f6c5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/2fadf471-4c67-43a7-84dd-b0e04863f6c5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.0421ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.0821ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37185/api/patients/58b02ec2-7edf-4b54-9762-133247567474/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37185/api/patients/58b02ec2-7edf-4b54-9762-133247567474/trends?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1998ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.224ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4854ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.515ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37349/api/patients/58b02ec2-7edf-4b54-9762-133247567474/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37349/api/patients/58b02ec2-7edf-4b54-9762-133247567474/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36639/api/patients/58b02ec2-7edf-4b54-9762-133247567474/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36639/api/patients/58b02ec2-7edf-4b54-9762-133247567474/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[104] + HTTP request failed after 0.5403ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:36639) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Observation.LogicalHandler[104] + HTTP request failed after 0.7495ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:36639) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.3627ms - 502 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.3935ms - 502 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.1767ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.2081ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.3656ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.4032ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.7711ms - 502 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.8011ms - 502 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3547ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3832ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.6174ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.6584ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.7067ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.7322ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.548ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.5762ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0472ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0756ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.0729ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.1013ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 20.0745ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 20.0986ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0161ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0525ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1413ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1703ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4421ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4729ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1338ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.187ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/2d9a5005-fcd8-455e-b2e7-63168289f901 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1147ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1397ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39647 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5624ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5918ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2079ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2363ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 50.0564ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 50.0878ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0357ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0592ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3124ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3338ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0426ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0669ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/fcae37d4-158d-4965-bc4b-e176917cdb9c +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/fcae37d4-158d-4965-bc4b-e176917cdb9c +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4482ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4717ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/fcae37d4-158d-4965-bc4b-e176917cdb9c +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/fcae37d4-158d-4965-bc4b-e176917cdb9c +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6253ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6511ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.053ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0792ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 15.3635ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 15.3905ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0371ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0607ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3237ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3472ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36537/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36537/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.8308ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.8661ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-8 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33369 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2971ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3284ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/e23d025d-06f7-497e-9942-8fedcc8e66bf/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.6627ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.6954ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:35193/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.2392ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.2674ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.6064ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.6456ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.2309ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.2544ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.4997ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.5348ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1863ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2224ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33579/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33579/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39241/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39241/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.8004ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.8335ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3188ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3456ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6512ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6819ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0723ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1009ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.601ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6287ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35193/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1795ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2171ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33579/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33579/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0826ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1104ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:33579/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:33579/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42663 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.5613ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.589ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46301 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36529 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42509/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42509/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38523 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33463 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.1942ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.2259ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35127 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36747 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0765ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1149ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/ef673b9b-6538-49b2-aea8-dad962eb85a2/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/ef673b9b-6538-49b2-aea8-dad962eb85a2/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/ef673b9b-6538-49b2-aea8-dad962eb85a2 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/ef673b9b-6538-49b2-aea8-dad962eb85a2 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/ef673b9b-6538-49b2-aea8-dad962eb85a2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/ef673b9b-6538-49b2-aea8-dad962eb85a2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.2712ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.3076ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38885/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38885/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.944ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9794ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2803ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3158ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.7744ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.8208ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 26.3355ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 26.3703ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 34.6989ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 34.7314ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1433ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1832ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39663/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39663/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 43.4709ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 43.5233ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3058ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3431ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2731ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3043ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 31.4156ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 31.4446ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/9baf44a1-b2ec-42f4-9aa4-4deb291e743e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/9baf44a1-b2ec-42f4-9aa4-4deb291e743e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0195ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0484ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3738ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4036ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3309ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44003/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44003/api/patients/f84a4d46-5dae-4ee8-ba4b-bfcf12839917/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.6939ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7247ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0344ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0706ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.9735ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.0173ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9361ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9636ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2084ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2317ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38885/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38885/api/observations/9b5d11b7-da26-43d6-bd80-40bd710027d3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3539ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3879ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4521ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4851ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0487ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.082ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:39877/api/observations/9baf44a1-b2ec-42f4-9aa4-4deb291e743e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:39877/api/observations/9baf44a1-b2ec-42f4-9aa4-4deb291e743e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0772ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1074ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1698ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2085ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4511ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4856ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.8188ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8496ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.7816ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.8225ms - 204 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 12.8121ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 12.846ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.9216ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.9501ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:43143/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:43143/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2744ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3079ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42907 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2038ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2341ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4832ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5085ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9442ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9727ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2359ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2629ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0512ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0791ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38885/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38885/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9125ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9445ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3024ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3338ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37989/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37989/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/insights?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38007/api/patients/2ad80c1d-6f29-4580-b413-d51c14cc9a80/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2277ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2552ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.5931ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.6196ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.121ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.1495ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0561ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0823ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5302ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5619ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43239 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0713ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1167ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.2963ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.3374ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2944ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3274ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/a50aa4a6-cce2-4113-b08d-c3a58b2edbae/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/a50aa4a6-cce2-4113-b08d-c3a58b2edbae/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/a50aa4a6-cce2-4113-b08d-c3a58b2edbae +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/a50aa4a6-cce2-4113-b08d-c3a58b2edbae +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34581/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34581/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/a50aa4a6-cce2-4113-b08d-c3a58b2edbae +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/a50aa4a6-cce2-4113-b08d-c3a58b2edbae +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-14 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39805 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2698ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3037ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9141ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.9377ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 16.7389ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 16.7726ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.2075ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.2412ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7276ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7545ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.2431ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.2766ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1039ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1502ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2458ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2923ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38339/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38339/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/overview?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45731 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3887ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4237ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.7753ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.8186ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43143/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43143/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 23.5921ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 23.6225ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43631/api/observations/ef85288f-b2a4-43a7-afb5-98063c5ac9fd +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43631/api/observations/ef85288f-b2a4-43a7-afb5-98063c5ac9fd +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38649/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38649/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7821ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.8153ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.1293ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.1558ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43207/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43207/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40893/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43143/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43143/api/patients/7e0f08e2-2110-4a8f-a9f2-040269dc6c72/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38885/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38885/api/patients/ea5ad681-1877-4699-a081-0b5a85fda1ec/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34925 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.0139ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.054ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.4156ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.452ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.2524ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.2823ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36125/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36125/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 3.6415ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 3.6766ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 9.0389ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 9.1003ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.8944ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.9294ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1367ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.1743ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3296ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.3625ms - 201 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42509/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42509/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40709/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45959/api/patients/by-account/test-159 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45959/api/patients/by-account/test-159 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/patients/483a42b8-5eb0-4212-b99e-6e3e32921597/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.8988ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.9243ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.7719ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.8098ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0695ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1037ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38885/api/observations/1d12b78e-a30b-4a42-96cb-ec591d3e480d +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38885/api/observations/1d12b78e-a30b-4a42-96cb-ec591d3e480d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0246ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0507ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38007/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38007/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1267ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1575ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.717ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.752ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41399/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41399/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8826ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9125ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34859/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34859/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38885/api/observations/1d12b78e-a30b-4a42-96cb-ec591d3e480d +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38885/api/observations/1d12b78e-a30b-4a42-96cb-ec591d3e480d +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 7.268ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 7.3069ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2646ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2974ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4311ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4649ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.78ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.8117ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0805ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1137ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/9baf44a1-b2ec-42f4-9aa4-4deb291e743e +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/9baf44a1-b2ec-42f4-9aa4-4deb291e743e +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0816ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.108ms - 404 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4866ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5145ms - 201 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36747/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36747/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/insights?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:43631/api/observations/ef85288f-b2a4-43a7-afb5-98063c5ac9fd +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:43631/api/observations/ef85288f-b2a4-43a7-afb5-98063c5ac9fd +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.1398ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.1801ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44173 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37047/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37047/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.6864ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.7271ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34581/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34581/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39647/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39647/api/patients/ca970e39-71e0-4b4f-9952-0a03711d8c8a/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.7332ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.7885ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.7555ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.7887ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39663/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39663/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2001ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2536ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/3d415e63-f9a6-420d-bf37-56e4c39d6cde/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/3d415e63-f9a6-420d-bf37-56e4c39d6cde/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/3d415e63-f9a6-420d-bf37-56e4c39d6cde +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/3d415e63-f9a6-420d-bf37-56e4c39d6cde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 28.8563ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 28.9123ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/3d415e63-f9a6-420d-bf37-56e4c39d6cde +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/3d415e63-f9a6-420d-bf37-56e4c39d6cde +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34859/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34859/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36537/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36537/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 31.1922ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 31.2411ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 42.265ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 42.3061ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.9136ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.9517ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 6.2679ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 6.3116ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 48.6981ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 48.7643ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.2325ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.277ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.3611ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.4004ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 31.0685ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 31.0983ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-5 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0658ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1003ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39877/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39877/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39663/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42509/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42509/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 32.5136ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 32.5525ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0953ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1217ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38339/api/patients/fe29e7d0-c6f6-4a03-bf50-ffd7e24fe127/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38339/api/patients/fe29e7d0-c6f6-4a03-bf50-ffd7e24fe127/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[104] + HTTP request failed after 0.4521ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:38339) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0137ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0486ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6772ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7089ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[104] + HTTP request failed after 0.6299ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:38339) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40847 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.9333ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.961ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9745ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0045ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39877/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39877/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42509/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42509/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1203ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1416ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3709ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3932ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34215 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4139ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.4366ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40093/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40093/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46029/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46029/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0856ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1321ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.1804ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.2173ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9534ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9968ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/36233393-c789-44f3-89eb-36ac33823efb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/36233393-c789-44f3-89eb-36ac33823efb/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/36233393-c789-44f3-89eb-36ac33823efb +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/36233393-c789-44f3-89eb-36ac33823efb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/36233393-c789-44f3-89eb-36ac33823efb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/36233393-c789-44f3-89eb-36ac33823efb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3098ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3385ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6084ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6316ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1869ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2207ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1141ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1465ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:36537/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:36537/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.9899ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.0378ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0204ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0521ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41841 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 14.5164ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 14.5492ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.518ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.5692ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39877/api/patients/7a609879-5baa-4586-a300-359a2478caf6/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39877/api/patients/7a609879-5baa-4586-a300-359a2478caf6/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42509/api/patients/7a609879-5baa-4586-a300-359a2478caf6 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42509/api/patients/7a609879-5baa-4586-a300-359a2478caf6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/7a609879-5baa-4586-a300-359a2478caf6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/7a609879-5baa-4586-a300-359a2478caf6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0087ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0326ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3196ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3481ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9698ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9958ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36537/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0751ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1107ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39877/api/observations/9834ee28-35b6-437a-9707-c57e087359de +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39877/api/observations/9834ee28-35b6-437a-9707-c57e087359de +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39647/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39647/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.3676ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3963ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:39877/api/observations/9834ee28-35b6-437a-9707-c57e087359de +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:39877/api/observations/9834ee28-35b6-437a-9707-c57e087359de +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34383 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40659 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7175ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7394ms - 204 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37047/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37047/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40927 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9502ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9836ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0453ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0777ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.7488ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.782ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 12.7358ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 12.7647ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/84798886-1149-419e-8bf9-66557c2742d7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/84798886-1149-419e-8bf9-66557c2742d7/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/84798886-1149-419e-8bf9-66557c2742d7 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/84798886-1149-419e-8bf9-66557c2742d7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/84798886-1149-419e-8bf9-66557c2742d7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/84798886-1149-419e-8bf9-66557c2742d7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0975ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1255ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4469ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4758ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9065ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9313ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.5544ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.5974ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.0798ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1124ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 11.0479ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 11.0784ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2206ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2483ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.239ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2687ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 22.7822ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 22.8196ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6812ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7188ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0285ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.058ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36747/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36747/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/insights?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.8649ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.8904ms - 201 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37047/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37047/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39647/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39647/api/patients/da8e747d-93fa-44fe-abd5-354d841a28c2/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2538ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2813ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0301ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0543ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6467ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.677ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.195ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.224ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 5.126ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 5.1531ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38375 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 21.7899ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 21.8171ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 19.248ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 19.2768ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42117 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0983ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1283ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41075 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40239 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1918ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2156ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4643ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4862ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0808ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1161ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42351 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9308ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9578ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/5364c197-c7be-4026-ac4e-ce66cee9f798/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/5364c197-c7be-4026-ac4e-ce66cee9f798/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.0403ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.0652ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/5364c197-c7be-4026-ac4e-ce66cee9f798 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/5364c197-c7be-4026-ac4e-ce66cee9f798 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/5364c197-c7be-4026-ac4e-ce66cee9f798 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/5364c197-c7be-4026-ac4e-ce66cee9f798 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8686ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8917ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8465ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8693ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1123ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1326ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44023 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41603 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1289ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1587ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4666ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4956ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.563ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.5897ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2723ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3033ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44333 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46029/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46029/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9076ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.949ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.403ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4307ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39647/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39647/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37047/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37047/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37365 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.6693ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6937ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.9898ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 2.0319ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.0158ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.0466ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40093/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40093/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 13.1149ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 13.1476ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9699ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9956ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 14.4301ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 14.4809ms - 201 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8735ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8977ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1676ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.197ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9292ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9549ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/9515cf3a-9587-49e2-9b7e-04bd7c8dac74/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/9515cf3a-9587-49e2-9b7e-04bd7c8dac74/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/9515cf3a-9587-49e2-9b7e-04bd7c8dac74 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/9515cf3a-9587-49e2-9b7e-04bd7c8dac74 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/9515cf3a-9587-49e2-9b7e-04bd7c8dac74 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/9515cf3a-9587-49e2-9b7e-04bd7c8dac74 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36309 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.7731ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.797ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3001ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3245ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6321ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6593ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1264ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1606ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38841 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.3401ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.3673ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42429 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3662ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4002ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.6947ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.7217ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9194ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9463ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46031 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5796ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6071ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.3952ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.4185ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9071ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.934ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0691ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1034ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/9130b4f0-a38d-41dd-aa06-2891a8718f3a +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/9130b4f0-a38d-41dd-aa06-2891a8718f3a +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44003/api/patients/8278901a-ed6e-4331-a7a5-c99c8eb4422d/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43835 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5406ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5669ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.6181ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6452ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/9130b4f0-a38d-41dd-aa06-2891a8718f3a +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/9130b4f0-a38d-41dd-aa06-2891a8718f3a +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0575ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0806ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-15 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45883 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46029/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46029/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9576ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9867ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/145e9cb3-a964-4847-b8f1-e77c65b4084b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9955ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0265ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2882ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3108ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0087ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0392ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9605ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.0144ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.175ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2102ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39647/api/patients/f5314301-eebc-4a37-bfdf-e6367070659e/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39647/api/patients/f5314301-eebc-4a37-bfdf-e6367070659e/observations +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44815 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37047/api/patients/f5314301-eebc-4a37-bfdf-e6367070659e +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37047/api/patients/f5314301-eebc-4a37-bfdf-e6367070659e +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/f5314301-eebc-4a37-bfdf-e6367070659e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/f5314301-eebc-4a37-bfdf-e6367070659e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1236ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1545ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4988ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5239ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42157 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38569 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35127/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35127/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 22.6987ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 22.7409ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46029/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40093/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40093/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2119ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2426ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36747/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36747/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 27.7487ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 27.7985ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37047/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37047/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42117/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42117/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39647/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39647/api/patients/9a3c5c6b-7f84-4f54-93ce-062bf812cb85/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1231ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.1718ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38523/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38523/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41989 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2779ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3117ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.6491ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.6821ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.8367ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.8633ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0491ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0799ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35023 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.3334ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.3738ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36293 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.5153ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.5562ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 5.8607ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 5.8907ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.7676ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.805ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.8617ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.8983ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42351/api/patients/93634caa-47b1-46e9-b182-73a8b99e12e5/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42351/api/patients/93634caa-47b1-46e9-b182-73a8b99e12e5/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 13.5383ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 13.5749ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42117/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42117/api/observations/b0d5b8d0-d33b-4847-8523-436ccaffb79b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.544ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5823ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1921ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2238ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.2922ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3253ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0131ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0416ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3022ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3358ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.8891ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9169ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0216ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0547ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44003/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44003/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.6453ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.6756ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40719/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40719/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3517ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.3819ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40093/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40093/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.018ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0456ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3136ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3414ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.4978ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.5409ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42117/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42117/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.923ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.9656ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37749 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37079 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44173/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44173/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34215/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34215/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 24.8463ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.8971ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/insights?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34473/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34473/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39617 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 23.2614ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 23.2963ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 24.2045ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 24.2475ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 32.5469ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 32.6006ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.7604ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.7937ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.5281ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.5687ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 24.3309ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 24.3589ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3161ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3538ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:39605/api/patients/6f00211a-e7da-456c-9fca-acc7bf7ceaa5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:39605/api/patients/6f00211a-e7da-456c-9fca-acc7bf7ceaa5/observations +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45581/api/patients/6f00211a-e7da-456c-9fca-acc7bf7ceaa5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45581/api/patients/6f00211a-e7da-456c-9fca-acc7bf7ceaa5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/6f00211a-e7da-456c-9fca-acc7bf7ceaa5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/6f00211a-e7da-456c-9fca-acc7bf7ceaa5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.157ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1896ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5637ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5926ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 45.3537ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 45.386ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34215/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34215/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44173/api/patients/584286ea-cabb-4937-a3dc-a933b4fcc9d8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44173/api/patients/584286ea-cabb-4937-a3dc-a933b4fcc9d8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46771 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4867ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.5163ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42117/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42117/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/020d3fe7-9849-4789-908b-c969f618361a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0643ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.096ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3777ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4016ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.5985ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.637ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.7819ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.819ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.163ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.2ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46031/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46031/api/patients/82250c1d-38c4-4b91-9410-cfef377447fb/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.3855ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.414ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.5837ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.6239ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.305ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3294ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46127 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0865ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1151ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42117/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42117/api/patients/2a5a5ea2-ee66-4639-b8da-2ab041b559c4/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2082ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2351ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/overview?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.9851ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.0158ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 19.9157ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 19.9515ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 25.576ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 25.6145ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.0427ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.0765ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39617/api/observations/9834ee28-35b6-437a-9707-c57e087359de +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39617/api/observations/9834ee28-35b6-437a-9707-c57e087359de +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34215/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34215/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.4056ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.4361ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3806ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4126ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.3181ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.3513ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 14.6814ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 14.7261ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2385ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2727ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39605/api/observations/ba634fb1-54eb-4d33-ae83-1daa09e0cd61 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39605/api/observations/ba634fb1-54eb-4d33-ae83-1daa09e0cd61 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.6434ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.672ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 17.288ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 17.315ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4333ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4662ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 23.4605ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 23.4921ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39617/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39617/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36309/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44173/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36309/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44173/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1735ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2023ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36147 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42907/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42907/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.1978ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.6076ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 27.118ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 27.1566ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 29.5872ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 29.6212ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-17 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34473/api/patients/by-account/test-17 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 30.4467ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 30.4847ms - 404 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 38.3108ms - 404 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 38.3449ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44023/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/insights?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9507ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9784ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.2548ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2885ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.8349ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.8684ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46023 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.2519ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.2954ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44815/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44815/api/patients/595d52e1-77cd-4381-8a93-6d5117e3de6c/insights?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39617/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39617/api/patients/2df75d48-232c-43c7-aa63-69ffda39329d/observations/latest +info: System.Net.Http.HttpClient.Insights.ClientHandler[104] + HTTP request failed after 0.582ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:44815) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Insights.LogicalHandler[104] + HTTP request failed after 0.8337ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:44815) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33757 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 10.7916ms - 502 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 10.8252ms - 502 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 69.6376ms - 502 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 69.6641ms - 502 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38451 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 11.8346ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 11.8695ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42117/api/patients/066ce483-0590-4aa0-b3f6-f80e75c35129/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42117/api/patients/066ce483-0590-4aa0-b3f6-f80e75c35129/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.3714ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.407ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.5127ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.5438ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40659/api/patients/066ce483-0590-4aa0-b3f6-f80e75c35129 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40659/api/patients/066ce483-0590-4aa0-b3f6-f80e75c35129 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5747ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.5993ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.8782ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.9028ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.859ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.8852ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1416ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1783ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.2204ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.2796ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39617/api/patients/7a609879-5baa-4586-a300-359a2478caf6/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39617/api/patients/7a609879-5baa-4586-a300-359a2478caf6/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36571 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42377 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2931ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.3198ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37079/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37079/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 15.7937ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 15.8258ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41075/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/066ce483-0590-4aa0-b3f6-f80e75c35129 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/066ce483-0590-4aa0-b3f6-f80e75c35129 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9857ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0189ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 22.7241ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 22.7534ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39617/api/observations/f8f416b0-bb51-4ff8-b656-6d47f23575a7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39617/api/observations/f8f416b0-bb51-4ff8-b656-6d47f23575a7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0014ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0299ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 18.1748ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 18.201ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.929ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9562ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.9271ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.9586ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 25.5034ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 25.5295ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0718ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0966ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.4131ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.4433ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.7993ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.8242ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.2993ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.3421ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9052ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9365ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40239/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41841/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.044ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0682ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.3ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.3234ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39617/api/observations/f8f416b0-bb51-4ff8-b656-6d47f23575a7 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39617/api/observations/f8f416b0-bb51-4ff8-b656-6d47f23575a7 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.7871ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.8095ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38523/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 36.2024ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 36.2295ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9478ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9718ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9361ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9594ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8822ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9064ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46023/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46023/api/patients/cec1bec5-0669-46c1-ab87-4434e8839f5d/observations?* +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:40927/api/observations/36498e08-4042-42dd-9c68-19d3a2c6a1d3 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 10.2773ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 10.3198ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.3178ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.3513ms - 204 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46415 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42907/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42907/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.6817ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.7193ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-12 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44331 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.8841ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.9139ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0508ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0775ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42117/api/patients/780141dd-3c50-4e6b-a73a-405dd376fedd/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42117/api/patients/780141dd-3c50-4e6b-a73a-405dd376fedd/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40659/api/patients/780141dd-3c50-4e6b-a73a-405dd376fedd +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40659/api/patients/780141dd-3c50-4e6b-a73a-405dd376fedd +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42907/api/patients/780141dd-3c50-4e6b-a73a-405dd376fedd +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42907/api/patients/780141dd-3c50-4e6b-a73a-405dd376fedd +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6221ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.664ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0152ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0484ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3687ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4093ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38197 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.9984ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 24.0321ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41079 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42883 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46083 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38085 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.237ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.2785ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 11.9061ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 11.9309ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46239 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33569 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 23.143ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 23.1808ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0629ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.096ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.751ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.7771ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-12 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8379ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8623ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46031/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46031/api/patients/10702fa2-dd9e-4f9e-9aa8-bf17fce33ab0/observations?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44281 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 15.9201ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 15.9606ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 16.5012ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 16.5255ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 17.7245ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 17.7515ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45617 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40501 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34791 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43531 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46415/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46415/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.2903ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.3295ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.8592ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.8958ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42377/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42377/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9187ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9477ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9151ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9521ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2257ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2518ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.8179ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.8451ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34791/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34791/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38695 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9252ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9601ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 0.3114ms - 400 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 0.3352ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-13 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.938ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9639ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46031/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46031/api/patients/9db01d29-f8c1-4452-a454-aa796e01ed9b/observations?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33757/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33757/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1247ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1561ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.5445ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5702ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.0242ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.047ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45617/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45617/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 10.6774ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 10.7063ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42377/api/patients/by-account/test-18 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42377/api/patients/by-account/test-18 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33511 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.7108ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.7457ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40501/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40501/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.1885ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.22ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33757/api/patients/by-account/test-6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33757/api/patients/by-account/test-6 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43769 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.9276ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.9813ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44281/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44281/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a/overview?* +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 29.4393ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 29.477ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 38.744ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 38.7754ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40639 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.7502ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.7886ms - 201 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41079/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41079/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 45.2114ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 45.2505ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38197/api/patients/c3f925e3-ea34-4b9a-9289-75b0c9884ea8/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38197/api/patients/c3f925e3-ea34-4b9a-9289-75b0c9884ea8/observations +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0638ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1034ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46415/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46415/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7503ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7765ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8903ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9208ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.0833ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1101ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40501/api/observations/013a9329-fdfc-4c0e-a997-f58a9f5aa509 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40501/api/observations/013a9329-fdfc-4c0e-a997-f58a9f5aa509 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9535ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.978ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44331/api/patients/c3f925e3-ea34-4b9a-9289-75b0c9884ea8 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44331/api/patients/c3f925e3-ea34-4b9a-9289-75b0c9884ea8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.042ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0695ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42377/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42377/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1252ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1465ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8879ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9113ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1559ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1817ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.4531ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.4763ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8996ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9238ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.9781ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.004ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 13.715ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 13.7537ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41079/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41079/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a/observations/latest +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8538ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8856ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1296ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1501ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:40501/api/observations/013a9329-fdfc-4c0e-a997-f58a9f5aa509 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:40501/api/observations/013a9329-fdfc-4c0e-a997-f58a9f5aa509 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33757/api/patients/c3f925e3-ea34-4b9a-9289-75b0c9884ea8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33757/api/patients/c3f925e3-ea34-4b9a-9289-75b0c9884ea8 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.7138ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.7401ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.84ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8672ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9055ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9276ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1566ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1845ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.2891ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.3171ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 13.971ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 13.9956ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38085/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38085/api/patients/0622bdcf-5fbd-45bc-b481-e67d11a9d94a/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.9692ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9953ms - 201 +info: System.Net.Http.HttpClient.Observation.ClientHandler[104] + HTTP request failed after 0.707ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:38085) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.0979ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.1272ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[104] + HTTP request failed after 0.8998ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:38085) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46415/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46415/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 9.7735ms - 502 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 9.8071ms - 502 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 48.3503ms - 502 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 48.3893ms - 502 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0629ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.091ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34791/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34791/api/patients/020d3fe7-9849-4789-908b-c969f618361a/trends?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45617/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45617/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 25.1506ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 25.1771ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40501/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40501/api/patients/020d3fe7-9849-4789-908b-c969f618361a/observations?* +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0566ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0861ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.3792ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.4029ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.0974ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.1231ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34001 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41151 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.6966ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.739ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-15 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1278ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1812ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/270c612f-7a75-4aaf-8853-9fb75f4c2baf/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/270c612f-7a75-4aaf-8853-9fb75f4c2baf/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/270c612f-7a75-4aaf-8853-9fb75f4c2baf +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/270c612f-7a75-4aaf-8853-9fb75f4c2baf +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/270c612f-7a75-4aaf-8853-9fb75f4c2baf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/270c612f-7a75-4aaf-8853-9fb75f4c2baf +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2483ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2752ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.5746ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.6059ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46083/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46083/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.3789ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.4258ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9414ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.974ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 8.8218ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 8.8696ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7564ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.7846ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33511/api/observations/04fd0b27-b229-48a3-92af-4822154fa44b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33511/api/observations/04fd0b27-b229-48a3-92af-4822154fa44b +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.1031ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.1327ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.6388ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.6651ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-14 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 12.0097ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.0421ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46031/api/patients/8cbccaeb-387f-4af2-b22d-2992c4fa392a/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9907ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0136ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2811ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.3044ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.7329ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.7582ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 19.2264ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 19.2592ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46083/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46083/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8818ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9063ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33511/api/observations/04fd0b27-b229-48a3-92af-4822154fa44b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33511/api/observations/04fd0b27-b229-48a3-92af-4822154fa44b +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.026ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0463ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46201 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33563 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33511/api/observations/04fd0b27-b229-48a3-92af-4822154fa44b +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33511/api/observations/04fd0b27-b229-48a3-92af-4822154fa44b +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46025 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.3238ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.3549ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42167 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46083/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46083/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1204ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.146ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33511/api/observations/d8467861-d162-48bc-9a50-6d433bfdee73 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33511/api/observations/d8467861-d162-48bc-9a50-6d433bfdee73 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8359ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.8571ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33511/api/observations/d8467861-d162-48bc-9a50-6d433bfdee73 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33511/api/observations/d8467861-d162-48bc-9a50-6d433bfdee73 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.7904ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.8101ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35129 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35983 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40847/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40847/api/patients +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37477 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35863 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.8801ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.9251ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9913ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0243ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8805ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9213ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2256ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2523ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 7.5917ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 7.6448ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0775ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1066ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8376ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.867ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1088ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.1378ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.8139ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.8382ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7927ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8183ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7364ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7681ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 0.9902ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.0111ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.64ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6739ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40847/api/patients/by-account/test-16 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 19.8052ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 19.8447ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38569/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38569/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:41603/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46031/api/patients/ae37dc81-5e6a-4a04-a9b0-4fa5404f0bb7/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42167/api/observations/d1177d62-c666-4c35-a59c-47b9ee593988 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42167/api/observations/d1177d62-c666-4c35-a59c-47b9ee593988 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.2079ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 2.2462ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[104] + HTTP request failed after 0.6645ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:42167) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.5733ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.6024ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[104] + HTTP request failed after 0.9599ms + System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:42167) + ---> System.Net.Sockets.SocketException (111): Connection refused + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + --- End of inner exception stack trace --- + at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem) + at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) + at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) + at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) + at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) + at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|4_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken) +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.2111ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.2477ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34001/api/patients +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.8779ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.9205ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46085 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.6462ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.6896ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 7.0386ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 7.0945ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 16.0465ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 16.1182ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 28.914ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 28.9634ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-19 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2204ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2596ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/overview?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39707 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3022ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3386ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.9731ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 2.0051ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations/latest +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44555 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations/latest +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46451 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.3743ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.4234ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 13.6856ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 13.7051ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/insights?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34205 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/0ca91139-f127-4941-b5ea-2905fdcfb639/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.9645ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.0124ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 16.2878ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 16.3592ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 21.9811ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 22.0153ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 29.5425ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 29.5756ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 53.6682ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 53.7167ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46085/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46085/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.3436ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.393ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.6379ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.6842ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3569ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3907ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0369ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1039ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4897ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.5238ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.986ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.0133ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-20 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8399ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8914ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7294ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.757ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 0.9953ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.0178ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8953ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9206ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.1586ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.1832ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/df456b08-2eb3-403a-bc89-ca9502ec5eeb/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5679ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6072ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.9005ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.9337ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.6548ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.6817ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 2.9523ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 2.9753ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 5.7052ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 5.7318ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46085/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46085/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1458ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2006ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46085/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46085/api/patients/by-account/test-8 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.7988ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.8418ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.2874ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.3233ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9038ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9352ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7905ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8126ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.0503ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.0716ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.2505ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.2751ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-21 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8316ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8566ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:44555/api/patients/31eb9cb7-eeb7-41f3-bf29-518b0612cead/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:44555/api/patients/31eb9cb7-eeb7-41f3-bf29-518b0612cead/observations +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1825ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2167ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.5545ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5831ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0963ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1229ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.3878ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.4126ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/insights?* +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39707/api/patients/31eb9cb7-eeb7-41f3-bf29-518b0612cead +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39707/api/patients/31eb9cb7-eeb7-41f3-bf29-518b0612cead +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/61b7c211-68b9-44d4-a0c1-e49305582463/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2265ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2555ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.5295ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5529ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.8923ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.9169ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 3.235ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 3.2643ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 8.1217ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 8.1498ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46085/api/patients/31eb9cb7-eeb7-41f3-bf29-518b0612cead +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46085/api/patients/31eb9cb7-eeb7-41f3-bf29-518b0612cead +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.0449ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.084ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 11.4498ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 11.4808ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 22.6902ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 22.7284ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42593 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0439ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.09ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1105ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1516ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8736ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9022ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1882ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2168ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.5723ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6028ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.889ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9167ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0472ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.073ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.3464ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3756ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.5967ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6247ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9266ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9508ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.863ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9028ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.1974ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2246ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.5129ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.5375ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.877ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9104ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0043ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0289ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.315ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.3367ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.2851ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.3104ms - 201 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41951 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.7965ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.8369ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-23 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-23 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37515 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0678ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.105ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/d7e852c7-ba3a-45f5-8ca8-5e681bdee5e5/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/d7e852c7-ba3a-45f5-8ca8-5e681bdee5e5/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/d7e852c7-ba3a-45f5-8ca8-5e681bdee5e5 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/d7e852c7-ba3a-45f5-8ca8-5e681bdee5e5 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/d7e852c7-ba3a-45f5-8ca8-5e681bdee5e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/d7e852c7-ba3a-45f5-8ca8-5e681bdee5e5 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9465ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9733ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.2248ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.2579ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.6169ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.6456ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3264ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.361ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32801 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.007ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0346ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.3488ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.3749ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.7742ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.8264ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 19.5369ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 19.5624ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2401ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2663ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.5431ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.571ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.8025ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.8303ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 3.1531ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 3.1754ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 25.2783ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 25.3058ms - 200 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33755 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-22 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.107ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1392ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8131ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.838ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.089ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.1125ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0387ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0634ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2974ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.3138ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/47e41219-b942-45f6-ba80-eee903cad5c9/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0065ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0353ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2853ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.3096ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.7052ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.729ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 1.9461ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 1.9619ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 4.8693ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 4.8943ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37515/api/observations/49b7e457-3e2f-4393-b599-2209c4adfd90 +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37515/api/observations/49b7e457-3e2f-4393-b599-2209c4adfd90 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34001/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 6.2829ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 6.3234ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.4203ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.45ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7996ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8282ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.728ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7673ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.0183ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.0461ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.3296ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.3538ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2764ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3261ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0935ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1285ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 1.4379ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 1.4675ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.1043ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.1421ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.1146ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1458ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7893ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8163ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.0891ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.1152ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1814ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2053ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.4838ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5056ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0343ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0594ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.3129ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.3412ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.7776ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.8ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 2.0287ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 2.0478ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 5.1643ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 5.1911ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7757ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7993ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/observations/3ae79ad6-e648-42fa-8b44-053333ebe07c +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/observations/3ae79ad6-e648-42fa-8b44-053333ebe07c +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 3.8975ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.9199ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request PATCH http://127.0.0.1:46025/api/observations/3ae79ad6-e648-42fa-8b44-053333ebe07c +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request PATCH http://127.0.0.1:46025/api/observations/3ae79ad6-e648-42fa-8b44-053333ebe07c +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42593/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42593/api/patients +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 8.5046ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 8.5637ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0436ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1045ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.5418ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.5748ms - 201 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9367ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.964ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2655ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.2909ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1239ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1532ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.4523ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.49ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2211ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2505ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.5551ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5796ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.0334ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.0578ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 2.4905ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 2.5202ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 6.0824ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 6.1187ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0493ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0785ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37477/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37477/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9912ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0173ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2785ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.31ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36253 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0258ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0511ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2918ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.312ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:35129/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:35129/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46201/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.99ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0131ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.2521ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.2816ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 1.7458ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 1.7719ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 2.0211ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 2.0453ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 5.2631ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 5.2866ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8731ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9017ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:34001/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 17.6125ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 17.6843ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34001/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.4105ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4601ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46025/api/observations/01f7188c-4e39-45de-beca-04728deba9cf +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46025/api/observations/01f7188c-4e39-45de-beca-04728deba9cf +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1173ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1407ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request DELETE http://127.0.0.1:46025/api/observations/01f7188c-4e39-45de-beca-04728deba9cf +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request DELETE http://127.0.0.1:46025/api/observations/01f7188c-4e39-45de-beca-04728deba9cf +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.5629ms - 204 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.6182ms - 204 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33661 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45633 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44755 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32957 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33267 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42127 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44273 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36253/api/patients/b0e6bdc0-3a7f-411c-8779-c718dc6f932b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36253/api/patients/b0e6bdc0-3a7f-411c-8779-c718dc6f932b +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.186ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.2409ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45857 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44939 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46147 +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33661/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33661/api/patients/by-account/test-24 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 24.4199ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 24.4617ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44939/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44939/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34091 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33661/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33661/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.6195ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.6693ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 40.4596ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 40.5049ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38297 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44273/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44273/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations/latest +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34521 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.5766ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.6149ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 14.6961ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 14.7257ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42999 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45857/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45857/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44273/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44273/api/patients/6e33d440-399a-4af6-becf-0e4e557f2cff/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 5.2101ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 5.2542ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 12.2316ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 12.2643ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 16.9773ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 17.0114ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 24.2008ms - 200 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 24.2324ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 86.9246ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 86.9598ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:33661/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:33661/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.7174ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.7712ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33661/api/patients/by-account/test-25 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33661/api/patients/by-account/test-25 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.0792ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1174ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44939/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44939/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/overview?* +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:33661/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:33661/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8362ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8622ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 1.1557ms - 200 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 1.1823ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations/latest +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations/latest +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44273/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44273/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.2315ms - 404 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.2652ms - 404 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 4.5572ms - 404 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 4.5824ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/insights?* +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/insights?* +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45857/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45857/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42127/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:44273/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:44273/api/patients/7a7cd6fa-aef3-4aeb-818e-f25d1f97beaa/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.1531ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.18ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.4856ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.5096ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 3.0444ms - 404 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 3.0861ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.ClientHandler[101] + Received HTTP response headers after 3.4526ms - 404 +info: System.Net.Http.HttpClient.InsightsServiceClient.LogicalHandler[101] + End processing HTTP request after 3.4857ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 9.7583ms - 200 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 9.784ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46393 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:46147/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:46147/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 20.4457ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 20.4962ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46147/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46147/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.0838ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1233ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:38297/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:38297/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34091/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34091/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46147/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46147/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.233ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.2777ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.ClientHandler[101] + Received HTTP response headers after 13.4753ms - 200 +info: System.Net.Http.HttpClient.ApiGateway.LogicalHandler[101] + End processing HTTP request after 13.5154ms - 200 +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 21.5036ms - 201 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 21.5429ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36597 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40299 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44473 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38457 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38397 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:38397/api/patients/7dd0000d-62ed-4014-9070-c6c8a4fdbda2/overview?* +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:38397/api/patients/7dd0000d-62ed-4014-9070-c6c8a4fdbda2/overview?* +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39433 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:36597/api/patients/7dd0000d-62ed-4014-9070-c6c8a4fdbda2 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:36597/api/patients/7dd0000d-62ed-4014-9070-c6c8a4fdbda2 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37013 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46393/api/patients/7dd0000d-62ed-4014-9070-c6c8a4fdbda2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46393/api/patients/7dd0000d-62ed-4014-9070-c6c8a4fdbda2 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40343 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.0045ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.0547ms - 404 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.ClientHandler[101] + Received HTTP response headers after 34.1715ms - 404 +info: System.Net.Http.HttpClient.PatientProfileServiceClient.LogicalHandler[101] + End processing HTTP request after 34.1973ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.ClientHandler[101] + Received HTTP response headers after 39.7357ms - 404 +info: System.Net.Http.HttpClient.HealthOverview.LogicalHandler[101] + End processing HTTP request after 39.7793ms - 404 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35433 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 9.2158ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 9.2681ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.4285ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.4798ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.1735ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.2076ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 9.3545ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 9.3998ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.5648ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.6091ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9693ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.005ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 2.9835ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 3.0097ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.8172ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.8419ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.5922ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.6493ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3866ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.4215ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations/latest +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0777ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.1039ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 4.7225ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 4.7608ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9343ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9656ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.0295ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.0573ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40343/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40343/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39433/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39433/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.4322ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.4646ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 2.1214ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 2.1557ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 12.2413ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 12.2737ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40299/api/patients/by-account/test-10 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.2233ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.2498ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:40343/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/insights?* +info: System.Net.Http.HttpClient.Insights.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:40343/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/insights?* +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:39433/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:39433/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/patients/50642f1c-38b9-4964-894e-dc658a4061c0/observations?* +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 1.2714ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 1.2971ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.ClientHandler[101] + Received HTTP response headers after 1.6424ms - 200 +info: System.Net.Http.HttpClient.ObservationServiceClient.LogicalHandler[101] + End processing HTTP request after 1.6791ms - 200 +info: System.Net.Http.HttpClient.Insights.ClientHandler[101] + Received HTTP response headers after 2.6276ms - 200 +info: System.Net.Http.HttpClient.Insights.LogicalHandler[101] + End processing HTTP request after 2.6509ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.9673ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.9931ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37013/api/observations/3b629287-8ea5-4b4a-a9a6-6a5fe4c70eac +info: System.Net.Http.HttpClient.Observation.ClientHandler[101] + Received HTTP response headers after 0.7764ms - 200 +info: System.Net.Http.HttpClient.Observation.LogicalHandler[101] + End processing HTTP request after 0.7992ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.9534ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.0008ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.6363ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.6845ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.911ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9614ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:40299/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.6687ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.715ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46851 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38183 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39411 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ObservationService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40115 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/InsightsService +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34753 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/HealthOverviewService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:46851/api/patients/781525e1-22e1-45b0-b70a-29cd6efcd5ba +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:46851/api/patients/781525e1-22e1-45b0-b70a-29cd6efcd5ba +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.0387ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.0812ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +[xUnit.net 00:00:07.02] Finished: Observation.AcceptanceTests + + + + \ No newline at end of file diff --git a/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42[1].trx b/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42[1].trx new file mode 100644 index 0000000..081340f --- /dev/null +++ b/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_42[1].trx @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0) +[xUnit.net 00:00:00.04] Discovering: Deployment.AcceptanceTests +[xUnit.net 00:00:00.08] Discovered: Deployment.AcceptanceTests +[xUnit.net 00:00:00.10] Starting: Deployment.AcceptanceTests +[xUnit.net 00:00:21.62] Finished: Deployment.AcceptanceTests + + + + \ No newline at end of file diff --git a/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_43.trx b/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_43.trx new file mode 100644 index 0000000..00c450f --- /dev/null +++ b/ImplementationPlan/evidence/baseline-trx/_Sil3ntDragon_2026-10-14_10_57_43.trx @@ -0,0 +1,742 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0) +[xUnit.net 00:00:00.04] Discovering: PatientProfile.AcceptanceTests +[xUnit.net 00:00:00.07] Discovered: PatientProfile.AcceptanceTests +[xUnit.net 00:00:00.08] Starting: PatientProfile.AcceptanceTests +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {78d24170-4b31-4436-8026-5294967a5f10} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {4143078b-a5d8-44d2-bfce-f9d3098e13c6} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://service.example.test/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://service.example.test/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.3224ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 12.0562ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://service.example.test/api/patients/380ab747-bc0b-4a3a-a7ac-f7727c21608a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://service.example.test/api/patients/380ab747-bc0b-4a3a-a7ac-f7727c21608a +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.0132ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.0676ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://service.example.test/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://service.example.test/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.0055ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.0369ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {2993e7a6-32eb-40f0-9578-789f6f9a174c} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {1a5c0dc3-0fbc-4631-a375-40ff79bd21ad} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://service.example.test/api/patients/f02f9791-135a-44b4-8a54-40fee82a14e7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://service.example.test/api/patients/f02f9791-135a-44b4-8a54-40fee82a14e7 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.0058ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.0549ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {dce91568-8bfd-482a-a744-28d8b54f21fd} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {80abd684-cc40-4817-985c-2d0c03bbf36d} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Production +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {e6ba352a-fd37-4c40-9de1-8221aaef8848} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {0fa2389e-6993-478b-b52a-ebac8dbf23fe} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {75f9fb43-7551-410f-b35f-3fc1283bb6f2} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {d652781f-d3d4-4082-a329-434a911b387c} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {67ded4bd-a64f-4ba7-a907-9bf3b63ca359} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34773 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42281 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {a878cca4-52e9-4e40-83fb-5556447bf766} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {bc704c33-2236-4005-b2c9-3a6f49c269b5} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {a8eeaca5-b3ae-4270-9353-f6599e9750cf} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:42281/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:42281/api/patients +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 14.2796ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 14.5747ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 197.0261ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 197.1019ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 13.2637ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 13.3153ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:42281/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:42281/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 34.3281ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 34.3746ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.9662ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0116ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:42281/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:42281/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:34773/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:34773/api/patients/by-account/test-0 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.4989ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.5566ms - 404 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 32.662ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 32.7055ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45015 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:34773/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.993ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.0468ms - 201 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37815 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-1 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.4778ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.5203ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.6997ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.7492ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 5.5994ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 5.6422ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37815/api/patients/7ee48590-ebd3-454f-a77f-bccddf9d27cd +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37815/api/patients/7ee48590-ebd3-454f-a77f-bccddf9d27cd +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.13ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.1768ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45015/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45015/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 11.1454ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 11.1996ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9814ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.0116ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.8344ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.8999ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.5526ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.6092ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9242ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9548ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 6.7951ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 6.8354ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45015/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45015/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 2.8691ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 2.9128ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8179ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8546ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.3558ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.3771ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.6804ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7011ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.6239ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.6461ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.5271ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.565ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:45015/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:45015/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.0033ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.0485ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8287ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8533ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request PUT http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request PUT http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.3536ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.3727ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7324ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7546ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7838ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8114ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.9343ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.9639ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.8119ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.8381ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.4376ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.4761ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.5692ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.6097ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.7275ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.7752ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 0.6281ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 0.6817ms - 400 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 4.0462ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 4.0914ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request POST http://127.0.0.1:37815/api/patients +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 3.6372ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 3.6997ms - 201 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-11 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.3455ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.3939ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100] + Start processing HTTP request GET http://127.0.0.1:37815/api/patients/2d7576fd-b297-4d15-b62c-9f5eb8d33797 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100] + Sending HTTP request GET http://127.0.0.1:37815/api/patients/2d7576fd-b297-4d15-b62c-9f5eb8d33797 +info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101] + Received HTTP response headers after 1.078ms - 200 +info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101] + End processing HTTP request after 1.1027ms - 200 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +[xUnit.net 00:00:05.36] Finished: PatientProfile.AcceptanceTests + + + + \ No newline at end of file diff --git a/ImplementationPlan/functional-equivalence.md b/ImplementationPlan/functional-equivalence.md new file mode 100644 index 0000000..e5bd860 --- /dev/null +++ b/ImplementationPlan/functional-equivalence.md @@ -0,0 +1,41 @@ +# Functional preservation and verification plan + +Prepared 2026-10-14. **Architecture A baseline: 299 automated cases passed in the B-local reference. Architecture B behaviour remains not verified until its adapted tests run.** This establishes reference evidence, not clinical validation. This register is a preservation plan. [Acceptance register](acceptance-register.md) carries all 146 common/US-01–US-15 criterion IDs/outcomes from the target traceability table; outline cases are retained. During implementation map each entry to exact executable test methods, expanded examples and results. + +| Requirement | Original suites / evidence | Preserve and verify | +| --- | --- | --- | +| Common | History, context-filtered history, insight, trend and overview tests | Inclusive/equal/reversed periods for all four operations; UTC offset-free semantics independent of machine timezone; AND/Unknown selections; complete history; role/ownership restrictions across all operations | +| US-01 | `CreatePatientTests`, `PatientAuthenticationTests` | Required fields, generated distinct IDs, trusted account, initial/duplicate/retry/concurrent creation, interrupted rollback, durable unique association and `/me` recovery | +| US-02 | `CreatePatientTests`, professional access tests | Saved ID/name/birth/contact; permitted missing-data and non-disclosing unauthorized result | +| US-03 | `UpdatePatientTests` | Correct contact/name, preserve ID/birth/association/original time, no insertion for missing row, atomic rejection and restart | +| US-04 | `RecordObservationTests`, `RecordMeasurementContextTests` | Timestamp/positive values, existing authorized profile, IDs/restart, full/partial/absent context, valid after-activity, invalid category rejection, original narrative preservation | +| US-05 | `ViewObservationContextTests`, recording/auth/professional tests | Actual owner and complete current saved context/values/timestamp; Unknown and historical prose; missing/forbidden without disclosure | +| US-06 | `LatestObservationTests` | Measurement/original-recording/greatest UUID-byte precedence, immutable original time after edit, current context, no substitution for suitability and no-observation result | +| US-07 | `ObservationHistoryTests`, `ContextFilteredHistoryTests` | Ascending patient-only inclusive history; independent/combined/Unknown selections and applied headers; empty array; invalid periods/categories; restart | +| US-08 | `UpdateObservationTests`, `PatchObservationTests` | Full numerical PUT and partial PATCH; omitted/set/null/clear distinction, preserved identity/time/unmentioned fields; empty/unsupported/invalid input atomically rejected; current selection membership | +| US-09 | `DeleteObservationTests`, `DeleteContextualisedObservationTests` | 204 success, missing/repeated 404, row/context removal from all later reads/results, unaffected other observations/profile; denied deletion no writes | +| US-10 | `HealthInsightTests`, `ContextSelectedInsightTests` | Exact decimal means/final half-up/no intermediate rounding, BP extrema, one/zero results, count/basis/context explanations, current corrections/deletions and selection/period/patient scope | +| US-11 | `HealthTrendTests` | Three distinct metric/unit results; unchanged full-period formula, equal-time grouping, reversals/raw excursions, insufficiency and order independence; current selection/data/context; reviewed metric-specific reference/claims and narrative limits | +| US-12 | `HealthOverviewTests` | Profile plus latest overall plus selected-period insight only; separate bases/context/count/absence explanations; nullable parts and no trend; current data/authorization; coherent target snapshot | +| US-13 | `PatientAuthenticationTests`, `AuthenticationIntegrationTests` | Generic credential failures, no-profile login/create, all endpoint authentication/access failures, expiry/tampering/restart, caller identity spoof rejection and normalized replacement provider | +| US-14 | `ProfessionalAccessTests`, story-specific professional cases | Many-to-many predefined assignments, own empty/populated list, assigned reads and missing data, unassigned denial, every write forbidden, patient professional-only denial; fresh configuration after restart | +| US-15 | `MeasurementGuidanceTests`, record tests | Public sourced ordered existing guidance, home applicability/unknown label, clinic/other unavailable, pulse/context limits, no writes/certification/submission gate, DB-independent public endpoint | +| Revised US-16 | `InstallationTests`, `BootstrapTests`; proposal revision | Approval needed for changed topology. New app PID/unit/HTTPS/config/DB/roles/dependency install/certificate trust/no-overwrite and stop/restart/workflow proof; remote verified DB TLS, no local PostgreSQL installation | + +## Test preservation and adaptation rules + +Preserve unchanged original tests as pinned baseline evidence in B after approval; do not execute them from the source repository. In final test projects replace only architecture-dependent fixture/wiring and explicitly approved topology/status assertions. Fixture uses one real HTTP application host and isolated PostgreSQL database with both module-owned schemas. Independent response contracts, functional assertions and failure/no-write intent remain. Test internals may seed state through explicitly scoped test support without exporting production repositories. + +Original fixtures create random separate databases, migrate twice, start Kestrel hosts and support stopping individual services. Their service-stop, direct-backend/service-key and five-unit assertions cannot apply literally to B. Record replacements per method: internal key/header bypass tests become rejection of forged identity headers and absence of internal routes; upstream-stop tests become DB/transaction/deadline failure injection with non-disclosure/no-write/no-false-absence; independent feature installation tests become approved single-app/local-or-remote DB verification. These changes need Q1 approval and must not be hidden as ordinary rewiring. + +Baseline schema-upgrade context tests become explicit old-row/snapshot migration tests: preserve unknown defaults and legacy text, do not infer categories. Legacy profiles with null accounts cannot be automatically inserted into the stricter target; Q4 determines import scope/mapping. Preserve baseline deployment assertions as historical evidence even where target supersedes them. + +Additional necessary architecture checks: transaction/owner consistency, concurrent disjoint and same-field patches, rollback and ambiguous commit, selected series captured once, transaction closed before computation/JSON, controlled FK/check constraints, runtime DDL denial, private module persistence/dependencies, protected response caching/log redaction, public guidance during DB outage, persistent tokens across restart, bounded pool/admission/deadlines and full untruncated results. Prefer deterministic interleaving/barriers over timing-dependent concurrency tests. + +## Verification execution and limits + +Run isolated baseline reference tests first after SDK/DB provisioning, then affected suites at each stage and full Release build/tests/publish at completion. Store command, environment prerequisites, expanded test counts, failures and reasoned coverage for each criterion. Native deployment on the supported Linux host and verified remote PostgreSQL is separate evidence from loopback process tests or mocked package managers. No test PostgreSQL administrator connection is assumed available; never use a production DB. + +Clinical reference/content review is separate from numerical/API tests; a passing string assertion does not prove clinical support. Existing sources/review dates are provenance, not a new review performed here. Finite conflict detection does not prove arbitrary text comprehension. Seek approval before necessary clinical classification changes. No source behavioural mismatch is silently accepted over authoritative requirements. + +Final outcome classifications: **verified** (executed supporting checks and criterion assertions), **partially verified** (some evidence but explicit gaps, such as native/clinical review), **not verified** (unexecuted/no adequate evidence). No current test-pass, deployment-pass, strict-equivalence or energy-efficiency claim. diff --git a/ImplementationPlan/implementation-log.md b/ImplementationPlan/implementation-log.md new file mode 100644 index 0000000..672d0e1 --- /dev/null +++ b/ImplementationPlan/implementation-log.md @@ -0,0 +1,25 @@ +# Implementation log + +## 2026-10-14 — Preparation + +- Read complete current `AGENT.md`; inspected functional requirements, target specification/ADRs, editable diagram labels/relationships, as-built descriptions and original source/tests/deployment. Classified documentation authority; inventoried historical images/backups without elevating superseded structure. +- Verified original repository identity and clean status at `2117236366130775214d9fd2611984d4348f2b79`. B and target revision are `3426236c6cfcece36e94642ae84d1843288f86d5`. +- Recorded pre-existing modified `AGENT.md` and untracked `AGENTOldOutdated.md`; did not modify them. +- Created preparation documentation only in `ImplementationPlan/`: plan, inventories, SHA-256 input manifest, approval questions, provisional conformance/functional registers and this log. +- Identified .NET 10 requirement versus locally installed .NET 9, and unavailable default PostgreSQL socket. No application build/test/installer or live migration executed. No empirical energy claims. +- Approval status: pending. Implementation commits: none. No application code copied or changed. Original inputs/source remain unchanged. + +After approval, each entry must record stage/story/ADR, reused source paths and original hash, changed files, necessary architectural reason, test adaptations and preserved assertions, executed commands/results, commit ID where applicable, remaining risks and approved deviations. + +## 2026-10-14 — Approval and Stage 0 start + +Read authoritative approval completely. Q1–Q5 resolved; Q5 overrides Ubuntu-only proposal with portable distribution-aware systemd installation. Q3 requires preserving clinical classifications and thresholds, not silently replacing unsupported labels. Q4 excludes any A database access/import. Current B HEAD at approval: `20ab461c0194b3098504eabc96e9852a61356953`; pinned source unchanged/clean. No new architecture approval needed for authorized stages. + +### Stage 0 checkpoint — passed + +- Downloaded official pinned .NET SDK 10.0.100 into `/tmp/healthapp-b-dotnet`; restored dependencies into `/tmp/healthapp-b-nuget`. +- Git archive copied 142 tracked reference files to `Reference/ArchitectureA`; manifest hashes in `reference-files.json`. No original repository writes. +- `dotnet build HealthApp.slnx -c Release --no-restore` in B-local reference: passed, zero warnings/errors. +- `dotnet test HealthApp.slnx -c Release --no-build --logger trx`: 299 passed, 0 failed/skipped (Profile 29; Observation 236; Deployment 34). TRX evidence in `ImplementationPlan/evidence/baseline-trx/`. +- Tests used a newly created disposable PostgreSQL 18.6 container, generated secret and random loopback port; removed after tests. No Architecture A database accessed. Container is test infrastructure only, not the application's native deployment. +- Environment: Manjaro Linux x86_64, SDK 10.0.100; package/network/socket operations required sandbox escalation. Stage 0 establishes executable behavioural evidence, not clinical validity or native systemd proof. diff --git a/ImplementationPlan/implementation-plan.md b/ImplementationPlan/implementation-plan.md new file mode 100644 index 0000000..747576b --- /dev/null +++ b/ImplementationPlan/implementation-plan.md @@ -0,0 +1,140 @@ +# Architecture B implementation plan + +Prepared: 2026-10-14. **Status: approved with conditions on 2026-10-14. Implementation authorized by `Docs/ApprovalRequirements/architecture-b-implementation-approval.md`; Stage 0 begins under its Q1–Q5 decisions.** + +## 1. Authority, baseline and preservation + +Follow the complete current working-tree `AGENT.md`. Functional requirements in `Docs/Requirements/` and security intent in `Docs/Design/` govern behaviour. `ArchitectureProposal/software-architecture.md`, ADR-01–ADR-08 and the seven target diagrams govern structure, subject to this approval gate. Existing baseline service design is superseded only where the target expressly replaces it. `ArchitectureSuggestions/` contains alternatives, not the selected contract. Root README describes the earlier design-only phase and will need an implementation update after approval. + +| Reference | Recorded state | +| --- | --- | +| Original repository | `/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepository`; verified distinct Git working tree; strictly read-only | +| Original baseline | `2117236366130775214d9fd2611984d4348f2b79`; clean working tree at inspection | +| B preparation baseline | `3426236c6cfcece36e94642ae84d1843288f86d5` | +| Target proposal revision | `3426236c6cfcece36e94642ae84d1843288f86d5`, last commit affecting `ArchitectureProposal/` | +| Existing B changes | Modified `AGENT.md`; untracked `AGENTOldOutdated.md`. Preserve without staging, reverting or including in implementation commits; approval requested | +| As-built documentation snapshot | Describes `5d9371388c15066eeb2bc124ed227659c644dab5`, not the current source HEAD. Source HEAD adds documentation; use pinned HEAD as implementation reference | + +Supporting records: [documentation inventory](documentation-inventory.md), [baseline manifest](baseline-manifest.json), [original test inventory](source-test-inventory.md), [open questions](open-questions.md), [functional preservation](functional-equivalence.md), [conformance](architecture-conformance.md), [log](implementation-log.md). + +Inventory covers all 63 files in `Docs/` and 18 target-proposal files, including 24 editable Draw.io files across both trees. Target diagrams have 16 pages: context, components, domain, conceptual classes, data ownership, local/remote deployment and four interaction sequences. Their labels/relationships were inspected as XML; GUI rendering was not tested. Historical JPEGs/backups are inventoried; current diagrams and explicit supersession govern. Hashes preserve inputs, including both existing instruction files. + +Never build, restore, migrate, test, stage or commit inside the original repository: such operations can write generated files. After approval, copy only required tracked inputs from the pinned revision into B. Do not import its operating instructions, experiment outputs, generated binaries, credentials or unrelated tools. Preserve reused source identifiers and annotate their provenance in this log. Keep original tests available as unchanged baseline evidence before adapting the executable suite. + +## 2. Existing system and observed differences + +The original solution has five `net10.0` ASP.NET Core applications, a transient C# provisioning utility and three xUnit acceptance projects. `global.json` selects SDK `10.0.100` with `latestFeature` roll-forward. Persistence uses Npgsql EF Core `10.0.3`, EF Core Relational/Design `10.0.12`; ASP.NET testing/Windows service hosting uses `10.0.12`. Test SDK is `17.14.1`, xUnit `2.9.3`, runner `3.1.5`. Retain these versions initially; no technology migration is proposed. + +| Concern | Observed source | Necessary Architecture B change | +| --- | --- | --- | +| Runtime | Gateway, Profile, Observation, Insights, Overview separately hosted | One HTTPS host with API/access, Profile, Observations, Analytics, Overview, Guidance modules | +| Communication | Gateway forwards requests; downstream clients call back through gateway with service keys | Typed acyclic in-process interfaces; remove business HTTP clients, callback routing and service authentication | +| Public contracts | Controllers, REST/JSON DTOs, validation and history selection headers | Reuse route/JSON vocabulary and success/absence/access behaviour; explicit dependency-error reconciliation below | +| Authentication | Framework opaque bearer token, 30-minute default, persistent data-protection keys, framework password hashing | Reuse; keep normalized account/role identity, persistent key scope, provider replaceability; no service identity path | +| Authorization | Middleware resolves profile and full observation via HTTP | Trusted request-scoped authorized patient/action context; narrow owner/association lookups; authorize before external serialization, then owner-scoped operation | +| Profile lifecycle | Unique nullable account column; account and new profile saved in one row; uniqueness race handled | Reuse atomic lifecycle; require non-null unique association in target schema; reconcile historical null associations before import | +| Persistence | Two databases/public schemas; independent DbContexts; no cross-database FK | One database, owned `profile`/`observations` schemas, per-module migration history/owners, restricted FK and runtime DML role | +| Context | EF owned value already flattened into observation row | Reuse fields, unknown/null/omission semantics; no separate context entity or inference | +| Writes | EF patch loads/saves row without explicit row locking; deletes by observation ID | Transaction with actual-owner recheck and row lock; validate proposed changes atomically; preserve concurrent disjoint patches | +| Reads | Independently timed ownership and source reads; overview sequential HTTP composition | Shared repeatable-read snapshot from ownership lookup through capture; release before calculation and transmission | +| Ordering/time | Latest measurement/creation/UUID; history measurement/UUID; UTC clock encoding in timestamp without timezone | Preserve UTC encoding/wire behaviour; verify PostgreSQL unsigned UUID-byte ordering explicitly, rather than substitute .NET Guid ordering | +| Analytics | Fresh summaries/trends; compiled combined numerical/context/clinical implementation | Reuse numerical formulas; separate SummaryPolicy, TrendPolicy, ClinicalPolicy and reference catalog; no result store/cache | +| Guidance | Static home guidance in gateway controller; clinic/other explained unavailable | Move existing content to versioned Guidance-owned bundle/catalog; preserve applicability and public availability during DB outages | +| Resources/failures | No shared bounded request policy; upstream HTTP failures 502/504 | Shared bounded pool, configurable admission/deadline/cancellation; 503 dependency/overload, 504 deadline, 500 unexpected failure | +| Deployment | Five units, separate databases/credentials/certificates, Linux and optional Windows/macOS/distribution adapters | One systemd app unit; local or verified-TLS remote DB; generated protected settings/roles/API certificate; administrative tool exits | +| Tests | Two/four/five HTTP hosts and separate DB fixtures; independent-service installer assertions | One real HTTP host/isolated database with owned schemas; retain functional assertions; approved replacement of obsolete topology tests | + +Concrete reuse sources include Profile `Application/PatientApplicationService.cs`, `Domain/Patient.cs`, request/response contracts and persistence mapping; Observation `Application/ObservationApplicationService.cs`, domains, patch presence/validation contracts and repositories; Insights `Domain/InsightCalculator.cs`, `InsightCalculator.Trends.cs` and result records; Overview composition and DTO vocabulary; Gateway credential/assignment/token logic and guidance content. Reuse is selective: mutable entities, repositories and HTTP clients are not exported as module contracts. + +## 3. Proposed implementation layout and dependencies + +Use one Web SDK project `src/HealthApp/HealthApp.csproj`, class-library module projects under `src/Modules/{Profile,Observations,Analytics,Overview,Guidance}/`, a small `src/HealthApp.Contracts/` for immutable module contracts and patient/action authorization scope, and `src/HealthApp.Infrastructure/` for transaction/pool coordination. API/access belongs to the host. This is a proposed implementation organization, not additional runtime services; exact filenames can change without changing boundaries. + +Private domain entities, EF contexts and repositories remain internal to each owning module. Only query/command facades, registration and immutable return values are exposed. Infrastructure knows transaction mechanics, not clinical tables or access policy. Contracts contain no repositories, EF entities, SQL or configuration secrets. Architecture tests enforce project dependencies and private persistence types. + +Allowed dependency graph: API/access → Profile, Observations, Analytics, Overview, Guidance; Observations → Profile query interface; Analytics → Observation query interface and Guidance reference interface; Overview → Profile, Observation, Analytics query interfaces. Facades depend on contracts, with implementations wired at composition. No module depends on the host or calls public routing. Profile and Observations adapters participate in the same scoped infrastructure transaction without accessing each other's tables. Analytics, Overview and Guidance have no health persistence adapter. + +Infrastructure supplies a single bounded Npgsql data source/pool and a scoped coordinator. Participating EF contexts use the same connection/transaction and module-owned mappings. Protected read workflows begin repeatable-read before the first ownership lookup, materialize immutable values, and finish capture before calculations/JSON. Write workflows use an explicit transaction and owner-scoped row locking/recheck. Do not commit a read snapshot while deferred EF enumeration remains outstanding. Dispose/rollback on failures and cancellation; no automatic mutation retry after ambiguous commit. + +## 4. ADR-to-task mapping + +| Decision / specification | Source affected | Planned target tasks and verification | +| --- | --- | --- | +| ADR-01; §§1–2; component/classes diagrams | Five `Program.cs` files, gateway forwarding controllers, downstream `Clients/`, solution | Create host/module projects and typed facades; adapt controllers to facades; remove internal HTTP and service-key endpoints. Build all; dependency tests and runtime one-process check | +| ADR-02; §7; ownership diagram | Profile/Observation contexts, SQL repositories, migrations; provisioning DB code | Owned schemas/history, restricted FK, non-null account uniqueness, positive/category/time constraints, patient/time/original/UUID index, separate migration owners and DML role. Test twice-applied migrations, runtime DDL denial, ownership and referential integrity | +| ADR-03; §§3–5; creation sequence | Profile application/repository, account migration; create/authentication tests | Preserve trusted account derivation and durable single-row insert; translate uniqueness violation to 409; failure recovery and `/me`. Test simultaneous creation, lost response, rollback, restart and spoofed identities | +| ADR-04; §§4–5,8; context/access model | Gateway Program/security/login/professional controllers; token support | Keep framework ticket protection and password hashing, trusted role policies and key persistence; remove Service role/key selector; introduce owner resolver and non-forgeable request scope. Test full US-13/14 matrix, expired/tampered tokens, restart, replacement handler and absent internal routes | +| ADR-05; §5,7; snapshot sequence | Observation/Insights/Overview reads and middleware | Capture authorized source values in shared repeatable-read transaction; fetch selected series once; close before evaluation. Deterministic interleaving tests demonstrate coherent overview, observation owner/read consistency and next-request freshness after commits | +| ADR-06; §6; Analytics/Guidance class/domain pages | Calculator partials/result types, guidance controller, `TRENDS.md`, trend/guidance tests | Extract policies and versioned reference/guidance catalog; retain current numerical algorithm; document reproducible fixtures, claim-specific prerequisites, evidence and unresolved narrative meaning. Run original numerical/interpretation tests; require content review and escalate unsupported rules | +| ADR-07; §§3–4; observation classes | Observation context/domain/contracts, EF owned mapping, PATCH | Retain flattened optional context, original text/note, independent selection AND/Unknown and omitted/set/clear semantics. Lock row, validate whole mutation and preserve omissions. Context migration/patch/deletion tests plus concurrent disjoint patches | +| ADR-08; §9; deployment/install sequence | `deploy/HealthApp.Provisioning/`, build-release, installer scripts, systemd, examples, CI | Reuse appropriate certificate/config/bootstrap logic; replace service inventory with whole app/local-or-remote DB; one service identity and unit; generated roles/config/secrets, migrations, stage errors, no overwrite, readiness and restart/workflow proof. Separate process-level tests from native systemd installation evidence | + +Additional specification obligations: no-store on protected/login responses; sanitized failures/logging with correlation IDs and no identifying route values; public guidance during DB failure; readiness without health data; configurable pool/admission/deadlines with separate assessment budget; complete history with no silent truncation; verified remote DB TLS and hostname checking. Each gets a conformance/test entry; no production SLA or invented capacity guarantee. + +## 5. Public compatibility and functional preservation + +Preserve all 18 documented route/method combinations in target §4, including `/patients/me`, public login/guidance and own professional assignment list. Preserve DTO field names, enum tokens, camel-case JSON, optional text/null shape, request validation, Location paths, and history `X-Measurement-Setting`/`X-Activity-Condition`. Internal `/by-account` becomes an interface only. Observation DTO currently omits creation/update timestamps: preserve that omission even though internal snapshots retain original recording time. Patient response likewise does not expose account association or internal timestamps. + +Ordinary HTTP semantics: create 201, successful reads/updates/patch 200, delete 204; validation 400; generic missing/invalid/expired auth 401; prohibited role operations 403; unauthorized resources uniform non-disclosing 404; duplicates 409; no latest/profile/observation 404; empty history 200 array; no insight 404 with existing title; empty trend 200 with explicit unavailable parts; overview retains profile and nullable parts/absence explanations. Keep missing-data and dependency failures distinct. + +Explicit approval is required for structural incompatibilities: independent-service installation disappears under the proposed US-16 revision; 502 internal-upstream failures no longer exist and are replaced by §8's 503 DB/dependency/overload and 504 deadline behaviour. Preserve fail-closed, no disclosure/no write and failure-versus-absence assertions. Do not silently alter old tests to assert different codes. + +[Functional-equivalence.md](functional-equivalence.md) maps every story to source suites and planned checks. [Acceptance register](acceptance-register.md) retains the proposal's 146 individually identified common/US-01–US-15 entries and required outcomes, with planned suite allocation and unverified status. Expand theory examples and map exact test methods/results during implementation; suite allocation alone is not proof of coverage. Original tests are evidence, not authority to override a requirement. + +Trend method proposal: **retain the baseline mathematics**. Raw means/minima/maxima/range use every selected observation; final means half-up two decimals. Group tied measurement instants by decimal mean; distinct instants have equal weight. Preserve all successive nonzero changes/reversals, total absolute successive change, full-period normalized-time ordinary least-squares slope and six-decimal output slope. Direction requires at least two distinct instants; identifier/recording order does not participate. Separate numerical and clinical policy structurally, add a method version and reproducible examples in implementation docs without gratuitous wire additions. No smoothing, replacement formula or arbitrary clinical variation cutoff. + +Clinical catalog extraction must preserve existing source URLs/review metadata and allowed results pending verification. The baseline's favourable/concerning rules are explicitly described as cautious inferences, not independently reviewed clinical decision rules. Document each claim/prerequisite and review support; do not invent new medical rules. If evidence requires changing externally visible classifications, stop the affected step and request approval. Finite English/Danish conflict phrases remain limited detection; preserve text, known conflicts and explicit unresolved narrative limits rather than claim universal language understanding. Clinic guidance stays explained unavailable unless approved reviewed content is supplied. + +## 6. Persistence and migration arrangements + +Fresh installation: one dedicated PostgreSQL database; `profile.patient` and `observations.observation` (physical name aligned with proposal). Preserve public identifiers and values regardless of table rename. Account association unique, non-null and immutable via module commands. Restricted patient FK; flattened context; positive numerical/category/rest checks and required timestamps. Profile owner creates only Profile objects; Observation owner creates only Observation objects, with the narrowly necessary REFERENCES grant. Runtime role has needed SELECT/INSERT/UPDATE and Observation DELETE, schema USAGE, no DDL/admin/role membership. Module migration histories stay owned separately. No generated insight/trend/overview tables. Runtime never invokes migrations. + +Keep legacy UTC-clock timestamp encoding if needed for byte-compatible public timestamps; normalize all input instants consistently. Document UUID network-byte tie order and test IDs whose .NET Guid comparison order differs. Retain existing decimal means and optional rest-duration unit (minutes). + +Approved Q4 scope is independently provisioned fresh B databases and equivalent reproducible synthetic datasets, **no import or live migration required or authorized**. A future migration procedure remains documentation only. No source database access or source repository mutation is authorized. If import is required, add an offline administrative import step from administrator-provided snapshots, with separate approval of dataset and account mappings. Preflight missing/duplicate accounts, orphan observations, unsupported categories/non-positive values and timestamp interpretation; reject ambiguous input without silently discarding/reassigning data. Preserve IDs, account IDs, original/update/measurement instants, raw values, complete/partial/unknown context, text/notes and predefined assignments. Validate counts and fields against snapshots. Retain source snapshots and take backups; never run an automatic destructive conversion in place. + +Protect compatible token keys when migrating installations; reuse baseline application discriminator if valid tickets must survive cutover. Key export/import is administrative, no keys enter Git. Fresh installations get their own key state. No claims of live upgrade continuity until verified. + +## 7. Configuration and deployment + +Retain .NET 10 / ASP.NET Core controllers / EF Core / PostgreSQL / xUnit. One `ConnectionStrings:HealthDatabase`; protected accounts and assignments; persistent key directory and application scope; 30-minute configurable token lifetime; HTTPS listener/certificate; reviewed content/method versions; bounded pool, request and assessment admission limits and deadlines. Provide safe examples without secrets. Remove backend URLs, callback keys and per-feature listeners from active configuration. + +Approved portability requirement: portable Linux installation for explicitly documented systemd-based distributions, with distribution-specific dependency adapters. Intended families: Debian/Ubuntu (apt), Fedora/RHEL (dnf), and Arch/Manjaro (pacman), conditional on compatible .NET 10/PostgreSQL packages and systemd. Perform a real end-to-end native installation on at least one identified distribution; record verified versus intended support separately. Do not restrict design to Ubuntu or claim universal Linux support. Linux is required; do not port old Windows/macOS/SSH feature-service distribution adapters as required deliverables. Preserve their provenance rather than import obsolete deployment modes into B. Broader platform support requires separate evidence/scope. + +Build bundle contains one app, transient provisioner, systemd unit and installer. Normal installer provisions dependencies, local database if selected, migration owners/runtime role, generated credentials/accounts, certificate/trust, restricted paths, persistent keys, configuration, migrations, service enable/start and verification. For remote DB accept protected admin connection/CA and network prerequisites; create app DB/schemas/roles remotely with verified TLS, do not install local PostgreSQL. Client trust is established; no certificate-validation bypass. + +Installation verifier checks single app PID/HTTPS/configured DB, synthetic login/profile/observation/history/insight/overview, and app stop/restart while PostgreSQL remains running. Existing generated empty professional is valid; assigned reads require a predefined fixture, not a new assignment API. Ensure verification reports any synthetic data it creates and does not masquerade as a production-cleanup workflow. Refuse overwrite, identify failed stage and retain protected diagnostics; no transactional installer rollback promise. Document upgrade backup/key retention/schema coordination and certificate replacement with evidence limits. + +## 8. Incremental sequence and checkpoints + +Each approved stage is a small cohesive change with relevant tests and updated conformance/equivalence/log evidence. Do not mark or commit a stage as complete with known broken checks. Use focused commits if authorized by plan approval; never include pre-existing instruction changes. Obtain deviations approval before affected implementation. + +| Stage | Concrete deliverable | Required checkpoint | +| --- | --- | --- | +| 0 — Approval and executable reference | Q1–Q5 approved; reference/SDK/disposable PostgreSQL established; baseline 299 tests passed; preserve baseline tests and selective inputs with source hashes; run baseline in a B-local reference checkout outside final solution | Record actual reference build/test results, failures and test expansions; original repo stays clean | +| 1 — Module foundation | Solution, one host and immutable contracts, private module registration/persistence boundaries; port public guidance and framework login | Build independent B projects; login/guidance contract fixtures, one host, project dependencies, no service-key trust path | +| 2 — Profile/data foundation (US-01–03,13–14) | Profile schema/migrations/roles, atomic profile association, access facade and profile endpoints; prepared Observation schema/FK migration ordering | Profile/auth/assignment tests; race/rollback/lost-response/restart; runtime cannot migrate/create/drop schemas; repeated migrations | +| 3 — Observation lifecycle (US-04–09) | Observation facades/mapping/constraints, actual-owner policy, record/get/latest/history/PUT/PATCH/delete; transaction locking | Original observation/context/selection tests; UUID ties/timezones; atomic invalid patch; concurrent disjoint/same-field writes and delete interactions; no unauthorized writes | +| 4 — Analytics (US-10–11) | In-process current-series capture; reused summary/trend formulas; separate clinical policy/reference catalog and method docs | Summary rounding, every US-11 criterion, temporal ties/storage order/reversals/excursions/context conflicts; claim review; DB failure never means empty result | +| 5 — Overview/snapshot composition (US-12) | Shared authorization/profile/latest/series snapshot; calculate after capture; preserve latest/insight bases and absence | Original overview assertions; deterministic concurrent-update tests; source series queried once; transaction released before calculation/response | +| 6 — Operational boundary | Readiness/liveness, sanitized failure/no-store handling, pool/admission/deadline/cancellation and remote DB transport configuration | DB outage/timeout/rollback/overload; guidance/login independence as applicable; no silent truncation; config/key/TLS failure tests | +| 7 — Native release/installer (revised US-16) | One app/systemd unit and local/remote DB automation, certificate/config/roles, no-overwrite/staged diagnostics, restart verifier | Publish bundle; installer/process tests; real Ubuntu systemd local install and verified remote-DB placement; preserve DB while app restarts | +| 8 — Final audit | Accurate build/run/deployment README, all required evidence and limitations, approved deviations only | Full solution Release build/tests/publish; criterion-level coverage review, architectural dependency/schema/process inspection, input hashes and original Git status | + +No HTTP upstream simulations are carried into runtime code merely to satisfy obsolete tests. Before adapting each affected test, record original scenario/assertions and replacement proof in the log. Preserve unaffected assertions. Keep unchanged original test sources as reference evidence, separate from final executable test projects. + +## 9. Build/start/test preparation and evidence limits + +Original documented commands (run only on approved B-local reference/final files): `dotnet build HealthApp.slnx -c Release`; `TEST_POSTGRES_CONNECTION=... dotnet test HealthApp.slnx -c Release`; original service migration mode `--migrate`; original release `bash deploy/build-release.sh --output NEW_DIRECTORY`. Reference tests create/drop isolated random databases; use an explicit non-production administrator connection. Final test fixture uses one isolated DB per fixture and applies both schemas twice, with runtime access separately tested from migration/admin credentials. + +Preparation environment: `dotnet` absent from PATH; `/home/steffen/.dotnet/dotnet` provides SDK 9.0.200/runtime 9.0.2, incompatible with source target. `psql` exists; default `/run/postgresql:5432` has no response. No usable configured test server has been established. Do not downgrade source to .NET 9. Provision .NET 10 and isolated PostgreSQL after approval, with tool escalation where required. Native installation needs an administrator-controlled supported systemd host; process tests/mock package tests alone do not prove it. + +No restore, build, application test, installer, live import, clinical publisher verification or energy measurement was performed during preparation. Source/doc inspection is not passing verification. Clinical review and real native deployment remain acceptance dependencies. Final evidence must distinguish verified, partially verified and not verified per criterion; count passing tests only from executed results. + +## 10. Risks and approval gate + +Main risks: combined process/role blast radius; shared connection/EF transaction enlistment errors; snapshot lifetime/large-series memory; concurrency/lost-update regressions; legacy null accounts/orphans; obsolete topology assertions and error-code mismatch; clinical claims/narrative ambiguity; SDK/test DB/systemd availability; remote TLS/certificate/key preservation; partial installer failure/upgrade recovery. + +Mitigation is explicit ownership and transaction tests, unchanged functional assertion intent, import preflight/no live conversion, preserved formulas/content provenance, focused review before any changed classification, native verification and candid limits. No workload/HA/backup SLA is invented. No energy-efficiency benefit is claimed. + +Approval received: Q1 revised US-16/dependency errors; Q2 preserved instruction files; Q3 unchanged mathematics, thresholds and clinical outputs with uncertainty disclosure; Q4 fresh provisioning only; Q5 portable distribution-aware Linux installer and actual native verification. See [approval register](open-questions.md). Further approval is required only for material actions outside these boundaries. diff --git a/ImplementationPlan/open-questions.md b/ImplementationPlan/open-questions.md new file mode 100644 index 0000000..6b661e4 --- /dev/null +++ b/ImplementationPlan/open-questions.md @@ -0,0 +1,13 @@ +# Architecture B approval register + +Approved with conditions 2026-10-14. Authority: [full approval](../Docs/ApprovalRequirements/architecture-b-implementation-approval.md), read in its entirety. Target `3426236c6cfcece36e94642ae84d1843288f86d5`; reference `2117236366130775214d9fd2611984d4348f2b79`. + +| Decision | Approved resolution | Status | +| --- | --- | --- | +| Q1 | One application and revised US-16; internal-upstream errors may become target 503 dependency/overload and 504 deadlines. Preserve failure/absence, non-disclosure and no unauthorized writes; preserve original topology tests and trace replacements | Approved | +| Q2 | Preserve AGENT.md and AGENTOldOutdated.md byte-identically; exclude pre-existing changes from implementation commits | Approved | +| Q3 | Preserve numerical formulas, rounding, ordering/ties, thresholds, clinical content/classifications and observable results. Responsibility separation allowed; record uncertain claims/provenance. Clinical output changes require further approval | Approved with restrictions | +| Q4 | Independently provision fresh B DB, schemas/roles/credentials/config automatically. No A database access, import or live migration. Equivalent reproducible logical datasets for comparisons | Approved | +| Q5 | Portable systemd Linux installer with documented distribution-specific dependencies; local and verified-TLS/hostname remote PostgreSQL; no unnecessary local DB in remote mode. At least one actual identified native installation; intended versus verified support distinguished | Approved with modification | + +No unresolved architectural decision currently blocks Stage 0. Execution prerequisites (SDK 10, isolated PostgreSQL and native systemd administrative environment) are being established. No universal Linux, clinical-validation, production-readiness or energy-saving claims are authorized. Further approval only for material architectural/functional/clinical deviations, algorithm replacements or live migrations. diff --git a/ImplementationPlan/reference-files.json b/ImplementationPlan/reference-files.json new file mode 100644 index 0000000..14eb22c --- /dev/null +++ b/ImplementationPlan/reference-files.json @@ -0,0 +1,147 @@ +{ + "commit": "2117236366130775214d9fd2611984d4348f2b79", + "files": { + ".github/workflows/prototype-native-install.yml": "de4240167653b10bbbadbfa869e20324739025ea3949a8e7af55557355c99b38", + ".gitignore": "5ff2245aafc37c2774885459e02ed3f3ae9129e9984ff9b3108f053cd78e2f3d", + "HealthApp.slnx": "3b070ed1a967e90031e8041ea1e90d37d7e03b53ac18600e8fd8b932d07da0df", + "deploy/HealthApp.Provisioning/ConfigurationWriter.cs": "702f4a646eac3dd6fda32823f6e88c7066eaa1919b185ae9f034e3263c433fff", + "deploy/HealthApp.Provisioning/DatabaseProvisioning.cs": "e1c8e252642b12f871874899e39c9419ffe4e06ad304509a07942e6cdf455cfc", + "deploy/HealthApp.Provisioning/Deployment.cs": "8f3e6fc3761fe731c1770b62041652e6aefb5a0afbaa51bbb38423d68fb34c47", + "deploy/HealthApp.Provisioning/Distribution.cs": "d9b7c467172e3156881233a1ef9091ea43d109e6bbe5bcc69010e665f99bfaf1", + "deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj": "5f18785a17f78d0158c2613d615cd91e956cecc7208bca06a279c40b479cd50a", + "deploy/HealthApp.Provisioning/InstallationVerification.cs": "094877cb5e6ff6e80f3beeafd455f592cba6e3ace0fae4e90837c918a23c8b98", + "deploy/HealthApp.Provisioning/LaunchdWriter.cs": "b1d9b620ade4b525ab426d688a4d2cbd89572c9c11cca3d223ecec1859f2efdc", + "deploy/HealthApp.Provisioning/Program.cs": "e42034fedec2c3c1f9f64bff466e20298b11c92cd1a0b320af3b2527c0160171", + "deploy/INSTALLATION.md": "94e8e3b7a7bcdf6f087d740dd2f1fe7c2d8e8c988ba692c1c9fc64d94b61fc7b", + "deploy/api-gateway.env.example": "e8137593d47109530e360981ebcdc6891b6a107cb2c5867564301c2925fa952c", + "deploy/build-release.ps1": "d85375f5a7392fe31aa77886b5dd37063a32d2dbe8fdc8e0822febe90bb620fb", + "deploy/build-release.sh": "7de7fb0ffe963671caae814b71d30a7f90ba9cf587556199d13a34010037b4f1", + "deploy/health-overview.env.example": "b7883d73a34da16abb49dc6537455352d2d77916ba541024f94e4cbb80be02ba", + "deploy/insights.env.example": "8fff870eede50c4f36ff2439eeb0ceb628d41d254f2ea24d38bdd731a09489c9", + "deploy/installer/bootstrap.sh": "db52696d484fe72875f3d580d568515d7d397997159dadefd581c84f6c634123", + "deploy/installer/distribute.sh": "bda6aa53146a3d4dc12a6f5ec0d7a0ecd9abcc710b5d74c75fb7e1660d7c511d", + "deploy/installer/install-macos.sh": "bd78d0ec3be482ce29b3b0e381118276dba14a5d98124d4205574320c00e50e8", + "deploy/installer/install.ps1": "4c1bbaac58c99539226a9f492b459697ae38b6b3fafe4aa0bc87023964515c37", + "deploy/installer/install.sh": "ccc35b5764e96a7d446a9931f555f33333013ba255b4fb47b6b5651ee7e41121", + "deploy/installer/services.sh": "6a21a5c213fbe7b2b14ec379d861b7306cdfd872a13b6cb4948749148160d25a", + "deploy/installer/verify.sh": "62d50b2bcd40b04ada7ba32bbeede99dbd068fc51d4e04a4485485197a63bb5f", + "deploy/observation.env.example": "c18f0f6abb1f32e92791fc3fb51772a1c30e4e60686d65eeeec9ed954f7d95d0", + "deploy/patient-profile.env.example": "f01a3ba42d22dbcf3005586f5f03defcf5030c1a4a31cea4562f060410603ea0", + "deploy/systemd/healthapp-api-gateway.service": "15a9b7bc43a729409a161aab3d203c9e20ee966a0993e2f10cddedef4a96bee7", + "deploy/systemd/healthapp-health-overview.service": "d8841c4b04c74f3bc026035bcaa2c83d7cdd3011340102ff2b53e26cfd07bb91", + "deploy/systemd/healthapp-insights.service": "8ec5dbfa6e1a9fbd9703652ee4c23656e5f91bc95ef341605cfcf4ac5d231355", + "deploy/systemd/healthapp-observation.service": "a61518322838ca148e8d3b3a779d6e78d16f0a19805a40cb48d40ec47fad8d17", + "deploy/systemd/healthapp-patient-profile.service": "262b269a997923aafa98ad750c7698823725d3b7b556334302fb0e61a3112a44", + "global.json": "b48d6da8fa62c0da7cc8a2da4ea036ac55836660a448ba533135abb5b8451b73", + "src/AUTHENTICATION.md": "38e4a3580e1cc8aaa2037f5b39ed0e8ae5bcf968047e8b8936361b92855c620c", + "src/ApiGateway/ApiGateway.csproj": "6e81c32841f12d915e47691d0954f91b2d915b8dc7dc8a2c6b80895dd9a4d43e", + "src/ApiGateway/Controllers/AuthenticationController.cs": "f76ec4f393c55ee6d3b222633f0bd2ce3716c6acc4c3d8021df99f7cdf98453a", + "src/ApiGateway/Controllers/HealthOverviewController.cs": "0a05ccd0dd9b763e1e3f573d06823602a0e0d0240c9e8f606006cc6d38a61943", + "src/ApiGateway/Controllers/InsightsController.cs": "810c906f771ce01eae3b6ad271d73d32921b6872b213983153cac13e640c22b1", + "src/ApiGateway/Controllers/MeasurementGuidanceController.cs": "1be2c32f56a5cda6771cb803ba7de6e9ccb52c3611106ab0835cec82b0508727", + "src/ApiGateway/Controllers/ObservationController.cs": "2a33302f8d8158e2f8b3ec1348155696f700df9899285cb94615bf50aea1142e", + "src/ApiGateway/Controllers/PatientController.cs": "2b416bb49e98c4009aee15727933c79809a0b21d5b1f1fcfb45f10c5ba7c84e7", + "src/ApiGateway/Controllers/ProfessionalController.cs": "87f7c5830215673a2574059a0c881cebd00175b29ca0837c164041a9e9c270d0", + "src/ApiGateway/Program.cs": "9e6ba8e51c837719f44b7832c31b098cbf521b948ede85b6d02fff98f364c748", + "src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs": "985ee505d8e38d152687b71adde0229f12c1e354c8f3ffa24867240328894448", + "src/ApiGateway/Security/PatientAccessMiddleware.cs": "497c7f69c179fa048df6118ff1955bebcee132f9d5ea05152836d3e050524812", + "src/ApiGateway/Security/ProfessionalAssignments.cs": "7883c801dcdec8df64c7108ff84660e342f26b271407874aea9bc9b5a637c7ab", + "src/ApiGateway/Security/PrototypeAccounts.cs": "a4cbcaa6db514439a84f6a1eb249317fb718ee57122ba4e6a93e907065d18abf", + "src/ApiGateway/appsettings.json": "817db0bf2ecca78364c41dbaf7949bf2504cf47a1c3d0d54f3be8178fefc030b", + "src/HealthOverviewService/Application/HealthOverviewApplicationService.cs": "234190b299f0487c45c9a942b85659da0445e020ad8945f47072c04777bffba4", + "src/HealthOverviewService/Clients/InsightsServiceClient.cs": "1087c1ac57605ae7e869e798b4d1b0ff26250f8ce9267eac8939e16089a3f924", + "src/HealthOverviewService/Clients/ObservationServiceClient.cs": "f6cef0c6f78e04ea693b5d9bb272aedf7ea16c2934bdee7c4dca2a2078ce4efc", + "src/HealthOverviewService/Clients/PatientProfileServiceClient.cs": "7bba92bc1b382c3d08a7036b89df0669ddf9c344211370efb30f2b91f894fd19", + "src/HealthOverviewService/Contracts/HealthOverviewDto.cs": "d95e27f230cfeeb10c20b28c53e13acebdf626a3a7e9566e395b35122e9c75ae", + "src/HealthOverviewService/Controllers/HealthOverviewController.cs": "c3e9bc2e646527a422c99470381723d8b11288768c9c1b73cbf304b73e1c6e41", + "src/HealthOverviewService/HealthOverviewService.csproj": "6e81c32841f12d915e47691d0954f91b2d915b8dc7dc8a2c6b80895dd9a4d43e", + "src/HealthOverviewService/Program.cs": "63a799d09cdeaf1ea97c1646aa9b57b525007255d63a6bec41754fb61a01533c", + "src/HealthOverviewService/appsettings.json": "817db0bf2ecca78364c41dbaf7949bf2504cf47a1c3d0d54f3be8178fefc030b", + "src/InsightsService/Application/InsightsApplicationService.cs": "7319a7f8057b1906afb7797a474672ca2ee20dfe0c814cceeb3dbec61488573e", + "src/InsightsService/Clients/HttpObservationServiceClient.cs": "91677b578eddbd12932ab9c7889647bfd9b5619d15178fca00c60786b39dd716", + "src/InsightsService/Clients/ObservationServiceClient.cs": "802b8cc66f58441d20163ea81acd07ba1347438b8f0891375831959e3e1e30e4", + "src/InsightsService/Contracts/HealthInsightDto.cs": "001d24e7d2b0dedf6c51949893274104e9f8372cc4cc609b83780161df88ace7", + "src/InsightsService/Contracts/ObservationDto.cs": "fd37572e721ba288e0bdd4279ff953fed1fe19ed8a91840e9fba38b9d20c6e77", + "src/InsightsService/Controllers/InsightsController.cs": "0304dc102bb192ab8358117597f1033194764b96a20be5e4734e0c3f5607c723", + "src/InsightsService/Domain/ContextSelection.cs": "82b9acd07e6b4de0450890395d073a4acf1b172782f1e698e18b61db02d3e92d", + "src/InsightsService/Domain/HealthInsight.cs": "fc634cb3b99905c33ba42dd0caa5ab31e01a06b9e319a2e312e0579aa6e0b272", + "src/InsightsService/Domain/InsightCalculator.Trends.cs": "ef196331aad4cf12899ce2de65fc2ac739059fbb8fc69216c495abaa4a087744", + "src/InsightsService/Domain/InsightCalculator.cs": "2575a8f7641f6f232bf924484a29e9a28d8c41eb25700844fc9c2577fbe2237c", + "src/InsightsService/Domain/TrendAssessment.cs": "5ba75fba606fa7ca05e3607edc0b7985e69b097f15f9872d525a72189f049fe0", + "src/InsightsService/InsightsService.csproj": "6e81c32841f12d915e47691d0954f91b2d915b8dc7dc8a2c6b80895dd9a4d43e", + "src/InsightsService/Program.cs": "3aceaf19cc216790319389dfaf9b82238ab153cc46dc6b02e3414fa8eb855961", + "src/InsightsService/appsettings.json": "817db0bf2ecca78364c41dbaf7949bf2504cf47a1c3d0d54f3be8178fefc030b", + "src/OVERVIEW.md": "aa7f4ca1ffca79de533ed34ba06e8e1ea4967dba0cfc54884c48877aaaf794b6", + "src/ObservationService/Application/ObservationApplicationService.cs": "4ceaa7d67b391b0a28df737cb8e60cbcedf73aa47e254025f5344e671acee97a", + "src/ObservationService/Application/ObservationRepository.cs": "a1c21ef7e0700b4f62364e5e4bbd2ad03e98cf2f1b0ca93b4e0288444a656098", + "src/ObservationService/Contracts/MeasurementContextPatch.cs": "fae0cad81e9bec85a20a88d320f9c812e2655b84fa484e0e233744c9f0052a57", + "src/ObservationService/Contracts/ObservationDto.cs": "989312e16eaa4306387ea7cb01d2e8079a8c596741b94e8e0bb7376585a4d42d", + "src/ObservationService/Contracts/PatchObservationRequest.cs": "3be4db307b24e5c88cb2f93b00bc7f5bcebd1920112a928ffb5001abf3203bd6", + "src/ObservationService/Contracts/RecordObservationRequest.cs": "7430845925f6ae9c1cf590ae9af769891e5cb414345b37a76061265aea7c6f5a", + "src/ObservationService/Contracts/UpdateObservationRequest.cs": "f1d987f3d0d996ce0c018922c9d0d096f72705722e73b58ab0eb90eb7457d658", + "src/ObservationService/Controllers/ObservationController.cs": "68fe89a643bf1ff03d8c022fdc715f9f58cfa554675d5a5f1331b8857e1663d9", + "src/ObservationService/Domain/BloodPressureObservation.cs": "a968856d9d9a7e8d9e202658cc3273ce0c0cf39356129e4db62504a31aa053be", + "src/ObservationService/Domain/ContextSelection.cs": "1d7eeba19330a191673153be07ff124765f420b80589858bcfb54f470d2ec3df", + "src/ObservationService/Domain/MeasurementContext.cs": "500c7e2c02213fc1752a4533f3ea875eaefe24f39744291491e9fa51a8e8a50d", + "src/ObservationService/ObservationService.csproj": "2a14c125f601d5fa3b4d5b9a1995ca23805a80635bceadd1834acc8132c14d44", + "src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs": "9f24f074d1c4934359d606311882f9ad13508e9903b974b3b240441689c70897", + "src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs": "1a44e09a08a6045ff23621936b8b626b5eb2dc4b6839076a3d07d78c13376dcb", + "src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs": "1cb88c86e7a13a5cb25ef9c9f7d39f51cd20cebfc75199d8effd3cdf8a890cf4", + "src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs": "da719484aab8eff24123a2fa99411b85a5f3e21d0fc21d0bcbaa56d6c1d03960", + "src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs": "fb9c5c7d874f4b23fe57472520790b68a7e06ed30d2867c98cc2813d736b9fbb", + "src/ObservationService/Persistence/ObservationDbContext.cs": "6d9f0c6106db8b2f4852d5e0a4a13047016035f34a4c04b68b6b2cc1832d414d", + "src/ObservationService/Persistence/SqlObservationRepository.cs": "f77e38151d481cc3a3957a3bd3dd0bf547352f78ab2aa359827a93656a5342ae", + "src/ObservationService/Program.cs": "7ad86451a63a7b49223f6cd5105a073d57519fd5021ea788a89fb4f1f8827d9a", + "src/ObservationService/appsettings.json": "8cd0df652a9a49668856ccc8c9dd65b3e1469cdf74c7165248a20e1acde61b28", + "src/PatientProfileService/Application/PatientApplicationService.cs": "8f673a37101bd11a6c991be2a8b3103b18cee1f85262d40add6bdb8fee89d5a7", + "src/PatientProfileService/Application/PatientRepository.cs": "4d9d0ee890f2ce9eec3d4839cf998ee4299603a6a58ce2043a3e7f9d4214bfcf", + "src/PatientProfileService/Application/ProfileAlreadyExistsException.cs": "96ee280d51c6996f36e3721a9bff41d6bbcc94bac63f018ff07fd7b9bc0f402b", + "src/PatientProfileService/Contracts/CreatePatientRequest.cs": "dd75326c9d723b9ada8612371854ee1ba57289577579c45f52695c92c74441f8", + "src/PatientProfileService/Contracts/PatientDto.cs": "2886340d45231135b70cb1e345c67e5e2eb647bbe61302eec74dabd05609ef41", + "src/PatientProfileService/Contracts/UpdatePatientRequest.cs": "27528295eccdb708fa23f2538ed1a7599456e23596872472c90500b48859f0a2", + "src/PatientProfileService/Controllers/PatientController.cs": "ac2c59bf16c70ea713516db1e304d924027dae316d9e6781ebf0e759550c2d87", + "src/PatientProfileService/Domain/Patient.cs": "7eaeee54560d975475b0a3f0c8cf33978fafe9536d66027caba03c5c68e2aeb4", + "src/PatientProfileService/PatientProfileService.csproj": "2a14c125f601d5fa3b4d5b9a1995ca23805a80635bceadd1834acc8132c14d44", + "src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs": "721fdc07915da2fa99fcf15f889a434eb5eb4f56f6fef8f56fa77de35e141985", + "src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs": "715e32ae82b3133a77583f835f21ea63d171daa5314e6ee449a7a72c378b98a4", + "src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs": "7d58aae8acc9e4e1976e1bb551fd8f408683a8bf56f026bb8f7e5cac7d5ccc7e", + "src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs": "d61827e78358064411ef1f0f8507d1cf339637233fd178d32d25e0be11c853a9", + "src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs": "4137f40f98d3de0d16e1258ae839fbac6f0a21ff29d49433156d2667ed396d9e", + "src/PatientProfileService/Persistence/PatientDbContext.cs": "c3ae81375a6973bb510df1a598afaf6badd3e45e1d25f0fd480e574d97c51814", + "src/PatientProfileService/Persistence/SqlPatientRepository.cs": "637d9a788b95ced04ad7e9b28d1691c38246b0ae0f9087f2bde35c3fb707c0d7", + "src/PatientProfileService/Program.cs": "087178aa8c556e972b1a2f58d0c9b21b3bca9d84ba0b5eb14a80a5f54320f4ba", + "src/PatientProfileService/appsettings.json": "8cd0df652a9a49668856ccc8c9dd65b3e1469cdf74c7165248a20e1acde61b28", + "src/README.md": "8779152d2a416c51cca344bee69d6480d87189c6b047e53dc10c5b258d665681", + "src/TRENDS.md": "0506cb4fef1e36e80829b7b32afb246be32551ddddf58a19bf74535f8d943399", + "tests/Deployment.AcceptanceTests/BootstrapTests.cs": "fe3dc46f5c127bb37d59d8928a0f98b9736896325be1cf5554b0c7628dde31a4", + "tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj": "aa3bee15a11bd295be35c7fe3bad7f5525b3d314a6ac4a5c8d08df060900805c", + "tests/Deployment.AcceptanceTests/DeploymentFixture.cs": "7138d67f1ab0def4986798568f88d9b9ce0ad7b40aef714c9a9766ce78e855ee", + "tests/Deployment.AcceptanceTests/InstallationTests.cs": "b771a4ffdd667eb1cf0307cebf54ca7709041aa55d3d0442f1d738adf2806605", + "tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs": "0995b4980a55c1cdc667ab40f8acad27bb37678b0a9c95fbe129d33d8cb7bcd6", + "tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs": "ce8e908a3ff10c01e4f3984e6523159fc45f4f2c3fdcf3106343addd11cc66bc", + "tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs": "2709163cd782fee2844f463d8042d62023548cec2b10faf85d46c9cd551141c5", + "tests/Observation.AcceptanceTests/DeleteObservationTests.cs": "916ebbcc0f5d3737e63db752a49f5b1b667ddc2eec6feb11f75ff7357465f8c3", + "tests/Observation.AcceptanceTests/HealthInsightTests.cs": "b6e1cfac712455f344493a3eea5cc697a05936e09e31c8010d68eba44fda4947", + "tests/Observation.AcceptanceTests/HealthOverviewTests.cs": "0e7874fde9943828bd1a8551a69012055a5b36c6912d3c9fd01fe3eef23fad98", + "tests/Observation.AcceptanceTests/HealthTrendTests.cs": "48266f7b71838fe90bdbeeea1eed562508a0735266f32e7d2ab28e861fbd9306", + "tests/Observation.AcceptanceTests/LatestObservationTests.cs": "d4cb653d7fc0999b6dee2da540b9a2b69cd59029c7394332a1a752c3daa8a4d8", + "tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs": "7cf4d025ac906cceaf0026aefd38ab2cf518b6656eebc4b194186c24d8ae9e26", + "tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj": "68f9427df8b24b7041660d461551b9628f1cc80725599b0e4673813d891821ca", + "tests/Observation.AcceptanceTests/ObservationApiFixture.cs": "a26195b246a37547b22d5c096dd748cdc6daee1aa6c94a8264293e5099f7d1d7", + "tests/Observation.AcceptanceTests/ObservationHistoryTests.cs": "17299fb041080f2ae198e139b80694aaff563c1f82d3d2ae40d2696f3a325698", + "tests/Observation.AcceptanceTests/PatchObservationTests.cs": "84cbd448712e3b32c49ad4191e816dd5b34f8bf58badbb5c5565f23f0f8bb8ea", + "tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs": "466ae0a234bb5deba3c3e6f10ab7dcf8e85898467c23e7fa6bf141b527f0a28a", + "tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs": "1e3c87b0666c6a8760f50a9b9a71a667978693e0fb2a4fe14a128f8d2eb4a8e8", + "tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs": "d582410cd6b277a7731f39235419d3160dd743f75d3b980e761e8687d4a18956", + "tests/Observation.AcceptanceTests/RecordObservationTests.cs": "2cb26f6bed1d3c8e1b1545cf8574b710da72c3ecbc5edcfb92f7b82ef1be9901", + "tests/Observation.AcceptanceTests/UpdateObservationTests.cs": "ad18354dc70dbe42867cf8ea88a71f2a636d6fdd18d0d1f9232fb5f017a0a9ab", + "tests/Observation.AcceptanceTests/ViewObservationContextTests.cs": "3b25fb13e3582bdf63a02d018c6dd7e1f411ca8acb8c9b7d30c24ab8308ecc82", + "tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs": "60dbf89fd22f9e75459d566c2b5ed57d6bf77b2bbdf5de877aea659fb1b0cdea", + "tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs": "2b0bb2b9b727a1781cb5c04bc016d6498b9eccefd79e5dab425cff7c50977151", + "tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs": "b4de9f53f067bf7d2db54f74f92242a916eaf294533641b98fd6fd3348a06619", + "tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs": "e54c213453683996b2c0be427df06c8491b9a73861b61779df5e0b479e278664", + "tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj": "d224cf5a084478bf7495c4458ce15b7f0139201d0cb0f9eda4041459aed87a1a", + "tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs": "2bfebdf5fceaf2fccd24103f653a21ba8b0d44216a4283f74400b98a2631f911", + "tests/Support/AuthenticatedTestClient.cs": "112bb94396a6272b3819d049386711e326ce2dbbd37d1415692f2199605ef948" + } +} diff --git a/ImplementationPlan/source-test-inventory.md b/ImplementationPlan/source-test-inventory.md new file mode 100644 index 0000000..2393e85 --- /dev/null +++ b/ImplementationPlan/source-test-inventory.md @@ -0,0 +1,29 @@ +# Original automated-test inventory + +Source commit: `2117236366130775214d9fd2611984d4348f2b79`. Declaration counts are not executed test-case counts; theories expand into multiple cases. No tests were executed during preparation. + +| Source test file | Facts | Theories | +| --- | --- | --- | +| `tests/Deployment.AcceptanceTests/BootstrapTests.cs` | 0 | 1 | +| `tests/Deployment.AcceptanceTests/InstallationTests.cs` | 8 | 3 | +| `tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs` | 4 | 3 | +| `tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs` | 4 | 4 | +| `tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs` | 4 | 0 | +| `tests/Observation.AcceptanceTests/DeleteObservationTests.cs` | 3 | 0 | +| `tests/Observation.AcceptanceTests/HealthInsightTests.cs` | 6 | 1 | +| `tests/Observation.AcceptanceTests/HealthOverviewTests.cs` | 7 | 4 | +| `tests/Observation.AcceptanceTests/HealthTrendTests.cs` | 20 | 5 | +| `tests/Observation.AcceptanceTests/LatestObservationTests.cs` | 6 | 0 | +| `tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs` | 1 | 0 | +| `tests/Observation.AcceptanceTests/ObservationHistoryTests.cs` | 4 | 1 | +| `tests/Observation.AcceptanceTests/PatchObservationTests.cs` | 8 | 1 | +| `tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs` | 12 | 1 | +| `tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs` | 10 | 1 | +| `tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs` | 5 | 2 | +| `tests/Observation.AcceptanceTests/RecordObservationTests.cs` | 5 | 2 | +| `tests/Observation.AcceptanceTests/UpdateObservationTests.cs` | 3 | 2 | +| `tests/Observation.AcceptanceTests/ViewObservationContextTests.cs` | 6 | 0 | +| `tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs` | 1 | 1 | +| `tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs` | 3 | 2 | +| `tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs` | 0 | 4 | +| `tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs` | 2 | 1 | diff --git a/Reference/ArchitectureA/.github/workflows/prototype-native-install.yml b/Reference/ArchitectureA/.github/workflows/prototype-native-install.yml new file mode 100644 index 0000000..7716c18 --- /dev/null +++ b/Reference/ArchitectureA/.github/workflows/prototype-native-install.yml @@ -0,0 +1,38 @@ +name: Prototype native installation +on: + workflow_dispatch: +permissions: + contents: read +jobs: + native-install: + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04, windows-latest, macos-14] + runs-on: ${{ matrix.os }} + timeout-minutes: 40 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '10.0.x' + - name: Build portable release on Unix + if: runner.os != 'Windows' + shell: bash + run: bash deploy/build-release.sh --output "$RUNNER_TEMP/healthapp-release" + - name: Build portable release on Windows + if: runner.os == 'Windows' + shell: pwsh + run: ./deploy/build-release.ps1 -Output "$env:RUNNER_TEMP/healthapp-release" + - name: Provision and verify Ubuntu/systemd + if: runner.os == 'Linux' + shell: bash + run: sudo bash "$RUNNER_TEMP/healthapp-release/install.sh" --services all --host localhost --dotnet "$(command -v dotnet)" + - name: Provision and verify Windows Services + if: runner.os == 'Windows' + shell: pwsh + run: '& "$env:RUNNER_TEMP/healthapp-release/install.ps1" -Services all -HostName localhost' + - name: Provision and verify macOS/launchd + if: runner.os == 'macOS' + shell: bash + run: sudo bash "$RUNNER_TEMP/healthapp-release/install.sh" --services all --host localhost diff --git a/Reference/ArchitectureA/.gitignore b/Reference/ArchitectureA/.gitignore new file mode 100644 index 0000000..a33c67a --- /dev/null +++ b/Reference/ArchitectureA/.gitignore @@ -0,0 +1,15 @@ +**/bin/ +**/obj/ +TestResults/ +.env +*.user + +# Draw.io backup files +Docs/Architecture/.*.bkp + +# Private workload credentials and generated measurement results +tools/energy-jmeter/.private/ +tools/energy-jmeter/results/ +tools/energy-jmeter/hash-tool/ +jmeter.log +__pycache__/ diff --git a/Reference/ArchitectureA/HealthApp.slnx b/Reference/ArchitectureA/HealthApp.slnx new file mode 100644 index 0000000..4f7f1aa --- /dev/null +++ b/Reference/ArchitectureA/HealthApp.slnx @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/ConfigurationWriter.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/ConfigurationWriter.cs new file mode 100644 index 0000000..d39bc8c --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/ConfigurationWriter.cs @@ -0,0 +1,41 @@ +using System.Text.Json; + +namespace HealthApp.Provisioning; + +public static class ConfigurationWriter +{ + public static void Configure(string serviceDirectory, string root, string platform) + { + if (platform is not ("linux" or "windows" or "macos")) throw new InvalidOperationException("Unknown configuration platform."); + var service = Deployment.ReadService(serviceDirectory); + var directory = platform == "linux" ? Path.Combine(root, "etc", "healthapp", service.Name) : Path.Combine(root, "config", service.Name); + Directory.CreateDirectory(directory); + var destination = Path.Combine(directory, platform == "windows" ? "appsettings.Production.json" : "service.env"); + if (File.Exists(destination)) throw new InvalidOperationException("Service configuration already exists; it was not overwritten."); + var env = new Dictionary(service.Environment); + env["Kestrel__Certificates__Default__Path"] = Path.Combine(directory, "service.pfx"); + if (service.Name == "api-gateway") env["Authentication__KeyDirectory"] = platform == "linux" ? + Path.Combine(root, "var", "lib", "healthapp-api-gateway", "keys") : Path.Combine(root, "state", "api-gateway", "keys"); + File.Copy(Path.Combine(serviceDirectory, "service.pfx"), Path.Combine(directory, "service.pfx")); + if (platform == "windows") + { + var json = new Dictionary(); + foreach (var (key, value) in env) + { + if (key == "ASPNETCORE_ENVIRONMENT") continue; // Native service command line explicitly selects Production. + var parts = (key == "ASPNETCORE_URLS" ? "urls" : key).Split("__"); + var current = json; + foreach (var part in parts[..^1]) + { + if (!current.TryGetValue(part, out var child)) current[part] = child = new Dictionary(); + current = (Dictionary)child; + } + current[parts[^1]] = value; + } + File.WriteAllText(destination, JsonSerializer.Serialize(json, Deployment.Json)); + } + else File.WriteAllLines(destination, env.Select(p => p.Key + "=\"" + p.Value.Replace("\\", "\\\\").Replace("\"", "\\\"") + "\"")); + if (OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) + foreach (var file in Directory.GetFiles(directory)) File.SetUnixFileMode(file, UnixFileMode.UserRead | UnixFileMode.UserWrite); + } +} diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/DatabaseProvisioning.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/DatabaseProvisioning.cs new file mode 100644 index 0000000..259726c --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/DatabaseProvisioning.cs @@ -0,0 +1,72 @@ +using System.Diagnostics; +using System.Text.RegularExpressions; +using Npgsql; + +namespace HealthApp.Provisioning; + +public static class DatabaseProvisioning +{ + public static async Task Create(string serviceDirectory, string? adminFile) + { + var service = Deployment.ReadService(serviceDirectory); + var database = service.Database ?? throw new InvalidOperationException("This service owns no database."); + if (!Regex.IsMatch(database.Name, "^[a-z][a-z0-9_]{1,62}$") || !Regex.IsMatch(database.User, "^[a-z][a-z0-9_]{1,62}$") || + !Regex.IsMatch(database.Password, "^[A-F0-9]{64}$")) throw new InvalidOperationException("Generated database settings are invalid."); + var adminConnection = adminFile is null ? null : File.ReadAllText(adminFile).Trim(); + async Task Sql(string sql, string target = "postgres") + { + if (adminConnection is not null) + { + var settings = new NpgsqlConnectionStringBuilder(adminConnection) { Database = target, Pooling = false }; + await using var connection = new NpgsqlConnection(settings.ConnectionString); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand(sql, connection); + var result = await command.ExecuteScalarAsync(); + return result?.ToString() ?? ""; + } + var start = new ProcessStartInfo("runuser") { RedirectStandardInput = true, RedirectStandardOutput = true, + RedirectStandardError = true, UseShellExecute = false }; + foreach (var argument in new[] { "-u", "postgres", "--", "psql", "--no-psqlrc", "--set=ON_ERROR_STOP=1", "--tuples-only", "--no-align", "--dbname", target }) + start.ArgumentList.Add(argument); + using var process = Process.Start(start) ?? throw new InvalidOperationException("Could not run PostgreSQL administration."); + var stdout = process.StandardOutput.ReadToEndAsync(); + var stderr = process.StandardError.ReadToEndAsync(); + await process.StandardInput.WriteAsync(sql); + process.StandardInput.Close(); + using var timeout = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + try { await process.WaitForExitAsync(timeout.Token); } + catch (OperationCanceledException) { process.Kill(true); throw; } + await stderr; // Never print SQL or passwords, including PostgreSQL error echoes. + if (process.ExitCode != 0) throw new InvalidOperationException("PostgreSQL administration failed; existing data was retained."); + return (await stdout).Trim(); + } + static bool True(string value) => value is "t" or "True"; + var userExists = True(await Sql($"SELECT EXISTS(SELECT FROM pg_roles WHERE rolname='{database.User}');")); + if (!userExists) + await Sql($"CREATE ROLE {database.User} LOGIN PASSWORD '{database.Password}' NOSUPERUSER NOCREATEDB NOCREATEROLE NOREPLICATION;"); + var exists = True(await Sql($"SELECT EXISTS(SELECT FROM pg_database WHERE datname='{database.Name}');")); + if (exists && !True(await Sql($"SELECT pg_get_userbyid(datdba)='{database.User}' FROM pg_database WHERE datname='{database.Name}';"))) + throw new InvalidOperationException("Existing database has another owner; it was not changed."); + if (!exists) await Sql($"CREATE DATABASE {database.Name} OWNER {database.User};"); + await Sql($"REVOKE ALL ON DATABASE {database.Name} FROM PUBLIC;"); + await Sql($"REVOKE ALL ON SCHEMA public FROM PUBLIC; ALTER SCHEMA public OWNER TO {database.User}; GRANT USAGE, CREATE ON SCHEMA public TO {database.User};", database.Name); + // With an external PostgreSQL admin connection, preserve that endpoint in generated application config. + if (adminConnection is not null) + { + var admin = new NpgsqlConnectionStringBuilder(adminConnection); + database = database with { Host = admin.Host!, Port = admin.Port }; + service = service with { Database = database }; + var key = service.Name == "patient-profile" ? "ConnectionStrings__PatientDatabase" : "ConnectionStrings__ObservationDatabase"; + service.Environment[key] = Deployment.ConnectionString(database); + File.WriteAllText(Path.Combine(serviceDirectory, "service.json"), System.Text.Json.JsonSerializer.Serialize(service, Deployment.Json)); + } + await Check(database); + } + public static async Task Check(DatabaseSettings database) + { + await using var connection = new NpgsqlConnection(Deployment.ConnectionString(database)); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand("SELECT current_user", connection); + if ((string?)await command.ExecuteScalarAsync() != database.User) throw new InvalidOperationException("Database service identity does not match."); + } +} diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Deployment.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Deployment.cs new file mode 100644 index 0000000..ef638a1 --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Deployment.cs @@ -0,0 +1,157 @@ +using System.Net; +using System.Security.Cryptography; +using System.Security.Cryptography.X509Certificates; +using System.Text.Json; +using System.Text.RegularExpressions; +using Microsoft.AspNetCore.Identity; +using Npgsql; + +namespace HealthApp.Provisioning; + +public sealed class Topology +{ + public Dictionary Hosts { get; set; } = new(); + public Dictionary Ports { get; set; } = new(); + public Dictionary Platforms { get; set; } = new(); +} +public sealed record DatabaseSettings(string Name, string User, string Password, string Host = "localhost", int Port = 5432); +public sealed record Account(string AccountId, string Role, string Password); +public sealed record ServiceSettings(string Name, string Host, int Port, string IncomingKey, string? OutgoingKey, + string CertificatePassword, DatabaseSettings? Database, Dictionary Environment, string Platform = "linux"); +public sealed record Deployment(string Id, Dictionary Services, List Accounts) +{ + public static readonly string[] Names = ["api-gateway", "patient-profile", "observation", "insights", "health-overview"]; + public static readonly Dictionary ContractNames = new() + { + ["patient-profile"] = "PatientProfile", ["observation"] = "Observation", + ["insights"] = "Insights", ["health-overview"] = "HealthOverview" + }; + public static readonly JsonSerializerOptions Json = new() { PropertyNameCaseInsensitive = true, WriteIndented = true }; + public static string Secret() => Convert.ToHexString(RandomNumberGenerator.GetBytes(32)); + public static string Url(ServiceSettings service) => new UriBuilder("https", service.Host, service.Port).Uri.ToString(); + public static Deployment Load(string directory) => JsonSerializer.Deserialize( + File.ReadAllText(Path.Combine(directory, "deployment.json")), Json) ?? throw new InvalidOperationException("Deployment is invalid."); + + public static void Prepare(string output, string host, string? topologyFile, string? certificates) + { + if (Directory.Exists(output) || File.Exists(output)) throw new InvalidOperationException("Deployment output already exists; existing credentials were not changed."); + var topology = topologyFile is null ? new Topology() : JsonSerializer.Deserialize(File.ReadAllText(topologyFile), Json) + ?? throw new InvalidOperationException("Topology is invalid."); + foreach (var name in topology.Hosts.Keys.Concat(topology.Ports.Keys).Concat(topology.Platforms.Keys)) + if (!Names.Contains(name)) throw new InvalidOperationException("Topology has an unknown service."); + var id = Guid.NewGuid().ToString("N")[..12]; + var services = new Dictionary(); + var defaults = new Dictionary { ["api-gateway"] = 5443, ["patient-profile"] = 5081, + ["observation"] = 5082, ["insights"] = 5083, ["health-overview"] = 5084 }; + foreach (var name in Names) + { + var hostname = topology.Hosts.GetValueOrDefault(name, host); + if (Uri.CheckHostName(hostname) == UriHostNameType.Unknown || hostname.Contains('%')) + throw new InvalidOperationException("Provide a valid DNS name or IP address for each service host."); + var port = topology.Ports.GetValueOrDefault(name, defaults[name]); + if (port < 1024 || port > 65535) throw new InvalidOperationException("HTTPS ports must be between 1024 and 65535."); + DatabaseSettings? database = name switch + { + "patient-profile" => new("healthapp_" + id + "_profile", "healthapp_" + id + "_profile", Secret()), + "observation" => new("healthapp_" + id + "_observation", "healthapp_" + id + "_observation", Secret()), _ => null + }; + var platform = topology.Platforms.GetValueOrDefault(name, OperatingSystem.IsWindows() ? "windows" : OperatingSystem.IsMacOS() ? "macos" : "linux"); + if (platform is not ("linux" or "windows" or "macos")) throw new InvalidOperationException("Unsupported node platform."); + services[name] = new(name, hostname, port, Secret(), name is "api-gateway" or "patient-profile" ? null : Secret(), + Secret(), database, new(), platform); + } + if (services.Values.GroupBy(s => (s.Host.ToLowerInvariant(), s.Port)).Any(g => g.Count() > 1)) + throw new InvalidOperationException("Colocated services need distinct HTTPS ports."); + var accounts = new List { new("prototype-patient", "Patient", Secret()), + new("prototype-professional", "HealthcareProfessional", Secret()), new("installation-check", "Patient", Secret()) }; + var deployment = new Deployment(id, services, accounts); + foreach (var service in services.Values) + { + var env = service.Environment; + env["ASPNETCORE_ENVIRONMENT"] = "Production"; + env["ASPNETCORE_URLS"] = "https://0.0.0.0:" + service.Port; + env["InternalAccess__GatewayKey"] = service.IncomingKey; + env["Kestrel__Certificates__Default__Path"] = $"/etc/healthapp/{service.Name}/service.pfx"; + env["Kestrel__Certificates__Default__Password"] = service.CertificatePassword; + if (service.Name == "api-gateway") + { + env["Authentication__KeyDirectory"] = "/var/lib/healthapp-api-gateway/keys"; + foreach (var (name, contract) in ContractNames) + { + env[$"Services__{contract}__BaseUrl"] = Url(services[name]); + env[$"Services__{contract}__Key"] = services[name].IncomingKey; + if (services[name].OutgoingKey is { } key) env[$"InternalAccess__{contract}__Key"] = key; + } + for (var index = 0; index < accounts.Count; index++) + { + var account = accounts[index]; + env[$"Authentication__Accounts__{index}__AccountId"] = account.AccountId; + env[$"Authentication__Accounts__{index}__Role"] = account.Role; + env[$"Authentication__Accounts__{index}__PasswordHash"] = new PasswordHasher().HashPassword(account, account.Password); + } + } + else if (service.OutgoingKey is not null) + { + env["Services__ApiGateway__BaseUrl"] = Url(services["api-gateway"]); + env["Services__ApiGateway__Key"] = service.OutgoingKey; + } + if (service.Database is { } db) + env[service.Name == "patient-profile" ? "ConnectionStrings__PatientDatabase" : "ConnectionStrings__ObservationDatabase"] = ConnectionString(db); + } + Directory.CreateDirectory(output); + if ((OperatingSystem.IsLinux() || OperatingSystem.IsMacOS())) File.SetUnixFileMode(output, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute); + using var caKey = RSA.Create(3072); + var caRequest = new CertificateRequest("CN=HealthApp prototype " + id, caKey, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); + caRequest.CertificateExtensions.Add(new X509BasicConstraintsExtension(true, false, 0, true)); + caRequest.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.KeyCertSign | X509KeyUsageFlags.CrlSign, true)); + caRequest.CertificateExtensions.Add(new X509SubjectKeyIdentifierExtension(caRequest.PublicKey, false)); + using var ca = caRequest.CreateSelfSigned(DateTimeOffset.UtcNow.AddMinutes(-5), DateTimeOffset.UtcNow.AddYears(2)); + // Only the public CA is needed on installed nodes; no signing key is retained. + File.WriteAllText(Path.Combine(output, "healthapp-ca.crt"), certificates is null ? ca.ExportCertificatePem() : + File.ReadAllText(Path.Combine(certificates, "healthapp-ca.crt"))); + foreach (var service in services.Values) + { + var directory = Path.Combine(output, service.Name); + Directory.CreateDirectory(directory); + File.WriteAllText(Path.Combine(directory, "service.json"), JsonSerializer.Serialize(service, Json)); + File.WriteAllLines(Path.Combine(directory, "service.env"), service.Environment.Select(e => e.Key + "=" + Quote(e.Value))); + byte[] pfx; + if (certificates is not null) + { + var password = File.ReadAllText(Path.Combine(certificates, service.Name + ".password")).TrimEnd('\r', '\n'); + var supplied = X509CertificateLoader.LoadPkcs12CollectionFromFile(Path.Combine(certificates, service.Name + ".pfx"), password); + if (!supplied.Cast().Any(c => c.HasPrivateKey)) throw new InvalidOperationException("Supplied certificate has no private key."); + pfx = supplied.Export(X509ContentType.Pfx, service.CertificatePassword)!; + foreach (var certificate in supplied) certificate.Dispose(); + } + else + { + using var key = RSA.Create(2048); + var request = new CertificateRequest("CN=" + service.Host, key, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); + request.CertificateExtensions.Add(new X509BasicConstraintsExtension(false, false, 0, true)); + request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DigitalSignature | X509KeyUsageFlags.KeyEncipherment, true)); + request.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension(new System.Security.Cryptography.OidCollection { new("1.3.6.1.5.5.7.3.1") }, true)); + var san = new SubjectAlternativeNameBuilder(); + if (IPAddress.TryParse(service.Host, out var ip)) san.AddIpAddress(ip); else san.AddDnsName(service.Host); + request.CertificateExtensions.Add(san.Build()); + using var leaf = request.Create(ca, DateTimeOffset.UtcNow.AddMinutes(-2), DateTimeOffset.UtcNow.AddYears(1), RandomNumberGenerator.GetBytes(16)); + using var withKey = leaf.CopyWithPrivateKey(key); + pfx = withKey.Export(X509ContentType.Pfx, service.CertificatePassword); + } + File.WriteAllBytes(Path.Combine(directory, "service.pfx"), pfx); + } + File.WriteAllText(Path.Combine(output, "deployment.json"), JsonSerializer.Serialize(deployment, Json)); + File.WriteAllText(Path.Combine(output, "accounts.json"), JsonSerializer.Serialize(accounts, Json)); + if ((OperatingSystem.IsLinux() || OperatingSystem.IsMacOS())) + foreach (var file in Directory.EnumerateFiles(output, "*", SearchOption.AllDirectories)) + File.SetUnixFileMode(file, UnixFileMode.UserRead | UnixFileMode.UserWrite); + } + public static string ConnectionString(DatabaseSettings db) => new NpgsqlConnectionStringBuilder + { + Host = db.Host, Port = db.Port, Database = db.Name, Username = db.User, Password = db.Password, + SslMode = SslMode.Prefer, Timeout = 10, Pooling = false + }.ConnectionString; + private static string Quote(string value) => "\"" + value.Replace("\\", "\\\\").Replace("\"", "\\\"") + "\""; + public static ServiceSettings ReadService(string directory) => JsonSerializer.Deserialize( + File.ReadAllText(Path.Combine(directory, "service.json")), Json) ?? throw new InvalidOperationException("Service configuration is invalid."); +} diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Distribution.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Distribution.cs new file mode 100644 index 0000000..dd441a8 --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Distribution.cs @@ -0,0 +1,93 @@ +using System.Diagnostics; +using System.Text.Json; +using System.Text.RegularExpressions; + +namespace HealthApp.Provisioning; + +public static class Distribution +{ + public static async Task Deploy(string bundle, string directory, string user, string[] selected) + { + if (!Regex.IsMatch(user, "^[a-zA-Z_][a-zA-Z0-9_-]*$")) throw new InvalidOperationException("SSH user is invalid."); + var deployment = Deployment.Load(directory); + async Task Run(string command, params string[] args) + { + var start = new ProcessStartInfo(command) { UseShellExecute = false, RedirectStandardOutput = true, RedirectStandardError = true }; + foreach (var argument in args) start.ArgumentList.Add(argument); + using var process = Process.Start(start) ?? throw new InvalidOperationException("Could not run deployment transport."); + var stdout = process.StandardOutput.ReadToEndAsync(); + var stderr = process.StandardError.ReadToEndAsync(); + using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(20)); + try { await process.WaitForExitAsync(timeout.Token); } + catch (OperationCanceledException) { process.Kill(true); throw; } + await stdout; + var errors = await stderr; + if (process.ExitCode != 0) + { + var reportedStep = errors.Split('\n').LastOrDefault(line => line.StartsWith("Installation failed at ", StringComparison.Ordinal)); + throw new InvalidOperationException(reportedStep ?? "SSH deployment transport failed; check administrative SSH access and node installation logs."); + } + } + var temporary = Path.Combine(Path.GetTempPath(), "healthapp-distribution-" + Guid.NewGuid().ToString("N")); + Directory.CreateDirectory(temporary); + if (OperatingSystem.IsLinux()) File.SetUnixFileMode(temporary, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute); + try + { + foreach (var group in selected.GroupBy(n => deployment.Services[n].Host, StringComparer.OrdinalIgnoreCase)) + { + var names = group.ToArray(); + var node = Path.Combine(temporary, "node-" + Guid.NewGuid().ToString("N")); + Directory.CreateDirectory(node); + var material = Path.Combine(node, "deployment"); + Directory.CreateDirectory(material); + foreach (var script in Directory.GetFiles(bundle).Where(p => p.EndsWith(".sh") || p.EndsWith(".ps1"))) File.Copy(script, Path.Combine(node, Path.GetFileName(script))); + CopyDirectory(Path.Combine(bundle, "provisioner"), Path.Combine(node, "provisioner")); + Directory.CreateDirectory(Path.Combine(node, "services")); + Directory.CreateDirectory(Path.Combine(node, "systemd")); + foreach (var name in names) + { + CopyDirectory(Path.Combine(bundle, "services", name), Path.Combine(node, "services", name)); + CopyDirectory(Path.Combine(directory, name), Path.Combine(material, name)); + File.Copy(Path.Combine(bundle, "systemd", "healthapp-" + name + ".service"), Path.Combine(node, "systemd", "healthapp-" + name + ".service")); + } + // Retain remote origins, but do not give a node unrelated service/database/private-key credentials. + var scoped = deployment with + { + Services = deployment.Services.ToDictionary(p => p.Key, p => names.Contains(p.Key) ? p.Value : + p.Value with { IncomingKey = "", OutgoingKey = null, CertificatePassword = "", Database = null, Environment = new() }), + Accounts = names.Contains("api-gateway") ? deployment.Accounts : [] + }; + File.WriteAllText(Path.Combine(material, "deployment.json"), JsonSerializer.Serialize(scoped, Deployment.Json)); + if (names.Contains("api-gateway")) File.Copy(Path.Combine(directory, "accounts.json"), Path.Combine(material, "accounts.json")); + File.Copy(Path.Combine(directory, "healthapp-ca.crt"), Path.Combine(material, "healthapp-ca.crt")); + var target = user + "@" + group.Key; + var windows = names.All(n => deployment.Services[n].Platform == "windows"); + if (names.Any(n => deployment.Services[n].Platform == "windows") && !windows) + throw new InvalidOperationException("One host cannot use two native service managers."); + var remote = windows ? "C:/ProgramData/healthapp-install-" + deployment.Id : "/var/tmp/healthapp-install-" + deployment.Id; + Console.WriteLine("Install selected node: " + group.Key); + if (windows) + await Run("ssh", target, "powershell", "-NoProfile", "-NonInteractive", "-Command", + "New-Item -ItemType Directory -Path '" + remote + "' | Out-Null"); + else await Run("ssh", target, "mkdir", "-m", "0700", remote); + var scpHost = group.Key.Contains(':') ? user + "@[" + group.Key + "]" : target; + await Run("scp", "-r", node + "/.", scpHost + ":" + remote + "/"); + if (windows) + await Run("ssh", target, "powershell", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-File", remote + "/install.ps1", "-Services", string.Join(',', names), + "-Deployment", remote + "/deployment", "-DeferTopologyCheck"); + else await Run("ssh", target, "sudo", "-n", "bash", remote + "/install.sh", "--services", string.Join(',', names), + "--deployment", remote + "/deployment", "--defer-topology-check"); + } + // Services communicate through the actual HTTPS origins on their installed hosts. + await InstallationVerification.Verify(directory, selected, selected.Length == Deployment.Names.Length); + Console.WriteLine("Distributed topology verification passed."); + } + finally { Directory.Delete(temporary, true); } + } + private static void CopyDirectory(string source, string destination) + { + Directory.CreateDirectory(destination); + foreach (var file in Directory.GetFiles(source)) File.Copy(file, Path.Combine(destination, Path.GetFileName(file))); + foreach (var child in Directory.GetDirectories(source)) CopyDirectory(child, Path.Combine(destination, Path.GetFileName(child))); + } +} diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj new file mode 100644 index 0000000..1935569 --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj @@ -0,0 +1,10 @@ + + + Exenet10.0 + enableenable + + + + + + diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/InstallationVerification.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/InstallationVerification.cs new file mode 100644 index 0000000..4aeafe5 --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/InstallationVerification.cs @@ -0,0 +1,126 @@ +using System.Net; +using System.Security.Cryptography; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; + +namespace HealthApp.Provisioning; + +public static class InstallationVerification +{ + public static async Task Verify(string deploymentDirectory, string[] selected, bool complete, bool startupOnly = false) + { + var deployment = Deployment.Load(deploymentDirectory); + using var root = X509CertificateLoader.LoadCertificateFromFile(Path.Combine(deploymentDirectory, "healthapp-ca.crt")); + using var handler = new HttpClientHandler + { + ServerCertificateCustomValidationCallback = (_, certificate, _, errors) => + { + if (certificate is null || (errors & (SslPolicyErrors.RemoteCertificateNameMismatch | SslPolicyErrors.RemoteCertificateNotAvailable)) != 0) return false; + using var chain = new X509Chain(); + chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust; + chain.ChainPolicy.CustomTrustStore.Add(root); + chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; + chain.ChainPolicy.ApplicationPolicy.Add(new Oid("1.3.6.1.5.5.7.3.1")); + return chain.Build(certificate); + } + }; + using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(15), BaseAddress = new Uri(Deployment.Url(deployment.Services["api-gateway"])) }; + async Task Probe(Func create, string name) + { + using var deadline = new CancellationTokenSource(TimeSpan.FromSeconds(30)); + while (true) + { + try + { + using var request = create(); + var response = await client.SendAsync(request, deadline.Token); + if (response.StatusCode is not (HttpStatusCode.BadGateway or HttpStatusCode.ServiceUnavailable or HttpStatusCode.GatewayTimeout)) return response; + response.Dispose(); + } + catch (HttpRequestException) { } + catch (OperationCanceledException) when (!deadline.IsCancellationRequested) { } + try { await Task.Delay(500, deadline.Token); } + catch (OperationCanceledException) { throw new InvalidOperationException("HTTPS startup/dependency probe timed out for " + name + "."); } + } + } + foreach (var name in selected) + { + var service = deployment.Services[name]; + if (Deployment.ReadService(Path.Combine(deploymentDirectory, name)).Database is { } database) + { + try { await DatabaseProvisioning.Check(database); } + catch { throw new InvalidOperationException("Dedicated database reachability verification failed for " + name + "."); } + } + // Correct incoming credentials prove network/TLS and the configured service trust boundary. + var path = Deployment.Url(service) + + (name == "api-gateway" ? "api/measurement-guidance" : startupOnly ? "" : "api/patients/00000000-0000-0000-0000-000000000001" + + (name == "insights" ? "/insights?from=2026-01-01&to=2026-01-02" : + name == "health-overview" ? "/overview?from=2026-01-01&to=2026-01-02" : + name == "observation" ? "/observations?from=2026-01-01&to=2026-01-02" : "")); + using var response = await Probe(() => + { + var request = new HttpRequestMessage(HttpMethod.Get, path); + if (name != "api-gateway") request.Headers.Add("X-Gateway-Key", service.IncomingKey); + return request; + }, name); + if (response.StatusCode is not (HttpStatusCode.OK or HttpStatusCode.NotFound)) + throw new InvalidOperationException("HTTPS/dependency verification failed for " + name + " (HTTP " + (int)response.StatusCode + ")."); + } + if (startupOnly) return; + // Exercise each installed service's configured outgoing gateway credentials using its actual network API. + foreach (var name in selected.Where(n => n is "observation" or "insights" or "health-overview")) + { + var service = deployment.Services[name]; + using var request = new HttpRequestMessage(HttpMethod.Get, Deployment.Url(deployment.Services["api-gateway"]) + + "api/patients/00000000-0000-0000-0000-000000000001" + (name == "insights" ? "/observations?from=2026-01-01&to=2026-01-02" : "")); + request.Headers.Add("X-Service-Key", service.OutgoingKey); + using var response = await client.SendAsync(request); + if (response.StatusCode is not (HttpStatusCode.OK or HttpStatusCode.NotFound)) + throw new InvalidOperationException("Gateway service-credential verification failed for " + name + "."); + } + if (!complete) return; + var account = deployment.Accounts.Single(a => a.AccountId == "installation-check"); + using var login = await client.PostAsJsonAsync("api/authentication/login", new { accountId = account.AccountId, password = account.Password }); + login.EnsureSuccessStatusCode(); + using var token = JsonDocument.Parse(await login.Content.ReadAsStringAsync()); + client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.RootElement.GetProperty("accessToken").GetString()); + using var current = await client.GetAsync("api/patients/me"); + Guid patient; + if (current.StatusCode == HttpStatusCode.NotFound) + { + using var created = await client.PostAsJsonAsync("api/patients", new { name = "Installer verification (synthetic)", dateOfBirth = "1980-01-01" }); + created.EnsureSuccessStatusCode(); + using var profile = JsonDocument.Parse(await created.Content.ReadAsStringAsync()); + patient = profile.RootElement.GetProperty("patientId").GetGuid(); + } + else + { + current.EnsureSuccessStatusCode(); + using var profile = JsonDocument.Parse(await current.Content.ReadAsStringAsync()); + patient = profile.RootElement.GetProperty("patientId").GetGuid(); + } + using var latest = await client.GetAsync($"api/patients/{patient}/observations/latest"); + if (latest.StatusCode == HttpStatusCode.NotFound) + { + using var record = await client.PostAsJsonAsync($"api/patients/{patient}/observations", new + { + measuredAt = DateTime.UtcNow, systolic = 120, diastolic = 80, pulse = 60, + note = "Installer verification; synthetic data", measurementContext = new { setting = "Home", activityCondition = "AtRest" } + }); + record.EnsureSuccessStatusCode(); + } + else latest.EnsureSuccessStatusCode(); + var bounds = $"from=2000-01-01&to={Uri.EscapeDataString(DateTime.UtcNow.AddDays(1).ToString("O"))}&setting=Home&activityCondition=AtRest"; + using var overview = await client.GetAsync($"api/patients/{patient}/overview?{bounds}"); + overview.EnsureSuccessStatusCode(); + using var result = JsonDocument.Parse(await overview.Content.ReadAsStringAsync()); + if (result.RootElement.GetProperty("patient").GetProperty("patientId").GetGuid() != patient || + result.RootElement.GetProperty("latestObservation").ValueKind != JsonValueKind.Object || + result.RootElement.GetProperty("insight").ValueKind != JsonValueKind.Object || + result.RootElement.GetProperty("insightContributingCount").GetInt32() < 1) + throw new InvalidOperationException("Representative complete-system workflow did not return profile, latest observation and insight."); + } +} diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/LaunchdWriter.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/LaunchdWriter.cs new file mode 100644 index 0000000..75f1c21 --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/LaunchdWriter.cs @@ -0,0 +1,32 @@ +using System.Text.Json; +using System.Xml.Linq; + +namespace HealthApp.Provisioning; + +public static class LaunchdWriter +{ + public static void Write(string service, string root, string dotnet, string output) + { + if (!Deployment.Names.Contains(service)) throw new InvalidOperationException("Unknown service."); + var directory = Path.Combine(root, "services", service); + var assembly = service switch { "api-gateway" => "ApiGateway", "patient-profile" => "PatientProfileService", + "observation" => "ObservationService", "insights" => "InsightsService", _ => "HealthOverviewService" }; + var environment = new XElement("dict"); + foreach (var line in File.ReadAllLines(Path.Combine(root, "config", service, "service.env"))) + { + var position = line.IndexOf('='); + environment.Add(new XElement("key", line[..position]), new XElement("string", JsonSerializer.Deserialize(line[(position + 1)..]))); + } + var document = new XDocument(new XDeclaration("1.0", "utf-8", null), + new XDocumentType("plist", "-//Apple//DTD PLIST 1.0//EN", "http://www.apple.com/DTDs/PropertyList-1.0.dtd", null), + new XElement("plist", new XAttribute("version", "1.0"), new XElement("dict", + new XElement("key", "Label"), new XElement("string", "healthapp-" + service), + new XElement("key", "ProgramArguments"), new XElement("array", new XElement("string", dotnet), new XElement("string", Path.Combine(directory, assembly + ".dll"))), + new XElement("key", "WorkingDirectory"), new XElement("string", directory), + new XElement("key", "UserName"), new XElement("string", "_healthapp_" + service.Replace('-', '_')), + new XElement("key", "EnvironmentVariables"), environment, + new XElement("key", "RunAtLoad"), new XElement("true"), new XElement("key", "KeepAlive"), new XElement("true")))); + document.Save(output); + if (!OperatingSystem.IsWindows()) File.SetUnixFileMode(output, UnixFileMode.UserRead | UnixFileMode.UserWrite); + } +} diff --git a/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Program.cs b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Program.cs new file mode 100644 index 0000000..da155cf --- /dev/null +++ b/Reference/ArchitectureA/deploy/HealthApp.Provisioning/Program.cs @@ -0,0 +1,83 @@ +using System.Text.Json; + +namespace HealthApp.Provisioning; + +public static class Program +{ + public static async Task Main(string[] args) + { + var command = args.FirstOrDefault() ?? ""; + try + { + var options = new Dictionary(); + for (var index = 1; index < args.Length; index += 2) + { + if (index + 1 >= args.Length || !args[index].StartsWith("--") || !options.TryAdd(args[index][2..], args[index + 1])) + throw new InvalidOperationException("Invalid provisioning arguments."); + } + string Required(string key) => options.GetValueOrDefault(key) ?? throw new InvalidOperationException("Missing argument: " + key); + switch (command) + { + case "launchd": + LaunchdWriter.Write(Required("service"), Required("root"), Required("dotnet"), Required("output")); + break; + case "secret": + File.WriteAllText(Required("output"), Deployment.Secret()); + if (!OperatingSystem.IsWindows()) File.SetUnixFileMode(Required("output"), UnixFileMode.UserRead | UnixFileMode.UserWrite); + break; + case "admin-connection": + var admin = new Npgsql.NpgsqlConnectionStringBuilder { Host = "localhost", Port = int.Parse(Required("port")), + Username = "postgres", Database = "postgres", Password = File.ReadAllText(Required("password-file")).Trim(), Pooling = false }; + File.WriteAllText(Required("output"), admin.ConnectionString); + if (!OperatingSystem.IsWindows()) File.SetUnixFileMode(Required("output"), UnixFileMode.UserRead | UnixFileMode.UserWrite); + break; + case "execute": + var native = options.GetValueOrDefault("platform", "macos"); + var serviceName = Required("service"); + if (!Deployment.Names.Contains(serviceName)) throw new InvalidOperationException("Unknown selected service."); + var rootPath = Required("root"); + var config = Path.Combine(rootPath, "config", serviceName, "service.env"); + var start = new System.Diagnostics.ProcessStartInfo(Required("dotnet")) { UseShellExecute = false, + WorkingDirectory = Path.Combine(rootPath, "services", serviceName) }; + start.ArgumentList.Add(Required("assembly")); + start.ArgumentList.Add("--migrate"); + foreach (var line in File.ReadAllLines(config)) + start.Environment[line[..line.IndexOf('=')]] = JsonSerializer.Deserialize(line[(line.IndexOf('=') + 1)..])!; + using (var process = System.Diagnostics.Process.Start(start)!) + { + await process.WaitForExitAsync(); + if (process.ExitCode != 0) throw new InvalidOperationException("Selected service migration failed."); + } + break; + case "prepare": + Deployment.Prepare(Required("output"), options.GetValueOrDefault("host", "localhost"), options.GetValueOrDefault("topology"), options.GetValueOrDefault("certificates")); + break; + case "database": + await DatabaseProvisioning.Create(Required("service-dir"), options.GetValueOrDefault("admin-file")); + break; + case "configure": + ConfigurationWriter.Configure(Required("service-dir"), Required("root"), options.GetValueOrDefault("platform", "linux")); + break; + case "distribute": + var names = Required("services").Split(','); + if (names.Any(n => !Deployment.Names.Contains(n))) throw new InvalidOperationException("Unknown distribution service."); + await Distribution.Deploy(Required("bundle"), Required("deployment"), Required("ssh-user"), names); + break; + case "verify-startup": + case "verify": + var selected = Required("services").Split(','); + if (selected.Any(n => !Deployment.Names.Contains(n))) throw new InvalidOperationException("Unknown verification service."); + await InstallationVerification.Verify(Required("deployment"), selected, options.GetValueOrDefault("complete") == "true", command == "verify-startup"); + break; + default: throw new InvalidOperationException("Unknown provisioning command."); + } + return 0; + } + catch (Exception error) + { + Console.Error.WriteLine($"Provisioning step '{command}' failed: " + (error is InvalidOperationException ? error.Message : error.GetType().Name) + + " No credentials are printed; inspect the relevant service logs."); + return 1; + } + } +} diff --git a/Reference/ArchitectureA/deploy/INSTALLATION.md b/Reference/ArchitectureA/deploy/INSTALLATION.md new file mode 100644 index 0000000..48b516c --- /dev/null +++ b/Reference/ArchitectureA/deploy/INSTALLATION.md @@ -0,0 +1,258 @@ +# US-16 — Provision and install HealthApp + +The installer provisions a working prototype topology. A normal installation no longer +requires prepared application configuration, database roles/passwords, service keys, +or HTTPS certificates. Select one service, a comma-separated subset, or `all`. + +The application DLLs and shared C# provisioning utility are portable. OS adapters +perform package installation and native service registration: systemd on supported +Linux hosts, Windows Services on Windows, and launchd on macOS. Deployment location +and OS do not combine services, introduce shared persistence or change gateway-routed +communication. There is no container/orchestration requirement. + +## Build the release + +A build machine needs the .NET 10 SDK and package access. It is distinct from a target +machine, where the installer supplies missing runtime/dependencies. + +```bash +bash deploy/build-release.sh --output /tmp/healthapp-release +# Optional: build just a selected application's payload plus the provisioning utility. +bash deploy/build-release.sh --output /tmp/healthapp-insights --services insights +``` + +On a Windows build machine, use `deploy/build-release.ps1 -Output NEW_DIRECTORY` +from PowerShell with the same optional `-Services` selection. + +The bundle includes the application DLLs, provisioning utility, OS installers, units, +examples and this guide. Windows services invoke `dotnet Application.dll`, so they do +not depend on a Linux-generated apphost executable. The small Microsoft WindowsServices +hosting dependency lets the same ASP.NET Core applications respond to Windows service +control; it is inactive on Linux/macOS. No production service references another service. + +Transfer the release by normal administrative deployment transport. Public release +files contain no generated secrets. Build output must be a new directory. + +## Normal Ubuntu/Debian installation + +Automatic Linux provisioning accepts Debian/Ubuntu ancestry (`ID` or `ID_LIKE`), +with apt, a running systemd manager and administrative access. It checks actual package +availability rather than a fixed distribution/version list. Internet access to configured +package feeds is needed when dependencies are absent. Existing .NET 10 ASP.NET Core +runtime and PostgreSQL installations are reused where available. + +The installer prefers configured distribution feeds. On Debian itself, if the runtime +package is absent, it attempts Microsoft's repository for that Debian VERSION_ID. +Derivatives use their own configured feeds; their version numbers are never passed to +an upstream repository. If no compatible runtime source or PostgreSQL package is +available, installation stops with a specific dependency error. Debian ancestry alone +does not guarantee .NET/CPU compatibility; startup and topology verification still apply. + +From the release directory: + +```bash +sudo bash install.sh --services all --host 192.168.1.20 +``` + +Use the target's reachable DNS name/IP for `--host`. The default `localhost` is useful +for a wholly local prototype; use a reachable address for another computer to access +it. No later application-file editing is required. + +For an individual service, use its name and an existing matching generated deployment +from the overall topology, which already specifies its remote dependencies/keys: + +```bash +sudo bash install.sh --services insights --deployment /secure/generated-deployment +``` + +Names: `api-gateway`, `patient-profile`, `observation`, `insights`, `health-overview`. + +The installer: + +1. Detects .NET 10 ASP.NET Core runtime and local PostgreSQL availability; installs + missing dependencies from supported package feeds. PostgreSQL is provisioned only + when Patient/Profile or Observation is selected. +2. Generates a private deployment plan, independent service keys and synthetic + prototype accounts. No hard-coded passwords or hand-written password hashes are used. +3. Creates a private prototype CA and separate service certificates, installs the + public CA into OS trust, and configures Production HTTPS endpoints. +4. Creates separate PostgreSQL databases and login roles for the selected persistent + services. Roles cannot administer the server/create roles/databases or connect to + the other service's database. Schema ownership supports that service's migrations. +5. Creates independent service identities, application/configuration directories and + service registrations. Runs the selected persistent services' migrations, enables + and starts every selected application, then verifies startup and topology. + +Linux application/configuration paths are `/opt/healthapp/NAME` and +`/etc/healthapp/NAME/service.env`. Env files are root-only; systemd passes their values +to the owning process. Certificate private keys are readable only by root and the +respective service identity. Units use `healthapp-NAME` users/groups, not a shared +application identity. Gateway key state remains gateway-owned. + +Generated material normally resides at `/var/lib/healthapp-installation/deployment` +with a private directory and private files. `accounts.json` contains generated +`prototype-patient`, `prototype-professional` and `installation-check` passwords. +The professional starts without assignments. Do not put generated material in Git. +Only the CA's public certificate is installed/exported publicly; its signing private +key is not retained. Certificates expire after one year; the prototype CA after two. + +## Topology and distributed installation + +A topology specifies addresses, ports and native platforms, not credentials. Defaults +are HTTPS ports 5443/5081/5082/5083/5084. Colocated applications need different ports. +For example: + +```json +{ + "hosts": { + "api-gateway": "192.168.1.20", + "patient-profile": "192.168.1.21", + "observation": "192.168.1.22", + "insights": "192.168.1.23", + "health-overview": "192.168.1.24" + }, + "platforms": { + "api-gateway": "linux", + "patient-profile": "linux", + "observation": "linux", + "insights": "macos", + "health-overview": "windows" + } +} +``` + +Optional `ports` uses the same service keys and integer values. Hostnames/IPs must +resolve/reach the corresponding target. Supply existing administrative SSH access; +Unix hosts need passwordless sudo for the installer, Windows SSH sessions must be +elevated administrators. Host administration credentials are distinct from generated +HealthApp/database credentials and are not invented by the application installer. + +Generate one consistent deployment and automatically distribute matching, scoped +material to each host: + +```bash +sudo bash install.sh --services all --prepare-only --topology topology.json \ + --deployment /secure/healthapp-deployment --dotnet /path/to/available/dotnet +bash distribute.sh --deployment /secure/healthapp-deployment --ssh-user administrator +``` + +Use an administrative session able to read the protected deployment material. The +preparation machine needs an available .NET 10 runtime/SDK for the C# utility. +Distribution uses SSH/SCP, installs only selected applications per host, and exports +only their private material plus necessary remote origins. It starts nodes first, +then verifies the complete topology over its real HTTPS endpoints. No credentials +are manually invented, copied into application files or distributed individually. +Services never depend on a shared runtime directory/file across machines. + +A node started with the orchestrator's `--defer-topology-check` has verified local +process/HTTPS/database readiness but pending cross-node verification. It is not +reported as a verified complete topology until the orchestrator's final check passes. +For incremental installation, reuse the same deployment; independently generated +plans deliberately have different keys and cannot authenticate to each other. + +## Windows and macOS adapters + +On Windows, from an elevated PowerShell session in the release: + +```powershell +powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -Services all -HostName 192.168.1.20 +``` + +The adapter installs the .NET runtime automatically, resolves and checksum-verifies +an EDB PostgreSQL installer from Microsoft's package manifest, creates an owned +PostgreSQL service when needed, and generates its administrator secret in protected +files. Existing application/data files are not overwritten. An existing externally +managed PostgreSQL server can instead be used with `-PostgresAdminFile`; the installer +still generates application database roles/passwords automatically. + +Applications have separate native Windows Services and virtual service identities, +protected per-service JSON configuration, state and certificate ACLs. Their Production +configuration is installed automatically; certificates are trusted in LocalMachine +Root. HTTPS firewall rules cover only selected application ports. No IIS is required. +Windows uses `-Deployment`, `-Topology`, `-Certificates` for the same shared material. +Default application root is `%ProgramData%\HealthApp`. + +On macOS, from a sudo administrator session: + +```bash +sudo bash install.sh --services all --host 192.168.1.20 +``` + +The Darwin adapter installs the ASP.NET Core runtime, provisions Homebrew/PostgreSQL +and required Apple build tools where available through softwareupdate, initializes +an installer-owned PostgreSQL cluster with SCRAM passwords, and creates separate +hidden service identities and launchd daemons. It configures system-keychain CA trust, +private environment/launchd files and selected migrations automatically. Default root +is `/Library/Application Support/HealthApp`. macOS package/tool installation requires +an administrator user session, network access, and acceptance of OS/vendor licensing. + +The adapters target supported .NET desktop/server operating systems. Portability does +not claim support for every OS/kernel/version/CPU where .NET itself is unavailable. +The live Windows/macOS registration paths need native-host validation; see evidence +limits below. The Linux execution environment cannot run Windows SCM or macOS launchd. + +## Verification and management + +Installation verifies distinct native processes, configured HTTPS endpoints, selected +databases using their dedicated credentials, actual service keys and outgoing gateway +access. The complete-system check logs in with the generated `installation-check` +account and exercises profile/observation/Overview through all deployed services. +It creates at most one clearly labelled synthetic check profile/observation if absent. +This is prototype test data, not a clinical reading; repeated verification reuses it. + +The verifier trusts the generated public CA, validates certificate chains/server names, +and never disables TLS validation. Existing HTTPS trust is retained. All step failures +identify the failed operation/service and retain existing data/material for inspection. +Sensitive SQL/credentials are not printed. Existing applications/configuration cause +refusal rather than silent replacement; this remains a first-install mechanism, +not an upgrade/uninstall/data-removal tool. Deployment is not a cross-service transaction. + +Linux may rerun `sudo bash verify.sh --services all --deployment DIRECTORY` from the +bundle. Manage selected units with `systemctl start/stop/restart healthapp-NAME`. +Windows uses `Start-Service`, `Stop-Service`, `Restart-Service`; macOS uses +`launchctl bootstrap`, `bootout`, `kickstart` on `healthapp-NAME` labels. Stopping a +service does not directly stop peer processes; requests needing it may fail. + +External trusted certificates can be supplied during preparation with `--certificates` +or `-Certificates`. The directory supplies `NAME.pfx`, `NAME.password` for all five +planned services and `healthapp-ca.crt`. Supplied PFX certificate chains are retained; +private keys/passwords are protected and configured automatically. Prototype browser +clients may import the exported public CA for trust; server-side service trust is +configured automatically by installation. + +`--root DIRECTORY` on Linux is explicitly offline staging: it generates the same +settings/material but cannot install host packages or register/start systemd. It is +not reported as a live verified installation. `--postgres-admin-file` allows automated +DB provisioning against an externally managed/test server, not manual application +DB/user preparation. Normal Linux installation administers local PostgreSQL through +its OS postgres identity without inventing a PostgreSQL administrator password. + +## Evidence and dependencies + +The xUnit deployment suite builds the release, calls the actual provisioner/installer, +creates database roles/databases in an isolated PostgreSQL server and runs all five +installed services in separate Production-mode HTTPS processes. Tests cover generated +key matching/uniqueness, certificate private-key output, private configuration, database +isolation/permissions, migrations, native-format configuration, independent restart, +representative functionality and repeated non-destructive verification. Package command +contracts are tested with controlled command doubles; no host package installation +is performed by the tests. The ordinary application tests remain unchanged. + +Linux HTTPS/interservice/database execution is verified here. Live systemd package/ +registration behaviour needs a supported Linux host; Windows/macOS service registration +needs those native hosts. Native configuration formats are exercised by the shared +utility tests; shell/PowerShell syntax validation is separate from a native end-to-end +run. The manual `.github/workflows/prototype-native-install.yml` workflow provisions +and verifies fresh Ubuntu, Windows and macOS runners; it is supplied for native +validation and has not been executed remotely in this session. These limits must not be described as verified production deployment on every OS. + +The provisioning tool uses standard .NET X.509/password hashing and Npgsql for creating +and checking databases. Its dependency is not a shared service runtime library. +Microsoft.Extensions.Hosting.WindowsServices is added to the five services solely for +native Windows service lifetime integration; Linux/macOS responsibilities are unchanged. + +Package/lifetime references reviewed during implementation: +[Ubuntu runtime installation](https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-install), +[Debian runtime installation](https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian), +[Windows service hosting](https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/windows-service?view=aspnetcore-10.0), +[EDB unattended installer parameters](https://www.enterprisedb.com/docs/supported-open-source/postgresql/installing/command_line_parameters/). diff --git a/Reference/ArchitectureA/deploy/api-gateway.env.example b/Reference/ArchitectureA/deploy/api-gateway.env.example new file mode 100644 index 0000000..ab25a80 --- /dev/null +++ b/Reference/ArchitectureA/deploy/api-gateway.env.example @@ -0,0 +1,33 @@ +ASPNETCORE_ENVIRONMENT=Production +Services__PatientProfile__BaseUrl=https://patient-profile.example.test:5081/ +ASPNETCORE_URLS=https://0.0.0.0:5443 +Kestrel__Certificates__Default__Path=/etc/healthapp/gateway.pfx +Kestrel__Certificates__Default__Password=REPLACE_ME +Services__Observation__BaseUrl=https://observation.example.test:5082/ + +Services__Insights__BaseUrl=https://insights.example.test:5083/ + +Authentication__KeyDirectory=/var/lib/healthapp-api-gateway/keys +Authentication__TokenLifetimeMinutes=30 +# Account identifiers support ASCII letters, digits, hyphen and underscore. +Authentication__Accounts__0__AccountId=example-patient +Authentication__Accounts__0__Role=Patient +Authentication__Accounts__0__PasswordHash=REPLACE_WITH_ASPNET_CORE_PASSWORD_HASH +# Use distinct randomly generated credentials of at least 32 characters. +Services__PatientProfile__Key=REPLACE_ME +Services__Observation__Key=REPLACE_ME +Services__Insights__Key=REPLACE_ME +InternalAccess__Observation__Key=REPLACE_ME +InternalAccess__Insights__Key=REPLACE_ME + +# Pre-created professional credentials and read-only patient assignments. +Authentication__Accounts__1__AccountId=example_professional +Authentication__Accounts__1__Role=HealthcareProfessional +Authentication__Accounts__1__PasswordHash=REPLACE_WITH_ASPNET_CORE_PASSWORD_HASH +# Replace the synthetic identifier below with a created patient's identifier. +# Restart the gateway after changing assignments. Omit assignments for an empty list. +Access__ProfessionalAssignments__example_professional__0=00000000-0000-0000-0000-000000000001 + +Services__HealthOverview__BaseUrl=https://health-overview.example.test:5084/ +Services__HealthOverview__Key=REPLACE_ME +InternalAccess__HealthOverview__Key=REPLACE_ME diff --git a/Reference/ArchitectureA/deploy/build-release.ps1 b/Reference/ArchitectureA/deploy/build-release.ps1 new file mode 100644 index 0000000..c5f33a2 --- /dev/null +++ b/Reference/ArchitectureA/deploy/build-release.ps1 @@ -0,0 +1,22 @@ +[CmdletBinding()] +param([Parameter(Mandatory=$true)][string]$Output, [string]$Services='all') +$ErrorActionPreference='Stop' +$assemblies=@{ 'api-gateway'='ApiGateway'; 'patient-profile'='PatientProfileService'; 'observation'='ObservationService'; 'insights'='InsightsService'; 'health-overview'='HealthOverviewService' } +$selected=if ($Services -eq 'all') { @('api-gateway','patient-profile','observation','insights','health-overview') } else { @($Services.Split(',')) } +if ((Test-Path $Output) -or @($selected | Select-Object -Unique).Count -ne $selected.Count) { throw 'Use a new output directory and unique service names.' } +foreach ($name in $selected) { if (-not $assemblies.ContainsKey($name)) { throw "Unknown service: $name" } } +New-Item -ItemType Directory -Path $Output | Out-Null +$destination=(Resolve-Path $Output).Path +$repository=Split-Path $PSScriptRoot -Parent +foreach ($directory in @('services','systemd','examples')) { New-Item -ItemType Directory -Path "$destination\$directory" | Out-Null } +Copy-Item "$PSScriptRoot\installer\*.sh","$PSScriptRoot\installer\*.ps1","$PSScriptRoot\INSTALLATION.md" $destination +foreach ($name in $selected) { + & dotnet publish "$repository\src\$($assemblies[$name])\$($assemblies[$name]).csproj" --configuration Release --self-contained false '-p:UseAppHost=false' --output "$destination\services\$name" + if ($LASTEXITCODE -ne 0) { throw "Publish failed: $name" } + Copy-Item "$PSScriptRoot\systemd\healthapp-$name.service" "$destination\systemd" + Copy-Item "$PSScriptRoot\$name.env.example" "$destination\examples" +} +& dotnet publish "$PSScriptRoot\HealthApp.Provisioning\HealthApp.Provisioning.csproj" --configuration Release --self-contained false '-p:UseAppHost=false' --output "$destination\provisioner" +if ($LASTEXITCODE -ne 0) { throw 'Publish failed: provisioning utility' } +$selected | Set-Content "$destination\services.list" +Write-Host "Portable release created: $destination" diff --git a/Reference/ArchitectureA/deploy/build-release.sh b/Reference/ArchitectureA/deploy/build-release.sh new file mode 100644 index 0000000..17b1a1c --- /dev/null +++ b/Reference/ArchitectureA/deploy/build-release.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +set -euo pipefail +fail() { printf 'Error: %s\n' "$*" >&2; exit 1; } +script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) +repo_dir=$(cd -- "$script_dir/.." && pwd) +source "$script_dir/installer/services.sh" +requested=all +output= +while [[ $# -gt 0 ]]; do + case "$1" in + --output) [[ $# -gt 1 ]] || fail 'Missing output directory.'; output=$2; shift 2;; + --services) [[ $# -gt 1 ]] || fail 'Missing services.'; requested=$2; shift 2;; + --help) printf '%s\n' 'Usage: bash deploy/build-release.sh --output NEW_DIRECTORY [--services all|api-gateway,patient-profile,observation,insights,health-overview]' 'Requires .NET 10 SDK. HEALTHAPP_DOTNET may select its executable.'; exit 0;; + *) fail "Unknown argument: $1";; + esac +done +select_services "$requested" +[[ -n "$output" && ! -e "$output" ]] || fail 'Provide a new, non-existing output directory.' +dotnet_command=${HEALTHAPP_DOTNET:-dotnet} +command -v "$dotnet_command" >/dev/null || fail '.NET 10 SDK is required to build a release.' +mkdir -p -- "$output/services" "$output/systemd" "$output/examples" +output=$(cd -- "$output" && pwd) +cp -- "$script_dir/installer/"*.sh "$output/" +cp -- "$script_dir/installer/"*.ps1 "$output/" +cp -- "$script_dir/INSTALLATION.md" "$output/" +for service in "${selected_services[@]}"; do + assembly=$(assembly_for "$service") + "$dotnet_command" publish "$repo_dir/src/$assembly/$assembly.csproj" --configuration Release --self-contained false -p:UseAppHost=false --output "$output/services/$service" + cp -- "$script_dir/systemd/healthapp-$service.service" "$output/systemd/" + cp -- "$script_dir/$service.env.example" "$output/examples/" +done +"$dotnet_command" publish "$script_dir/HealthApp.Provisioning/HealthApp.Provisioning.csproj" --configuration Release --self-contained false -p:UseAppHost=false --output "$output/provisioner" +printf '%s\n' "${selected_services[@]}" > "$output/services.list" +printf 'Release created: %s\n' "$output" diff --git a/Reference/ArchitectureA/deploy/health-overview.env.example b/Reference/ArchitectureA/deploy/health-overview.env.example new file mode 100644 index 0000000..306c61e --- /dev/null +++ b/Reference/ArchitectureA/deploy/health-overview.env.example @@ -0,0 +1,8 @@ +ASPNETCORE_ENVIRONMENT=Production +ASPNETCORE_URLS=https://0.0.0.0:5084 +Services__ApiGateway__BaseUrl=https://gateway.example.test:5443/ + +InternalAccess__GatewayKey=REPLACE_ME +Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx +Kestrel__Certificates__Default__Password=REPLACE_ME +Services__ApiGateway__Key=REPLACE_ME diff --git a/Reference/ArchitectureA/deploy/insights.env.example b/Reference/ArchitectureA/deploy/insights.env.example new file mode 100644 index 0000000..4dbc642 --- /dev/null +++ b/Reference/ArchitectureA/deploy/insights.env.example @@ -0,0 +1,8 @@ +ASPNETCORE_ENVIRONMENT=Production +ASPNETCORE_URLS=https://0.0.0.0:5083 +Services__ApiGateway__BaseUrl=https://gateway.example.test:5443/ + +InternalAccess__GatewayKey=REPLACE_ME +Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx +Kestrel__Certificates__Default__Password=REPLACE_ME +Services__ApiGateway__Key=REPLACE_ME diff --git a/Reference/ArchitectureA/deploy/installer/bootstrap.sh b/Reference/ArchitectureA/deploy/installer/bootstrap.sh new file mode 100644 index 0000000..cf858b6 --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/bootstrap.sh @@ -0,0 +1,56 @@ +#!/usr/bin/env bash +# Source from install.sh. Package commands use the supported distribution's signed feeds. +package_available() { + local policy + policy=$(LC_ALL=C apt-cache policy "$1") || return 1 + [[ "$policy" =~ Candidate:[[:space:]]+([^[:space:]]+) && "${BASH_REMATCH[1]}" != '(none)' ]] +} + +ensure_dependencies() { + local distribution=$1 version=$2 runtime=$3 persistence=$4 ancestry=${5:-} + case " $distribution $ancestry " in + *" debian "*|*" ubuntu "*) ;; + *) fail 'Automatic Linux provisioning requires a Debian/Ubuntu-based distribution (ID or ID_LIKE).';; + esac + command -v apt-get >/dev/null && command -v apt-cache >/dev/null || fail 'Debian/Ubuntu provisioning requires apt-get and apt-cache.' + step='refresh dependency package availability' + apt-get update || fail 'Could not refresh package feeds; check network access and configured repositories.' + step='install base dependencies' + if ! command -v curl >/dev/null || ! command -v update-ca-certificates >/dev/null; then + DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates curl + fi + if [[ ! -x "$runtime" ]] || ! "$runtime" --list-runtimes | grep -q 'Microsoft.AspNetCore.App 10\.'; then + step='install .NET 10 ASP.NET Core runtime' + if ! package_available aspnetcore-runtime-10.0 && [[ "$distribution" == debian ]]; then + [[ "$version" =~ ^[0-9]+$ ]] || fail 'Cannot identify a compatible Microsoft Debian package repository from VERSION_ID.' + local package_dir + package_dir=$(mktemp -d) + if ! curl --fail --silent --show-error --location "https://packages.microsoft.com/config/debian/$version/packages-microsoft-prod.deb" -o "$package_dir/microsoft.deb"; then + rm -f -- "$package_dir/microsoft.deb" + rmdir -- "$package_dir" + fail "No accessible Microsoft Debian $version repository; aspnetcore-runtime-10.0 is unavailable in configured feeds." + fi + dpkg -i "$package_dir/microsoft.deb" + rm -f -- "$package_dir/microsoft.deb" + rmdir -- "$package_dir" + apt-get update + fi + package_available aspnetcore-runtime-10.0 || fail "Required package aspnetcore-runtime-10.0 is unavailable for $distribution $version in configured feeds; no compatible runtime repository could be identified automatically." + DEBIAN_FRONTEND=noninteractive apt-get install -y aspnetcore-runtime-10.0 || fail 'Failed to install aspnetcore-runtime-10.0 from configured feeds.' + fi + [[ -x "$runtime" ]] && "$runtime" --list-runtimes | grep -q 'Microsoft.AspNetCore.App 10\.' || fail 'The .NET 10 ASP.NET Core runtime could not be provisioned.' + if [[ "$persistence" == true ]]; then + step='provision PostgreSQL server' + if ! command -v pg_isready >/dev/null || ! pg_isready -q -h localhost -p 5432; then + package_available postgresql || fail "Required package postgresql is unavailable for $distribution $version in configured feeds." + DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql || fail 'Failed to install PostgreSQL from configured feeds.' + systemctl enable --now postgresql + fi + local ready=false attempt + for attempt in {1..30}; do + if pg_isready -q -h localhost -p 5432; then ready=true; break; fi + sleep 1 + done + [[ "$ready" == true ]] || fail 'PostgreSQL did not become available on localhost:5432.' + fi +} diff --git a/Reference/ArchitectureA/deploy/installer/distribute.sh b/Reference/ArchitectureA/deploy/installer/distribute.sh new file mode 100644 index 0000000..a26b03d --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/distribute.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set -euo pipefail +script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) +fail() { printf 'Distribution failed: %s\n' "$*" >&2; exit 1; } +source "$script_dir/services.sh" +deployment= +requested=all +ssh_user= +dotnet_path=/usr/bin/dotnet +while [[ $# -gt 0 ]]; do + case "$1" in + --deployment|--services|--ssh-user|--dotnet) + [[ $# -gt 1 ]] || fail 'Missing argument.' + case "$1" in --deployment) deployment=$2;; --services) requested=$2;; --ssh-user) ssh_user=$2;; --dotnet) dotnet_path=$2;; esac + shift 2;; + --help) printf '%s\n' 'Usage: bash distribute.sh --deployment GENERATED_DIRECTORY --ssh-user ADMIN_USER [--services all|NAME[,NAME]] [--dotnet PATH]' 'Uses configured SSH access and passwordless sudo on the topology hosts. Generates no new credentials; installs matching scoped material and verifies the topology.'; exit 0;; + *) fail "Unknown argument: $1";; + esac +done +select_services "$requested" +[[ -n "$deployment" && -n "$ssh_user" ]] || fail 'Deployment directory and SSH administrator are required.' +"$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll" distribute --bundle "$script_dir" \ + --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")" --ssh-user "$ssh_user" diff --git a/Reference/ArchitectureA/deploy/installer/install-macos.sh b/Reference/ArchitectureA/deploy/installer/install-macos.sh new file mode 100644 index 0000000..d0b631e --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/install-macos.sh @@ -0,0 +1,156 @@ +#!/usr/bin/env bash +set -euo pipefail +umask 077 +step=arguments +fail() { printf 'Installation failed at %s: %s\n' "$step" "$*" >&2; exit 1; } +trap 'printf "Installation failed at %s (line %s). Existing data was retained.\n" "$step" "$LINENO" >&2' ERR +script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) +source "$script_dir/services.sh" +requested= +root='/Library/Application Support/HealthApp' +host=localhost +topology= +deployment= +external_certificates= +admin_file= +prepare_only=false +defer=false +while [[ $# -gt 0 ]]; do + case "$1" in + --services|--host|--topology|--deployment|--certificates|--root|--postgres-admin-file) + [[ $# -gt 1 ]] || fail 'Missing value.' + case "$1" in --services) requested=$2;; --host) host=$2;; --topology) topology=$2;; --deployment) deployment=$2;; + --certificates) external_certificates=$2;; --root) root=$2;; --postgres-admin-file) admin_file=$2;; esac + shift 2;; + --prepare-only) prepare_only=true; shift;; + --defer-topology-check) defer=true; shift;; + --help) printf '%s\n' 'Usage: sudo bash install.sh --services all|NAME[,NAME] [--host DNS_OR_IP] [--topology FILE] [--deployment GENERATED_DIRECTORY]' 'macOS installs the runtime/PostgreSQL and independent launchd daemons using the same application DLLs and provisioning utility.'; exit 0;; + *) fail "Unknown argument: $1";; + esac +done +[[ $(uname -s) == Darwin && $EUID -eq 0 ]] || fail 'Run under sudo on macOS.' +select_services "$requested" +for service in "${selected_services[@]}"; do + [[ ! -e "$root/services/$service" && ! -e "/Library/LaunchDaemons/healthapp-$service.plist" ]] || fail "Already installed: $service." +done +mkdir -p "$root" +chmod 0711 "$root" +step='install .NET 10 ASP.NET Core runtime' +dotnet_path="$root/runtime/dotnet" +if command -v dotnet >/dev/null && dotnet --list-runtimes | grep -q 'Microsoft.AspNetCore.App 10\.'; then dotnet_path=$(command -v dotnet); fi +if [[ ! -x "$dotnet_path" ]]; then + curl --fail --silent --show-error https://dot.net/v1/dotnet-install.sh -o "$root/dotnet-install.sh" + bash "$root/dotnet-install.sh" --channel 10.0 --runtime aspnetcore --install-dir "$root/runtime" --no-path + chmod -R a+rX "$root/runtime" +fi +provision=("$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll") +step='generate credentials and HTTPS certificates' +[[ -n "$deployment" ]] || deployment="$root/deployment" +if [[ ! -f "$deployment/deployment.json" ]]; then + args=(prepare --output "$deployment" --host "$host") + [[ -z "$topology" ]] || args+=(--topology "$topology") + [[ -z "$external_certificates" ]] || args+=(--certificates "$external_certificates") + "${provision[@]}" "${args[@]}" +fi +[[ "$prepare_only" == false ]] || { printf 'Generated deployment in %s\n' "$deployment"; exit 0; } +step='configure HTTPS trust' +security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain "$deployment/healthapp-ca.crt" +create_identity() { + local name=$1 uid=300 + if id "$name" >/dev/null 2>&1; then return; fi + while dscl . -search /Users UniqueID "$uid" | grep -q . || dscl . -search /Groups PrimaryGroupID "$uid" | grep -q .; do uid=$((uid+1)); done + dscl . -create "/Groups/$name" + dscl . -create "/Groups/$name" PrimaryGroupID "$uid" + dscl . -create "/Users/$name" + dscl . -create "/Users/$name" UniqueID "$uid" + dscl . -create "/Users/$name" PrimaryGroupID "$uid" + dscl . -create "/Users/$name" UserShell /usr/bin/false + dscl . -create "/Users/$name" NFSHomeDirectory /var/empty + dscl . -create "/Users/$name" IsHidden 1 +} +persistence=false +for service in "${selected_services[@]}"; do case "$service" in patient-profile|observation) persistence=true;; esac; done +if [[ "$persistence" == true && -z "$admin_file" ]]; then + step='install PostgreSQL binaries' + brew_user=${SUDO_USER:-} + [[ -n "$brew_user" && "$brew_user" != root ]] || fail 'Run sudo from an administrator account so Homebrew can run as that user.' + if ! xcode-select -p >/dev/null 2>&1; then + touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress + label=$(softwareupdate --list 2>&1 | sed -n 's/^.*Label: \(Command Line Tools.*\)/\1/p' | tail -n 1) + [[ -n "$label" ]] || fail 'Apple did not offer Command Line Tools through softwareupdate.' + softwareupdate --install "$label" --agree-to-license + rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress + fi + brew_path=/opt/homebrew/bin/brew + [[ -x "$brew_path" ]] || brew_path=/usr/local/bin/brew + if [[ ! -x "$brew_path" ]]; then + curl --fail --silent --show-error https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh -o "$root/homebrew-install.sh" + chmod 0644 "$root/homebrew-install.sh" + sudo -u "$brew_user" env NONINTERACTIVE=1 bash "$root/homebrew-install.sh" + [[ -x /opt/homebrew/bin/brew ]] && brew_path=/opt/homebrew/bin/brew || brew_path=/usr/local/bin/brew + fi + sudo -u "$brew_user" "$brew_path" install postgresql@17 + pg_prefix=$(sudo -u "$brew_user" "$brew_path" --prefix postgresql@17) + step='create installer-owned PostgreSQL cluster' + pg_identity=_healthapp_postgres + create_identity "$pg_identity" + admin_file="$root/postgres-admin.connection" + if [[ ! -f "$admin_file" ]]; then + port=5432 + while nc -z localhost "$port" >/dev/null 2>&1; do port=$((port+1)); done + "${provision[@]}" secret --output "$root/postgres.password" + mkdir -p "$root/postgresql-data" + chown "$pg_identity:$pg_identity" "$root/postgresql-data" "$root/postgres.password" + sudo -u "$pg_identity" "$pg_prefix/bin/initdb" -D "$root/postgresql-data" -U postgres --auth-local=scram-sha-256 --auth-host=scram-sha-256 --pwfile "$root/postgres.password" + printf '\nport = %s\n' "$port" >> "$root/postgresql-data/postgresql.conf" + "${provision[@]}" admin-connection --password-file "$root/postgres.password" --port "$port" --output "$admin_file" + pg_plist=/Library/LaunchDaemons/healthapp-postgresql.plist + cat > "$pg_plist" < + +Labelhealthapp-postgresqlProgramArguments$pg_prefix/bin/postgres-D$root/postgresql-dataUserName$pg_identityRunAtLoadKeepAlive +PLIST + chmod 0644 "$pg_plist" + launchctl bootstrap system "$pg_plist" + fi + port=$(sed -n 's/.*Port=\([0-9]*\).*/\1/p' "$admin_file") + [[ -n "$port" ]] || port=5432 + for attempt in {1..30}; do if "$pg_prefix/bin/pg_isready" -q -p "$port"; then break; fi; sleep 1; done +fi +for service in "${selected_services[@]}"; do + step="configure $service" + identity="_healthapp_${service//-/_}" + create_identity "$identity" + case "$service" in patient-profile|observation) + "${provision[@]}" database --service-dir "$deployment/$service" --admin-file "$admin_file";; + esac + "${provision[@]}" configure --service-dir "$deployment/$service" --root "$root" --platform macos + mkdir -p "$root/services" "$root/config" "$root/state" + chmod 0711 "$root/services" "$root/config" "$root/state" + cp -R "$script_dir/services/$service" "$root/services/$service" + chmod -R a+rX "$root/services/$service" + chgrp -R "$identity" "$root/config/$service" + chmod 0750 "$root/config/$service" + chmod 0640 "$root/config/$service/"* + if [[ "$service" == api-gateway ]]; then + mkdir -p "$root/state/api-gateway/keys" + chown -R "$identity:$identity" "$root/state/api-gateway" + chmod 0700 "$root/state/api-gateway" + fi + case "$service" in patient-profile|observation) + "${provision[@]}" execute --service "$service" --assembly "$root/services/$service/$(assembly_for "$service").dll" --dotnet "$dotnet_path" --root "$root";; + esac + # plutil converts the JSON object to an XML plist without treating configuration as shell code. + "$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll" launchd --service "$service" --root "$root" --dotnet "$dotnet_path" --output "/Library/LaunchDaemons/healthapp-$service.plist" + chmod 0600 "/Library/LaunchDaemons/healthapp-$service.plist" + launchctl bootstrap system "/Library/LaunchDaemons/healthapp-$service.plist" +done +step='verify startup and HTTPS' +for service in "${selected_services[@]}"; do launchctl print "system/healthapp-$service" >/dev/null; done +"${provision[@]}" verify-startup --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")" +if [[ "$defer" == false ]]; then + args=(verify --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")") + [[ "$requested" != all ]] || args+=(--complete true) + "${provision[@]}" "${args[@]}" +fi +printf 'Installation completed. Account credentials: %s/accounts.json\n' "$deployment" diff --git a/Reference/ArchitectureA/deploy/installer/install.ps1 b/Reference/ArchitectureA/deploy/installer/install.ps1 new file mode 100644 index 0000000..1277c73 --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/install.ps1 @@ -0,0 +1,159 @@ +[CmdletBinding()] +param( + [Parameter(Mandatory=$true)][string]$Services, + [string]$HostName = 'localhost', + [string]$Topology, + [string]$Deployment, + [string]$Certificates, + [string]$PostgresAdminFile, + [string]$Root = "$env:ProgramData\HealthApp", + [switch]$PrepareOnly, + [switch]$DeferTopologyCheck +) +$ErrorActionPreference = 'Stop' +$step = 'arguments' +function Check-Exit([string]$Operation) { if ($LASTEXITCODE -ne 0) { throw "$Operation failed (exit $LASTEXITCODE)." } } +function Protect-Private([string]$Path) { + & icacls.exe $Path /inheritance:r /grant:r '*S-1-5-18:(OI)(CI)F' '*S-1-5-32-544:(OI)(CI)F' | Out-Null + Check-Exit 'Protect private deployment files' +} +try { + $identity = [Security.Principal.WindowsIdentity]::GetCurrent() + $principal = New-Object Security.Principal.WindowsPrincipal($identity) + if (-not $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { throw 'Run from an elevated PowerShell session.' } + $assemblies = @{ 'api-gateway'='ApiGateway'; 'patient-profile'='PatientProfileService'; 'observation'='ObservationService'; 'insights'='InsightsService'; 'health-overview'='HealthOverviewService' } + $selected = if ($Services -eq 'all') { @('api-gateway','patient-profile','observation','insights','health-overview') } else { @($Services.Split(',')) } + if (@($selected | Select-Object -Unique).Count -ne $selected.Count) { throw 'Repeated service selection.' } + foreach ($name in $selected) { + if (-not $assemblies.ContainsKey($name)) { throw "Unknown service: $name" } + if (-not (Test-Path "$PSScriptRoot\services\$name\$($assemblies[$name]).dll")) { throw "Missing release: $name" } + if ((Test-Path "$Root\services\$name") -or (Get-Service "healthapp-$name" -ErrorAction SilentlyContinue)) { throw "Already installed: $name. Existing files were not changed." } + } + New-Item -ItemType Directory -Force $Root | Out-Null + Protect-Private $Root + $step = 'install .NET 10 ASP.NET Core runtime' + $dotnet = "$Root\runtime\dotnet.exe" + if (Get-Command dotnet.exe -ErrorAction SilentlyContinue) { + $candidate = (Get-Command dotnet.exe).Source + if ((& $candidate --list-runtimes) -match 'Microsoft.AspNetCore.App 10\.') { $dotnet = $candidate } + } + if (-not (Test-Path $dotnet)) { + $script = "$Root\dotnet-install.ps1" + Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile $script -UseBasicParsing + & $script -Channel '10.0' -Runtime 'aspnetcore' -InstallDir "$Root\runtime" -NoPath + if (-not (Test-Path $dotnet)) { throw 'Runtime installation did not produce dotnet.exe.' } + } + $utility = "$PSScriptRoot\provisioner\HealthApp.Provisioning.dll" + $step = 'generate deployment material' + if (-not $Deployment) { $Deployment = "$Root\deployment" } + if (-not (Test-Path "$Deployment\deployment.json")) { + $prepare = @($utility,'prepare','--output',$Deployment,'--host',$HostName) + if ($Topology) { $prepare += @('--topology',$Topology) } + if ($Certificates) { $prepare += @('--certificates',$Certificates) } + & $dotnet @prepare + Check-Exit 'Generate credentials and HTTPS certificates' + } + Protect-Private $Deployment + if ($PrepareOnly) { Write-Host "Generated protected deployment material in $Deployment"; return } + $step = 'install prototype HTTPS trust' + Import-Certificate -FilePath "$Deployment\healthapp-ca.crt" -CertStoreLocation Cert:\LocalMachine\Root | Out-Null + $needsPostgres = ($selected -contains 'patient-profile') -or ($selected -contains 'observation') + if ($needsPostgres -and -not $PostgresAdminFile) { + $PostgresAdminFile = "$Root\postgres-admin.connection" + if (-not (Test-Path $PostgresAdminFile)) { + $step = 'install PostgreSQL' + # Resolve the maintained Microsoft package manifest, verify the vendor binary checksum, + # and pass the generated administrator secret through a protected options file. + $headers = @{ 'User-Agent'='HealthApp-Prototype-Installer' } + $manifestBase = 'https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/p/PostgreSQL/PostgreSQL/17' + $versions = Invoke-RestMethod $manifestBase -Headers $headers + $latest = $versions | Sort-Object @{Expression={[version]($_.name.Split('-')[0])}}, @{Expression={[int]($_.name.Split('-')[-1])}} -Descending | Select-Object -First 1 + $files = Invoke-RestMethod $latest.url -Headers $headers + $manifest = $files | Where-Object { $_.name -like '*.installer.yaml' } | Select-Object -First 1 + $yaml = (Invoke-WebRequest $manifest.download_url -UseBasicParsing).Content + $download = [regex]::Match($yaml,'(?m)^\s*InstallerUrl:\s*(\S+)').Groups[1].Value + $checksum = [regex]::Match($yaml,'(?m)^\s*InstallerSha256:\s*([A-Fa-f0-9]{64})').Groups[1].Value + if (-not $download.StartsWith('https://get.enterprisedb.com/') -or -not $checksum) { throw 'PostgreSQL package manifest is invalid.' } + $installer = "$Root\postgresql-installer.exe" + Invoke-WebRequest $download -OutFile $installer -UseBasicParsing + if ((Get-FileHash $installer -Algorithm SHA256).Hash -ne $checksum) { throw 'PostgreSQL installer checksum does not match.' } + $random = New-Object byte[] 32 + $rng = [Security.Cryptography.RandomNumberGenerator]::Create() + $rng.GetBytes($random); $rng.Dispose() + $adminPassword = [BitConverter]::ToString($random).Replace('-','') + 'a!' + $port = 5432 + $listener = New-Object Net.Sockets.TcpListener([Net.IPAddress]::Loopback,$port) + try { $listener.Start() } catch { $listener = New-Object Net.Sockets.TcpListener([Net.IPAddress]::Loopback,0); $listener.Start(); $port = $listener.LocalEndpoint.Port } + finally { $listener.Stop() } + $options = "$Root\postgresql.options" + @('mode=unattended','unattendedmodeui=none','debuglevel=0','enable-components=server,commandlinetools', + "prefix=$Root\postgresql","datadir=$Root\postgresql-data","serverport=$port",'servicename=healthapp-postgresql', + 'serviceaccount=NT AUTHORITY\NetworkService',"superpassword=$adminPassword") | Set-Content $options -Encoding UTF8 + Protect-Private $options + $installed = Start-Process $installer -ArgumentList @('--optionfile',('"'+$options+'"')) -Wait -PassThru + if ($installed.ExitCode -ne 0) { throw 'PostgreSQL unattended installation failed.' } + "Host=localhost;Port=$port;Database=postgres;Username=postgres;Password=$adminPassword" | Set-Content $PostgresAdminFile -Encoding UTF8 + Protect-Private $PostgresAdminFile + Remove-Item $options + } + Start-Service 'healthapp-postgresql' + } + foreach ($name in $selected) { + $step = "configure $name" + if ($name -eq 'patient-profile' -or $name -eq 'observation') { + & $dotnet $utility database --service-dir "$Deployment\$name" --admin-file $PostgresAdminFile + Check-Exit "Create dedicated $name database and credentials" + } + & $dotnet $utility configure --service-dir "$Deployment\$name" --root $Root --platform windows + Check-Exit "Configure $name" + New-Item -ItemType Directory -Force "$Root\services" | Out-Null + $application = "$Root\services\$name" + Copy-Item "$PSScriptRoot\services\$name" $application -Recurse + Copy-Item "$Root\config\$name\appsettings.Production.json" "$application\appsettings.Production.json" + $dll = "$application\$($assemblies[$name]).dll" + if ($name -eq 'patient-profile' -or $name -eq 'observation') { + & $dotnet $dll --migrate --contentRoot $application --environment Production + Check-Exit "Migrate $name database" + } + $serviceName = "healthapp-$name" + $binary = '"'+$dotnet+'" "'+$dll+'" --contentRoot "'+$application+'" --environment Production' + New-Service -Name $serviceName -BinaryPathName $binary -StartupType Automatic -Description "HealthApp $name" | Out-Null + & sc.exe config $serviceName obj= "NT SERVICE\$serviceName" | Out-Null + Check-Exit "Configure independent $name virtual service account" + & icacls.exe $application /grant "NT SERVICE\${serviceName}:(OI)(CI)RX" /T | Out-Null + & icacls.exe "$Root\config\$name" /grant "NT SERVICE\${serviceName}:(OI)(CI)RX" /T | Out-Null + if ($name -eq 'api-gateway') { + New-Item -ItemType Directory -Force "$Root\state\api-gateway\keys" | Out-Null + & icacls.exe "$Root\state\api-gateway" /grant "NT SERVICE\${serviceName}:(OI)(CI)M" /T | Out-Null + } + # Service identities need traversal/runtime access, not other services' private configuration. + foreach ($parent in @("$Root\services","$Root\config","$Root\state")) { + if (Test-Path $parent) { & icacls.exe $parent /grant "NT SERVICE\${serviceName}:RX" | Out-Null } + } + & icacls.exe $Root /grant "NT SERVICE\${serviceName}:RX" | Out-Null + if ($dotnet.StartsWith($Root)) { & icacls.exe "$Root\runtime" /grant "NT SERVICE\${serviceName}:(OI)(CI)RX" /T | Out-Null } + & sc.exe failure $serviceName reset= 86400 actions= restart/5000 | Out-Null + $settings = Get-Content "$Deployment\$name\service.json" -Raw | ConvertFrom-Json + New-NetFirewallRule -DisplayName "HealthApp $name HTTPS" -Direction Inbound -Action Allow -Protocol TCP -LocalPort $settings.Port -Program $dotnet | Out-Null + Start-Service $serviceName + } + $step = 'verify running processes and HTTPS' + $processIds = @() + foreach ($name in $selected) { + $native = Get-CimInstance Win32_Service -Filter "Name='healthapp-$name'" + if ($native.State -ne 'Running' -or $native.ProcessId -eq 0 -or ($processIds -contains $native.ProcessId)) { throw "$name is not an independent running service." } + $processIds += $native.ProcessId + } + & $dotnet $utility verify-startup --deployment $Deployment --services ($selected -join ',') + Check-Exit 'HTTPS startup verification' + if (-not $DeferTopologyCheck) { + $verify = @($utility,'verify','--deployment',$Deployment,'--services',($selected -join ',')) + if ($Services -eq 'all') { $verify += @('--complete','true') } + & $dotnet @verify + Check-Exit 'Dependency and representative workflow verification' + } + Write-Host "Installation completed. Generated account credentials are protected in $Deployment\accounts.json" +} catch { + Write-Error "Installation failed at ${step}: $($_.Exception.Message). Existing data and deployment material were retained." + exit 1 +} diff --git a/Reference/ArchitectureA/deploy/installer/install.sh b/Reference/ArchitectureA/deploy/installer/install.sh new file mode 100644 index 0000000..cb90000 --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/install.sh @@ -0,0 +1,150 @@ +#!/usr/bin/env bash +set -euo pipefail +umask 077 +step=arguments +fail() { printf 'Installation failed at %s: %s\n' "$step" "$*" >&2; exit 1; } +trap 'printf "Installation failed at %s (line %s). Existing data and generated material were retained.\n" "$step" "$LINENO" >&2' ERR +script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) +if [[ $(uname -s) == Darwin ]]; then exec bash "$script_dir/install-macos.sh" "$@"; fi +source "$script_dir/services.sh" +source "$script_dir/bootstrap.sh" +bundle=$script_dir +requested= +target_root=/ +dotnet_path=/usr/bin/dotnet +host=localhost +topology= +deployment= +external_certificates= +admin_file= +prepare_only=false +defer_verification=false +while [[ $# -gt 0 ]]; do + case "$1" in + --bundle|--services|--root|--dotnet|--host|--topology|--deployment|--certificates|--postgres-admin-file) + [[ $# -gt 1 ]] || fail "Missing value for $1." + case "$1" in --bundle) bundle=$2;; --services) requested=$2;; --root) target_root=$2;; --dotnet) dotnet_path=$2;; + --host) host=$2;; --topology) topology=$2;; --deployment) deployment=$2;; --certificates) external_certificates=$2;; + --postgres-admin-file) admin_file=$2;; esac + shift 2;; + --prepare-only) prepare_only=true; shift;; + --defer-topology-check) defer_verification=true; shift;; + --help) printf '%s\n' 'Usage: bash install.sh --services all|NAME[,NAME] [--host DNS_OR_IP] [--topology topology.json] [--deployment generated-directory]' 'Provisioning installs runtime/PostgreSQL as needed and generates credentials, HTTPS, configuration, migrations and running systemd services.' 'Optional --root DIRECTORY stages generated files offline; --dotnet PATH selects the available runtime.' '--prepare-only generates a deployment for automatic distribution with distribute.sh. --certificates DIR accepts external certificates.'; exit 0;; + *) fail "Unknown argument: $1";; + esac +done +select_services "$requested" +[[ $(uname -s) == Linux ]] || fail 'Only Linux is supported.' +[[ "$target_root" == /* && "$target_root" != *$'\n'* ]] || fail 'Root must be an absolute path.' +[[ "$dotnet_path" =~ ^/[A-Za-z0-9_./+-]+$ ]] || fail 'Runtime path is invalid.' +target_root=$(realpath -m -- "$target_root") +step=preflight +for service in "${selected_services[@]}"; do + assembly=$(assembly_for "$service") + [[ -f "$bundle/services/$service/$assembly.dll" && -f "$bundle/systemd/healthapp-$service.service" ]] || fail "Missing release payload: $service" + [[ ! -e "$target_root/opt/healthapp/$service" && ! -e "$target_root/etc/healthapp/$service" && ! -e "$target_root/etc/systemd/system/healthapp-$service.service" ]] || fail "Already installed: $service; existing configuration was not changed." +done +[[ -f "$bundle/provisioner/HealthApp.Provisioning.dll" ]] || fail 'Missing release provisioning utility.' +persistence=false +for service in "${selected_services[@]}"; do case "$service" in patient-profile|observation) persistence=true;; esac; done +if [[ "$target_root" == / && "$prepare_only" == false ]]; then + [[ $EUID -eq 0 && -d /run/systemd/system ]] || fail 'Live installation requires root and a running systemd manager.' + source /etc/os-release + ensure_dependencies "$ID" "${VERSION_ID:-}" "$dotnet_path" "$persistence" "${ID_LIKE:-}" +else + [[ -x "$dotnet_path" ]] || fail 'Offline preparation needs an available .NET 10 runtime.' +fi +provision=("$dotnet_path" "$bundle/provisioner/HealthApp.Provisioning.dll") +step='generate deployment credentials and HTTPS certificates' +if [[ -z "$deployment" || ! -f "$deployment/deployment.json" ]]; then + [[ -n "$deployment" ]] || deployment="$target_root/var/lib/healthapp-installation/deployment" + arguments=(prepare --output "$deployment" --host "$host") + [[ -z "$topology" ]] || arguments+=(--topology "$topology") + [[ -z "$external_certificates" ]] || arguments+=(--certificates "$external_certificates") + "${provision[@]}" "${arguments[@]}" +fi +if [[ "$prepare_only" == true ]]; then + printf 'Deployment material generated in %s. It contains secrets; distribute.sh installs the scoped material on each host.\n' "$deployment" + exit 0 +fi +install -d -m 0755 "$target_root/opt/healthapp" "$target_root/etc/systemd/system" +install -d -m 0711 "$target_root/etc/healthapp" +install -d -m 0755 "$target_root/usr/local/share/ca-certificates" +ca_id=$(sha256sum "$deployment/healthapp-ca.crt" | cut -c1-16) +install -m 0644 "$deployment/healthapp-ca.crt" "$target_root/usr/local/share/ca-certificates/healthapp-prototype-$ca_id.crt" +if [[ "$target_root" == / ]]; then + step='install local HTTPS trust' + update-ca-certificates +fi +for service in "${selected_services[@]}"; do + step="configure $service" + if [[ "$target_root" == / ]]; then + user="healthapp-$service" + getent group "$user" >/dev/null || groupadd --system "$user" + id "$user" >/dev/null 2>&1 || useradd --system --gid "$user" --home-dir /nonexistent --shell /usr/sbin/nologin "$user" + fi + if [[ "$service" == patient-profile || "$service" == observation ]]; then + if [[ "$target_root" == / || -n "$admin_file" ]]; then + step="create dedicated database and role for $service" + args=(database --service-dir "$deployment/$service") + [[ -z "$admin_file" ]] || args+=(--admin-file "$admin_file") + "${provision[@]}" "${args[@]}" + fi + fi + "${provision[@]}" configure --service-dir "$deployment/$service" --root "$target_root" + install -d -m 0755 "$target_root/opt/healthapp/$service" + cp -R "$bundle/services/$service/." "$target_root/opt/healthapp/$service/" + chmod -R a+rX,go-w "$target_root/opt/healthapp/$service" + sed -e "s|ExecStart=/usr/bin/dotnet |ExecStart=$dotnet_path |" \ + -e "s|EnvironmentFile=/etc/healthapp/$service.env|EnvironmentFile=/etc/healthapp/$service/service.env|" \ + -e "s/^User=healthapp$/User=healthapp-$service/" -e "s/^Group=healthapp$/Group=healthapp-$service/" \ + "$bundle/systemd/healthapp-$service.service" > "$target_root/etc/systemd/system/healthapp-$service.service" + chmod 0644 "$target_root/etc/systemd/system/healthapp-$service.service" + if [[ "$target_root" == / ]]; then + chmod 0750 "/etc/healthapp/$service" + chgrp "$user" "/etc/healthapp/$service" "/etc/healthapp/$service/service.pfx" + chmod 0640 "/etc/healthapp/$service/service.pfx" + fi + printf 'Installed selected application: %s\n' "$service" +done +if [[ "$target_root" != / ]]; then + printf 'Offline deployment staged in %s. Package installation, systemd startup and live verification were not performed.\n' "$target_root" + exit 0 +fi +step='register independent systemd services' +systemctl daemon-reload +for service in "${selected_services[@]}"; do + case "$service" in patient-profile|observation) + step="migrate $service database" + assembly=$(assembly_for "$service") + systemd-run --quiet --wait --pipe --collect --unit="healthapp-$service-migrate" \ + --property="User=healthapp-$service" --property="Group=healthapp-$service" \ + --property="EnvironmentFile=/etc/healthapp/$service/service.env" --property="WorkingDirectory=/opt/healthapp/$service" \ + "$dotnet_path" "/opt/healthapp/$service/$assembly.dll" --migrate;; + esac + +done +systemctl daemon-reload +for service in "${selected_services[@]}"; do + step="enable/start $service" + systemctl enable --now "healthapp-$service.service" +done +step='verify startup and HTTPS listening' +pids=() +for service in "${selected_services[@]}"; do + systemctl is-active --quiet "healthapp-$service.service" || fail "$service is not running." + pid=$(systemctl show --property MainPID --value "healthapp-$service.service") + [[ "$pid" =~ ^[1-9][0-9]*$ && -d "/proc/$pid" ]] || fail "$service has no running process." + for peer in "${pids[@]}"; do [[ "$pid" != "$peer" ]] || fail 'Selected services share a process.'; done + pids+=("$pid") +done +"${provision[@]}" verify-startup --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")" +if [[ "$defer_verification" == true ]]; then + printf '%s\n' 'Node started. Distributed topology verification is pending until all nodes have started.' +else + step='verify configured dependencies and representative functionality' + arguments=(verify --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")") + [[ "$requested" != all ]] || arguments+=(--complete true) + "${provision[@]}" "${arguments[@]}" + printf 'Installation and topology verification completed. Account credentials: %s/accounts.json\n' "$deployment" +fi diff --git a/Reference/ArchitectureA/deploy/installer/services.sh b/Reference/ArchitectureA/deploy/installer/services.sh new file mode 100644 index 0000000..d21e100 --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/services.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +# Deployment metadata only; each application remains independently published and configured. +all_services=(api-gateway patient-profile observation insights health-overview) +select_services() { + local requested="$1" item + selected_services=() + if [[ "$requested" == all ]]; then + selected_services=("${all_services[@]}") + return + fi + IFS=',' read -r -a selected_services <<< "$requested" + [[ ${#selected_services[@]} -gt 0 && "$requested" != *, ]] || fail "Select services by comma-separated name or all." + local seen=, + for item in "${selected_services[@]}"; do + case "$item" in api-gateway|patient-profile|observation|insights|health-overview) ;; *) fail "Unknown service: $item" ;; esac + case "$seen" in *,$item,*) fail "Repeated service: $item";; esac + seen+="$item," + done +} +assembly_for() { + case "$1" in + api-gateway) printf '%s' ApiGateway;; + patient-profile) printf '%s' PatientProfileService;; + observation) printf '%s' ObservationService;; + insights) printf '%s' InsightsService;; + health-overview) printf '%s' HealthOverviewService;; + esac +} diff --git a/Reference/ArchitectureA/deploy/installer/verify.sh b/Reference/ArchitectureA/deploy/installer/verify.sh new file mode 100644 index 0000000..38fad4a --- /dev/null +++ b/Reference/ArchitectureA/deploy/installer/verify.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +set -euo pipefail +script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd) +fail() { printf 'Verification failed: %s\n' "$*" >&2; exit 1; } +source "$script_dir/services.sh" +requested= +deployment=/var/lib/healthapp-installation/deployment +dotnet_path=/usr/bin/dotnet +while [[ $# -gt 0 ]]; do + case "$1" in + --services|--deployment|--dotnet) + [[ $# -gt 1 ]] || fail 'Missing argument.' + case "$1" in --services) requested=$2;; --deployment) deployment=$2;; --dotnet) dotnet_path=$2;; esac + shift 2;; + --help) printf '%s\n' 'Usage: bash verify.sh --services all|NAME[,NAME] [--deployment GENERATED_DIRECTORY] [--dotnet PATH]' 'Checks systemd processes, HTTPS, dedicated databases, service credentials and the complete-system synthetic workflow.'; exit 0;; + *) fail "Unknown argument: $1";; + esac +done +select_services "$requested" +pids=() +for service in "${selected_services[@]}"; do + systemctl is-active --quiet "healthapp-$service.service" || fail "$service is not running." + pid=$(systemctl show --property MainPID --value "healthapp-$service.service") + [[ "$pid" =~ ^[1-9][0-9]*$ && -d "/proc/$pid" ]] || fail "$service has no process." + for peer in "${pids[@]}"; do [[ "$pid" != "$peer" ]] || fail 'Services share a process.'; done + pids+=("$pid") +done +args=(verify --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")") +[[ "$requested" != all ]] || args+=(--complete true) +"$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll" "${args[@]}" +printf '%s\n' 'Installation verification passed.' diff --git a/Reference/ArchitectureA/deploy/observation.env.example b/Reference/ArchitectureA/deploy/observation.env.example new file mode 100644 index 0000000..c68b9d2 --- /dev/null +++ b/Reference/ArchitectureA/deploy/observation.env.example @@ -0,0 +1,9 @@ +ASPNETCORE_ENVIRONMENT=Production +ASPNETCORE_URLS=https://0.0.0.0:5082 +ConnectionStrings__ObservationDatabase="Host=database.example.test;Port=5432;Database=observations;Username=observations;Password=REPLACE_ME" +Services__ApiGateway__BaseUrl=https://gateway.example.test:5443/ + +InternalAccess__GatewayKey=REPLACE_ME +Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx +Kestrel__Certificates__Default__Password=REPLACE_ME +Services__ApiGateway__Key=REPLACE_ME diff --git a/Reference/ArchitectureA/deploy/patient-profile.env.example b/Reference/ArchitectureA/deploy/patient-profile.env.example new file mode 100644 index 0000000..fa2fe9f --- /dev/null +++ b/Reference/ArchitectureA/deploy/patient-profile.env.example @@ -0,0 +1,7 @@ +ASPNETCORE_ENVIRONMENT=Production +ASPNETCORE_URLS=https://0.0.0.0:5081 +ConnectionStrings__PatientDatabase="Host=database.example.test;Port=5432;Database=patient_profile;Username=patient_profile;Password=REPLACE_ME" + +InternalAccess__GatewayKey=REPLACE_ME +Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx +Kestrel__Certificates__Default__Password=REPLACE_ME diff --git a/Reference/ArchitectureA/deploy/systemd/healthapp-api-gateway.service b/Reference/ArchitectureA/deploy/systemd/healthapp-api-gateway.service new file mode 100644 index 0000000..52a6db7 --- /dev/null +++ b/Reference/ArchitectureA/deploy/systemd/healthapp-api-gateway.service @@ -0,0 +1,22 @@ +[Unit] +Description=HealthApp API gateway +Wants=network-online.target +After=network-online.target + +[Service] +StateDirectory=healthapp-api-gateway +StateDirectoryMode=0700 +Type=simple +User=healthapp +Group=healthapp +WorkingDirectory=/opt/healthapp/api-gateway +ExecStart=/usr/bin/dotnet /opt/healthapp/api-gateway/ApiGateway.dll +EnvironmentFile=/etc/healthapp/api-gateway.env +Restart=on-failure +RestartSec=5 +KillSignal=SIGINT +TimeoutStopSec=30 +SyslogIdentifier=healthapp-api-gateway + +[Install] +WantedBy=multi-user.target diff --git a/Reference/ArchitectureA/deploy/systemd/healthapp-health-overview.service b/Reference/ArchitectureA/deploy/systemd/healthapp-health-overview.service new file mode 100644 index 0000000..c5533b8 --- /dev/null +++ b/Reference/ArchitectureA/deploy/systemd/healthapp-health-overview.service @@ -0,0 +1,20 @@ +[Unit] +Description=HealthApp Health Overview service +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=healthapp +Group=healthapp +WorkingDirectory=/opt/healthapp/health-overview +ExecStart=/usr/bin/dotnet /opt/healthapp/health-overview/HealthOverviewService.dll +EnvironmentFile=/etc/healthapp/health-overview.env +Restart=on-failure +RestartSec=5 +KillSignal=SIGINT +TimeoutStopSec=30 +SyslogIdentifier=healthapp-health-overview + +[Install] +WantedBy=multi-user.target diff --git a/Reference/ArchitectureA/deploy/systemd/healthapp-insights.service b/Reference/ArchitectureA/deploy/systemd/healthapp-insights.service new file mode 100644 index 0000000..8a083c3 --- /dev/null +++ b/Reference/ArchitectureA/deploy/systemd/healthapp-insights.service @@ -0,0 +1,20 @@ +[Unit] +Description=HealthApp Insights service +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=healthapp +Group=healthapp +WorkingDirectory=/opt/healthapp/insights +ExecStart=/usr/bin/dotnet /opt/healthapp/insights/InsightsService.dll +EnvironmentFile=/etc/healthapp/insights.env +Restart=on-failure +RestartSec=5 +KillSignal=SIGINT +TimeoutStopSec=30 +SyslogIdentifier=healthapp-insights + +[Install] +WantedBy=multi-user.target diff --git a/Reference/ArchitectureA/deploy/systemd/healthapp-observation.service b/Reference/ArchitectureA/deploy/systemd/healthapp-observation.service new file mode 100644 index 0000000..aed3131 --- /dev/null +++ b/Reference/ArchitectureA/deploy/systemd/healthapp-observation.service @@ -0,0 +1,20 @@ +[Unit] +Description=HealthApp Observation service +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=healthapp +Group=healthapp +WorkingDirectory=/opt/healthapp/observation +ExecStart=/usr/bin/dotnet /opt/healthapp/observation/ObservationService.dll +EnvironmentFile=/etc/healthapp/observation.env +Restart=on-failure +RestartSec=5 +KillSignal=SIGINT +TimeoutStopSec=30 +SyslogIdentifier=healthapp-observation + +[Install] +WantedBy=multi-user.target diff --git a/Reference/ArchitectureA/deploy/systemd/healthapp-patient-profile.service b/Reference/ArchitectureA/deploy/systemd/healthapp-patient-profile.service new file mode 100644 index 0000000..c64e26f --- /dev/null +++ b/Reference/ArchitectureA/deploy/systemd/healthapp-patient-profile.service @@ -0,0 +1,20 @@ +[Unit] +Description=HealthApp Patient/Profile service +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=healthapp +Group=healthapp +WorkingDirectory=/opt/healthapp/patient-profile +ExecStart=/usr/bin/dotnet /opt/healthapp/patient-profile/PatientProfileService.dll +EnvironmentFile=/etc/healthapp/patient-profile.env +Restart=on-failure +RestartSec=5 +KillSignal=SIGINT +TimeoutStopSec=30 +SyslogIdentifier=healthapp-patient-profile + +[Install] +WantedBy=multi-user.target diff --git a/Reference/ArchitectureA/global.json b/Reference/ArchitectureA/global.json new file mode 100644 index 0000000..512142d --- /dev/null +++ b/Reference/ArchitectureA/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.100", + "rollForward": "latestFeature" + } +} diff --git a/Reference/ArchitectureA/src/AUTHENTICATION.md b/Reference/ArchitectureA/src/AUTHENTICATION.md new file mode 100644 index 0000000..a23f95d --- /dev/null +++ b/Reference/ArchitectureA/src/AUTHENTICATION.md @@ -0,0 +1,200 @@ +# US-13 prototype authentication + +The API gateway authenticates pre-created externally configured accounts. Login is +`POST /api/authentication/login` with `accountId` and `password`. A successful JSON +response contains `accessToken`, `tokenType: Bearer`, `expiresIn`, `accountId` and +trusted `role`; it contains no patient data or refresh token. Send the access token +as `Authorization: Bearer ` on subsequent patient-data requests. Invalid +credentials return the same `401` response for unknown accounts and wrong passwords. +Login responses cannot be cached. General measurement guidance remains public. + +## Mechanism and configuration + +Use ASP.NET Core's built-in bearer authentication and ticket protection, with +Data Protection's application name `HealthApp.ApiGateway` and the bearer purpose. +Tokens are opaque protected authentication tickets, not JWTs. The configured key +ring and framework purpose enforce the gateway trust boundary; only account ID, +role and authentication properties are protected inside a token. Do not share the +key ring with other applications/services. No custom cryptography, identity +microservice, account database or refresh-token mechanism is introduced. + +The gateway verifies passwords with ASP.NET Core `PasswordHasher` against +`Authentication:Accounts::{AccountId,Role,PasswordHash}`. Roles are `Patient` +or `HealthcareProfessional`, from trusted configuration. IDs support ASCII letters, +digits, hyphen and underscore, up to 128 characters. This keeps the internal account +lookup contract unambiguous. Provision credentials externally; no registration or +administration API is exposed. For provisioning, `tools/PasswordHash` reads a +password from standard input and emits its ASP.NET Core hash. Supply input securely +(e.g. redirect a permission-restricted temporary file), and protect the resulting +hash/configuration; neither belongs in Git. The tool needs no NuGet dependency. + +`Authentication:TokenLifetimeMinutes` defaults to 30; supported range is 1–1440. +`Authentication:KeyDirectory` is required. Keep its contents persistent through +restart/deployment and readable only by the gateway service account. The systemd +unit provides a mode-0700 state directory; example configuration points into it. +Keys are protected by filesystem permissions in this Linux prototype. Removing +keys invalidates tokens; preserve them for restart continuity. Accounts and +configuration are loaded at startup; after disabling accounts or changing roles, +old tokens can remain valid until their expiry. Immediate revocation is outside +this story. Missing/invalid/expired tokens return `401`; authenticate again after +expiry. Credential validation is not repeated for each operation. + +Before thesis measurement, record the lifetime, account/role mix, key persistence, +login frequency and expiry handling. Normally obtain tokens during workload setup +and reuse them; state explicitly whether login is measured. If tokens expire, +re-authentication is required. Keep these choices identical across variants. The +automated test helper logs in using real password verification and caches tokens; +its account-per-resource setup is not a prescribed measurement workload. + +## Ownership and profile creation + +The patient service owns the account association as `patient.account_id` with a +unique index. It remains application access data, outside tokens. The gateway +queries its protected `GET /api/patients/by-account/{accountId}` service API on each +request; that API is not forwarded as a public account-lookup route. An account +without a profile may log in and create one; its other own-data requests return +`404`. Patient operations are subject to the standard Patient authorization policy. + +`GET /api/patients/me` retrieves the caller’s own associated profile without needing +to know its generated identifier, including after a creation response was lost. +It returns `404` before profile creation. + +Profile creation derives `X-Account-Id` from the authenticated principal. The +gateway overwrites client input; the service accepts it only behind its gateway +credential. The profile and association are inserted in one atomic database save, +so failure rolls both back. The unique index arbitrates concurrent creation. A +completed creation, a retry after a lost response and a competing request cannot +create another profile; later attempts receive `409`. A retry after a failed +transaction may create the first profile. Profile identity remains persistent +through restarts. US-01's authenticated creation is included because US-13 depends +on a persistent, recoverable association. + +Apply the new patient migration before startup. Existing profiles retain a null +account association rather than being assigned to an arbitrary account. They are +not accessible to patient accounts until a trusted deployment operator explicitly +associates them with pre-created accounts. For synthetic experiments, provision a +fresh database via the authenticated creation flow. Do not infer ownership from +caller-supplied IDs or automatically assign historical profiles. + +For observation-ID requests, the gateway reads the observation through its service +API to obtain the actual patient, then compares that owner with the account's +profile. Requests for another patient's information receive an empty `404`, the +same as missing data, without forwarding writes or revealing existence. Failed +ownership lookups fail closed with `502`/`504`. Tokens do not cache ownership. +Healthcare-professional logins establish a trusted role. US-14 now permits reads +of assigned patients and the caller’s own assignment list; all professional writes +are rejected before forwarding. Trend/overview endpoints remain unimplemented; the +gateway's default authentication policy also protects future patient endpoints, +which must retain ownership checks when added. + +## Service and transport protection + +Use HTTPS for client and service traffic. Outside Development, gateway and service +requests over HTTP are rejected and outgoing service endpoints must be HTTPS. +Certificates use ordinary Kestrel configuration and normal platform validation; +no insecure certificate handler is provided. Configure DNS names/certificates for +separate machines. Development permits plain HTTP for local automated tests only. +Use network firewall rules to restrict service ports to trusted hosts as an +additional deployment control; the application credential checks still enforce +protection if a client reaches a service directly. + +Each service requires `InternalAccess:GatewayKey`, a random credential of at least +32 characters, matched by the gateway's `Services::Key`. Services reject +missing/wrong keys and client bearer tokens. Use distinct per-service gateway keys +in deployment. The gateway forwards only its own configured key; arbitrary client +identity headers are not propagated. Do not log these headers or tokens. + +Observation and Insights each have a separate `Services:ApiGateway:Key`, matched +by the gateway's `InternalAccess:Observation:Key` or `InternalAccess:Insights:Key`. +Their `X-Service-Key` authenticates an internal principal using an ASP.NET Core +handler. The Observation principal can only GET a patient profile by patient ID; +the Insights principal can only GET observation history by patient ID. Neither +can create/update/delete profiles or observations, query account associations or +call other protected routes. Both internal read paths still pass through the +gateway. Service credentials are separate from patient tokens and token keys. +Use independent random values, restrictive configuration-file permissions and +HTTPS; placeholder values in deployment examples deliberately fail validation. + +## Verification + +The acceptance suite exercises real HTTP hosts and PostgreSQL migrations. It covers +US-13's login, own access, missing/invalid/expired tokens, no-profile behaviour, +cross-patient reads/writes and observation ownership. Additional checks cover +caller-supplied account spoofing, persistent tokens/associations after restart, +duplicate/concurrent creation, unavailable-service recovery, direct service bypass, +internal-credential route restrictions, professional creation rejection and public +US-15 guidance. Existing functional assertions run through real token login rather +than a production authentication bypass. + +Framework reference: +https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.bearertoken.bearertokenoptions?view=aspnetcore-10.0 + +## US-14 professional assignments + +Predefine assignments in the gateway's external `Access:ProfessionalAssignments` +configuration, keyed by the stable professional account identifier. For example: + +```json +{ + "Access": { + "ProfessionalAssignments": { + "example_professional": [ + "00000000-0000-0000-0000-000000000001", + "00000000-0000-0000-0000-000000000002" + ] + } + } +} +``` + +Use actual patient identifiers returned by authenticated profile creation. The +example UUIDs are placeholders. A professional can have several patients, and +several professionals can share a patient. Duplicate identifiers are treated as +one assignment. Empty identifiers are rejected at startup. An omitted account +entry means no assignments. Configure that account's role and password hash +separately under `Authentication:Accounts`; assignments never grant a role. + +`GET /api/professionals/me/patients` requires the HealthcareProfessional policy and +returns an array of `{ "patientId": "..." }` entries, in deterministic identifier +order. It lists only the caller's configured assignments, without fetching patient +records. No assignments returns `[]`. Missing profiles remain assigned identifiers; +retrieving their data follows the existing missing-resource behaviour. Caller +query parameters or identity headers cannot select another professional's list. +Patient accounts cannot use this endpoint. + +Professional GET requests to existing patient profiles, observations (including +recorded legacy context), history, latest observations and numerical insight +require membership in the caller's assignment set. Observation-ID requests resolve +the actual owning patient via the protected Observation API; a supplied patient ID +is not evidence of assignment. Unassigned reads return an empty `404`, preserving +the same non-disclosure convention as patient access. Assigned missing data follows +the existing retrieval contracts. All professional POST/PUT/PATCH/DELETE requests +are rejected with `403` before ownership lookups or forwarding. There is no +assignment-management API or additional database/service. + +Assignments are loaded at gateway startup, outside tokens and credential +validation. Restart the gateway after changing its external configuration. Existing +valid tokens then use the new assignment data. Empty lists need no upstream service; +observation-owner lookup failures fail closed with `502`/`504`. + +The US-14 tests exercise actual login, multiple and shared assignments, empty lists, +assigned/unassigned reads, preserved context, missing resources, every existing +write route, invalid and expired credentials, patient-role rejection, assignment +changes across restart and unavailable ownership lookup. Trend and overview +endpoints now have equivalent owner/assignment routing and integration tests under +US-11/US-12. Structured observation context is included in authorized reads. + +## US-12 Overview service access + +The gateway requires `Services:HealthOverview:BaseUrl` and `Services:HealthOverview:Key`. +The latter matches Overview's `InternalAccess:GatewayKey` and protects direct access. +Overview's outgoing `Services:ApiGateway:Key` matches `InternalAccess:HealthOverview:Key` +on the gateway. Use distinct randomly generated credentials of at least 32 characters +for each direction and service; load them externally. Production endpoints use HTTPS. + +The HealthOverview service identity is restricted to GET patient profiles, GET latest +overall observations and GET numerical insights. It cannot retrieve history, trends or +another overview, or perform writes. It establishes no client identity. The gateway +checks client ownership/professional assignment before forwarding the outer request. +Internal credentials are trusted service credentials and must remain inaccessible to clients. +Overview adds no authentication framework, shared runtime library or persistence. diff --git a/Reference/ArchitectureA/src/ApiGateway/ApiGateway.csproj b/Reference/ArchitectureA/src/ApiGateway/ApiGateway.csproj new file mode 100644 index 0000000..2d85607 --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/ApiGateway.csproj @@ -0,0 +1,10 @@ + + + net10.0 + enable + enable + + + + + diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/AuthenticationController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/AuthenticationController.cs new file mode 100644 index 0000000..9cb0d1d --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/AuthenticationController.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using System.Security.Claims; +using ApiGateway.Security; +using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Authentication.BearerToken; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Options; + +namespace ApiGateway.Controllers; + +[ApiController] +[Route("api/authentication")] +public sealed class AuthenticationController(PrototypeAccounts accounts, + IOptionsMonitor options) : ControllerBase +{ + [AllowAnonymous] + [HttpPost("login")] + public IActionResult Login(LoginRequest request) + { + var account = accounts.Verify(request.AccountId, request.Password); + if (account is null) return Unauthorized(new { title = "Invalid credentials." }); + var principal = new ClaimsPrincipal(new ClaimsIdentity(new[] + { + new Claim(ClaimTypes.NameIdentifier, account.AccountId), + new Claim(ClaimTypes.Role, account.Role) + }, "Bearer")); + var settings = options.Get("Bearer"); + var expiry = settings.TimeProvider!.GetUtcNow().Add(settings.BearerTokenExpiration); + // Use the framework's ticket protector and bearer validation. No refresh endpoint/token. + var ticket = new AuthenticationTicket(principal, new AuthenticationProperties { ExpiresUtc = expiry }, "Bearer"); + Response.Headers.CacheControl = "no-store"; + Response.Headers.Pragma = "no-cache"; + return Ok(new { accessToken = settings.BearerTokenProtector.Protect(ticket), tokenType = "Bearer", + expiresIn = (long)settings.BearerTokenExpiration.TotalSeconds, accountId = account.AccountId, role = account.Role }); + } + + public sealed record LoginRequest([Required] string AccountId, [Required] string Password); +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/HealthOverviewController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/HealthOverviewController.cs new file mode 100644 index 0000000..12510d7 --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/HealthOverviewController.cs @@ -0,0 +1,48 @@ +using Microsoft.AspNetCore.Mvc; + +namespace ApiGateway.Controllers; + +[ApiController] +[Route("api")] +public sealed class HealthOverviewController(IHttpClientFactory clients) : ControllerBase +{ + [HttpGet("patients/{patientId:guid}/overview")] + public Task GetOverview(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/overview{Request.QueryString}", cancellationToken); + + private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken) + { + using var request = new HttpRequestMessage(method, path); + + try + { + using var upstream = await clients.CreateClient("HealthOverview") + .SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken); + Response.StatusCode = (int)upstream.StatusCode; + Response.ContentType = upstream.Content.Headers.ContentType?.ToString(); + if (upstream.Headers.Location is { } location) + Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString(); + await upstream.Content.CopyToAsync(Response.Body, cancellationToken); + } + catch (HttpRequestException) + { + await WriteFailureAsync(StatusCodes.Status502BadGateway); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + await WriteFailureAsync(StatusCodes.Status504GatewayTimeout); + } + } + + private Task WriteFailureAsync(int status) + { + if (Response.HasStarted) + { + HttpContext.Abort(); + return Task.CompletedTask; + } + Response.Clear(); + return Results.Problem(statusCode: status, title: "Health overview service is unavailable.") + .ExecuteAsync(HttpContext); + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/InsightsController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/InsightsController.cs new file mode 100644 index 0000000..e3f43de --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/InsightsController.cs @@ -0,0 +1,52 @@ +using Microsoft.AspNetCore.Mvc; + +namespace ApiGateway.Controllers; + +[ApiController] +[Route("api")] +public sealed class InsightsController(IHttpClientFactory clients) : ControllerBase +{ + [HttpGet("patients/{patientId:guid}/insights")] + public Task GetSummary(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/insights{Request.QueryString}", cancellationToken); + + [HttpGet("patients/{patientId:guid}/trends")] + public Task GetTrend(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/trends{Request.QueryString}", cancellationToken); + + private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken) + { + using var request = new HttpRequestMessage(method, path); + + try + { + using var upstream = await clients.CreateClient("Insights") + .SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken); + Response.StatusCode = (int)upstream.StatusCode; + Response.ContentType = upstream.Content.Headers.ContentType?.ToString(); + if (upstream.Headers.Location is { } location) + Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString(); + await upstream.Content.CopyToAsync(Response.Body, cancellationToken); + } + catch (HttpRequestException) + { + await WriteFailureAsync(StatusCodes.Status502BadGateway); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + await WriteFailureAsync(StatusCodes.Status504GatewayTimeout); + } + } + + private Task WriteFailureAsync(int status) + { + if (Response.HasStarted) + { + HttpContext.Abort(); + return Task.CompletedTask; + } + Response.Clear(); + return Results.Problem(statusCode: status, title: "Insights service is unavailable.") + .ExecuteAsync(HttpContext); + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/MeasurementGuidanceController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/MeasurementGuidanceController.cs new file mode 100644 index 0000000..f1875a2 --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/MeasurementGuidanceController.cs @@ -0,0 +1,62 @@ +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; + +namespace ApiGateway.Controllers; + +[ApiController] +[AllowAnonymous] +[Route("api/measurement-guidance")] +public sealed class MeasurementGuidanceController : ControllerBase +{ + [HttpGet] + public IActionResult Get([FromQuery] string? setting, [FromQuery] string? activityCondition) + { + var requestedSetting = string.IsNullOrWhiteSpace(setting) ? "Unknown" : setting.Trim(); + var requestedActivity = string.IsNullOrWhiteSpace(activityCondition) ? "Unknown" : activityCondition.Trim(); + if (!new[] { "Home", "Clinic", "Other", "Unknown" }.Contains(requestedSetting, StringComparer.OrdinalIgnoreCase)) + return Problem(statusCode: 400, title: "Unsupported measurement setting."); + if (!new[] { "AtRest", "DuringActivity", "AfterActivity", "Unknown" }.Contains(requestedActivity, StringComparer.OrdinalIgnoreCase)) + return Problem(statusCode: 400, title: "Unsupported activity condition."); + + var available = requestedSetting.Equals("Home", StringComparison.OrdinalIgnoreCase) + || requestedSetting.Equals("Unknown", StringComparison.OrdinalIgnoreCase); + return Ok(new + { + available, + requestedSetting, + requestedActivityCondition = requestedActivity, + applicableSetting = available ? "Home" : null, + applicableActivityCondition = available ? "AtRest" : null, + reviewedOn = available ? "2026-10-04" : null, + explanation = available + ? "These instructions apply to resting home self-measurement, not a clinical measurement protocol. Unknown conditions remain unknown; requesting guidance does not record a setting or certify compliance." + : "Verified guidance is unavailable for the requested setting. Home instructions have not been substituted for clinical or other-setting instructions.", + steps = available ? new[] + { + new GuidanceStep(1, "Equipment", "Use a validated upper-arm device with a cuff suited to your arm. Follow its instructions for placement and maintenance; incorrect cuff size can distort readings."), + new GuidanceStep(2, "Preparation", "Choose a quiet place. Avoid smoking for 30 minutes beforehand and rest seated for five minutes."), + new GuidanceStep(3, "Position", "Sit with back and arm supported and legs uncrossed. Put the cuff on bare skin, clear of tight clothing, and keep the arm relaxed and still during measurement."), + new GuidanceStep(4, "Measure", "Use the device as instructed. Reproduce your setting, posture and preparation when possible to help later comparisons."), + new GuidanceStep(5, "Planned monitoring", "The cited Danish home protocol uses three readings in the morning before breakfast and three in the evening before dinner, over three consecutive days. This planned series differs from saving one observation; follow individually supplied clinical instructions."), + new GuidanceStep(6, "Record", "Save actual blood-pressure values in mmHg, device-reported pulse in beats/minute, and measurement time. Record setting, activity and preparation where known, including departures from routine. Do not discard, change or invent values to fit guidance.") + } : Array.Empty(), + pulseExplanation = available + ? "Rest and activity affect the context of pulse readings. One device-reported pulse value does not assess rhythm regularity." + : null, + activityExplanation = available + ? "During-activity and after-activity measurements differ from resting measurements. Record the actual conditions; do not relabel them as resting. Such observations remain valid to record." + : null, + limitations = available + ? "Guidance does not guarantee accuracy or replace device or individual clinical instructions. It does not recommend medication changes. Viewing or declining it does not save or alter observations, certify a procedure, or prevent a valid submission." + : null, + sources = available ? new[] + { + new GuidanceSource("Sundhed.dk — Højt blodtryk", "https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/hjerte-kar/symptomer-og-tegn/hoejt-blodtryk/", "2024-09-25"), + new GuidanceSource("Sundhed.dk — Blodtryksmåling", "https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/undersoegelser-og-proever/kliniske-procedurer/hjertekar/blodtryksmaaling/", "2025-03-13") + } : Array.Empty() + }); + } + + private sealed record GuidanceStep(int Order, string Topic, string Instruction); + private sealed record GuidanceSource(string Title, string Url, string UpdatedOn); +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/ObservationController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/ObservationController.cs new file mode 100644 index 0000000..6495918 --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/ObservationController.cs @@ -0,0 +1,81 @@ +using Microsoft.AspNetCore.Mvc; + +namespace ApiGateway.Controllers; + +[ApiController] +[Route("api")] +public sealed class ObservationController(IHttpClientFactory clients) : ControllerBase +{ + [HttpPost("patients/{patientId:guid}/observations")] + public Task RecordObservation(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Post, $"api/patients/{patientId}/observations", cancellationToken); + + [HttpDelete("observations/{observationId:guid}")] + public Task DeleteObservation(Guid observationId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Delete, $"api/observations/{observationId}", cancellationToken); + + [HttpPut("observations/{observationId:guid}")] + public Task UpdateObservation(Guid observationId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Put, $"api/observations/{observationId}", cancellationToken); + + [HttpPatch("observations/{observationId:guid}")] + public Task PatchObservation(Guid observationId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Patch, $"api/observations/{observationId}", cancellationToken); + + [HttpGet("observations/{observationId:guid}")] + public Task GetObservation(Guid observationId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/observations/{observationId}", cancellationToken); + + [HttpGet("patients/{patientId:guid}/observations/latest")] + public Task GetLatest(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/observations/latest", cancellationToken); + + [HttpGet("patients/{patientId:guid}/observations")] + public Task GetByPeriod(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/observations{Request.QueryString}", cancellationToken); + + private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken) + { + using var request = new HttpRequestMessage(method, path); + if (method == HttpMethod.Post || method == HttpMethod.Put || method == HttpMethod.Patch) + { + request.Content = new StreamContent(Request.Body); + if (Request.ContentType is not null) + request.Content.Headers.TryAddWithoutValidation("Content-Type", Request.ContentType); + } + + try + { + using var upstream = await clients.CreateClient("Observation") + .SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken); + Response.StatusCode = (int)upstream.StatusCode; + Response.ContentType = upstream.Content.Headers.ContentType?.ToString(); + foreach (var header in new[] { "X-Measurement-Setting", "X-Activity-Condition" }) + if (upstream.Headers.TryGetValues(header, out var values)) + Response.Headers[header] = values.ToArray(); + if (upstream.Headers.Location is { } location) + Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString(); + await upstream.Content.CopyToAsync(Response.Body, cancellationToken); + } + catch (HttpRequestException) + { + await WriteFailureAsync(StatusCodes.Status502BadGateway); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + await WriteFailureAsync(StatusCodes.Status504GatewayTimeout); + } + } + + private Task WriteFailureAsync(int status) + { + if (Response.HasStarted) + { + HttpContext.Abort(); + return Task.CompletedTask; + } + Response.Clear(); + return Results.Problem(statusCode: status, title: "Observation service is unavailable.") + .ExecuteAsync(HttpContext); + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/PatientController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/PatientController.cs new file mode 100644 index 0000000..9a4032b --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/PatientController.cs @@ -0,0 +1,69 @@ +using Microsoft.AspNetCore.Mvc; +using System.Security.Claims; + +namespace ApiGateway.Controllers; + +[ApiController] +[Route("api/patients")] +public sealed class PatientController(IHttpClientFactory clients) : ControllerBase +{ + [HttpPost] + public Task CreatePatient(CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Post, "api/patients", cancellationToken); + + [HttpGet("me")] + public Task GetOwnPatient(CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, "api/patients/by-account/" + Uri.EscapeDataString(User.FindFirstValue(ClaimTypes.NameIdentifier)!), cancellationToken); + + [HttpGet("{patientId:guid}")] + public Task GetPatient(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}", cancellationToken); + + [HttpPut("{patientId:guid}")] + public Task UpdatePatient(Guid patientId, CancellationToken cancellationToken) => + ForwardAsync(HttpMethod.Put, $"api/patients/{patientId}", cancellationToken); + + private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken) + { + using var request = new HttpRequestMessage(method, path); + if (method == HttpMethod.Post) + request.Headers.Add("X-Account-Id", User.FindFirstValue(ClaimTypes.NameIdentifier)); + if (method == HttpMethod.Post || method == HttpMethod.Put) + { + request.Content = new StreamContent(Request.Body); + if (Request.ContentType is not null) + request.Content.Headers.TryAddWithoutValidation("Content-Type", Request.ContentType); + } + + try + { + using var upstream = await clients.CreateClient("PatientProfile") + .SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken); + Response.StatusCode = (int)upstream.StatusCode; + Response.ContentType = upstream.Content.Headers.ContentType?.ToString(); + if (upstream.Headers.Location is { } location) + Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString(); + await upstream.Content.CopyToAsync(Response.Body, cancellationToken); + } + catch (HttpRequestException) + { + await WriteFailureAsync(StatusCodes.Status502BadGateway); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + await WriteFailureAsync(StatusCodes.Status504GatewayTimeout); + } + } + + private Task WriteFailureAsync(int status) + { + if (Response.HasStarted) + { + HttpContext.Abort(); + return Task.CompletedTask; + } + Response.Clear(); + return Results.Problem(statusCode: status, title: "Patient/Profile service is unavailable.") + .ExecuteAsync(HttpContext); + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Controllers/ProfessionalController.cs b/Reference/ArchitectureA/src/ApiGateway/Controllers/ProfessionalController.cs new file mode 100644 index 0000000..7572287 --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Controllers/ProfessionalController.cs @@ -0,0 +1,17 @@ +using System.Security.Claims; +using ApiGateway.Security; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; + +namespace ApiGateway.Controllers; + +[ApiController] +[Authorize(Policy = "HealthcareProfessional")] +[Route("api/professionals/me/patients")] +public sealed class ProfessionalController(ProfessionalAssignments assignments) : ControllerBase +{ + [HttpGet] + public IActionResult GetAssignedPatients() => + Ok(assignments.GetPatients(User.FindFirstValue(ClaimTypes.NameIdentifier)!) + .Select(patientId => new { patientId })); +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Program.cs b/Reference/ArchitectureA/src/ApiGateway/Program.cs new file mode 100644 index 0000000..91c621c --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Program.cs @@ -0,0 +1,116 @@ +using ApiGateway.Security; +using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Authentication.BearerToken; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.DataProtection.Repositories; +namespace ApiGateway; + +public class Program +{ + public static void Main(string[] args) + { + var builder = WebApplication.CreateBuilder(args); + builder.Host.UseWindowsService(options => options.ServiceName = "healthapp-api-gateway"); + builder.Services.AddControllers(); + builder.Services.AddProblemDetails(); + builder.Services.AddSingleton(); + builder.Services.AddSingleton(); + builder.Services.AddAuthentication("ClientOrService") + .AddPolicyScheme("ClientOrService", null, options => options.ForwardDefaultSelector = context => + context.Request.Headers.ContainsKey("X-Service-Key") ? "InternalService" : "Bearer") + .AddBearerToken("Bearer", options => + { + options.BearerTokenExpiration = TimeSpan.FromMinutes(builder.Configuration.GetValue("Authentication:TokenLifetimeMinutes", 30)); + }) + .AddScheme("InternalService", null); + builder.Services.AddAuthorization(options => + { + options.FallbackPolicy = new AuthorizationPolicyBuilder().RequireAuthenticatedUser().Build(); + options.AddPolicy("Patient", policy => policy.RequireRole("Patient").RequireClaim(System.Security.Claims.ClaimTypes.NameIdentifier)); + options.AddPolicy("HealthcareProfessional", policy => policy.RequireRole("HealthcareProfessional") + .RequireClaim(System.Security.Claims.ClaimTypes.NameIdentifier)); + }); + builder.Services.AddDataProtection().SetApplicationName("HealthApp.ApiGateway"); + builder.Services.AddOptions().Configure((options, configuration, logger) => + { + var keyDirectory = configuration["Authentication:KeyDirectory"]; + if (string.IsNullOrWhiteSpace(keyDirectory)) throw new InvalidOperationException("Authentication:KeyDirectory is required."); + options.XmlRepository = new FileSystemXmlRepository(new DirectoryInfo(keyDirectory), logger); + }); + builder.Services.AddHttpClient("PatientProfile", (services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetBaseUri(configuration, "PatientProfile"); + client.DefaultRequestHeaders.Add("X-Gateway-Key", configuration["Services:PatientProfile:Key"]); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + + builder.Services.AddHttpClient("Observation", (services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetBaseUri(configuration, "Observation"); + client.DefaultRequestHeaders.Add("X-Gateway-Key", configuration["Services:Observation:Key"]); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + + builder.Services.AddHttpClient("Insights", (services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetBaseUri(configuration, "Insights"); + client.DefaultRequestHeaders.Add("X-Gateway-Key", configuration["Services:Insights:Key"]); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + + builder.Services.AddHttpClient("HealthOverview", (services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetBaseUri(configuration, "HealthOverview"); + client.DefaultRequestHeaders.Add("X-Gateway-Key", configuration["Services:HealthOverview:Key"]); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + + var app = builder.Build(); + _ = GetBaseUri(app.Configuration, "PatientProfile"); + _ = GetBaseUri(app.Configuration, "Observation"); + _ = GetBaseUri(app.Configuration, "Insights"); + _ = GetBaseUri(app.Configuration, "HealthOverview"); + foreach (var key in new[] { "Services:PatientProfile:Key", "Services:Observation:Key", "Services:Insights:Key", "Services:HealthOverview:Key", "InternalAccess:HealthOverview:Key", "InternalAccess:Observation:Key", "InternalAccess:Insights:Key" }) + if (string.IsNullOrWhiteSpace(app.Configuration[key]) || app.Configuration[key]!.Length < 32) + throw new InvalidOperationException($"{key} must contain at least 32 characters."); + if (string.IsNullOrWhiteSpace(app.Configuration["Authentication:KeyDirectory"])) + throw new InvalidOperationException("Authentication:KeyDirectory is required."); + var lifetime = app.Configuration.GetValue("Authentication:TokenLifetimeMinutes", 30); + if (lifetime <= 0 || lifetime > 1440) throw new InvalidOperationException("Token lifetime must be between 1 and 1440 minutes."); + if (!app.Environment.IsDevelopment()) + foreach (var service in new[] { "PatientProfile", "Observation", "Insights", "HealthOverview" }) + if (GetBaseUri(app.Configuration, service).Scheme != "https") + throw new InvalidOperationException("Production service endpoints must use HTTPS."); + _ = app.Services.GetRequiredService(); + _ = app.Services.GetRequiredService(); + app.UseExceptionHandler(); + app.Use(async (context, next) => + { + if (!app.Environment.IsDevelopment() && !context.Request.IsHttps) { context.Response.StatusCode = 400; return; } + await next(context); + }); + app.UseRouting(); + app.UseAuthentication(); + app.UseAuthorization(); + app.UseMiddleware(); + app.MapControllers(); + app.Run(); + } + + private static Uri GetBaseUri(IConfiguration configuration, string service) + { + var endpoint = configuration[$"Services:{service}:BaseUrl"]; + if (!Uri.TryCreate(endpoint, UriKind.Absolute, out var baseUri) || + (baseUri.Scheme != "http" && baseUri.Scheme != "https") || + baseUri.AbsolutePath != "/" || !string.IsNullOrEmpty(baseUri.Query) || + !string.IsNullOrEmpty(baseUri.Fragment) || !string.IsNullOrEmpty(baseUri.UserInfo)) + throw new InvalidOperationException($"Services:{service}:BaseUrl must be an HTTP(S) origin URL."); + return baseUri; + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs b/Reference/ArchitectureA/src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs new file mode 100644 index 0000000..8c484da --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs @@ -0,0 +1,29 @@ +using System.Security.Claims; +using System.Security.Cryptography; +using System.Text; +using System.Text.Encodings.Web; +using Microsoft.AspNetCore.Authentication; +using Microsoft.Extensions.Options; + +namespace ApiGateway.Security; + +public sealed class InternalServiceAuthenticationHandler(IOptionsMonitor options, + ILoggerFactory logger, UrlEncoder encoder, IConfiguration configuration) + : AuthenticationHandler(options, logger, encoder) +{ + protected override Task HandleAuthenticateAsync() + { + var supplied = Request.Headers["X-Service-Key"].ToString(); + foreach (var service in new[] { "Observation", "Insights", "HealthOverview" }) + { + var expected = configuration[$"InternalAccess:{service}:Key"]!; + if (CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(supplied), Encoding.UTF8.GetBytes(expected))) + { + var identity = new ClaimsIdentity(new[] { new Claim(ClaimTypes.Role, "Service"), + new Claim(ClaimTypes.NameIdentifier, service) }, Scheme.Name); + return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(identity), Scheme.Name))); + } + } + return Task.FromResult(AuthenticateResult.Fail("Invalid service credential.")); + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Security/PatientAccessMiddleware.cs b/Reference/ArchitectureA/src/ApiGateway/Security/PatientAccessMiddleware.cs new file mode 100644 index 0000000..b07faea --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Security/PatientAccessMiddleware.cs @@ -0,0 +1,92 @@ +using System.Net; +using System.Security.Claims; +using System.Text.Json; +using Microsoft.AspNetCore.Authorization; + +namespace ApiGateway.Security; + +public sealed class PatientAccessMiddleware(RequestDelegate next) +{ + public async Task InvokeAsync(HttpContext context, IHttpClientFactory clients, IAuthorizationService authorization, + ProfessionalAssignments assignments) + { + if (context.GetEndpoint()?.Metadata.GetMetadata() is not null) + { + await next(context); + return; + } + if (context.User.Identity?.IsAuthenticated != true) { context.Response.StatusCode = 401; return; } + var route = context.Request.Path.Value ?? ""; + var segments = route.Trim('/').Split('/'); + if (context.User.IsInRole("Service")) + { + var service = context.User.FindFirstValue(ClaimTypes.NameIdentifier); + var patientRoute = segments.Length >= 3 && segments[0] == "api" && segments[1] == "patients" + && Guid.TryParse(segments[2], out _); + var allowed = context.Request.Method == "GET" && patientRoute && (service switch + { + "Observation" => segments.Length == 3, + "Insights" => segments.Length == 4 && segments[3] == "observations", + "HealthOverview" => segments.Length == 3 || + (segments.Length == 4 && segments[3] == "insights") || + (segments.Length == 5 && segments[3] == "observations" && segments[4] == "latest"), + _ => false + }); + if (!allowed) { context.Response.StatusCode = 403; return; } + await next(context); + return; + } + var professional = (await authorization.AuthorizeAsync(context.User, "HealthcareProfessional")).Succeeded; + if (professional) + { + if (context.Request.Method != "GET") { context.Response.StatusCode = 403; return; } + if (route.Equals("/api/professionals/me/patients", StringComparison.OrdinalIgnoreCase)) + { + await next(context); + return; + } + } + else if (!(await authorization.AuthorizeAsync(context.User, "Patient")).Succeeded) + { context.Response.StatusCode = 403; return; } + if (!professional && + ((route.Equals("/api/patients", StringComparison.OrdinalIgnoreCase) && context.Request.Method == "POST") + || (route.Equals("/api/patients/me", StringComparison.OrdinalIgnoreCase) && context.Request.Method == "GET"))) + { + await next(context); + return; + } + try + { + var accountId = context.User.FindFirstValue(ClaimTypes.NameIdentifier)!; + Guid? patientId = null; + if (!professional) + { + using var ownResponse = await clients.CreateClient("PatientProfile").GetAsync( + "api/patients/by-account/" + Uri.EscapeDataString(accountId), context.RequestAborted); + if (ownResponse.StatusCode == HttpStatusCode.NotFound) { context.Response.StatusCode = 404; return; } + ownResponse.EnsureSuccessStatusCode(); + using var own = JsonDocument.Parse(await ownResponse.Content.ReadAsStringAsync(context.RequestAborted)); + patientId = own.RootElement.GetProperty("patientId").GetGuid(); + } + Guid requestedPatient; + if (segments.Length >= 3 && segments[0] == "api" && segments[1] == "patients" + && Guid.TryParse(segments[2], out requestedPatient)) { } + else if (segments.Length == 3 && segments[0] == "api" && segments[1] == "observations" + && Guid.TryParse(segments[2], out var observationId)) + { + using var response = await clients.CreateClient("Observation").GetAsync($"api/observations/{observationId}", context.RequestAborted); + if (response.StatusCode == HttpStatusCode.NotFound) { context.Response.StatusCode = 404; return; } + response.EnsureSuccessStatusCode(); + using var observation = JsonDocument.Parse(await response.Content.ReadAsStringAsync(context.RequestAborted)); + requestedPatient = observation.RootElement.GetProperty("patientId").GetGuid(); + } + else { context.Response.StatusCode = 404; return; } + var permitted = professional ? assignments.IsAssigned(accountId, requestedPatient) : requestedPatient == patientId; + if (!permitted) { context.Response.StatusCode = 404; return; } + await next(context); + } + catch (HttpRequestException) { await Results.Problem(statusCode: 502, title: "Ownership lookup is unavailable.").ExecuteAsync(context); } + catch (OperationCanceledException) when (!context.RequestAborted.IsCancellationRequested) + { await Results.Problem(statusCode: 504, title: "Ownership lookup timed out.").ExecuteAsync(context); } + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Security/ProfessionalAssignments.cs b/Reference/ArchitectureA/src/ApiGateway/Security/ProfessionalAssignments.cs new file mode 100644 index 0000000..a2af03c --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Security/ProfessionalAssignments.cs @@ -0,0 +1,24 @@ +namespace ApiGateway.Security; + +// Application access data, separate from credentials and token contents. +public sealed class ProfessionalAssignments +{ + private readonly Dictionary assignments; + + public ProfessionalAssignments(IConfiguration configuration) + { + assignments = configuration.GetSection("Access:ProfessionalAssignments") + .Get>() ?? new(StringComparer.Ordinal); + foreach (var accountId in assignments.Keys.ToArray()) + { + if (string.IsNullOrWhiteSpace(accountId) || assignments[accountId].Any(id => id == Guid.Empty)) + throw new InvalidOperationException("Professional assignments require an account identifier and nonempty patient identifiers."); + assignments[accountId] = assignments[accountId].Distinct().Order().ToArray(); + } + } + + public IReadOnlyList GetPatients(string accountId) => + assignments.TryGetValue(accountId, out var patients) ? Array.AsReadOnly(patients) : Array.Empty(); + + public bool IsAssigned(string accountId, Guid patientId) => GetPatients(accountId).Contains(patientId); +} diff --git a/Reference/ArchitectureA/src/ApiGateway/Security/PrototypeAccounts.cs b/Reference/ArchitectureA/src/ApiGateway/Security/PrototypeAccounts.cs new file mode 100644 index 0000000..cbecf2e --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/Security/PrototypeAccounts.cs @@ -0,0 +1,39 @@ +using Microsoft.AspNetCore.Identity; + +namespace ApiGateway.Security; + +public sealed class PrototypeAccount +{ + public string AccountId { get; set; } = ""; + public string Role { get; set; } = "Patient"; + public string PasswordHash { get; set; } = ""; +} + +public sealed class PrototypeAccounts +{ + private readonly Dictionary accounts; + private readonly PasswordHasher hasher = new(); + private readonly PrototypeAccount dummy = new() { AccountId = "invalid" }; + + public PrototypeAccounts(IConfiguration configuration) + { + var configured = configuration.GetSection("Authentication:Accounts").Get() ?? []; + if (configured.Length == 0 || configured.Any(a => string.IsNullOrWhiteSpace(a.AccountId) || a.AccountId.Length > 128 || a.AccountId.Any(c => !char.IsAsciiLetterOrDigit(c) && c is not ('-' or '_')) || string.IsNullOrWhiteSpace(a.PasswordHash) + || a.Role is not ("Patient" or "HealthcareProfessional"))) + throw new InvalidOperationException("Authentication accounts require an identifier, password hash and supported role."); + accounts = configured.ToDictionary(a => a.AccountId, StringComparer.Ordinal); + dummy.PasswordHash = hasher.HashPassword(dummy, Guid.NewGuid().ToString()); + } + + public PrototypeAccount? Verify(string accountId, string password) + { + var known = accounts.TryGetValue(accountId, out var account); + account ??= dummy; + try + { + var result = hasher.VerifyHashedPassword(account, account.PasswordHash, password); + return known && result != PasswordVerificationResult.Failed ? account : null; + } + catch (FormatException) { return null; } + } +} diff --git a/Reference/ArchitectureA/src/ApiGateway/appsettings.json b/Reference/ArchitectureA/src/ApiGateway/appsettings.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/Reference/ArchitectureA/src/ApiGateway/appsettings.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Application/HealthOverviewApplicationService.cs b/Reference/ArchitectureA/src/HealthOverviewService/Application/HealthOverviewApplicationService.cs new file mode 100644 index 0000000..ea5a327 --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Application/HealthOverviewApplicationService.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using HealthOverviewService.Clients; +using HealthOverviewService.Contracts; + +namespace HealthOverviewService.Application; + +public sealed class HealthOverviewApplicationService(PatientProfileServiceClient patients, + ObservationServiceClient observations, InsightsServiceClient insights) +{ + public async Task GetOverviewAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken) + { + from = NormalizeTimestamp(from); + to = NormalizeTimestamp(to); + if (to < from) throw new ArgumentException("The end time must not be earlier than the start time.", nameof(to)); + Validator.ValidateObject(selection, new ValidationContext(selection), validateAllProperties: true); + var patient = await patients.GetPatientAsync(patientId, cancellationToken); + if (patient is null) return null; + var latest = await observations.GetLatestAsync(patientId, cancellationToken); + var insight = await insights.GetSummaryAsync(patientId, from, to, selection, cancellationToken); + return new(patient, latest, insight, from, to, selection, insight?.ContributingCount ?? 0, + "Latest overall observation for the patient, independent of the insight period and context selections. " + + "Its recorded context applies only to that observation, not to the insight's contributing observations.", + insight is null ? "No calculated insight is available: no observations match the requested period and insight selection." : + "The insight uses the requested period and context selection only. " + insight.ContextExplanation); + } + + private static DateTime NormalizeTimestamp(DateTime value) => DateTime.SpecifyKind( + value.Kind == DateTimeKind.Unspecified ? value : value.ToUniversalTime(), DateTimeKind.Unspecified); +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Clients/InsightsServiceClient.cs b/Reference/ArchitectureA/src/HealthOverviewService/Clients/InsightsServiceClient.cs new file mode 100644 index 0000000..848b58c --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Clients/InsightsServiceClient.cs @@ -0,0 +1,28 @@ +using System.Globalization; +using System.Net; +using System.Text.Json; +using HealthOverviewService.Contracts; + +namespace HealthOverviewService.Clients; + +public abstract class InsightsServiceClient +{ + public abstract Task GetSummaryAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken); +} + +public sealed class HttpInsightsServiceClient(HttpClient client) : InsightsServiceClient +{ + public override async Task GetSummaryAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken) + { + var path = $"api/patients/{patientId}/insights"; + path += $"?from={Uri.EscapeDataString(from.ToString("O", CultureInfo.InvariantCulture))}&to={Uri.EscapeDataString(to.ToString("O", CultureInfo.InvariantCulture))}"; + if (selection.Setting is not null) path += "&setting=" + Uri.EscapeDataString(selection.Setting); + if (selection.ActivityCondition is not null) path += "&activityCondition=" + Uri.EscapeDataString(selection.ActivityCondition); + + using var response = await client.GetAsync(path, cancellationToken); + if (response.StatusCode == HttpStatusCode.NotFound) return null; + response.EnsureSuccessStatusCode(); + return await response.Content.ReadFromJsonAsync(cancellationToken) + ?? throw new JsonException("Empty upstream response."); + } +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Clients/ObservationServiceClient.cs b/Reference/ArchitectureA/src/HealthOverviewService/Clients/ObservationServiceClient.cs new file mode 100644 index 0000000..d5275b7 --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Clients/ObservationServiceClient.cs @@ -0,0 +1,24 @@ +using System.Globalization; +using System.Net; +using System.Text.Json; +using HealthOverviewService.Contracts; + +namespace HealthOverviewService.Clients; + +public abstract class ObservationServiceClient +{ + public abstract Task GetLatestAsync(Guid patientId, CancellationToken cancellationToken); +} + +public sealed class HttpObservationServiceClient(HttpClient client) : ObservationServiceClient +{ + public override async Task GetLatestAsync(Guid patientId, CancellationToken cancellationToken) + { + var path = $"api/patients/{patientId}/observations/latest"; + using var response = await client.GetAsync(path, cancellationToken); + if (response.StatusCode == HttpStatusCode.NotFound) return null; + response.EnsureSuccessStatusCode(); + return await response.Content.ReadFromJsonAsync(cancellationToken) + ?? throw new JsonException("Empty upstream response."); + } +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Clients/PatientProfileServiceClient.cs b/Reference/ArchitectureA/src/HealthOverviewService/Clients/PatientProfileServiceClient.cs new file mode 100644 index 0000000..c6e0de8 --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Clients/PatientProfileServiceClient.cs @@ -0,0 +1,24 @@ +using System.Globalization; +using System.Net; +using System.Text.Json; +using HealthOverviewService.Contracts; + +namespace HealthOverviewService.Clients; + +public abstract class PatientProfileServiceClient +{ + public abstract Task GetPatientAsync(Guid patientId, CancellationToken cancellationToken); +} + +public sealed class HttpPatientProfileServiceClient(HttpClient client) : PatientProfileServiceClient +{ + public override async Task GetPatientAsync(Guid patientId, CancellationToken cancellationToken) + { + var path = $"api/patients/{patientId}"; + using var response = await client.GetAsync(path, cancellationToken); + if (response.StatusCode == HttpStatusCode.NotFound) return null; + response.EnsureSuccessStatusCode(); + return await response.Content.ReadFromJsonAsync(cancellationToken) + ?? throw new JsonException("Empty upstream response."); + } +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Contracts/HealthOverviewDto.cs b/Reference/ArchitectureA/src/HealthOverviewService/Contracts/HealthOverviewDto.cs new file mode 100644 index 0000000..006139b --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Contracts/HealthOverviewDto.cs @@ -0,0 +1,24 @@ +using System.ComponentModel.DataAnnotations; + +namespace HealthOverviewService.Contracts; + +public sealed record ContextSelection +{ + [AllowedValues("Home", "Clinic", "Other", "Unknown", null)] + public string? Setting { get; init; } + [AllowedValues("AtRest", "DuringActivity", "AfterActivity", "Unknown", null)] + public string? ActivityCondition { get; init; } +} + +public sealed record PatientDto(Guid PatientId, string Name, DateOnly DateOfBirth, string? ContactInfo); +public sealed record MeasurementContextDto(string Setting, string ActivityCondition, decimal? RestDurationMinutes, + string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances); +public sealed record ObservationDto(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, MeasurementContextDto MeasurementContext); +public sealed record HealthInsightDto(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, + decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, + int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic, + ContextSelection AppliedSelection, int ContributingCount, string ContextExplanation); +public sealed record HealthOverviewDto(PatientDto Patient, ObservationDto? LatestObservation, HealthInsightDto? Insight, + DateTime PeriodStart, DateTime PeriodEnd, ContextSelection InsightSelection, int InsightContributingCount, + string LatestObservationBasis, string InsightExplanation); diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Controllers/HealthOverviewController.cs b/Reference/ArchitectureA/src/HealthOverviewService/Controllers/HealthOverviewController.cs new file mode 100644 index 0000000..f0ae49d --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Controllers/HealthOverviewController.cs @@ -0,0 +1,34 @@ +using HealthOverviewService.Application; +using HealthOverviewService.Contracts; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; + +namespace HealthOverviewService.Controllers; + +[ApiController] +[Route("api/patients/{patientId:guid}/overview")] +public sealed class HealthOverviewController(HealthOverviewApplicationService service) : ControllerBase +{ + [HttpGet] + public async Task> GetOverview(Guid patientId, + [FromQuery, BindRequired] DateTime from, [FromQuery, BindRequired] DateTime to, + [FromQuery] ContextSelection selection, CancellationToken cancellationToken) + { + try + { + var result = await service.GetOverviewAsync(patientId, from, to, selection, cancellationToken); + return result is null ? Problem(statusCode: 404, title: "Patient does not exist.") : Ok(result); + } + catch (ArgumentException) + { + ModelState.AddModelError(nameof(to), "The end time must not be earlier than the start time."); + return ValidationProblem(ModelState); + } + catch (HttpRequestException) + { return Problem(statusCode: 502, title: "Overview source service is unavailable."); } + catch (System.Text.Json.JsonException) + { return Problem(statusCode: 502, title: "Overview source response is invalid."); } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { return Problem(statusCode: 504, title: "Overview source request timed out."); } + } +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/HealthOverviewService.csproj b/Reference/ArchitectureA/src/HealthOverviewService/HealthOverviewService.csproj new file mode 100644 index 0000000..2d85607 --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/HealthOverviewService.csproj @@ -0,0 +1,10 @@ + + + net10.0 + enable + enable + + + + + diff --git a/Reference/ArchitectureA/src/HealthOverviewService/Program.cs b/Reference/ArchitectureA/src/HealthOverviewService/Program.cs new file mode 100644 index 0000000..2fdf817 --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/Program.cs @@ -0,0 +1,79 @@ +using System.Security.Cryptography; +using System.Text; +using HealthOverviewService.Application; +using HealthOverviewService.Clients; + +namespace HealthOverviewService; + +public class Program +{ + public static void Main(string[] args) + { + var builder = WebApplication.CreateBuilder(args); + builder.Host.UseWindowsService(options => options.ServiceName = "healthapp-health-overview"); + builder.Services.AddControllers(); + builder.Services.AddProblemDetails(); + builder.Services.AddScoped(); + builder.Services.AddHttpClient((services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetGatewayUri(configuration); + var serviceKey = configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(serviceKey) || serviceKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + client.DefaultRequestHeaders.Add("X-Service-Key", serviceKey); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + builder.Services.AddHttpClient((services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetGatewayUri(configuration); + var serviceKey = configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(serviceKey) || serviceKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + client.DefaultRequestHeaders.Add("X-Service-Key", serviceKey); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + builder.Services.AddHttpClient((services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetGatewayUri(configuration); + var serviceKey = configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(serviceKey) || serviceKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + client.DefaultRequestHeaders.Add("X-Service-Key", serviceKey); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + var app = builder.Build(); + if (!app.Environment.IsDevelopment() && GetGatewayUri(app.Configuration).Scheme != "https") + throw new InvalidOperationException("Production gateway endpoints must use HTTPS."); + _ = GetGatewayUri(app.Configuration); + var outgoingKey = app.Configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(outgoingKey) || outgoingKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + var gatewayKey = app.Configuration["InternalAccess:GatewayKey"]; + if (string.IsNullOrWhiteSpace(gatewayKey) || gatewayKey.Length < 32) + throw new InvalidOperationException("InternalAccess:GatewayKey must contain at least 32 characters."); + app.UseExceptionHandler(); + app.Use(async (context, next) => + { + var supplied = context.Request.Headers["X-Gateway-Key"].ToString(); + if ((!app.Environment.IsDevelopment() && !context.Request.IsHttps) || + !CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(supplied), Encoding.UTF8.GetBytes(gatewayKey))) + { context.Response.StatusCode = 401; return; } + await next(context); + }); + app.MapControllers(); + app.Run(); + } + + private static Uri GetGatewayUri(IConfiguration configuration) + { + var endpoint = configuration["Services:ApiGateway:BaseUrl"]; + if (!Uri.TryCreate(endpoint, UriKind.Absolute, out var uri) || + (uri.Scheme != "http" && uri.Scheme != "https") || uri.AbsolutePath != "/" || + !string.IsNullOrEmpty(uri.Query) || !string.IsNullOrEmpty(uri.Fragment) || !string.IsNullOrEmpty(uri.UserInfo)) + throw new InvalidOperationException("Services:ApiGateway:BaseUrl must be an HTTP(S) origin URL."); + return uri; + } +} diff --git a/Reference/ArchitectureA/src/HealthOverviewService/appsettings.json b/Reference/ArchitectureA/src/HealthOverviewService/appsettings.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/Reference/ArchitectureA/src/HealthOverviewService/appsettings.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/Reference/ArchitectureA/src/InsightsService/Application/InsightsApplicationService.cs b/Reference/ArchitectureA/src/InsightsService/Application/InsightsApplicationService.cs new file mode 100644 index 0000000..5705115 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Application/InsightsApplicationService.cs @@ -0,0 +1,36 @@ +using System.ComponentModel.DataAnnotations; +using InsightsService.Clients; +using InsightsService.Domain; + +namespace InsightsService.Application; + +public sealed class InsightsApplicationService(ObservationServiceClient observations, InsightCalculator calculator) +{ + public async Task GetSummaryAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken) + { + from = NormalizeTimestamp(from); + to = NormalizeTimestamp(to); + if (to < from) + throw new ArgumentException("The end time must not be earlier than the start time.", nameof(to)); + Validator.ValidateObject(selection, new ValidationContext(selection), validateAllProperties: true); + var history = await observations.GetByPeriodAsync(patientId, from, to, selection, cancellationToken); + return calculator.CalculateSummary(patientId, from, to, history, selection); + } + + public async Task GetTrendAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken) + { + from = NormalizeTimestamp(from); + to = NormalizeTimestamp(to); + if (to < from) + throw new ArgumentException("The end time must not be earlier than the start time.", nameof(to)); + Validator.ValidateObject(selection, new ValidationContext(selection), validateAllProperties: true); + var history = await observations.GetByPeriodAsync(patientId, from, to, selection, cancellationToken); + return calculator.CalculateTrend(patientId, from, to, history, selection); + } + + private static DateTime NormalizeTimestamp(DateTime value) => + DateTime.SpecifyKind(value.Kind == DateTimeKind.Unspecified ? value : value.ToUniversalTime(), + DateTimeKind.Unspecified); +} diff --git a/Reference/ArchitectureA/src/InsightsService/Clients/HttpObservationServiceClient.cs b/Reference/ArchitectureA/src/InsightsService/Clients/HttpObservationServiceClient.cs new file mode 100644 index 0000000..15a4294 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Clients/HttpObservationServiceClient.cs @@ -0,0 +1,23 @@ +using InsightsService.Domain; +using System.Globalization; +using InsightsService.Contracts; + +namespace InsightsService.Clients; + +public sealed class HttpObservationServiceClient(HttpClient client) : ObservationServiceClient +{ + public async Task> GetByPeriodAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken) + { + var start = Uri.EscapeDataString(from.ToString("O", CultureInfo.InvariantCulture)); + var end = Uri.EscapeDataString(to.ToString("O", CultureInfo.InvariantCulture)); + var filters = ""; + if (selection.Setting is not null) filters += "&setting=" + Uri.EscapeDataString(selection.Setting); + if (selection.ActivityCondition is not null) filters += "&activityCondition=" + Uri.EscapeDataString(selection.ActivityCondition); + using var response = await client.GetAsync($"api/patients/{patientId}/observations?from={start}&to={end}{filters}", + HttpCompletionOption.ResponseHeadersRead, cancellationToken); + response.EnsureSuccessStatusCode(); + return await response.Content.ReadFromJsonAsync>(cancellationToken) + ?? throw new HttpRequestException("Observation history response was empty."); + } +} diff --git a/Reference/ArchitectureA/src/InsightsService/Clients/ObservationServiceClient.cs b/Reference/ArchitectureA/src/InsightsService/Clients/ObservationServiceClient.cs new file mode 100644 index 0000000..c1f00d8 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Clients/ObservationServiceClient.cs @@ -0,0 +1,10 @@ +using InsightsService.Domain; +using InsightsService.Contracts; + +namespace InsightsService.Clients; + +public interface ObservationServiceClient +{ + Task> GetByPeriodAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken); +} diff --git a/Reference/ArchitectureA/src/InsightsService/Contracts/HealthInsightDto.cs b/Reference/ArchitectureA/src/InsightsService/Contracts/HealthInsightDto.cs new file mode 100644 index 0000000..81d9322 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Contracts/HealthInsightDto.cs @@ -0,0 +1,8 @@ +using InsightsService.Domain; + +namespace InsightsService.Contracts; + +public sealed record HealthInsightDto(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, + decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, + int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic, + ContextSelection AppliedSelection, int ContributingCount, string ContextExplanation); diff --git a/Reference/ArchitectureA/src/InsightsService/Contracts/ObservationDto.cs b/Reference/ArchitectureA/src/InsightsService/Contracts/ObservationDto.cs new file mode 100644 index 0000000..f4b9f42 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Contracts/ObservationDto.cs @@ -0,0 +1,8 @@ +namespace InsightsService.Contracts; + +public sealed record ObservationDto(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, MeasurementContextDto? MeasurementContext = null, + string? Context = null, string? Note = null); + +public sealed record MeasurementContextDto(string? Setting, string? ActivityCondition, decimal? RestDurationMinutes, + string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances); diff --git a/Reference/ArchitectureA/src/InsightsService/Controllers/InsightsController.cs b/Reference/ArchitectureA/src/InsightsService/Controllers/InsightsController.cs new file mode 100644 index 0000000..dc8d7c7 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Controllers/InsightsController.cs @@ -0,0 +1,74 @@ +using InsightsService.Domain; +using InsightsService.Application; +using InsightsService.Contracts; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; + +namespace InsightsService.Controllers; + +[ApiController] +[Route("api/patients/{patientId:guid}/insights")] +public sealed class InsightsController(InsightsApplicationService service) : ControllerBase +{ + [HttpGet] + public async Task> GetSummary(Guid patientId, + [FromQuery, BindRequired] DateTime from, [FromQuery, BindRequired] DateTime to, + [FromQuery] ContextSelection selection, CancellationToken cancellationToken) + { + try + { + var insight = await service.GetSummaryAsync(patientId, from, to, selection, cancellationToken); + return insight is null + ? Problem(statusCode: StatusCodes.Status404NotFound, title: "Insufficient observation data for calculation.") + : Ok(new HealthInsightDto(insight.PatientId, insight.PeriodStart, insight.PeriodEnd, + insight.AverageSystolic, insight.AverageDiastolic, insight.AveragePulse, + insight.MinSystolic, insight.MaxSystolic, insight.MinDiastolic, insight.MaxDiastolic, + insight.AppliedSelection, insight.ContributingCount, insight.ContextExplanation)); + } + catch (ArgumentException) + { + ModelState.AddModelError(nameof(to), "The end time must not be earlier than the start time."); + return ValidationProblem(ModelState); + } + catch (HttpRequestException) + { + return Problem(statusCode: StatusCodes.Status502BadGateway, title: "Observation history is unavailable."); + } + catch (System.Text.Json.JsonException) + { + return Problem(statusCode: StatusCodes.Status502BadGateway, title: "Observation history response is invalid."); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + return Problem(statusCode: StatusCodes.Status504GatewayTimeout, title: "Observation history timed out."); + } + } + [HttpGet("/api/patients/{patientId:guid}/trends")] + public async Task> GetTrend(Guid patientId, + [FromQuery, BindRequired] DateTime from, [FromQuery, BindRequired] DateTime to, + [FromQuery] ContextSelection selection, CancellationToken cancellationToken) + { + try + { + return Ok(await service.GetTrendAsync(patientId, from, to, selection, cancellationToken)); + } + catch (ArgumentException) + { + ModelState.AddModelError(nameof(to), "The end time must not be earlier than the start time."); + return ValidationProblem(ModelState); + } + catch (HttpRequestException) + { + return Problem(statusCode: StatusCodes.Status502BadGateway, title: "Observation history is unavailable."); + } + catch (System.Text.Json.JsonException) + { + return Problem(statusCode: StatusCodes.Status502BadGateway, title: "Observation history response is invalid."); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + return Problem(statusCode: StatusCodes.Status504GatewayTimeout, title: "Observation history timed out."); + } + } + +} diff --git a/Reference/ArchitectureA/src/InsightsService/Domain/ContextSelection.cs b/Reference/ArchitectureA/src/InsightsService/Domain/ContextSelection.cs new file mode 100644 index 0000000..a9b910a --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Domain/ContextSelection.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; + +namespace InsightsService.Domain; + +public sealed record ContextSelection +{ + [AllowedValues("Home", "Clinic", "Other", "Unknown", null)] + public string? Setting { get; init; } + + [AllowedValues("AtRest", "DuringActivity", "AfterActivity", "Unknown", null)] + public string? ActivityCondition { get; init; } +} diff --git a/Reference/ArchitectureA/src/InsightsService/Domain/HealthInsight.cs b/Reference/ArchitectureA/src/InsightsService/Domain/HealthInsight.cs new file mode 100644 index 0000000..b5b9184 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Domain/HealthInsight.cs @@ -0,0 +1,6 @@ +namespace InsightsService.Domain; + +public sealed record HealthInsight(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, + decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, + int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic, + ContextSelection AppliedSelection, int ContributingCount, string ContextExplanation); diff --git a/Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.Trends.cs b/Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.Trends.cs new file mode 100644 index 0000000..793a3c7 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.Trends.cs @@ -0,0 +1,223 @@ +using System.Globalization; +using InsightsService.Contracts; + +namespace InsightsService.Domain; + +public sealed partial class InsightCalculator +{ + private const string GeneralLimits = "General reference thresholds are not individual treatment targets. " + + "This is a descriptive assessment, not a diagnosis or medication recommendation. " + + "Symptoms, treatment, training, risk factors and measurement technique are not established by these observations."; + + public TrendAssessment CalculateTrend(Guid patientId, DateTime from, DateTime to, + IReadOnlyList observations, ContextSelection selection) + { + var comparability = AssessComparability(observations); + return new(patientId, from, to, selection, observations.Count, comparability, + AssessMeasurement("Systolic", "mmHg", observations, o => o.Systolic, comparability), + AssessMeasurement("Diastolic", "mmHg", observations, o => o.Diastolic, comparability), + AssessMeasurement("Pulse", "beats/min", observations, o => o.Pulse, comparability)); + } + + private static MeasurementAssessment AssessMeasurement(string metric, string unit, + IReadOnlyList observations, Func value, + ComparabilityAssessment comparability) + { + if (observations.Count == 0) + return new(metric, unit, null, null, null, null, 0, "Unavailable", "Unavailable", null, 0, + null, "No matching observations; insufficient observation data for trend calculation.", + null, "Unavailable: no matching observations.", "CannotInterpret", GeneralLimits); + + // Collapse timestamp ties for temporal calculations only; descriptive levels retain every observation. + var points = observations.GroupBy(o => o.MeasuredAt).OrderBy(g => g.Key) + .Select(g => (Time: g.Key, Value: g.Average(o => (decimal)value(o)))).ToArray(); + var minimum = observations.Min(value); + var maximum = observations.Max(value); + var mean = observations.Average(o => (decimal)value(o)); + var signs = points.Zip(points.Skip(1), (a, b) => Math.Sign(b.Value - a.Value)) + .Where(s => s != 0).ToArray(); + var reversals = signs.Zip(signs.Skip(1), (a, b) => a != b ? 1 : 0).Sum(); + var direction = points.Length < 2 ? "Unavailable" : signs.Length == 0 ? "NoClearDirection" : + reversals > 0 ? "Mixed" : signs[0] > 0 ? "Increasing" : "Decreasing"; + decimal? slope = null; + var overall = "Unavailable"; + decimal? totalChange = null; + if (points.Length >= 2) + { + // Scale time to [0,1] before OLS, avoiding extreme timestamp magnitudes. + var span = (decimal)(points[^1].Time.Ticks - points[0].Time.Ticks); + var xs = points.Select(p => (p.Time.Ticks - points[0].Time.Ticks) / span).ToArray(); + var xMean = xs.Average(); + var yMean = points.Average(p => p.Value); + var numerator = points.Select((p, i) => (xs[i] - xMean) * (p.Value - yMean)).Sum(); + var denominator = xs.Sum(x => (x - xMean) * (x - xMean)); + var scaledSlope = numerator / denominator; + slope = scaledSlope / (span / TimeSpan.TicksPerDay); + overall = scaledSlope > 0 ? "Increasing" : scaledSlope < 0 ? "Decreasing" : "NoClearDirection"; + totalChange = points.Zip(points.Skip(1), (a, b) => Math.Abs(b.Value - a.Value)).Sum(); + } + var numerical = $"All {observations.Count} observations: mean {Format(mean)}, minimum {minimum}, maximum {maximum}, " + + $"range {maximum - minimum} {unit}. " + (points.Length < 2 + ? "Direction is unavailable: at least two distinct measurement timestamps are required." + : $"Temporal direction: {direction}; full-period least-squares direction: {overall}; " + + $"{reversals} reversal(s). Timestamp ties use arithmetic means. " + + $"Total successive change is {Format(totalChange!.Value)} {unit}.") + + " Range and successive change describe observed variation; no clinical stability classification is made."; + + var reference = SelectReference(metric, observations, comparability); + var comparison = "Unavailable: known, non-conflicting resting conditions" + + (metric == "Pulse" ? "" : " and a single Home or Clinic setting") + " are required; recorded inadequate preparation also limits applicability."; + var interpretation = "CannotInterpret"; + var hint = "Numerical changes alone do not establish favourable or concerning development."; + if (reference is not null) + { + var above = observations.Count(o => IsHigh(value(o), reference)); + var below = observations.Count(o => IsLow(value(o), reference)); + comparison = $"Descriptive mean {Format(mean)} {unit}; {above} observation(s) " + + $"{reference.UpperComparison} {Format(reference.UpperBoundary)} {unit}" + + (reference.LowerBoundary is { } lower ? $"; {below} observation(s) < {Format(lower)} {unit}." : ".") + + " This period does not establish a guideline diagnostic measurement protocol. " + reference.Limitation; + if (points.Length >= 2 && comparability.Status == "SupportedRecordedComparability") + { + var first = points[0].Value; + var last = points[^1].Value; + if (reversals > 0 && (above > 0 || below > 0)) + { + interpretation = "Mixed"; + hint = "Reversing movements and excursions outside the cited reference boundaries coexist; " + + "an overall slope does not establish consistent improvement or deterioration."; + } + else if (direction == "Decreasing" && IsHigh(first, reference) && + !IsLow(last, reference) && below == 0 && (metric == "Pulse" || IsHigh(last, reference))) + { + interpretation = "PotentiallyFavourable"; + hint = "Movement away from initially high levels towards the cited reference boundary may be favourable. " + + "This is a cautious inference from the source's reference comparison, not a clinical decision rule. " + + (IsHigh(last, reference) ? "The latest timestamp mean remains above or at the high boundary." : + "Reaching the reference interval does not establish an individual treatment target or good health."); + } + else if (metric == "Pulse" && direction == "Increasing" && IsLow(first, reference) && + !IsHigh(last, reference) && above == 0) + { + interpretation = "PotentiallyFavourable"; + hint = "Movement away from initially low resting pulse towards the reference interval may be favourable, " + + "but low pulse may be physiological in trained people. This is a cautious inference, not a clinical rule. " + + (IsLow(last, reference) ? "The latest timestamp mean remains below the lower boundary." : + "Being within these boundaries does not establish good health."); + } + else if (above > 0 || below > 0) + { + interpretation = "PotentiallyConcerning"; + hint = "Observed levels outside the cited reference boundaries may warrant clinical review. " + + "Limited variation does not establish healthy levels, and a decrease into low resting pulse " + + "is not automatically favourable. The cause and individual significance cannot be determined here."; + } + } + else + hint = "The recorded context supports this limited reference comparison, but " + + (points.Length < 2 ? "temporal direction is unavailable. " : + "missing or differing conditions limit interpretation of the combined trajectory. ") + + "An outside-reference value is not dismissed because preparation information is incomplete."; + } + return new(metric, unit, Round(mean), minimum, maximum, maximum - minimum, points.Length, + direction, overall, slope is { } s ? Math.Round(s, 6, MidpointRounding.AwayFromZero) : null, + reversals, totalChange is { } change ? Round(change) : null, numerical, reference, + comparison, interpretation, hint + " " + comparability.Explanation + " " + GeneralLimits); + } + + private static ClinicalReference? SelectReference(string metric, IReadOnlyList observations, + ComparabilityAssessment comparability) + { + if (comparability.Conflicts.Count > 0 || + observations.Any(o => o.MeasurementContext?.ActivityCondition != "AtRest")) return null; + if (metric == "Pulse") + return new("Recorded resting pulse", 50, "<", 100, ">", + [new("Patienthåndbogen: Bradykardi (langsom puls)", + "https://www.sundhed.dk/borger/patienthaandbogen/hjerte-og-blodkar/sygdomme/hjertearytmier/bradykardi-langsom-puls/", + "2025-09-02", "2026-10-05"), + new("Patienthåndbogen: Hurtig puls (takykardi)", + "https://www.sundhed.dk/borger/patienthaandbogen/hjerte-og-blodkar/sygdomme/hjertearytmier/takykardier-hurtig-puls/", + "2025-05-12", "2026-10-05")], + "These are resting-rate reference boundaries, not a diagnosis, a universal normal range or a treatment target. " + + "Low pulse can be physiological in trained people; age, fitness, symptoms and medicines affect applicability."); + var settings = observations.Select(o => o.MeasurementContext?.Setting).Distinct().ToArray(); + if (settings.Length != 1 || settings[0] is not ("Home" or "Clinic")) return null; + // Known inadequate rest prevents even a provisional resting-pressure comparison. + if (observations.Any(o => o.MeasurementContext?.RestDurationMinutes is < 5)) return null; + if (observations.Any(o => !string.IsNullOrWhiteSpace(o.MeasurementContext?.BodyPosition) && + !new[] { "seated", "sitting", "siddende" }.Contains(o.MeasurementContext!.BodyPosition!.Trim(), StringComparer.OrdinalIgnoreCase))) + return null; + var threshold = metric == "Systolic" ? (settings[0] == "Home" ? 135 : 140) : + (settings[0] == "Home" ? 85 : 90); + return new($"Recorded {settings[0]} resting blood pressure", null, null, threshold, ">=", + [new("Lægehåndbogen: Højt blodtryk", + "https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/hjerte-kar/symptomer-og-tegn/hoejt-blodtryk/", + "2024-09-25", "2026-10-05")], + "Setting-specific high-pressure reference threshold. Missing preparation details make this comparison provisional; " + + "five minutes of rest, appropriate technique and repeated measurements are not inferred. " + + "Being below a high-pressure threshold does not establish an appropriate lower level or a personalised goal."); + } + + private static bool IsHigh(decimal value, ClinicalReference reference) => + reference.UpperComparison == ">=" ? value >= reference.UpperBoundary : value > reference.UpperBoundary; + private static bool IsLow(decimal value, ClinicalReference reference) => + reference.LowerBoundary is { } lower && value < lower; + private static decimal Round(decimal value) => Math.Round(value, 2, MidpointRounding.AwayFromZero); + private static string Format(decimal value) => Round(value).ToString("0.##", CultureInfo.InvariantCulture); + + private static ComparabilityAssessment AssessComparability(IReadOnlyList observations) + { + List similarities = [], differences = [], missing = [], conflicts = []; + if (observations.Count == 0) + return new("InsufficientContext", similarities, differences, missing, conflicts, + "No matching observations are available to assess comparability."); + var details = new (string Name, string?[] Values)[] + { + ("setting", observations.Select(o => o.MeasurementContext?.Setting).ToArray()), + ("activity condition", observations.Select(o => o.MeasurementContext?.ActivityCondition).ToArray()), + ("rest duration", observations.Select(o => o.MeasurementContext?.RestDurationMinutes?.ToString("G29", CultureInfo.InvariantCulture)).ToArray()), + ("body position", observations.Select(o => o.MeasurementContext?.BodyPosition).ToArray()), + ("measured arm", observations.Select(o => o.MeasurementContext?.MeasuredArm).ToArray()), + ("device", observations.Select(o => o.MeasurementContext?.DeviceDetails).ToArray()), + ("cuff", observations.Select(o => o.MeasurementContext?.CuffDetails).ToArray()) + }; + foreach (var (name, values) in details) + { + var known = values.Where(v => !string.IsNullOrWhiteSpace(v) && v != "Unknown") + .Select(v => v!.Trim()).Distinct(StringComparer.OrdinalIgnoreCase).Order(StringComparer.OrdinalIgnoreCase).ToArray(); + if (values.Any(v => string.IsNullOrWhiteSpace(v) || v == "Unknown")) missing.Add(name); + if (known.Length > 1) differences.Add($"{name}: {string.Join(" / ", known)}"); + else if (known.Length == 1 && !missing.Contains(name)) similarities.Add($"{name}: {known[0]}"); + } + var circumstances = observations.Select(o => o.MeasurementContext?.AdditionalCircumstances) + .Where(s => !string.IsNullOrWhiteSpace(s)).Select(s => s!.Trim()) + .Distinct(StringComparer.OrdinalIgnoreCase).Order(StringComparer.OrdinalIgnoreCase).ToArray(); + if (circumstances.Length > 1) differences.Add("additional circumstances differ"); + if (observations.Any(o => o.MeasurementContext?.RestDurationMinutes is < 5)) + differences.Add("recorded rest duration is below the five-minute blood-pressure preparation recommendation"); + foreach (var observation in observations) + { + var context = observation.MeasurementContext; + var narrative = string.Join(" ", observation.Context, observation.Note, context?.AdditionalCircumstances, + context?.BodyPosition, context?.DeviceDetails, context?.CuffDetails).ToLowerInvariant(); + if (context?.ActivityCondition == "AtRest" && new[] + { "during exercise", "during activity", "after exercise", "after activity", "under motion", "under træning", "efter motion", "efter træning" } + .Any(narrative.Contains)) conflicts.Add("AtRest conflicts with an activity description in recorded text."); + if (context?.Setting == "Home" && new[] { "at clinic", "in clinic", "at the clinic", "på klinik", "hos lægen" }.Any(narrative.Contains)) + conflicts.Add("Home conflicts with a clinic description in recorded text."); + if (context?.Setting == "Clinic" && new[] { "at home", "hjemme" }.Any(narrative.Contains)) + conflicts.Add("Clinic conflicts with a home description in recorded text."); + } + var status = conflicts.Count > 0 ? "ConflictingContext" : differences.Count > 0 ? "KnownDifferences" : + missing.Count > 0 ? "InsufficientContext" : "SupportedRecordedComparability"; + var explanation = $"Recorded comparability: {status}. " + + (missing.Count > 0 ? $"Unknown or missing: {string.Join(", ", missing)}. " : "") + + (differences.Count > 0 ? $"Known differences: {string.Join("; ", differences)}. " : "") + + (conflicts.Count > 0 ? $"Conflicts: {string.Join("; ", conflicts.Distinct())} " : "") + + "Matching recorded details support comparability only of those details; they do not certify identical " + + "conditions, validated equipment or guideline-compliant technique. Narrative conflict detection is limited " + + "to documented phrases; other text is not proof of comparability. A difference between Home and Clinic " + + "selections alone is not improvement or deterioration over time."; + return new(status, similarities, differences, missing, conflicts.Distinct().Order(StringComparer.Ordinal).ToArray(), explanation); + } +} diff --git a/Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.cs b/Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.cs new file mode 100644 index 0000000..96b1402 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Domain/InsightCalculator.cs @@ -0,0 +1,50 @@ +using System.Globalization; +using InsightsService.Contracts; + +namespace InsightsService.Domain; + +public sealed partial class InsightCalculator +{ + public HealthInsight? CalculateSummary(Guid patientId, DateTime from, DateTime to, + IReadOnlyList observations, ContextSelection selection) + { + if (observations.Count == 0) + return null; + return new HealthInsight(patientId, from, to, + Math.Round(observations.Average(o => (decimal)o.Systolic), 2, MidpointRounding.AwayFromZero), + Math.Round(observations.Average(o => (decimal)o.Diastolic), 2, MidpointRounding.AwayFromZero), + Math.Round(observations.Average(o => (decimal)o.Pulse), 2, MidpointRounding.AwayFromZero), + observations.Min(o => o.Systolic), observations.Max(o => o.Systolic), + observations.Min(o => o.Diastolic), observations.Max(o => o.Diastolic), + selection, observations.Count, DescribeContext(observations)); + } + + private static string DescribeContext(IReadOnlyList observations) + { + var settings = observations.Select(o => o.MeasurementContext?.Setting ?? "Unknown").ToArray(); + var activities = observations.Select(o => o.MeasurementContext?.ActivityCondition ?? "Unknown").ToArray(); + var explanation = $"Recorded settings: {Counts(settings)}. Recorded activity conditions: {Counts(activities)}."; + if (settings.Distinct().Count() > 1 || activities.Distinct().Count() > 1) + explanation += " This numerical summary pools mixed settings or activity conditions."; + if (settings.Contains("Unknown") || activities.Contains("Unknown")) + explanation += " Some setting or activity information is unknown."; + var details = new (string Name, string?[] Values)[] + { + ("rest duration", observations.Select(o => o.MeasurementContext?.RestDurationMinutes?.ToString("G29", CultureInfo.InvariantCulture)).ToArray()), + ("body position", observations.Select(o => o.MeasurementContext?.BodyPosition).ToArray()), + ("measured arm", observations.Select(o => o.MeasurementContext?.MeasuredArm).ToArray()), + ("device", observations.Select(o => o.MeasurementContext?.DeviceDetails).ToArray()), + ("cuff", observations.Select(o => o.MeasurementContext?.CuffDetails).ToArray()), + ("additional circumstances", observations.Select(o => o.MeasurementContext?.AdditionalCircumstances).ToArray()) + }; + var missing = details.Where(d => d.Values.Any(string.IsNullOrWhiteSpace)).Select(d => d.Name).ToArray(); + var differing = details.Where(d => d.Values.Where(v => !string.IsNullOrWhiteSpace(v)).Distinct().Count() > 1) + .Select(d => d.Name).ToArray(); + if (missing.Length > 0) explanation += $" Optional details are unrecorded for some observations: {string.Join(", ", missing)}."; + if (differing.Length > 0) explanation += $" Recorded detail values differ: {string.Join(", ", differing)}."; + return explanation + " These are descriptive statistics, not a diagnostic monitoring protocol; recorded categories alone do not establish clinically comparable conditions. Legacy narrative text does not establish a category."; + } + + private static string Counts(IEnumerable values) => string.Join(", ", values.GroupBy(v => v) + .OrderBy(g => g.Key, StringComparer.Ordinal).Select(g => $"{g.Key} ({g.Count()})")); +} diff --git a/Reference/ArchitectureA/src/InsightsService/Domain/TrendAssessment.cs b/Reference/ArchitectureA/src/InsightsService/Domain/TrendAssessment.cs new file mode 100644 index 0000000..fa6374f --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Domain/TrendAssessment.cs @@ -0,0 +1,21 @@ +namespace InsightsService.Domain; + +public sealed record TrendAssessment(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, + ContextSelection AppliedSelection, int ContributingCount, ComparabilityAssessment Comparability, + MeasurementAssessment Systolic, MeasurementAssessment Diastolic, MeasurementAssessment Pulse); + +public sealed record ComparabilityAssessment(string Status, IReadOnlyList KnownSimilarities, + IReadOnlyList KnownDifferences, IReadOnlyList MissingDetails, + IReadOnlyList Conflicts, string Explanation); + +public sealed record MeasurementAssessment(string Metric, string Unit, decimal? Mean, int? Minimum, + int? Maximum, int? Range, int DistinctTimestampCount, string Direction, string OverallDirection, + decimal? SlopePerDay, int ReversalCount, decimal? TotalSuccessiveChange, + string NumericalExplanation, ClinicalReference? Reference, string ReferenceComparison, + string Interpretation, string Hint); + +public sealed record ClinicalReference(string Scope, decimal? LowerBoundary, string? LowerComparison, + decimal UpperBoundary, string UpperComparison, IReadOnlyList Sources, + string Limitation); + +public sealed record ReferenceSource(string Title, string Url, string Updated, string Reviewed); diff --git a/Reference/ArchitectureA/src/InsightsService/InsightsService.csproj b/Reference/ArchitectureA/src/InsightsService/InsightsService.csproj new file mode 100644 index 0000000..2d85607 --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/InsightsService.csproj @@ -0,0 +1,10 @@ + + + net10.0 + enable + enable + + + + + diff --git a/Reference/ArchitectureA/src/InsightsService/Program.cs b/Reference/ArchitectureA/src/InsightsService/Program.cs new file mode 100644 index 0000000..939e72e --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/Program.cs @@ -0,0 +1,61 @@ +using System.Security.Cryptography; +using System.Text; +using InsightsService.Application; +using InsightsService.Clients; +using InsightsService.Domain; + +namespace InsightsService; + +public class Program +{ + public static void Main(string[] args) + { + var builder = WebApplication.CreateBuilder(args); + builder.Host.UseWindowsService(options => options.ServiceName = "healthapp-insights"); + builder.Services.AddControllers(); + builder.Services.AddProblemDetails(); + builder.Services.AddScoped(); + builder.Services.AddSingleton(); + builder.Services.AddHttpClient((services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetGatewayUri(configuration); + var serviceKey = configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(serviceKey) || serviceKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + client.DefaultRequestHeaders.Add("X-Service-Key", serviceKey); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + var app = builder.Build(); + if (!app.Environment.IsDevelopment() && GetGatewayUri(app.Configuration).Scheme != "https") + throw new InvalidOperationException("Production gateway endpoints must use HTTPS."); + _ = GetGatewayUri(app.Configuration); + var outgoingKey = app.Configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(outgoingKey) || outgoingKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + var gatewayKey = app.Configuration["InternalAccess:GatewayKey"]; + if (string.IsNullOrWhiteSpace(gatewayKey) || gatewayKey.Length < 32) + throw new InvalidOperationException("InternalAccess:GatewayKey must contain at least 32 characters."); + app.UseExceptionHandler(); + app.Use(async (context, next) => + { + var supplied = context.Request.Headers["X-Gateway-Key"].ToString(); + if ((!app.Environment.IsDevelopment() && !context.Request.IsHttps) || + !CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(supplied), Encoding.UTF8.GetBytes(gatewayKey))) + { context.Response.StatusCode = 401; return; } + await next(context); + }); + app.MapControllers(); + app.Run(); + } + + private static Uri GetGatewayUri(IConfiguration configuration) + { + var endpoint = configuration["Services:ApiGateway:BaseUrl"]; + if (!Uri.TryCreate(endpoint, UriKind.Absolute, out var uri) || + (uri.Scheme != "http" && uri.Scheme != "https") || uri.AbsolutePath != "/" || + !string.IsNullOrEmpty(uri.Query) || !string.IsNullOrEmpty(uri.Fragment) || !string.IsNullOrEmpty(uri.UserInfo)) + throw new InvalidOperationException("Services:ApiGateway:BaseUrl must be an HTTP(S) origin URL."); + return uri; + } +} diff --git a/Reference/ArchitectureA/src/InsightsService/appsettings.json b/Reference/ArchitectureA/src/InsightsService/appsettings.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/Reference/ArchitectureA/src/InsightsService/appsettings.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/Reference/ArchitectureA/src/OVERVIEW.md b/Reference/ArchitectureA/src/OVERVIEW.md new file mode 100644 index 0000000..4c7c1e9 --- /dev/null +++ b/Reference/ArchitectureA/src/OVERVIEW.md @@ -0,0 +1,64 @@ +# US-12 health overview + +`GET /api/patients/{patientId}/overview?from=...&to=...&setting=Home&activityCondition=AtRest` +requires the patient's authenticated account or an assigned read-only professional. +Dates use the existing inclusive measurement-instant convention. Offset-free timestamps +mean UTC; equivalent offsets identify the same instant. From and to are required, +equal bounds are valid, reversed/malformed/missing bounds return 400. Both selected +context dimensions must match for insight; `Unknown` is an explicit selectable category. +Omitted dimensions are unrestricted. Unsupported selections return 400 validation details. + +The independent ASP.NET Core Health Overview Service loads the profile, latest overall +observation and US-10 numerical insight through three HTTP clients routed through the +gateway. It has no production project references to another service, database, stored +aggregate or cache. The renamed Overview ER illustration explicitly denotes data needed +from other services rather than overview persistence; the current class model governs. + +## Response + +A successful request returns 200 with: + +- `patient`: the current profile, including ID, name, birth date and contact information. +- `latestObservation`: latest overall reading, including original text, note and all recorded + structured context, or null when no observations exist. Latest retains US-06 timestamp, + original recording-time and deterministic ID ordering. The insight period and filters + never limit latest-observation selection. +- `insight`: the existing US-10 response or null when no observations match the insight + period/context. Its rounded means, extrema, selection, contributing count and context + explanation are preserved. No trend component is added. +- `periodStart`, `periodEnd`, `insightSelection`, `insightContributingCount`: explicit insight + basis even when insight is absent (count zero). +- `latestObservationBasis`: explains that latest context belongs to that reading only. +- `insightExplanation`: preserves the insight's context limitations or explains why no + selected-period insight is available. Empty insight does not remove profile/latest. + +An authorized missing patient returns 404 with `Patient does not exist.` Access rejection +retains the gateway's non-disclosing empty 404 convention; unauthenticated clients get 401. +Professional writes remain forbidden. Upstream connection/status/invalid-JSON failures +return 502; local upstream timeouts return 504. These are not reported as absent data. +Only upstream 404 responses on the appropriate profile/latest/insight routes represent +missing data. Requests are cancelled on client disconnect. + +Every overview request fetches current source data, including profile updates, corrected +measurement/context, and deletions. Reads occur separately across services, so concurrent +writes may occur between them; the overview does not promise a cross-service snapshot. +There is no extra transaction, refresh mechanism, synchronisation process or persisted +copy to invalidate. + +## Deployment and verification + +The service builds/publishes independently with .NET 10 and starts from external +configuration. See `deploy/health-overview.env.example`, the independent systemd unit, +[README.md](README.md) and [AUTHENTICATION.md](AUTHENTICATION.md). It requires only the +gateway origin and incoming/outgoing service credentials; no database configuration or +migration is needed. Production uses HTTPS; local HTTP is limited to Development. +Addresses, network binding, credentials and certificates are configurable for separate +machines. Standard stdout/stderr logging, graceful shutdown and restart follow the other +service units. No new package dependencies are introduced. + +US-12 acceptance tests run five actual HTTP hosts against separate patient/observation +PostgreSQL databases. They cover all story scenarios, boundaries/offsets, patient scope, +latest tie rules, context preservation, independent filters, unknown/mixed context, +empty selected insight, corrections/deletions/restart, profile updates, missing patients, +validation, owner/assignment enforcement, direct bypass rejection, restricted internal +service reads and unavailable upstream/Overview services. diff --git a/Reference/ArchitectureA/src/ObservationService/Application/ObservationApplicationService.cs b/Reference/ArchitectureA/src/ObservationService/Application/ObservationApplicationService.cs new file mode 100644 index 0000000..68fc80b --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Application/ObservationApplicationService.cs @@ -0,0 +1,89 @@ +using System.ComponentModel.DataAnnotations; +using System.Net; +using ObservationService.Contracts; +using ObservationService.Domain; + +namespace ObservationService.Application; + +public sealed class ObservationApplicationService(ObservationRepository repository, IHttpClientFactory clients) +{ + public Task DeleteAsync(Guid observationId, CancellationToken cancellationToken) => + repository.DeleteAsync(observationId, cancellationToken); + + public Task UpdateAsync(Guid observationId, UpdateObservationRequest request, + CancellationToken cancellationToken) + { + if (request.Systolic is null or <= 0 || request.Diastolic is null or <= 0 || request.Pulse is null or <= 0) + throw new ArgumentException("Positive measured values are required.", nameof(request)); + + return PatchAsync(observationId, new PatchObservationRequest { Systolic = request.Systolic, Diastolic = request.Diastolic, Pulse = request.Pulse }, cancellationToken); + } + + public Task PatchAsync(Guid observationId, PatchObservationRequest request, + CancellationToken cancellationToken) + { + Validator.ValidateObject(request, new ValidationContext(request), validateAllProperties: true); + if (request.MeasurementContext is not null) + Validator.ValidateObject(request.MeasurementContext, new ValidationContext(request.MeasurementContext), validateAllProperties: true); + return repository.UpdateAsync(observationId, request, DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified), cancellationToken); + } + + public async Task RecordAsync(Guid patientId, RecordObservationRequest request, + CancellationToken cancellationToken) + { + if (request.MeasuredAt is null || request.Systolic is null or <= 0 || + request.Diastolic is null or <= 0 || request.Pulse is null or <= 0) + throw new ArgumentException("A timestamp and positive measured values are required.", nameof(request)); + + var suppliedContext = request.MeasurementContext ?? new MeasurementContext(); + var measurementContext = suppliedContext with + { + Setting = suppliedContext.Setting ?? "Unknown", + ActivityCondition = suppliedContext.ActivityCondition ?? "Unknown" + }; + Validator.ValidateObject(measurementContext, new ValidationContext(measurementContext), validateAllProperties: true); + + using var patient = await clients.CreateClient("ApiGateway").GetAsync($"api/patients/{patientId}", + HttpCompletionOption.ResponseHeadersRead, cancellationToken); + if (patient.StatusCode == HttpStatusCode.NotFound) + return null; + // Upstream failures must never be interpreted as an existing patient. + patient.EnsureSuccessStatusCode(); + + var now = DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified); + var measuredAt = request.MeasuredAt.Value; + if (measuredAt.Kind != DateTimeKind.Unspecified) + measuredAt = measuredAt.ToUniversalTime(); + + return await repository.SaveAsync(new BloodPressureObservation + { + ObservationId = Guid.NewGuid(), PatientId = patientId, + MeasuredAt = DateTime.SpecifyKind(measuredAt, DateTimeKind.Unspecified), + Systolic = request.Systolic.Value, Diastolic = request.Diastolic.Value, + Pulse = request.Pulse.Value, Context = request.Context, Note = request.Note, + MeasurementContext = measurementContext, + CreatedAt = now, UpdatedAt = now + }, cancellationToken); + } + + public Task GetByIdAsync(Guid observationId, CancellationToken cancellationToken) => + repository.FindByIdAsync(observationId, cancellationToken); + + public Task GetLatestAsync(Guid patientId, CancellationToken cancellationToken) => + repository.FindLatestByPatientIdAsync(patientId, cancellationToken); + + public Task> GetByPeriodAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken) + { + from = NormalizeTimestamp(from); + to = NormalizeTimestamp(to); + if (to < from) + throw new ArgumentException("The end time must not be earlier than the start time.", nameof(to)); + Validator.ValidateObject(selection, new ValidationContext(selection), validateAllProperties: true); + return repository.FindByPatientIdAndPeriodAsync(patientId, from, to, selection, cancellationToken); + } + + private static DateTime NormalizeTimestamp(DateTime timestamp) => + DateTime.SpecifyKind(timestamp.Kind == DateTimeKind.Unspecified ? timestamp : timestamp.ToUniversalTime(), + DateTimeKind.Unspecified); +} diff --git a/Reference/ArchitectureA/src/ObservationService/Application/ObservationRepository.cs b/Reference/ArchitectureA/src/ObservationService/Application/ObservationRepository.cs new file mode 100644 index 0000000..ca26874 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Application/ObservationRepository.cs @@ -0,0 +1,16 @@ +using ObservationService.Contracts; +using ObservationService.Domain; + +namespace ObservationService.Application; + +public interface ObservationRepository +{ + Task DeleteAsync(Guid observationId, CancellationToken cancellationToken); + Task UpdateAsync(Guid observationId, PatchObservationRequest request, + DateTime updatedAt, CancellationToken cancellationToken); + Task SaveAsync(BloodPressureObservation observation, CancellationToken cancellationToken); + Task FindByIdAsync(Guid observationId, CancellationToken cancellationToken); + Task FindLatestByPatientIdAsync(Guid patientId, CancellationToken cancellationToken); + Task> FindByPatientIdAndPeriodAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken); +} diff --git a/Reference/ArchitectureA/src/ObservationService/Contracts/MeasurementContextPatch.cs b/Reference/ArchitectureA/src/ObservationService/Contracts/MeasurementContextPatch.cs new file mode 100644 index 0000000..4223e7c --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Contracts/MeasurementContextPatch.cs @@ -0,0 +1,87 @@ +using System.ComponentModel.DataAnnotations; +using System.Text.Json.Serialization; + +namespace ObservationService.Contracts; + +[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)] +public sealed record MeasurementContextPatch +{ + private string? setting; + [AllowedValues("Home", "Clinic", "Other", "Unknown", null)] + public string? Setting + { + get => setting; + init { setting = value; SettingSpecified = true; } + } + [JsonIgnore] + public bool SettingSpecified { get; private set; } + + private string? activityCondition; + [AllowedValues("AtRest", "DuringActivity", "AfterActivity", "Unknown", null)] + public string? ActivityCondition + { + get => activityCondition; + init { activityCondition = value; ActivityConditionSpecified = true; } + } + [JsonIgnore] + public bool ActivityConditionSpecified { get; private set; } + + private decimal? restDurationMinutes; + [Range(0, double.MaxValue)] + public decimal? RestDurationMinutes + { + get => restDurationMinutes; + init { restDurationMinutes = value; RestDurationMinutesSpecified = true; } + } + [JsonIgnore] + public bool RestDurationMinutesSpecified { get; private set; } + + private string? bodyPosition; + public string? BodyPosition + { + get => bodyPosition; + init { bodyPosition = value; BodyPositionSpecified = true; } + } + [JsonIgnore] + public bool BodyPositionSpecified { get; private set; } + + private string? measuredArm; + public string? MeasuredArm + { + get => measuredArm; + init { measuredArm = value; MeasuredArmSpecified = true; } + } + [JsonIgnore] + public bool MeasuredArmSpecified { get; private set; } + + private string? deviceDetails; + public string? DeviceDetails + { + get => deviceDetails; + init { deviceDetails = value; DeviceDetailsSpecified = true; } + } + [JsonIgnore] + public bool DeviceDetailsSpecified { get; private set; } + + private string? cuffDetails; + public string? CuffDetails + { + get => cuffDetails; + init { cuffDetails = value; CuffDetailsSpecified = true; } + } + [JsonIgnore] + public bool CuffDetailsSpecified { get; private set; } + + private string? additionalCircumstances; + public string? AdditionalCircumstances + { + get => additionalCircumstances; + init { additionalCircumstances = value; AdditionalCircumstancesSpecified = true; } + } + [JsonIgnore] + public bool AdditionalCircumstancesSpecified { get; private set; } + + [JsonIgnore] + public bool HasChanges => SettingSpecified || ActivityConditionSpecified || RestDurationMinutesSpecified || + BodyPositionSpecified || MeasuredArmSpecified || DeviceDetailsSpecified || CuffDetailsSpecified || AdditionalCircumstancesSpecified; +} diff --git a/Reference/ArchitectureA/src/ObservationService/Contracts/ObservationDto.cs b/Reference/ArchitectureA/src/ObservationService/Contracts/ObservationDto.cs new file mode 100644 index 0000000..0620530 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Contracts/ObservationDto.cs @@ -0,0 +1,6 @@ +using ObservationService.Domain; + +namespace ObservationService.Contracts; + +public sealed record ObservationDto(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, MeasurementContext MeasurementContext); diff --git a/Reference/ArchitectureA/src/ObservationService/Contracts/PatchObservationRequest.cs b/Reference/ArchitectureA/src/ObservationService/Contracts/PatchObservationRequest.cs new file mode 100644 index 0000000..eecfde3 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Contracts/PatchObservationRequest.cs @@ -0,0 +1,78 @@ +using System.ComponentModel.DataAnnotations; +using System.Text.Json.Serialization; + +namespace ObservationService.Contracts; + +[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)] +public sealed record PatchObservationRequest : IValidatableObject +{ + private int? systolic; + [Range(1, int.MaxValue)] + public int? Systolic + { + get => systolic; + init { systolic = value; SystolicSpecified = true; } + } + [JsonIgnore] + public bool SystolicSpecified { get; private set; } + + private int? diastolic; + [Range(1, int.MaxValue)] + public int? Diastolic + { + get => diastolic; + init { diastolic = value; DiastolicSpecified = true; } + } + [JsonIgnore] + public bool DiastolicSpecified { get; private set; } + + private int? pulse; + [Range(1, int.MaxValue)] + public int? Pulse + { + get => pulse; + init { pulse = value; PulseSpecified = true; } + } + [JsonIgnore] + public bool PulseSpecified { get; private set; } + + private MeasurementContextPatch? measurementContext; + public MeasurementContextPatch? MeasurementContext + { + get => measurementContext; + init { measurementContext = value; MeasurementContextSpecified = true; } + } + [JsonIgnore] + public bool MeasurementContextSpecified { get; private set; } + + private string? context; + public string? Context + { + get => context; + init { context = value; ContextSpecified = true; } + } + [JsonIgnore] + public bool ContextSpecified { get; private set; } + + private string? note; + public string? Note + { + get => note; + init { note = value; NoteSpecified = true; } + } + [JsonIgnore] + public bool NoteSpecified { get; private set; } + + public IEnumerable Validate(ValidationContext validationContext) + { + if (SystolicSpecified && Systolic is null) + yield return new ValidationResult("Systolic cannot be cleared.", [nameof(Systolic)]); + if (DiastolicSpecified && Diastolic is null) + yield return new ValidationResult("Diastolic cannot be cleared.", [nameof(Diastolic)]); + if (PulseSpecified && Pulse is null) + yield return new ValidationResult("Pulse cannot be cleared.", [nameof(Pulse)]); + if (!SystolicSpecified && !DiastolicSpecified && !PulseSpecified && !ContextSpecified && !NoteSpecified && + !(MeasurementContextSpecified && (MeasurementContext is null || MeasurementContext.HasChanges))) + yield return new ValidationResult("Supply at least one supported field to update."); + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Contracts/RecordObservationRequest.cs b/Reference/ArchitectureA/src/ObservationService/Contracts/RecordObservationRequest.cs new file mode 100644 index 0000000..5c5a1a0 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Contracts/RecordObservationRequest.cs @@ -0,0 +1,24 @@ +using System.ComponentModel.DataAnnotations; +using ObservationService.Domain; + +namespace ObservationService.Contracts; + +public sealed record RecordObservationRequest +{ + [Required] + public DateTime? MeasuredAt { get; init; } + + [Required, Range(1, int.MaxValue)] + public int? Systolic { get; init; } + + [Required, Range(1, int.MaxValue)] + public int? Diastolic { get; init; } + + [Required, Range(1, int.MaxValue)] + public int? Pulse { get; init; } + + public MeasurementContext? MeasurementContext { get; init; } + + public string? Context { get; init; } + public string? Note { get; init; } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Contracts/UpdateObservationRequest.cs b/Reference/ArchitectureA/src/ObservationService/Contracts/UpdateObservationRequest.cs new file mode 100644 index 0000000..3cbcc49 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Contracts/UpdateObservationRequest.cs @@ -0,0 +1,17 @@ +using System.Text.Json.Serialization; +using System.ComponentModel.DataAnnotations; + +namespace ObservationService.Contracts; + +[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)] +public sealed record UpdateObservationRequest +{ + [Required, Range(1, int.MaxValue)] + public int? Systolic { get; init; } + + [Required, Range(1, int.MaxValue)] + public int? Diastolic { get; init; } + + [Required, Range(1, int.MaxValue)] + public int? Pulse { get; init; } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Controllers/ObservationController.cs b/Reference/ArchitectureA/src/ObservationService/Controllers/ObservationController.cs new file mode 100644 index 0000000..e9d3a7f --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Controllers/ObservationController.cs @@ -0,0 +1,90 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using ObservationService.Application; +using ObservationService.Contracts; +using ObservationService.Domain; + +namespace ObservationService.Controllers; + +[ApiController] +[Route("api")] +public sealed class ObservationController(ObservationApplicationService service) : ControllerBase +{ + [HttpPost("patients/{patientId:guid}/observations")] + public async Task> RecordObservation(Guid patientId, RecordObservationRequest request, + CancellationToken cancellationToken) + { + try + { + var observation = await service.RecordAsync(patientId, request, cancellationToken); + return observation is null + ? NotFound() + : CreatedAtAction(nameof(GetObservation), new { observationId = observation.ObservationId }, ToDto(observation)); + } + catch (HttpRequestException) + { + return Problem(statusCode: StatusCodes.Status502BadGateway, title: "Patient lookup is unavailable."); + } + catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested) + { + return Problem(statusCode: StatusCodes.Status504GatewayTimeout, title: "Patient lookup timed out."); + } + } + + [HttpDelete("observations/{observationId:guid}")] + public async Task DeleteObservation(Guid observationId, CancellationToken cancellationToken) => + await service.DeleteAsync(observationId, cancellationToken) ? NoContent() : NotFound(); + + [HttpPut("observations/{observationId:guid}")] + public async Task> UpdateObservation(Guid observationId, UpdateObservationRequest request, + CancellationToken cancellationToken) + { + var observation = await service.UpdateAsync(observationId, request, cancellationToken); + return observation is null ? NotFound() : Ok(ToDto(observation)); + } + + [HttpPatch("observations/{observationId:guid}")] + public async Task> PatchObservation(Guid observationId, PatchObservationRequest request, + CancellationToken cancellationToken) + { + var observation = await service.PatchAsync(observationId, request, cancellationToken); + return observation is null ? NotFound() : Ok(ToDto(observation)); + } + + [HttpGet("observations/{observationId:guid}")] + public async Task> GetObservation(Guid observationId, CancellationToken cancellationToken) + { + var observation = await service.GetByIdAsync(observationId, cancellationToken); + return observation is null ? NotFound() : Ok(ToDto(observation)); + } + + [HttpGet("patients/{patientId:guid}/observations/latest")] + public async Task> GetLatest(Guid patientId, CancellationToken cancellationToken) + { + var observation = await service.GetLatestAsync(patientId, cancellationToken); + return observation is null ? NotFound() : Ok(ToDto(observation)); + } + + [HttpGet("patients/{patientId:guid}/observations")] + public async Task>> GetByPeriod(Guid patientId, + [FromQuery, BindRequired] DateTime from, [FromQuery, BindRequired] DateTime to, + [FromQuery] ContextSelection selection, CancellationToken cancellationToken) + { + try + { + var observations = await service.GetByPeriodAsync(patientId, from, to, selection, cancellationToken); + Response.Headers["X-Measurement-Setting"] = selection.Setting ?? "All"; + Response.Headers["X-Activity-Condition"] = selection.ActivityCondition ?? "All"; + return Ok(observations.Select(ToDto).ToList()); + } + catch (ArgumentException) + { + ModelState.AddModelError(nameof(to), "The end time must not be earlier than the start time."); + return ValidationProblem(ModelState); + } + } + + private static ObservationDto ToDto(BloodPressureObservation observation) => + new(observation.ObservationId, observation.PatientId, observation.MeasuredAt, observation.Systolic, + observation.Diastolic, observation.Pulse, observation.Context, observation.Note, observation.MeasurementContext); +} diff --git a/Reference/ArchitectureA/src/ObservationService/Domain/BloodPressureObservation.cs b/Reference/ArchitectureA/src/ObservationService/Domain/BloodPressureObservation.cs new file mode 100644 index 0000000..0e42cee --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Domain/BloodPressureObservation.cs @@ -0,0 +1,16 @@ +namespace ObservationService.Domain; + +public sealed class BloodPressureObservation +{ + public Guid ObservationId { get; set; } + public Guid PatientId { get; set; } + public DateTime MeasuredAt { get; set; } + public int Systolic { get; set; } + public int Diastolic { get; set; } + public int Pulse { get; set; } + public MeasurementContext MeasurementContext { get; set; } = new(); + public string? Context { get; set; } + public string? Note { get; set; } + public DateTime CreatedAt { get; set; } + public DateTime UpdatedAt { get; set; } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Domain/ContextSelection.cs b/Reference/ArchitectureA/src/ObservationService/Domain/ContextSelection.cs new file mode 100644 index 0000000..12daa4e --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Domain/ContextSelection.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; + +namespace ObservationService.Domain; + +public sealed record ContextSelection +{ + [AllowedValues("Home", "Clinic", "Other", "Unknown", null)] + public string? Setting { get; init; } + + [AllowedValues("AtRest", "DuringActivity", "AfterActivity", "Unknown", null)] + public string? ActivityCondition { get; init; } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Domain/MeasurementContext.cs b/Reference/ArchitectureA/src/ObservationService/Domain/MeasurementContext.cs new file mode 100644 index 0000000..d796fde --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Domain/MeasurementContext.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; + +namespace ObservationService.Domain; + +public sealed record MeasurementContext +{ + [AllowedValues("Home", "Clinic", "Other", "Unknown", null)] + public string? Setting { get; init; } = "Unknown"; + + [AllowedValues("AtRest", "DuringActivity", "AfterActivity", "Unknown", null)] + public string? ActivityCondition { get; init; } = "Unknown"; + + [Range(0, double.MaxValue)] + public decimal? RestDurationMinutes { get; init; } + + public string? BodyPosition { get; init; } + public string? MeasuredArm { get; init; } + public string? DeviceDetails { get; init; } + public string? CuffDetails { get; init; } + public string? AdditionalCircumstances { get; init; } +} diff --git a/Reference/ArchitectureA/src/ObservationService/ObservationService.csproj b/Reference/ArchitectureA/src/ObservationService/ObservationService.csproj new file mode 100644 index 0000000..83c0184 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/ObservationService.csproj @@ -0,0 +1,13 @@ + + + net10.0 + enable + enable + + + + + + + + diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs new file mode 100644 index 0000000..ca48320 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs @@ -0,0 +1,77 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using ObservationService.Persistence; + +#nullable disable + +namespace ObservationService.Persistence.Migrations +{ + [DbContext(typeof(ObservationDbContext))] + [Migration("20261001095222_InitialObservationSchema")] + partial class InitialObservationSchema + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.12") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("ObservationService.Domain.BloodPressureObservation", b => + { + b.Property("ObservationId") + .HasColumnType("uuid") + .HasColumnName("observation_id"); + + b.Property("Context") + .HasColumnType("character varying") + .HasColumnName("context"); + + b.Property("CreatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("created_at"); + + b.Property("Diastolic") + .HasColumnType("integer") + .HasColumnName("diastolic"); + + b.Property("MeasuredAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("measured_at"); + + b.Property("Note") + .HasColumnType("character varying") + .HasColumnName("note"); + + b.Property("PatientId") + .HasColumnType("uuid") + .HasColumnName("patient_id"); + + b.Property("Pulse") + .HasColumnType("integer") + .HasColumnName("pulse"); + + b.Property("Systolic") + .HasColumnType("integer") + .HasColumnName("systolic"); + + b.Property("UpdatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("updated_at"); + + b.HasKey("ObservationId"); + + b.ToTable("blood_pressure_observation", (string)null); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs new file mode 100644 index 0000000..4884e72 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs @@ -0,0 +1,42 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace ObservationService.Persistence.Migrations +{ + /// + public partial class InitialObservationSchema : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "blood_pressure_observation", + columns: table => new + { + observation_id = table.Column(type: "uuid", nullable: false), + patient_id = table.Column(type: "uuid", nullable: false), + measured_at = table.Column(type: "timestamp without time zone", nullable: false), + systolic = table.Column(type: "integer", nullable: false), + diastolic = table.Column(type: "integer", nullable: false), + pulse = table.Column(type: "integer", nullable: false), + context = table.Column(type: "character varying", nullable: true), + note = table.Column(type: "character varying", nullable: true), + created_at = table.Column(type: "timestamp without time zone", nullable: false), + updated_at = table.Column(type: "timestamp without time zone", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_blood_pressure_observation", x => x.observation_id); + }); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "blood_pressure_observation"); + } + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs new file mode 100644 index 0000000..2c735e9 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs @@ -0,0 +1,134 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using ObservationService.Persistence; + +#nullable disable + +namespace ObservationService.Persistence.Migrations +{ + [DbContext(typeof(ObservationDbContext))] + [Migration("20261005094632_RecordedMeasurementContext")] + partial class RecordedMeasurementContext + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.12") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("ObservationService.Domain.BloodPressureObservation", b => + { + b.Property("ObservationId") + .HasColumnType("uuid") + .HasColumnName("observation_id"); + + b.Property("Context") + .HasColumnType("character varying") + .HasColumnName("context"); + + b.Property("CreatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("created_at"); + + b.Property("Diastolic") + .HasColumnType("integer") + .HasColumnName("diastolic"); + + b.Property("MeasuredAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("measured_at"); + + b.Property("Note") + .HasColumnType("character varying") + .HasColumnName("note"); + + b.Property("PatientId") + .HasColumnType("uuid") + .HasColumnName("patient_id"); + + b.Property("Pulse") + .HasColumnType("integer") + .HasColumnName("pulse"); + + b.Property("Systolic") + .HasColumnType("integer") + .HasColumnName("systolic"); + + b.Property("UpdatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("updated_at"); + + b.HasKey("ObservationId"); + + b.ToTable("blood_pressure_observation", (string)null); + }); + + modelBuilder.Entity("ObservationService.Domain.BloodPressureObservation", b => + { + b.OwnsOne("ObservationService.Domain.MeasurementContext", "MeasurementContext", b1 => + { + b1.Property("BloodPressureObservationObservationId") + .HasColumnType("uuid"); + + b1.Property("ActivityCondition") + .IsRequired() + .ValueGeneratedOnAdd() + .HasColumnType("text") + .HasDefaultValue("Unknown") + .HasColumnName("activity_condition"); + + b1.Property("AdditionalCircumstances") + .HasColumnType("text") + .HasColumnName("additional_circumstances"); + + b1.Property("BodyPosition") + .HasColumnType("text") + .HasColumnName("body_position"); + + b1.Property("CuffDetails") + .HasColumnType("text") + .HasColumnName("cuff_details"); + + b1.Property("DeviceDetails") + .HasColumnType("text") + .HasColumnName("device_details"); + + b1.Property("MeasuredArm") + .HasColumnType("text") + .HasColumnName("measured_arm"); + + b1.Property("RestDurationMinutes") + .HasColumnType("numeric") + .HasColumnName("rest_duration_minutes"); + + b1.Property("Setting") + .IsRequired() + .ValueGeneratedOnAdd() + .HasColumnType("text") + .HasDefaultValue("Unknown") + .HasColumnName("setting"); + + b1.HasKey("BloodPressureObservationObservationId"); + + b1.ToTable("blood_pressure_observation"); + + b1.WithOwner() + .HasForeignKey("BloodPressureObservationObservationId"); + }); + + b.Navigation("MeasurementContext") + .IsRequired(); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs new file mode 100644 index 0000000..f195da4 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs @@ -0,0 +1,100 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace ObservationService.Persistence.Migrations +{ + /// + public partial class RecordedMeasurementContext : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "activity_condition", + table: "blood_pressure_observation", + type: "text", + nullable: false, + defaultValue: "Unknown"); + + migrationBuilder.AddColumn( + name: "additional_circumstances", + table: "blood_pressure_observation", + type: "text", + nullable: true); + + migrationBuilder.AddColumn( + name: "body_position", + table: "blood_pressure_observation", + type: "text", + nullable: true); + + migrationBuilder.AddColumn( + name: "cuff_details", + table: "blood_pressure_observation", + type: "text", + nullable: true); + + migrationBuilder.AddColumn( + name: "device_details", + table: "blood_pressure_observation", + type: "text", + nullable: true); + + migrationBuilder.AddColumn( + name: "measured_arm", + table: "blood_pressure_observation", + type: "text", + nullable: true); + + migrationBuilder.AddColumn( + name: "rest_duration_minutes", + table: "blood_pressure_observation", + type: "numeric", + nullable: true); + + migrationBuilder.AddColumn( + name: "setting", + table: "blood_pressure_observation", + type: "text", + nullable: false, + defaultValue: "Unknown"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "activity_condition", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "additional_circumstances", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "body_position", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "cuff_details", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "device_details", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "measured_arm", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "rest_duration_minutes", + table: "blood_pressure_observation"); + + migrationBuilder.DropColumn( + name: "setting", + table: "blood_pressure_observation"); + } + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs new file mode 100644 index 0000000..8df1bc5 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs @@ -0,0 +1,131 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using ObservationService.Persistence; + +#nullable disable + +namespace ObservationService.Persistence.Migrations +{ + [DbContext(typeof(ObservationDbContext))] + partial class ObservationDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.12") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("ObservationService.Domain.BloodPressureObservation", b => + { + b.Property("ObservationId") + .HasColumnType("uuid") + .HasColumnName("observation_id"); + + b.Property("Context") + .HasColumnType("character varying") + .HasColumnName("context"); + + b.Property("CreatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("created_at"); + + b.Property("Diastolic") + .HasColumnType("integer") + .HasColumnName("diastolic"); + + b.Property("MeasuredAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("measured_at"); + + b.Property("Note") + .HasColumnType("character varying") + .HasColumnName("note"); + + b.Property("PatientId") + .HasColumnType("uuid") + .HasColumnName("patient_id"); + + b.Property("Pulse") + .HasColumnType("integer") + .HasColumnName("pulse"); + + b.Property("Systolic") + .HasColumnType("integer") + .HasColumnName("systolic"); + + b.Property("UpdatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("updated_at"); + + b.HasKey("ObservationId"); + + b.ToTable("blood_pressure_observation", (string)null); + }); + + modelBuilder.Entity("ObservationService.Domain.BloodPressureObservation", b => + { + b.OwnsOne("ObservationService.Domain.MeasurementContext", "MeasurementContext", b1 => + { + b1.Property("BloodPressureObservationObservationId") + .HasColumnType("uuid"); + + b1.Property("ActivityCondition") + .IsRequired() + .ValueGeneratedOnAdd() + .HasColumnType("text") + .HasDefaultValue("Unknown") + .HasColumnName("activity_condition"); + + b1.Property("AdditionalCircumstances") + .HasColumnType("text") + .HasColumnName("additional_circumstances"); + + b1.Property("BodyPosition") + .HasColumnType("text") + .HasColumnName("body_position"); + + b1.Property("CuffDetails") + .HasColumnType("text") + .HasColumnName("cuff_details"); + + b1.Property("DeviceDetails") + .HasColumnType("text") + .HasColumnName("device_details"); + + b1.Property("MeasuredArm") + .HasColumnType("text") + .HasColumnName("measured_arm"); + + b1.Property("RestDurationMinutes") + .HasColumnType("numeric") + .HasColumnName("rest_duration_minutes"); + + b1.Property("Setting") + .IsRequired() + .ValueGeneratedOnAdd() + .HasColumnType("text") + .HasDefaultValue("Unknown") + .HasColumnName("setting"); + + b1.HasKey("BloodPressureObservationObservationId"); + + b1.ToTable("blood_pressure_observation"); + + b1.WithOwner() + .HasForeignKey("BloodPressureObservationObservationId"); + }); + + b.Navigation("MeasurementContext") + .IsRequired(); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/ObservationDbContext.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/ObservationDbContext.cs new file mode 100644 index 0000000..a8ee204 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/ObservationDbContext.cs @@ -0,0 +1,39 @@ +using Microsoft.EntityFrameworkCore; +using ObservationService.Domain; + +namespace ObservationService.Persistence; + +public sealed class ObservationDbContext(DbContextOptions options) : DbContext(options) +{ + public DbSet Observations => Set(); + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + var observation = modelBuilder.Entity(); + observation.ToTable("blood_pressure_observation"); + observation.HasKey(o => o.ObservationId); + observation.Property(o => o.ObservationId).HasColumnName("observation_id").ValueGeneratedNever(); + // An external patient identifier, not a cross-database foreign key. + observation.Property(o => o.PatientId).HasColumnName("patient_id"); + observation.Property(o => o.MeasuredAt).HasColumnName("measured_at").HasColumnType("timestamp without time zone"); + observation.Property(o => o.Systolic).HasColumnName("systolic"); + observation.Property(o => o.Diastolic).HasColumnName("diastolic"); + observation.Property(o => o.Pulse).HasColumnName("pulse"); + observation.Property(o => o.Context).HasColumnName("context").HasColumnType("character varying"); + observation.Property(o => o.Note).HasColumnName("note").HasColumnType("character varying"); + observation.OwnsOne(o => o.MeasurementContext, context => + { + context.Property(c => c.Setting).HasColumnName("setting").HasDefaultValue("Unknown").IsRequired(); + context.Property(c => c.ActivityCondition).HasColumnName("activity_condition").HasDefaultValue("Unknown").IsRequired(); + context.Property(c => c.RestDurationMinutes).HasColumnName("rest_duration_minutes"); + context.Property(c => c.BodyPosition).HasColumnName("body_position"); + context.Property(c => c.MeasuredArm).HasColumnName("measured_arm"); + context.Property(c => c.DeviceDetails).HasColumnName("device_details"); + context.Property(c => c.CuffDetails).HasColumnName("cuff_details"); + context.Property(c => c.AdditionalCircumstances).HasColumnName("additional_circumstances"); + }); + observation.Navigation(o => o.MeasurementContext).IsRequired(); + observation.Property(o => o.CreatedAt).HasColumnName("created_at").HasColumnType("timestamp without time zone"); + observation.Property(o => o.UpdatedAt).HasColumnName("updated_at").HasColumnType("timestamp without time zone"); + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Persistence/SqlObservationRepository.cs b/Reference/ArchitectureA/src/ObservationService/Persistence/SqlObservationRepository.cs new file mode 100644 index 0000000..bc71283 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Persistence/SqlObservationRepository.cs @@ -0,0 +1,79 @@ +using ObservationService.Contracts; +using Microsoft.EntityFrameworkCore; +using ObservationService.Application; +using ObservationService.Domain; + +namespace ObservationService.Persistence; + +public sealed class SqlObservationRepository(ObservationDbContext db) : ObservationRepository +{ + public async Task DeleteAsync(Guid observationId, CancellationToken cancellationToken) => + await db.Observations.Where(o => o.ObservationId == observationId) + .ExecuteDeleteAsync(cancellationToken) > 0; + + public async Task UpdateAsync(Guid observationId, PatchObservationRequest request, + DateTime updatedAt, CancellationToken cancellationToken) + { + var observation = await db.Observations.SingleOrDefaultAsync(o => o.ObservationId == observationId, + cancellationToken); + if (observation is null) + return null; + + if (request.SystolicSpecified) observation.Systolic = request.Systolic!.Value; + if (request.DiastolicSpecified) observation.Diastolic = request.Diastolic!.Value; + if (request.PulseSpecified) observation.Pulse = request.Pulse!.Value; + if (request.ContextSpecified) observation.Context = request.Context; + if (request.NoteSpecified) observation.Note = request.Note; + if (request.MeasurementContextSpecified) + { + if (request.MeasurementContext is null) observation.MeasurementContext = new(); + else + { + var patch = request.MeasurementContext; + var current = observation.MeasurementContext; + observation.MeasurementContext = current with + { + Setting = patch.SettingSpecified ? patch.Setting ?? "Unknown" : current.Setting, + ActivityCondition = patch.ActivityConditionSpecified ? patch.ActivityCondition ?? "Unknown" : current.ActivityCondition, + RestDurationMinutes = patch.RestDurationMinutesSpecified ? patch.RestDurationMinutes : current.RestDurationMinutes, + BodyPosition = patch.BodyPositionSpecified ? patch.BodyPosition : current.BodyPosition, + MeasuredArm = patch.MeasuredArmSpecified ? patch.MeasuredArm : current.MeasuredArm, + DeviceDetails = patch.DeviceDetailsSpecified ? patch.DeviceDetails : current.DeviceDetails, + CuffDetails = patch.CuffDetailsSpecified ? patch.CuffDetails : current.CuffDetails, + AdditionalCircumstances = patch.AdditionalCircumstancesSpecified ? patch.AdditionalCircumstances : current.AdditionalCircumstances + }; + } + } + observation.UpdatedAt = updatedAt; + await db.SaveChangesAsync(cancellationToken); + return observation; + } + + public async Task SaveAsync(BloodPressureObservation observation, CancellationToken cancellationToken) + { + db.Observations.Add(observation); + await db.SaveChangesAsync(cancellationToken); + return observation; + } + + public Task FindByIdAsync(Guid observationId, CancellationToken cancellationToken) => + db.Observations.AsNoTracking().SingleOrDefaultAsync(o => o.ObservationId == observationId, cancellationToken); + + public Task FindLatestByPatientIdAsync(Guid patientId, CancellationToken cancellationToken) => + db.Observations.AsNoTracking().Where(o => o.PatientId == patientId) + .OrderByDescending(o => o.MeasuredAt).ThenByDescending(o => o.CreatedAt) + .ThenByDescending(o => o.ObservationId) + .FirstOrDefaultAsync(cancellationToken); + + public Task> FindByPatientIdAndPeriodAsync(Guid patientId, DateTime from, DateTime to, + ContextSelection selection, CancellationToken cancellationToken) + { + var query = db.Observations.AsNoTracking() + .Where(o => o.PatientId == patientId && o.MeasuredAt >= from && o.MeasuredAt <= to); + if (selection.Setting is not null) + query = query.Where(o => o.MeasurementContext.Setting == selection.Setting); + if (selection.ActivityCondition is not null) + query = query.Where(o => o.MeasurementContext.ActivityCondition == selection.ActivityCondition); + return query.OrderBy(o => o.MeasuredAt).ThenBy(o => o.ObservationId).ToListAsync(cancellationToken); + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/Program.cs b/Reference/ArchitectureA/src/ObservationService/Program.cs new file mode 100644 index 0000000..1a8cc19 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/Program.cs @@ -0,0 +1,74 @@ +using System.Security.Cryptography; +using System.Text; +using Microsoft.EntityFrameworkCore; +using ObservationService.Application; +using ObservationService.Persistence; + +namespace ObservationService; + +public class Program +{ + public static async Task Main(string[] args) + { + var builder = WebApplication.CreateBuilder(args); + builder.Host.UseWindowsService(options => options.ServiceName = "healthapp-observation"); + builder.Services.AddControllers(); + builder.Services.AddProblemDetails(); + builder.Services.AddDbContext((services, options) => + options.UseNpgsql(services.GetRequiredService().GetConnectionString("ObservationDatabase"))); + builder.Services.AddScoped(); + builder.Services.AddScoped(); + builder.Services.AddHttpClient("ApiGateway", (services, client) => + { + var configuration = services.GetRequiredService(); + client.BaseAddress = GetGatewayUri(configuration); + var serviceKey = configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(serviceKey) || serviceKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + client.DefaultRequestHeaders.Add("X-Service-Key", serviceKey); + }) + .ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false }); + + var app = builder.Build(); + if (string.IsNullOrWhiteSpace(app.Configuration.GetConnectionString("ObservationDatabase"))) + throw new InvalidOperationException("ConnectionStrings:ObservationDatabase must be configured."); + + if (args.Contains("--migrate")) + { + await using var scope = app.Services.CreateAsyncScope(); + await scope.ServiceProvider.GetRequiredService().Database.MigrateAsync(); + return; + } + + if (!app.Environment.IsDevelopment() && GetGatewayUri(app.Configuration).Scheme != "https") + throw new InvalidOperationException("Production gateway endpoints must use HTTPS."); + _ = GetGatewayUri(app.Configuration); + var outgoingKey = app.Configuration["Services:ApiGateway:Key"]; + if (string.IsNullOrWhiteSpace(outgoingKey) || outgoingKey.Length < 32) + throw new InvalidOperationException("Services:ApiGateway:Key must contain at least 32 characters."); + var gatewayKey = app.Configuration["InternalAccess:GatewayKey"]; + if (string.IsNullOrWhiteSpace(gatewayKey) || gatewayKey.Length < 32) + throw new InvalidOperationException("InternalAccess:GatewayKey must contain at least 32 characters."); + app.UseExceptionHandler(); + app.Use(async (context, next) => + { + var supplied = context.Request.Headers["X-Gateway-Key"].ToString(); + if ((!app.Environment.IsDevelopment() && !context.Request.IsHttps) || + !CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(supplied), Encoding.UTF8.GetBytes(gatewayKey))) + { context.Response.StatusCode = 401; return; } + await next(context); + }); + app.MapControllers(); + await app.RunAsync(); + } + + private static Uri GetGatewayUri(IConfiguration configuration) + { + var endpoint = configuration["Services:ApiGateway:BaseUrl"]; + if (!Uri.TryCreate(endpoint, UriKind.Absolute, out var uri) || + (uri.Scheme != "http" && uri.Scheme != "https") || uri.AbsolutePath != "/" || + !string.IsNullOrEmpty(uri.Query) || !string.IsNullOrEmpty(uri.Fragment) || !string.IsNullOrEmpty(uri.UserInfo)) + throw new InvalidOperationException("Services:ApiGateway:BaseUrl must be an HTTP(S) origin URL."); + return uri; + } +} diff --git a/Reference/ArchitectureA/src/ObservationService/appsettings.json b/Reference/ArchitectureA/src/ObservationService/appsettings.json new file mode 100644 index 0000000..2e95688 --- /dev/null +++ b/Reference/ArchitectureA/src/ObservationService/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore.Database.Command": "Warning" + } + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Application/PatientApplicationService.cs b/Reference/ArchitectureA/src/PatientProfileService/Application/PatientApplicationService.cs new file mode 100644 index 0000000..3548906 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Application/PatientApplicationService.cs @@ -0,0 +1,45 @@ +using PatientProfileService.Contracts; +using PatientProfileService.Domain; + +namespace PatientProfileService.Application; + +public sealed class PatientApplicationService(PatientRepository repository) +{ + public async Task CreatePatientAsync(CreatePatientRequest request, string accountId, CancellationToken cancellationToken) + { + ArgumentException.ThrowIfNullOrWhiteSpace(request.Name); + ArgumentException.ThrowIfNullOrWhiteSpace(accountId); + if (await repository.FindByAccountIdAsync(accountId, cancellationToken) is not null) + throw new ProfileAlreadyExistsException(); + if (request.DateOfBirth is null) + throw new ArgumentException("A date of birth is required.", nameof(request)); + + // The documented TIMESTAMP columns store UTC without a time-zone component. + var now = DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified); + return await repository.SaveAsync(new Patient + { + PatientId = Guid.NewGuid(), + AccountId = accountId, + Name = request.Name, + DateOfBirth = request.DateOfBirth.Value, + ContactInfo = request.ContactInfo, + CreatedAt = now, + UpdatedAt = now + }, cancellationToken); + } + + public Task GetByAccountAsync(string accountId, CancellationToken cancellationToken) => + repository.FindByAccountIdAsync(accountId, cancellationToken); + + public Task GetPatientAsync(Guid patientId, CancellationToken cancellationToken) => + repository.FindByIdAsync(patientId, cancellationToken); + + public async Task UpdatePatientAsync(Guid patientId, UpdatePatientRequest request, CancellationToken cancellationToken) + { + ArgumentException.ThrowIfNullOrWhiteSpace(request.Name); + if (!await repository.UpdateProfileAsync(patientId, request.Name, request.ContactInfo, cancellationToken)) + return null; + + return await repository.FindByIdAsync(patientId, cancellationToken); + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Application/PatientRepository.cs b/Reference/ArchitectureA/src/PatientProfileService/Application/PatientRepository.cs new file mode 100644 index 0000000..2d24e3e --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Application/PatientRepository.cs @@ -0,0 +1,11 @@ +using PatientProfileService.Domain; + +namespace PatientProfileService.Application; + +public interface PatientRepository +{ + Task FindByAccountIdAsync(string accountId, CancellationToken cancellationToken); + Task SaveAsync(Patient patient, CancellationToken cancellationToken); + Task FindByIdAsync(Guid patientId, CancellationToken cancellationToken); + Task UpdateProfileAsync(Guid patientId, string name, string? contactInfo, CancellationToken cancellationToken); +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Application/ProfileAlreadyExistsException.cs b/Reference/ArchitectureA/src/PatientProfileService/Application/ProfileAlreadyExistsException.cs new file mode 100644 index 0000000..e9f40db --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Application/ProfileAlreadyExistsException.cs @@ -0,0 +1,5 @@ +namespace PatientProfileService.Application; + +public sealed class ProfileAlreadyExistsException : Exception +{ +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Contracts/CreatePatientRequest.cs b/Reference/ArchitectureA/src/PatientProfileService/Contracts/CreatePatientRequest.cs new file mode 100644 index 0000000..b0f8a91 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Contracts/CreatePatientRequest.cs @@ -0,0 +1,14 @@ +using System.ComponentModel.DataAnnotations; + +namespace PatientProfileService.Contracts; + +public sealed record CreatePatientRequest +{ + [Required] + public string? Name { get; init; } + + [Required] + public DateOnly? DateOfBirth { get; init; } + + public string? ContactInfo { get; init; } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Contracts/PatientDto.cs b/Reference/ArchitectureA/src/PatientProfileService/Contracts/PatientDto.cs new file mode 100644 index 0000000..b6e23a4 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Contracts/PatientDto.cs @@ -0,0 +1,3 @@ +namespace PatientProfileService.Contracts; + +public sealed record PatientDto(Guid PatientId, string Name, DateOnly DateOfBirth, string? ContactInfo); diff --git a/Reference/ArchitectureA/src/PatientProfileService/Contracts/UpdatePatientRequest.cs b/Reference/ArchitectureA/src/PatientProfileService/Contracts/UpdatePatientRequest.cs new file mode 100644 index 0000000..d843ee0 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Contracts/UpdatePatientRequest.cs @@ -0,0 +1,11 @@ +using System.ComponentModel.DataAnnotations; + +namespace PatientProfileService.Contracts; + +public sealed record UpdatePatientRequest +{ + [Required] + public string? Name { get; init; } + + public string? ContactInfo { get; init; } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Controllers/PatientController.cs b/Reference/ArchitectureA/src/PatientProfileService/Controllers/PatientController.cs new file mode 100644 index 0000000..f03f791 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Controllers/PatientController.cs @@ -0,0 +1,51 @@ +using Microsoft.AspNetCore.Mvc; +using PatientProfileService.Application; +using PatientProfileService.Contracts; +using PatientProfileService.Domain; + +namespace PatientProfileService.Controllers; + +[ApiController] +[Route("api/patients")] +public sealed class PatientController(PatientApplicationService service) : ControllerBase +{ + [HttpPost] + public async Task> CreatePatient(CreatePatientRequest request, CancellationToken cancellationToken) + { + var accountId = Request.Headers["X-Account-Id"].ToString(); + if (string.IsNullOrWhiteSpace(accountId)) return BadRequest(); + try + { + var patient = await service.CreatePatientAsync(request, accountId, cancellationToken); + return CreatedAtAction(nameof(GetPatient), new { patientId = patient.PatientId }, ToDto(patient)); + } + catch (ProfileAlreadyExistsException) + { + return Conflict(new { title = "A profile already exists for this account." }); + } + } + + [HttpGet("by-account/{accountId}")] + public async Task> GetByAccount(string accountId, CancellationToken cancellationToken) + { + var patient = await service.GetByAccountAsync(accountId, cancellationToken); + return patient is null ? NotFound() : Ok(ToDto(patient)); + } + + [HttpGet("{patientId:guid}")] + public async Task> GetPatient(Guid patientId, CancellationToken cancellationToken) + { + var patient = await service.GetPatientAsync(patientId, cancellationToken); + return patient is null ? NotFound() : Ok(ToDto(patient)); + } + + [HttpPut("{patientId:guid}")] + public async Task> UpdatePatient(Guid patientId, UpdatePatientRequest request, CancellationToken cancellationToken) + { + var patient = await service.UpdatePatientAsync(patientId, request, cancellationToken); + return patient is null ? NotFound() : Ok(ToDto(patient)); + } + + private static PatientDto ToDto(Patient patient) => + new(patient.PatientId, patient.Name, patient.DateOfBirth, patient.ContactInfo); +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Domain/Patient.cs b/Reference/ArchitectureA/src/PatientProfileService/Domain/Patient.cs new file mode 100644 index 0000000..0c4f84f --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Domain/Patient.cs @@ -0,0 +1,12 @@ +namespace PatientProfileService.Domain; + +public sealed class Patient +{ + public string? AccountId { get; set; } + public Guid PatientId { get; set; } + public string Name { get; set; } = ""; + public DateOnly DateOfBirth { get; set; } + public string? ContactInfo { get; set; } + public DateTime CreatedAt { get; set; } + public DateTime UpdatedAt { get; set; } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/PatientProfileService.csproj b/Reference/ArchitectureA/src/PatientProfileService/PatientProfileService.csproj new file mode 100644 index 0000000..83c0184 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/PatientProfileService.csproj @@ -0,0 +1,13 @@ + + + net10.0 + enable + enable + + + + + + + + diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs new file mode 100644 index 0000000..0c2b0a6 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs @@ -0,0 +1,62 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using PatientProfileService.Persistence; + +#nullable disable + +namespace PatientProfileService.Persistence.Migrations +{ + [DbContext(typeof(PatientDbContext))] + [Migration("20260930200031_InitialPatientSchema")] + partial class InitialPatientSchema + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.12") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("PatientProfileService.Domain.Patient", b => + { + b.Property("PatientId") + .HasColumnType("uuid") + .HasColumnName("patient_id"); + + b.Property("ContactInfo") + .HasColumnType("character varying") + .HasColumnName("contact_info"); + + b.Property("CreatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("created_at"); + + b.Property("DateOfBirth") + .HasColumnType("date") + .HasColumnName("date_of_birth"); + + b.Property("Name") + .IsRequired() + .HasColumnType("character varying") + .HasColumnName("name"); + + b.Property("UpdatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("updated_at"); + + b.HasKey("PatientId"); + + b.ToTable("patient", (string)null); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs new file mode 100644 index 0000000..7921534 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs @@ -0,0 +1,38 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace PatientProfileService.Persistence.Migrations +{ + /// + public partial class InitialPatientSchema : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "patient", + columns: table => new + { + patient_id = table.Column(type: "uuid", nullable: false), + name = table.Column(type: "character varying", nullable: false), + date_of_birth = table.Column(type: "date", nullable: false), + contact_info = table.Column(type: "character varying", nullable: true), + created_at = table.Column(type: "timestamp without time zone", nullable: false), + updated_at = table.Column(type: "timestamp without time zone", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_patient", x => x.patient_id); + }); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "patient"); + } + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs new file mode 100644 index 0000000..8d12aa2 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs @@ -0,0 +1,69 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using PatientProfileService.Persistence; + +#nullable disable + +namespace PatientProfileService.Persistence.Migrations +{ + [DbContext(typeof(PatientDbContext))] + [Migration("20261005082209_AccountProfileAssociation")] + partial class AccountProfileAssociation + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.12") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("PatientProfileService.Domain.Patient", b => + { + b.Property("PatientId") + .HasColumnType("uuid") + .HasColumnName("patient_id"); + + b.Property("AccountId") + .HasColumnType("text") + .HasColumnName("account_id"); + + b.Property("ContactInfo") + .HasColumnType("character varying") + .HasColumnName("contact_info"); + + b.Property("CreatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("created_at"); + + b.Property("DateOfBirth") + .HasColumnType("date") + .HasColumnName("date_of_birth"); + + b.Property("Name") + .IsRequired() + .HasColumnType("character varying") + .HasColumnName("name"); + + b.Property("UpdatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("updated_at"); + + b.HasKey("PatientId"); + + b.HasIndex("AccountId") + .IsUnique(); + + b.ToTable("patient", (string)null); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs new file mode 100644 index 0000000..391f17b --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs @@ -0,0 +1,38 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace PatientProfileService.Persistence.Migrations +{ + /// + public partial class AccountProfileAssociation : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "account_id", + table: "patient", + type: "text", + nullable: true); + + migrationBuilder.CreateIndex( + name: "IX_patient_account_id", + table: "patient", + column: "account_id", + unique: true); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropIndex( + name: "IX_patient_account_id", + table: "patient"); + + migrationBuilder.DropColumn( + name: "account_id", + table: "patient"); + } + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs new file mode 100644 index 0000000..526e7fe --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs @@ -0,0 +1,66 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using PatientProfileService.Persistence; + +#nullable disable + +namespace PatientProfileService.Persistence.Migrations +{ + [DbContext(typeof(PatientDbContext))] + partial class PatientDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.12") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("PatientProfileService.Domain.Patient", b => + { + b.Property("PatientId") + .HasColumnType("uuid") + .HasColumnName("patient_id"); + + b.Property("AccountId") + .HasColumnType("text") + .HasColumnName("account_id"); + + b.Property("ContactInfo") + .HasColumnType("character varying") + .HasColumnName("contact_info"); + + b.Property("CreatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("created_at"); + + b.Property("DateOfBirth") + .HasColumnType("date") + .HasColumnName("date_of_birth"); + + b.Property("Name") + .IsRequired() + .HasColumnType("character varying") + .HasColumnName("name"); + + b.Property("UpdatedAt") + .HasColumnType("timestamp without time zone") + .HasColumnName("updated_at"); + + b.HasKey("PatientId"); + + b.HasIndex("AccountId") + .IsUnique(); + + b.ToTable("patient", (string)null); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/PatientDbContext.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/PatientDbContext.cs new file mode 100644 index 0000000..12fba1d --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/PatientDbContext.cs @@ -0,0 +1,24 @@ +using Microsoft.EntityFrameworkCore; +using PatientProfileService.Domain; + +namespace PatientProfileService.Persistence; + +public sealed class PatientDbContext(DbContextOptions options) : DbContext(options) +{ + public DbSet Patients => Set(); + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + var patient = modelBuilder.Entity(); + patient.ToTable("patient"); + patient.HasKey(p => p.PatientId); + patient.Property(p => p.AccountId).HasColumnName("account_id"); + patient.HasIndex(p => p.AccountId).IsUnique(); + patient.Property(p => p.PatientId).HasColumnName("patient_id").ValueGeneratedNever(); + patient.Property(p => p.Name).HasColumnName("name").HasColumnType("character varying").IsRequired(); + patient.Property(p => p.DateOfBirth).HasColumnName("date_of_birth").HasColumnType("date"); + patient.Property(p => p.ContactInfo).HasColumnName("contact_info").HasColumnType("character varying"); + patient.Property(p => p.CreatedAt).HasColumnName("created_at").HasColumnType("timestamp without time zone"); + patient.Property(p => p.UpdatedAt).HasColumnName("updated_at").HasColumnType("timestamp without time zone"); + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Persistence/SqlPatientRepository.cs b/Reference/ArchitectureA/src/PatientProfileService/Persistence/SqlPatientRepository.cs new file mode 100644 index 0000000..e8d38cf --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Persistence/SqlPatientRepository.cs @@ -0,0 +1,37 @@ +using Microsoft.EntityFrameworkCore; +using Npgsql; +using PatientProfileService.Application; +using PatientProfileService.Domain; + +namespace PatientProfileService.Persistence; + +public sealed class SqlPatientRepository(PatientDbContext db) : PatientRepository +{ + public async Task SaveAsync(Patient patient, CancellationToken cancellationToken) + { + db.Patients.Add(patient); + try { await db.SaveChangesAsync(cancellationToken); } + catch (DbUpdateException e) when (e.InnerException is PostgresException { SqlState: "23505", ConstraintName: "IX_patient_account_id" }) + { + throw new ProfileAlreadyExistsException(); + } + return patient; + } + + public Task FindByAccountIdAsync(string accountId, CancellationToken cancellationToken) => + db.Patients.AsNoTracking().SingleOrDefaultAsync(p => p.AccountId == accountId, cancellationToken); + + public Task FindByIdAsync(Guid patientId, CancellationToken cancellationToken) => + db.Patients.AsNoTracking().SingleOrDefaultAsync(p => p.PatientId == patientId, cancellationToken); + + public async Task UpdateProfileAsync(Guid patientId, string name, string? contactInfo, CancellationToken cancellationToken) + { + var now = DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified); + var affected = await db.Patients.Where(p => p.PatientId == patientId) + .ExecuteUpdateAsync(update => update + .SetProperty(p => p.Name, name) + .SetProperty(p => p.ContactInfo, contactInfo) + .SetProperty(p => p.UpdatedAt, now), cancellationToken); + return affected != 0; + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/Program.cs b/Reference/ArchitectureA/src/PatientProfileService/Program.cs new file mode 100644 index 0000000..de2a95a --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/Program.cs @@ -0,0 +1,48 @@ +using System.Security.Cryptography; +using System.Text; +using Microsoft.EntityFrameworkCore; +using PatientProfileService.Application; +using PatientProfileService.Persistence; + +namespace PatientProfileService; + +public class Program +{ + public static async Task Main(string[] args) + { + var builder = WebApplication.CreateBuilder(args); + builder.Host.UseWindowsService(options => options.ServiceName = "healthapp-patient-profile"); + builder.Services.AddControllers(); + builder.Services.AddProblemDetails(); + builder.Services.AddDbContext((services, options) => + options.UseNpgsql(services.GetRequiredService().GetConnectionString("PatientDatabase"))); + builder.Services.AddScoped(); + builder.Services.AddScoped(); + + var app = builder.Build(); + if (string.IsNullOrWhiteSpace(app.Configuration.GetConnectionString("PatientDatabase"))) + throw new InvalidOperationException("ConnectionStrings:PatientDatabase must be configured."); + + if (args.Contains("--migrate")) + { + await using var scope = app.Services.CreateAsyncScope(); + await scope.ServiceProvider.GetRequiredService().Database.MigrateAsync(); + return; + } + + var gatewayKey = app.Configuration["InternalAccess:GatewayKey"]; + if (string.IsNullOrWhiteSpace(gatewayKey) || gatewayKey.Length < 32) + throw new InvalidOperationException("InternalAccess:GatewayKey must contain at least 32 characters."); + app.UseExceptionHandler(); + app.Use(async (context, next) => + { + var supplied = context.Request.Headers["X-Gateway-Key"].ToString(); + if ((!app.Environment.IsDevelopment() && !context.Request.IsHttps) || + !CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(supplied), Encoding.UTF8.GetBytes(gatewayKey))) + { context.Response.StatusCode = 401; return; } + await next(context); + }); + app.MapControllers(); + await app.RunAsync(); + } +} diff --git a/Reference/ArchitectureA/src/PatientProfileService/appsettings.json b/Reference/ArchitectureA/src/PatientProfileService/appsettings.json new file mode 100644 index 0000000..2e95688 --- /dev/null +++ b/Reference/ArchitectureA/src/PatientProfileService/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore.Database.Command": "Warning" + } + } +} diff --git a/Reference/ArchitectureA/src/README.md b/Reference/ArchitectureA/src/README.md new file mode 100644 index 0000000..aad87ca --- /dev/null +++ b/Reference/ArchitectureA/src/README.md @@ -0,0 +1,346 @@ +# Patient profiles, observations, insights, overview and authentication + +Implemented with .NET 10 LTS (see the [official download page](https://dotnet.microsoft.com/en-us/download/dotnet/10.0)), ASP.NET Core controllers, and PostgreSQL/EF Core. The API gateway, Patient/Profile service, Observation Service, Insights Service, and Health Overview Service are separate executables and can run on separate machines. Patient/Profile and Observation each own a database. Insights calculates on demand without persistence, following `Docs/Architecture/us10-insights-correction.md`. + +The controller calls `PatientApplicationService`, which uses `PatientRepository`, implemented by `SqlPatientRepository`. The service owns the `patient` table from the ER diagram, including creation/update timestamps stored as UTC in PostgreSQL `timestamp` columns. + +US-13 now protects the patient-data APIs. Read [AUTHENTICATION.md](AUTHENTICATION.md) +for login, persistent profile ownership, deployment credentials and token settings. +Configure the required keys/accounts before startup. The revised US-01 creation +lifecycle is included. US-14 now permits read-only access to assigned patients. + +## Build and run + +Load external service configuration using the updated `deploy/*.env.example` templates. +Use HTTPS certificates for all production endpoints. For local HTTP development +only, set `ASPNETCORE_ENVIRONMENT=Development` on each process; all credentials and +the gateway key directory are still required. + +Install a .NET 10 SDK and provision an empty PostgreSQL database owned by the Patient/Profile service's database user. From the repository root: + +```bash +dotnet restore HealthApp.slnx +dotnet build HealthApp.slnx -c Release --no-restore + +# In the Patient/Profile service terminal; substitute your own database configuration. +export ConnectionStrings__PatientDatabase='Host=127.0.0.1;Database=patient_profile;Username=patient_profile;Password=YOUR_LOCAL_PASSWORD' +dotnet run --project src/PatientProfileService -c Release --no-build -- --migrate +ASPNETCORE_URLS=http://127.0.0.1:5081 dotnet run --project src/PatientProfileService -c Release --no-build + +# In a separate gateway terminal. +Services__PatientProfile__BaseUrl=http://127.0.0.1:5081/ Services__Observation__BaseUrl=http://127.0.0.1:5082/ Services__Insights__BaseUrl=http://127.0.0.1:5083/ Services__HealthOverview__BaseUrl=http://127.0.0.1:5084/ ASPNETCORE_URLS=http://127.0.0.1:5080 dotnet run --project src/ApiGateway -c Release --no-build + +# In a separate observation terminal, with its own provisioned database. +export ConnectionStrings__ObservationDatabase='Host=127.0.0.1;Database=observations;Username=observations;Password=YOUR_LOCAL_PASSWORD' +dotnet run --project src/ObservationService -c Release --no-build -- --migrate +Services__ApiGateway__BaseUrl=http://127.0.0.1:5080/ ASPNETCORE_URLS=http://127.0.0.1:5082 dotnet run --project src/ObservationService -c Release --no-build + +# In a separate insights terminal; no database or migration is required. +Services__ApiGateway__BaseUrl=http://127.0.0.1:5080/ ASPNETCORE_URLS=http://127.0.0.1:5083 dotnet run --project src/InsightsService -c Release --no-build + +# In a separate overview terminal; no database or migration is required. +Services__ApiGateway__BaseUrl=http://127.0.0.1:5080/ ASPNETCORE_URLS=http://127.0.0.1:5084 dotnet run --project src/HealthOverviewService -c Release --no-build +``` + +`--migrate` applies committed EF Core migrations and exits. Apply migrations as a deployment step before starting the service; normal startup does not modify the schema. Both services fail startup with a clear message if required configuration is absent. Configuration uses standard .NET JSON files, environment variables, and command-line arguments. Service endpoints and database hosts may be remote. + +## API + +Send requests to the gateway: + +```bash +curl -i http://127.0.0.1:5080/api/patients \ + -H 'Content-Type: application/json' \ + -H 'Authorization: Bearer YOUR_LOGIN_TOKEN' \ + -d '{"name":"Steffen Example","dateOfBirth":"1980-01-01","contactInfo":"steffen@example.test"}' +``` + +`POST /api/authentication/login` accepts `accountId` and `password` and returns a +protected access token. Include `Authorization: Bearer YOUR_LOGIN_TOKEN` on each +patient-data request below. Initial profile creation is permitted once per patient +account; repeated/concurrent attempts report `409`. `GET /api/patients/me` retrieves +the account’s profile when its generated identifier is not yet known. + +`POST /api/patients` returns `201 Created`, a relative `Location: /api/patients/{patientId}` header, and a JSON profile containing `patientId`, `name`, `dateOfBirth`, and `contactInfo`. Identifiers are generated UUIDs and the database primary key enforces uniqueness. Names must be nonblank; dates of birth must be supplied as valid `YYYY-MM-DD` dates. Invalid requests return `400` validation problem details and do not create profiles. Contact information is optional because US-01 does not require it. + +`GET /api/patients/{patientId}` retrieves the persisted profile, or returns `404` when absent. Retrieval is included because US-01 explicitly requires it. The gateway returns `502` for connection failures and `504` for upstream timeouts. + +`PUT /api/patients/{patientId}` updates the name and contact information and returns `200` with the updated profile. It preserves the patient identifier, date of birth and creation timestamp, and updates the modification timestamp. Names must be nonblank, consistent with profile creation; omitted or null contact information clears that optional value. A missing patient returns `404` without creating a profile. Invalid requests return `400` without changing stored information. + +`POST /api/patients/{patientId}/observations` records a blood-pressure observation. Supply `measuredAt`, positive integer `systolic`, `diastolic` and `pulse`, plus optional `measurementContext`, legacy `context` and `note`. It returns `201`, the saved observation including its generated `observationId` and `patientId`, and `Location: /api/observations/{observationId}`. `GET` at that location retrieves the persisted observation, or returns `404` if absent. Retrieval is included to satisfy US-04's requirement that a recorded observation can be retrieved later. + +US-04 now supports structured context independently of legacy free text: + +```json +{ + "measuredAt": "2026-09-12T08:00:00Z", + "systolic": 128, + "diastolic": 82, + "pulse": 68, + "measurementContext": { + "setting": "Home", + "activityCondition": "AtRest", + "restDurationMinutes": 5.5, + "bodyPosition": "Seated", + "measuredArm": "Left", + "deviceDetails": "Example upper-arm device", + "cuffDetails": "Example cuff", + "additionalCircumstances": "Recent stress" + }, + "context": "Before breakfast", + "note": "Actual reading" +} +``` + +Supported `setting` values are `Home`, `Clinic`, `Other`, and `Unknown`; +`activityCondition` values are `AtRest`, `DuringActivity`, `AfterActivity`, and +`Unknown`. Category names are case-sensitive. Omitted/null categories, or an +omitted/null object, become `Unknown`; other omitted details stay null. Unsupported +categories and malformed fields return `400` validation details without saving. +Rest duration is optional, in minutes, and may be zero or any nonnegative decimal. +There is no minimum rest duration or posture requirement for accepting a reading. +The remaining optional details are narrative text, not technique certification. +Legacy context and notes are retained verbatim, including conflicts with categories; +no category is inferred from free text. Interpretation of conflicts belongs to +US-11. The structured object is included on observation reads and numeric-update +responses, including latest/history through their existing observation DTO. + +Apply the `RecordedMeasurementContext` Observation migration before starting the +updated service. EF Core maps the owned value to columns in the same observation +table; no new table, service or dependency is introduced. Existing rows receive +unknown categories and null details without changing their measurements, timestamps +or text. Context filtering is implemented under US-07; partial context updates are implemented under US-08. + +US-05 context retrieval is covered independently of creation: dedicated tests seed +saved observations directly and request them through the authenticated gateway. +They verify complete context with its measurements/timestamp after restart, partial +and unknown context, preservation of historical free text, missing-observation +behaviour, rejected unauthorised reads, and identical context for an assigned +professional and the owner. This uses the existing retrieval endpoint and DTO added +with US-04; no further production code or migration is needed for US-05. + +The Observation Service checks patient existence by calling the gateway's patient retrieval API over HTTP before saving. It has no reference to Patient/Profile implementation code and no access to that service's database. Missing patients return `404`; validation failures return `400`. Patient lookup failures return `502` or `504` and do not save an observation. Measurement timestamps without an offset represent UTC clock values and are stored as supplied, independently of the host time zone; timestamps with an offset are normalized to UTC. PostgreSQL uses the diagram's `timestamp` columns without a time-zone component. + +`GET /api/patients/{patientId}/observations/latest` returns `200` with that patient's observation having the greatest measurement timestamp, regardless of recording order. It returns `404` when no observation is available. Equal measurement timestamps are resolved by greatest original recording timestamp (`created_at`), then greatest observation UUID under PostgreSQL UUID ordering if recording times also tie. Edits preserve original recording time and do not affect tie selection. Context completeness does not affect selection; the returned observation includes its own saved context. Selection happens in the Observation Service's own database through the documented controller/application-service/repository layers. + +US-06 acceptance tests cover out-of-order measurements, patient-specific selection, context independent of suitability/completeness, recording-time ties, later edits, reproducible complete ties across restart, and no available observation even when another patient has recorded measurements. No new dependencies or schema changes are required. + +`GET /api/patients/{patientId}/observations?from=2026-09-03T00:00:00&to=2026-09-08T23:59:59` returns `200` with a JSON array of that patient's observations within the inclusive measurement-time bounds, ordered chronologically. A valid period with no matches returns `[]`. Both timestamps are required; missing, malformed, or reversed bounds return `400` validation problem details. Equal bounds are valid. Offset timestamps are normalized to UTC consistently with recording; encode `+` as `%2B` in query parameters. Equal measurement timestamps are ordered by observation identifier. The query runs in the Observation Service's own database; no patient-profile lookup is needed. + +US-07 now accepts optional `setting` and `activityCondition` query selections using +the same case-sensitive categories as recording. For example, append +`&setting=Home&activityCondition=AtRest` to retrieve only home-resting observations. +Both supplied dimensions must match. `Unknown` explicitly selects a missing or +unknown category; omitted/empty query values apply no restriction on that dimension. +Legacy text is preserved but never establishes a known category match. + +The JSON response remains an observation array, including `measurementContext` on +each observation. Applied selections are reported on successful responses in +`X-Measurement-Setting` and `X-Activity-Condition` headers. Each contains the selected +category or `All` for an unrestricted dimension; `All` is response metadata, not an +accepted query category. The gateway forwards these two headers. Empty selections +return `[]` with the same selection metadata. Unsupported selections return `400` +validation problem details without changes to observations. Filtering is performed +in the Observation database within the original patient/inclusive-period query, +retaining chronological order and the existing equal-time identifier ordering. + +US-07 tests cover original history criteria plus independent/combined/unknown +context selections, response metadata including empty results, complete/partial/ +absent context, legacy-text preservation, patient-specific access, inclusive/equal +and offset bounds, persistence after restart, and invalid selections without writes. +Existing Insights requests continue to consume the unchanged unfiltered array. No new dependencies or schema changes are required. + +`PUT /api/observations/{observationId}` corrects the measured values using a JSON body containing required positive integer `systolic`, `diastolic`, and `pulse` fields. It returns `200` with the updated observation, preserving its identifier, patient, measurement time, context, note, and creation timestamp while updating the modification timestamp. Missing observations return `404` without insertion; invalid requests return `400` without changes. Corrections are visible through specific retrieval, latest retrieval, and history. The Observation Service owns the update; no patient-profile lookup or database schema change is required. + +`PATCH /api/observations/{observationId}` accepts a partial JSON object. For example: + +```json +{ + "measurementContext": { + "setting": "Clinic", + "activityCondition": null, + "deviceDetails": "Corrected device" + } +} +``` + +Only supplied fields change. Within `measurementContext`, setting/activity nulls +clear the category to `Unknown`; null optional details clear them without changing +other details. An explicit `measurementContext: null` clears the whole structured +object to unknown categories and null details, while retaining legacy text and +notes. Omission of the object preserves it. Optional `context` and `note` can also +be changed or cleared with null. Optional `systolic`, `diastolic` and `pulse` support +individual positive-integer corrections; they cannot be cleared. Empty patches or +objects containing no supported changes return `400`. Creation time, measurement +time, patient association and observation identifier cannot be changed by patches. + +Successful patches return `200` with the updated observation and modification time. +Validation occurs before any changes are saved; unsupported fields/categories, negative +rest duration, non-positive/null numerical values and malformed input reject the +whole request with `400` validation details. Missing observations return `404` +without insertion. Ownership restrictions apply to the actual observation patient; +professionals cannot patch even assigned patients. The existing `PUT` endpoint +retains its complete numerical-correction contract and rejects unsupported fields +rather than silently ignoring context supplied on that route. Use `PATCH` for context +updates. Both routes use the same +Observation-owned update operation and save changes atomically. Subsequent reads, +latest observations and filtered history use current recorded context. US-11 trend assessments also use current recorded context on each request. + +US-08 tests cover the original full numerical corrections and rejection scenarios plus context-only/single-value patches, historical context additions, individual field corrections/clears, whole-context clearing, preservation of omitted data and creation time, persistence after restart, fresh filter membership, atomic rejection, missing observations and access restrictions. No new dependencies are introduced. + +`DELETE /api/observations/{observationId}` removes the observation and returns `204 No Content`. A missing or previously deleted observation returns `404`. The Observation Service deletes the row from its own database in a single statement; deleted observations disappear from specific retrieval, history, and latest selection. Other observations and the patient profile are preserved. + +US-09 tests cover the original deletion scenarios plus structured-context removal, filtered history after restart, current numerical summaries excluding deleted values, preservation of other observations and their context, empty filtered results, repeated deletion, and rejection of unauthenticated/other-patient/professional deletion. Context is stored in the observation row, so its existing atomic deletion needs no new production operation. US-11 tests verify fresh trends after deletion. No new dependencies or schema changes are required. + +`GET /api/patients/{patientId}/insights?from=2026-09-03T00:00:00&to=2026-09-08T23:59:59` returns `200` with `patientId`, `periodStart`, `periodEnd`, decimal `averageSystolic`, `averageDiastolic`, `averagePulse`, and integer `minSystolic`, `maxSystolic`, `minDiastolic`, `maxDiastolic`. Period validation, inclusive bounds, and timestamp normalization follow observation history. A single observation is sufficient. Arithmetic means use decimal calculations and round only the final result to two decimal places, half-up (away from zero for the positive recorded values); extrema retain their recorded integer values. An empty period returns `404` problem details with title `Insufficient observation data for calculation.` Missing/malformed/reversed bounds return `400`. + +The independent Insights Service follows the documented controller/application-service/calculator/client design. Its HTTP observation client retrieves history through the configured gateway; there are no production project references between services. Each request recalculates from current observations, so corrections/deletions are reflected immediately. Failed observation retrieval returns `502`, and timeouts return `504`, instead of indicating insufficient data. Gateway requests to an unavailable Insights Service likewise return `502`/`504`. + +US-10 supports the same optional `setting` and `activityCondition` selections as +history, including explicit `Unknown` and combined matching. For example append +`&setting=Home&activityCondition=AtRest`. Omitted/empty selections include all +otherwise eligible observations. Unsupported categories return `400` validation +details. Selection that leaves no observations returns the existing insufficient- +data `404` response. Selection is forwarded through the gateway to the Observation +Service; no service implementation is referenced directly. + +Successful insights also include `appliedSelection` (nullable `setting` and +`activityCondition` mean unrestricted), `contributingCount`, and +`contextExplanation`. The explanation reports recorded setting/activity counts, +mixed/unknown categories, missing optional context details and differences in +recorded optional details. It describes numerical aggregation without certifying +measurement technique, clinical comparability or completion of a diagnostic +monitoring protocol. Legacy narrative text is retained by the observation contract +but never used to invent categories. Preparation differences are reported as +recorded differences, not a clinical classification. + +The rounding contract applies to all three means: seven readings of 120 and one +of 121 yield 120.13; 120, 120 and 121 yield 120.33. No intermediate rounding occurs. +Single-observation means equal the recorded values, and blood-pressure minimum and +maximum are equal. Numeric JSON need not retain trailing zeros. New requests always +use current observations/context after corrections, clearing and deletion. + +US-10 tests use all four HTTP hosts and the existing separate patient/observation +test databases. They cover original summaries, independent/combined/unknown +selections, applied selections and counts, context explanations, one-observation +results, halfway/repeating rounding for all three metrics, patient/inclusive/equal/ +offset bounds, context corrections/clearing/deletions, restart, invalid requests, +professional assignments and unavailable observation retrieval. Insights introduces no external dependencies. US-11 adds the separate trend endpoint described in [TRENDS.md](TRENDS.md). + +`GET /api/patients/{patientId}/trends?from=...&to=...` implements US-11 with independent +systolic, diastolic and pulse assessments, context selections/counts, recorded comparability, +full-period numerical direction, reversals and variation, sourced reference comparisons and +limited clinical interpretation. Empty/single/tied series report unavailable temporal direction; +numerical information remains where supported. See [TRENDS.md](TRENDS.md) for the response, +reproducible mathematical methods, reference sources and interpretation limits. Tests cover +all US-11 acceptance criteria, current corrections/context/deletion, access controls and failures. +No persistence, service boundaries, dependencies or configuration changed. + +`GET /api/patients/{patientId}/overview?from=...&to=...` implements US-12 in the +independently deployable Health Overview Service. It returns the current profile, +latest overall observation with its own recorded context, and selected-period numerical +insight. Setting/activity filters apply to insight only. Empty insight selections keep +the profile and latest reading and explain the missing insight. Context limitations, +applied selections and counts remain visible. See [OVERVIEW.md](OVERVIEW.md) for +response semantics, service credentials, deployment and consistency limits. + +US-13 authentication and patient ownership are implemented as described in +[AUTHENTICATION.md](AUTHENTICATION.md). The account-to-profile association is persisted +in the patient service. US-14 professional reads require predefined gateway assignments; professional +writes are rejected. US-04 through US-11 include updated context, ordering, rounding and trend requirements. + +## Automated acceptance tests + +### US-15 public measurement guidance + +`GET /api/measurement-guidance` returns ordered instructions for resting home +self-measurement, with source URLs, source update dates and review date. It works +before a patient or observation exists and requires no authentication or upstream +service access. The gateway serves this static general content without persistence. + +Optional `setting` accepts `Home`, `Clinic`, `Other`, or `Unknown`; omission means +unknown. Home or unknown requests return explicitly labelled home instructions; +clinic/other requests return `available: false` and no instructions because no +verified guidance for those settings is bundled. Optional `activityCondition` +accepts `AtRest`, `DuringActivity`, `AfterActivity`, or `Unknown`. The response +preserves requested conditions while identifying the resting applicability of the +instructions. Unsupported categories return `400` problem details. + +The bundled content was reviewed on 2026-10-04 against the two Sundhed.dk pages +specified in US-15. It distinguishes the planned Danish three-day monitoring +protocol from an individual observation. Review sources again when updating the +content; requests do not fetch live guidance. Viewing/declining instructions never +records context, certifies compliance or gates observation submission. Pulse +information describes the device-reported rate rather than rhythm assessment. + +The `MeasurementGuidanceTests` HTTP tests need no PostgreSQL server and cover +public access, ordered sourced content, unknown setting, activity limitations, +unavailable guidance, invalid selections, and absence of patient-service calls. +Run them with `dotnet test tests/PatientProfile.AcceptanceTests -c Release --filter +FullyQualifiedName~MeasurementGuidanceTests`. Existing observation recording tests +cover submission without viewing guidance. No dependencies were added. + +Tests require a real PostgreSQL instance. Provide an administrator connection with permission to create/drop databases; the fixture creates an isolated database named `us01_`, applies the committed migration, and deletes that database at teardown. Never point this connection at a production server. + +```bash +TEST_POSTGRES_CONNECTION='Host=127.0.0.1;Database=postgres;Username=postgres;Password=YOUR_LOCAL_TEST_PASSWORD' \ + dotnet test HealthApp.slnx -c Release +``` + +The xUnit tests send HTTP requests to the gateway; the gateway reaches a real Kestrel Patient/Profile service over HTTP. They cover every US-01 acceptance scenario, retrieval after host restart, distinct identifiers, optional contact information, invalid JSON/dates, and rejection without database writes. Test assertions use an independent HTTP response contract. Production projects have no references to each other's implementation. + +US-02 retrieval scenarios are covered by the creation tests. US-03 tests cover persisted updates after restart, preservation of identity and date of birth, missing-patient rejection without insertion, and invalid-name rejection without changing the profile. + +US-04 tests use real HTTP between the hosts and separate temporary patient and observation databases. They cover every recording acceptance scenario, retrieval after restart, optional fields, distinct identifiers, malformed/missing fields, missing observations, and patient-lookup failure without database writes. Both services' committed migrations are applied twice to verify idempotence. Context tests also verify complete/partial/absent context, departures from guidance, validation without writes, authorised professional reads, restart persistence, numeric-update preservation, and upgrading historical observations without deriving categories from free text. The Observation Service uses the same EF Core PostgreSQL dependencies as Patient/Profile for its independent persistence; no new library types are introduced. + +Dependencies: Npgsql's EF Core PostgreSQL provider supplies persistence; EF Core Relational is pinned to the same patch as EF Core Design to keep runtime/tooling versions aligned; EF Core Design supports migration maintenance. xUnit, its Visual Studio runner, Microsoft.NET.Test.Sdk, and ASP.NET Core MVC Testing are used only for automated tests. The gateway uses the platform's HttpClient and has no extra package dependency. + +## Provisioning installer (US-16) + +Build a portable release using `bash deploy/build-release.sh --output NEW_DIRECTORY`. +A normal supported Linux installation is `sudo bash install.sh --services all --host +DNS_OR_IP`; it provisions missing runtime/PostgreSQL dependencies, separate databases +and roles, generated service/account credentials, HTTPS/trust, independent configuration, +migrations, service registration/startup and installation verification. No prepared env +files, service passwords or prototype certificates are required. + +Shared C# provisioning also generates Windows/macOS configuration. Native adapters use +Windows Services or launchd without changing application binaries/service boundaries. +See [INSTALLATION.md](../deploy/INSTALLATION.md) for supported hosts, native commands, +automatic SSH topology distribution, generated credentials and test evidence/limitations. +The existing `deploy/*.env.example` files remain useful for advanced/manual development; +they are no longer prerequisites for the normal installer. + +## Linux deployment + +Publish each service separately: + +```bash +dotnet publish src/PatientProfileService -c Release -o /tmp/healthapp-publish/patient-profile +dotnet publish src/ApiGateway -c Release -o /tmp/healthapp-publish/api-gateway +dotnet publish src/ObservationService -c Release -o /tmp/healthapp-publish/observation +dotnet publish src/InsightsService -c Release -o /tmp/healthapp-publish/insights +dotnet publish src/HealthOverviewService -c Release -o /tmp/healthapp-publish/health-overview +``` + +Copy each output to its corresponding `/opt/healthapp/` directory on the intended host, install the ASP.NET Core 10 runtime, and create a `healthapp` service user/group. Adjust the paths/user in `deploy/systemd/*.service` for the host. Copy the environment examples to `/etc/healthapp/patient-profile.env` and `/etc/healthapp/api-gateway.env`, replace example values, and restrict their permissions to protect credentials. Configure the gateway certificate for the HTTPS client entry point. Its example uses a PFX certificate; standard Kestrel configuration also supports other certificate formats. + +Apply the database migration using the published Patient/Profile executable with its database configuration: + +```bash +dotnet /opt/healthapp/patient-profile/PatientProfileService.dll --migrate +dotnet /opt/healthapp/observation/ObservationService.dll --migrate +``` + +Install the corresponding unit on each host and enable/start it with systemd. The units are independent, write logs to journald, restart after failures, and allow graceful shutdown. The gateway has no systemd dependency on a local Patient/Profile process; it uses the configured network endpoint. + +The Observation Service has its own `healthapp-observation.service` unit and environment example. Configure its `Services__ApiGateway__BaseUrl` and the gateway's `Services__Observation__BaseUrl` for the deployed hosts. Apply its migration with its own database configuration. Services need not be started in a fixed order; requests needing an unavailable upstream fail without saving observations. + +The Insights Service has an independent `healthapp-insights.service` systemd unit and `deploy/insights.env.example`. Install its published output under `/opt/healthapp/insights`, configure `/etc/healthapp/insights.env`, and set `Services__ApiGateway__BaseUrl` to the deployed gateway. Configure the gateway's required `Services__Insights__BaseUrl` for the deployed Insights host. URLs may refer to separate machines. Insights requires no database, migration, startup ordering, or shared process state. Standard stdout/stderr logging, graceful shutdown, and restart follow the other service units. + +The Health Overview Service has its own `healthapp-health-overview.service` unit and +`deploy/health-overview.env.example`. Publish to `/opt/healthapp/health-overview` and +configure `/etc/healthapp/health-overview.env`. Set its `Services__ApiGateway__BaseUrl` +and the gateway's `Services__HealthOverview__BaseUrl` to the deployed hosts. The +gateway now requires the Overview endpoint and both directions of service credentials. +Overview owns no database and requires no migrations or fixed startup order. diff --git a/Reference/ArchitectureA/src/TRENDS.md b/Reference/ArchitectureA/src/TRENDS.md new file mode 100644 index 0000000..416d2d8 --- /dev/null +++ b/Reference/ArchitectureA/src/TRENDS.md @@ -0,0 +1,85 @@ +# US-11 trend API and methods + +`GET /api/patients/{patientId}/trends?from=...&to=...&setting=Home&activityCondition=AtRest` +uses the same inclusive UTC measurement-instant semantics and optional context selections as history and +numerical insight. Offset-free timestamps mean UTC. Both selected dimensions must match; `Unknown` +is an explicit category. Patient ownership or professional assignment is required. Each selection is a +separate labelled result for the same requested period. No cross-setting difference is interpreted as +improvement. Insights retrieves current observations through the gateway on every request, without persistence. + +A valid request returns 200 even for an empty selection. Count zero, null descriptive values and explicit +`Unavailable` direction distinguish empty data from upstream failures (502/504). One observation or +all observations at a single instant retain descriptive values, but temporal direction is unavailable. +Invalid/missing period or unsupported selections return 400. No new configuration or dependencies are required. + +## Numerical method + +Each metric has its own unit, mean, minimum, maximum and range over every eligible observation. Decimal +means are rounded only for output, to two decimals with midpoint rounding away from zero. No numerical +range threshold is used to declare clinical stability or instability. + +Temporal calculations group equal measurement instants using the arithmetic mean for each metric, +then order those groups by measurement instant. Identifier and storage order play no part. Direction +uses every adjacent nonzero change: all positive means Increasing, all negative Decreasing, both signs +Mixed, all zero NoClearDirection. Reversal count counts sign changes after excluding zero steps. +TotalSuccessiveChange sums absolute changes between consecutive timestamp means. This retains intermediate +excursions, while raw min/max retain differences within timestamp ties. No temporal change is assigned +between measurements at the same instant. + +OverallDirection additionally reports the sign of an ordinary least-squares line over all timestamp +means. Time is scaled from zero to one over the observed span; each distinct timestamp has equal weight. +SlopePerDay converts that fitted slope to metric units per day and rounds to six decimals. Classification +uses the unrounded slope. An extremely small nonzero slope may round to zero; its sign is a mathematical +result, not evidence of clinical significance. The fit describes a linear tendency, not a prediction, +causal effect or a monotonic trajectory. Mixed direction and reversal count remain visible even when +an overall slope exists. Irregular sampling and repeated observations can affect the description; +there is no significance test, smoothing, diagnostic protocol or clinical variability classification. + +## Context and interpretation + +Comparability lists known similarities, differences and missing information for setting, activity, +rest duration, body position, measured arm, device and cuff. Differing recorded additional circumstances +also limit comparability. Matching complete recorded fields support comparability of recorded details +only, without certifying clinical technique or equipment. Missing optional additional circumstances do +not block a supported reference comparison. Known inadequate rest is reported separately. + +Limited deterministic conflict detection recognises case-insensitive `during exercise`, `during activity`, +`after exercise`, `after activity`, `under motion`, `under træning`, `efter motion`, `efter træning` against +AtRest; `at clinic`, `in clinic`, `at the clinic`, `på klinik`, `hos lægen` against Home; and `at home`, +`hjemme` against Clinic. It examines preserved context, notes and recorded preparation text, without +recategorising observations. This is conservative phrase detection, not general language understanding; +negated phrases can still withhold interpretation. Arbitrary narrative is not proof of correct technique. +Detected conflicts withhold resting-reference interpretation while preserving numerical information. + +Sources reviewed 2026-10-05: + +- [Lægehåndbogen: Højt blodtryk](https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/hjerte-kar/symptomer-og-tegn/hoejt-blodtryk/) + (updated 2024-09-25): separate high-pressure boundaries of home 135/85 and clinic 140/90 mmHg, + inclusive. The reference comparison requires a single known setting and recorded AtRest; known rest + below five minutes or a non-seated recorded position prevents it. Missing optional preparation + details permit only a provisional comparison, explicitly identifying unknown technique. Arbitrary + period means do not establish the source's diagnostic protocol. No lower BP boundary is inferred. +- [Patienthåndbogen: Bradykardi](https://www.sundhed.dk/borger/patienthaandbogen/hjerte-og-blodkar/sygdomme/hjertearytmier/bradykardi-langsom-puls/) + (updated 2025-09-02) and [Hurtig puls](https://www.sundhed.dk/borger/patienthaandbogen/hjerte-og-blodkar/sygdomme/hjertearytmier/takykardier-hurtig-puls/) + (updated 2025-05-12): resting pulse below 50 or above 100 beats/min provides limited rate-reference + comparisons. Low pulse can be physiological in trained people. Rate alone does not diagnose rhythm + abnormalities; age, fitness, medicines and symptoms remain unknown. These boundaries are not a + universal healthy range or a patient-specific target. + +Every metric returns its reference scope, exact comparison operators, source URLs, update/review dates, +counts outside the boundaries and limitations. Comparisons remain available despite missing preparation +information when the known context supports that limited comparison. Mixed or unknown activity, +conflicting narrative, mixed BP settings, or unsupported BP setting make the affected comparison unavailable. + +Interpretation of development requires temporal separation, applicable references and supported recorded +comparability. The following are deliberately cautious inferences from the cited references, not new +clinical decision rules: a consistent fall from high BP that remains high may be PotentiallyFavourable, +while explicitly still high; resting pulse moving from outside towards the reference interval may be +PotentiallyFavourable unless any contributing observation crosses the opposite boundary, including values within timestamp ties. Excursions outside a boundary with reversals +are Mixed. Other outside-reference levels may be PotentiallyConcerning, including falling low pulse +or unchanging high BP. Remaining cases are CannotInterpret. No BP fall below the high threshold is +automatically called favourable, because an applicable lower limit or personalised goal is unavailable. + +Each hint distinguishes numerical variation from clinical meaning, explains incomplete/differing context, +and disclaims diagnosis and medication advice. There is no combined good/bad classification across metrics. +Reference comparisons and hints are for review, not a replacement for individual clinical assessment. diff --git a/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/BootstrapTests.cs b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/BootstrapTests.cs new file mode 100644 index 0000000..42c2ca0 --- /dev/null +++ b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/BootstrapTests.cs @@ -0,0 +1,92 @@ +using System.Runtime.Versioning; +using Xunit; + +namespace Deployment.AcceptanceTests; + +[SupportedOSPlatform("linux")] +public sealed class BootstrapTests +{ + [Theory] + [InlineData("ubuntu", "24.04", false, false, false)] + [InlineData("ubuntu", "24.04", true, true, false)] + [InlineData("ubuntu", "24.04", true, true, true)] + [InlineData("ubuntu", "26.04", false, true, false)] + [InlineData("ubuntu", "26.04", true, true, true)] + [InlineData("debian", "12", true, false, false)] + [InlineData("debian", "13", false, true, false)] + [InlineData("linuxmint", "22", false, true, false, "ubuntu debian")] + [InlineData("pop", "future", false, false, false, "ubuntu")] + [InlineData("ubuntu", "future", false, false, false)] + [InlineData("debian", "13", false, false, false, "", false)] + [InlineData("linuxmint", "22", false, false, false, "ubuntu debian", false, true, true, "aspnetcore-runtime-10.0 is unavailable")] + [InlineData("debian", "99", false, false, false, "", false, true, false, "No accessible Microsoft Debian 99 repository")] + [InlineData("ubuntu", "26.04", true, true, false, "", true, false, true, "Required package postgresql is unavailable")] + [InlineData("fedora", "44", true, false, false, "", true, true, true, "requires a Debian/Ubuntu-based distribution")] + public async Task Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies( + string distribution, string version, bool runtimeAvailable, bool databaseRequired, bool databaseAvailable, + string ancestry = "", bool runtimePackage = true, bool postgresPackage = true, + bool repositoryAvailable = true, string expectedError = "") + { + var directory = Path.Combine(Path.GetTempPath(), "healthapp-bootstrap-" + Guid.NewGuid().ToString("N")); + Directory.CreateDirectory(directory); + try + { + var log = Path.Combine(directory, "commands"); + await File.WriteAllTextAsync(log, ""); + var installed = Path.Combine(directory, "runtime-installed"); + var script = Path.Combine(directory, "test.sh"); + await File.WriteAllTextAsync(script, """ + set -euo pipefail + fail() { printf '%s\n' "$*" >&2; exit 1; } + runtime() { if [[ "$RUNTIME_PRESENT" == true || -f "$RUNTIME_INSTALLED" ]]; then printf '%s\n' 'Microsoft.AspNetCore.App 10.0.12 [runtime]'; else return 1; fi; } + apt-get() { printf '%s\n' "apt-get $*" >> "$COMMAND_LOG"; if [[ "$*" == *aspnetcore-runtime-10.0* ]]; then touch "$RUNTIME_INSTALLED"; fi; } + apt-cache() { + if [[ "$2" == aspnetcore-runtime-10.0 && ( "$RUNTIME_PACKAGE" == true || -f "$REPOSITORY_ADDED" ) || "$2" == postgresql && "$POSTGRES_PACKAGE" == true ]]; then + printf '%s\n' ' Candidate: 10.0.1'; + else printf '%s\n' ' Candidate: (none)'; fi + } + curl() { [[ "$REPOSITORY_AVAILABLE" == true ]] || return 22; printf '%s\n' "curl $*" >> "$COMMAND_LOG"; } + update-ca-certificates() { :; } + dpkg() { printf '%s\n' "dpkg $*" >> "$COMMAND_LOG"; touch "$REPOSITORY_ADDED"; } + pg_isready() { [[ -f "$DATABASE_READY" ]]; } + systemctl() { printf '%s\n' "systemctl $*" >> "$COMMAND_LOG"; touch "$DATABASE_READY"; } + source "$BOOTSTRAP" + ensure_dependencies "$DISTRO" "$VERSION" /bin/true "$DATABASE_REQUIRED" "$ANCESTRY" + """); + // Runtime is an executable stub; installed packages switch its simulated inventory. + var runtime = Path.Combine(directory, "dotnet"); + await File.WriteAllTextAsync(runtime, "#!/bin/bash\nif [[ \"$RUNTIME_PRESENT\" == true || -f \"$RUNTIME_INSTALLED\" ]]; then printf '%s\\n' 'Microsoft.AspNetCore.App 10.0.12 [runtime]'; else exit 1; fi\n"); + File.SetUnixFileMode(runtime, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute); + var body = (await File.ReadAllTextAsync(script)).Replace("/bin/true", "\"$RUNTIME_EXECUTABLE\""); + await File.WriteAllTextAsync(script, body); + var environment = new Dictionary + { + ["COMMAND_LOG"] = log, ["RUNTIME_INSTALLED"] = installed, + ["RUNTIME_PRESENT"] = runtimeAvailable ? "true" : "false", ["RUNTIME_EXECUTABLE"] = runtime, + ["DATABASE_READY"] = Path.Combine(directory, "pg-ready"), ["DATABASE_REQUIRED"] = databaseRequired ? "true" : "false", + ["ANCESTRY"] = ancestry, ["RUNTIME_PACKAGE"] = runtimePackage ? "true" : "false", + ["POSTGRES_PACKAGE"] = postgresPackage ? "true" : "false", ["REPOSITORY_AVAILABLE"] = repositoryAvailable ? "true" : "false", + ["REPOSITORY_ADDED"] = Path.Combine(directory, "repository-added"), + ["BOOTSTRAP"] = Path.Combine(DeploymentFixture.Repository, "deploy/installer/bootstrap.sh"), ["DISTRO"] = distribution, ["VERSION"] = version + }; + if (databaseAvailable) await File.WriteAllTextAsync(environment["DATABASE_READY"], "ready"); + var result = await DeploymentFixture.Run("bash", [script], environment); + if (expectedError.Length > 0) + { + Assert.NotEqual(0, result.Code); + Assert.Contains(expectedError, result.Output); + var failedCommands = await File.ReadAllTextAsync(log); + Assert.DoesNotContain("install -y aspnetcore-runtime-10.0", failedCommands); + Assert.DoesNotContain("install -y postgresql", failedCommands); + return; + } + Assert.True(result.Code == 0, result.Output); + var commands = await File.ReadAllTextAsync(log); + Assert.Equal(!runtimeAvailable, commands.Contains("install -y aspnetcore-runtime-10.0")); + Assert.Equal(databaseRequired && !databaseAvailable, commands.Contains("install -y postgresql")); + Assert.Equal(databaseRequired && !databaseAvailable, commands.Contains("systemctl enable --now postgresql")); + Assert.Equal(!runtimeAvailable && !runtimePackage && distribution == "debian", commands.Contains("packages.microsoft.com/config/debian/" + version)); + } + finally { Directory.Delete(directory, true); } + } +} diff --git a/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj new file mode 100644 index 0000000..460fac6 --- /dev/null +++ b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj @@ -0,0 +1,16 @@ + + + net10.0 + enable + enable + false + true + + + + + + + + + diff --git a/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/DeploymentFixture.cs b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/DeploymentFixture.cs new file mode 100644 index 0000000..e4bdc10 --- /dev/null +++ b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/DeploymentFixture.cs @@ -0,0 +1,197 @@ +using System.Diagnostics; +using System.Net; +using System.Net.Sockets; +using System.Security.Cryptography; +using System.Security.Cryptography.X509Certificates; +using System.Net.Security; +using System.Text.Json; +using System.Runtime.Versioning; +using Npgsql; +using Xunit; + +namespace Deployment.AcceptanceTests; + +[SupportedOSPlatform("linux")] +public sealed class DeploymentFixture : IAsyncLifetime +{ + public static readonly string[] Services = ["api-gateway", "patient-profile", "observation", "insights", "health-overview"]; + public static string Assembly(string service) => service switch + { + "api-gateway" => "ApiGateway", "patient-profile" => "PatientProfileService", + "observation" => "ObservationService", "insights" => "InsightsService", _ => "HealthOverviewService" + }; + public static string Repository + { + get + { + var directory = new DirectoryInfo(AppContext.BaseDirectory); + while (directory is not null && !File.Exists(Path.Combine(directory.FullName, "HealthApp.slnx"))) directory = directory.Parent; + return directory?.FullName ?? throw new InvalidOperationException("Repository root not found."); + } + } + public string Dotnet { get; } = Environment.GetEnvironmentVariable("HEALTHAPP_DOTNET") ?? + Environment.GetEnvironmentVariable("DOTNET_HOST_PATH") ?? "dotnet"; + public string Temporary { get; } = Path.Combine(Path.GetTempPath(), "healthapp-us16-" + Guid.NewGuid().ToString("N")); + public string Bundle => Path.Combine(Temporary, "release"); + public string Deployment => Path.Combine(Temporary, "deployment"); + public string AdminFile => Path.Combine(Temporary, "admin.connection"); + public string Root => Path.Combine(Temporary, "installed"); + public Dictionary Urls { get; } = new(); + public Dictionary> Settings { get; } = new(); + public Dictionary Processes { get; } = new(); + private readonly List databases = []; + public string Admin { get; private set; } = ""; + public string Password { get; private set; } = ""; + private readonly List roles = []; + + public async Task InitializeAsync() + { + Directory.CreateDirectory(Temporary); + Admin = Environment.GetEnvironmentVariable("TEST_POSTGRES_CONNECTION") ?? throw new InvalidOperationException("TEST_POSTGRES_CONNECTION is required."); + var release = await Run("bash", [Path.Combine(Repository, "deploy/build-release.sh"), "--output", Bundle], + new() { ["HEALTHAPP_DOTNET"] = Dotnet }); + Assert.True(release.Code == 0, release.Output); + var ports = new Dictionary(); + foreach (var service in Services) + { + using var listener = new TcpListener(IPAddress.Loopback, 0); + listener.Start(); + ports[service] = ((IPEndPoint)listener.LocalEndpoint).Port; + } + var hosts = Services.Select((name, index) => (name, index)).ToDictionary(p => p.name, p => "127.0.0." + (p.index + 1)); + var topology = Path.Combine(Temporary, "topology.json"); + await File.WriteAllTextAsync(topology, JsonSerializer.Serialize(new { hosts, ports })); + var prepared = await Provision("prepare", "--output", Deployment, "--topology", topology); + Assert.True(prepared.Code == 0, prepared.Output); + await File.WriteAllTextAsync(AdminFile, Admin); + File.SetUnixFileMode(AdminFile, UnixFileMode.UserRead | UnixFileMode.UserWrite); + var installation = await Run("bash", [Path.Combine(Bundle, "install.sh"), "--services", "all", "--deployment", Deployment, + "--postgres-admin-file", AdminFile, "--root", Root, "--dotnet", Dotnet]); + Assert.Equal(0, installation.Code); + using var accounts = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(Deployment, "accounts.json"))); + Password = accounts.RootElement.EnumerateArray().Single(a => a.GetProperty("AccountId").GetString() == "prototype-patient").GetProperty("Password").GetString()!; + foreach (var service in Services) + { + Settings[service] = ReadEnvironment(Root, service); + Settings[service]["SSL_CERT_FILE"] = Path.Combine(Deployment, "healthapp-ca.crt"); + Settings[service]["Logging__LogLevel__Default"] = "Warning"; + Settings[service]["Logging__LogLevel__Microsoft.AspNetCore"] = "Warning"; + Urls[service] = $"https://{hosts[service]}:{ports[service]}/"; + } + foreach (var service in new[] { "patient-profile", "observation" }) + { + var key = service == "patient-profile" ? "ConnectionStrings__PatientDatabase" : "ConnectionStrings__ObservationDatabase"; + var db = new NpgsqlConnectionStringBuilder(Settings[service][key]); + databases.Add(db.Database!); roles.Add(db.Username!); + var migrated = await Run(Dotnet, [InstalledAssembly(service), "--migrate"], Settings[service]); + Assert.True(migrated.Code == 0, "Deployment database migration failed."); + } + } + + public Task<(int Code, string Output)> Provision(params string[] arguments) => Run(Dotnet, + [Path.Combine(Bundle, "provisioner/HealthApp.Provisioning.dll"), .. arguments]); + public static Dictionary ReadEnvironment(string root, string service) => + File.ReadAllLines(Path.Combine(root, "etc/healthapp", service, "service.env")).ToDictionary( + line => line[..line.IndexOf('=')], line => JsonSerializer.Deserialize(line[(line.IndexOf('=') + 1)..])!); + public HttpClient HttpClient() + { + var handler = new HttpClientHandler { ServerCertificateCustomValidationCallback = (_, certificate, _, errors) => + { + if (certificate is null || (errors & (SslPolicyErrors.RemoteCertificateNameMismatch | SslPolicyErrors.RemoteCertificateNotAvailable)) != 0) return false; + using var root = X509CertificateLoader.LoadCertificateFromFile(Path.Combine(Deployment, "healthapp-ca.crt")); + using var chain = new X509Chain(); + chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust; + chain.ChainPolicy.CustomTrustStore.Add(root); + chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; + return chain.Build(certificate); + }}; + return new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(10) }; + } + + public string InstalledAssembly(string service) => Path.Combine(Root, "opt/healthapp", service, Assembly(service) + ".dll"); + public Task<(int Code, string Output)> Install(string root, string services) => Run("bash", + [Path.Combine(Bundle, "install.sh"), "--services", services, "--deployment", Deployment, "--root", root, "--dotnet", Dotnet]); + + public async Task Start(string service, string? root = null) + { + var start = new ProcessStartInfo(Dotnet) { WorkingDirectory = Path.Combine(root ?? Root, "opt/healthapp", service), + RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false }; + start.ArgumentList.Add(Path.Combine(root ?? Root, "opt/healthapp", service, Assembly(service) + ".dll")); + foreach (var (key, value) in ReadEnvironment(root ?? Root, service)) start.Environment[key] = value; + start.Environment["SSL_CERT_FILE"] = Path.Combine(Deployment, "healthapp-ca.crt"); + start.Environment["Logging__LogLevel__Default"] = "Warning"; + var process = Process.Start(start)!; + // Do not emit application logs containing potentially sensitive deployment information. + process.OutputDataReceived += (_, _) => { }; + process.ErrorDataReceived += (_, _) => { }; + process.BeginOutputReadLine(); process.BeginErrorReadLine(); + Processes[service] = process; + using var client = HttpClient(); + for (var attempt = 0; attempt < 100; attempt++) + { + Assert.False(process.HasExited, $"{service} exited during startup."); + try { using var response = await client.GetAsync(Urls[service]); return; } + catch (HttpRequestException) { } + catch (TaskCanceledException) { } + await Task.Delay(100); + } + throw new TimeoutException($"{service} did not accept configured network traffic."); + } + + public async Task Stop(string service) + { + if (!Processes.Remove(service, out var process)) return; + try + { + if (!process.HasExited) + { + // SIGINT is also the committed systemd unit's graceful stop signal. + var sent = await Run("kill", ["-INT", process.Id.ToString()]); + Assert.Equal(0, sent.Code); + using var deadline = new CancellationTokenSource(TimeSpan.FromSeconds(15)); + try { await process.WaitForExitAsync(deadline.Token); } + catch (OperationCanceledException) { process.Kill(true); await process.WaitForExitAsync(); throw; } + Assert.Equal(0, process.ExitCode); + } + } + finally { process.Dispose(); } + } + + public static async Task<(int Code, string Output)> Run(string executable, string[] arguments, + Dictionary? environment = null, string? workingDirectory = null) + { + var start = new ProcessStartInfo(executable) { UseShellExecute = false, RedirectStandardOutput = true, RedirectStandardError = true }; + if (workingDirectory is not null) start.WorkingDirectory = workingDirectory; + foreach (var argument in arguments) start.ArgumentList.Add(argument); + if (environment is not null) foreach (var (key, value) in environment) start.Environment[key] = value; + using var process = Process.Start(start)!; + var stdout = process.StandardOutput.ReadToEndAsync(); + var stderr = process.StandardError.ReadToEndAsync(); + using var deadline = new CancellationTokenSource(TimeSpan.FromMinutes(3)); + try { await process.WaitForExitAsync(deadline.Token); } + catch (OperationCanceledException) { process.Kill(true); await process.WaitForExitAsync(); throw; } + return (process.ExitCode, await stdout + await stderr); + } + + public async Task DisposeAsync() + { + foreach (var service in Processes.Keys.ToArray()) await Stop(service); + NpgsqlConnection.ClearAllPools(); + if (!string.IsNullOrEmpty(Admin)) + { + await using var connection = new NpgsqlConnection(Admin); + await connection.OpenAsync(); + foreach (var database in databases) + { + await using var drop = new NpgsqlCommand("DROP DATABASE IF EXISTS " + database + " WITH (FORCE)", connection); + await drop.ExecuteNonQueryAsync(); + } + foreach (var role in roles) + { + await using var dropRole = new NpgsqlCommand("DROP ROLE IF EXISTS " + role, connection); + await dropRole.ExecuteNonQueryAsync(); + } + } + if (Directory.Exists(Temporary)) Directory.Delete(Temporary, true); + } +} diff --git a/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/InstallationTests.cs b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/InstallationTests.cs new file mode 100644 index 0000000..194b03e --- /dev/null +++ b/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/InstallationTests.cs @@ -0,0 +1,309 @@ +using System.Net; +using System.Runtime.Versioning; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using Npgsql; +using System.Security.Cryptography.X509Certificates; +using Xunit; + +namespace Deployment.AcceptanceTests; + +[SupportedOSPlatform("linux")] +public sealed class InstallationTests(DeploymentFixture fixture) : IClassFixture +{ + [Fact] + public async Task A_selected_service_release_can_be_built_into_a_relative_output_directory() + { + var result = await DeploymentFixture.Run("bash", [Path.Combine(DeploymentFixture.Repository, "deploy/build-release.sh"), + "--output", "single-release", "--services", "insights"], new() { ["HEALTHAPP_DOTNET"] = fixture.Dotnet }, fixture.Temporary); + Assert.Equal(0, result.Code); + var release = Path.Combine(fixture.Temporary, "single-release"); + Assert.True(File.Exists(Path.Combine(release, "services/insights/InsightsService.dll"))); + Assert.Single(Directory.GetDirectories(Path.Combine(release, "services"))); + Assert.True(File.Exists(Path.Combine(release, "install.sh"))); + Assert.True(File.Exists(Path.Combine(release, "INSTALLATION.md"))); + } + + [Theory] + [InlineData("insights", 1)] + [InlineData("patient-profile,observation", 2)] + [InlineData("all", 5)] + public async Task Only_selected_payloads_configuration_and_independent_units_are_installed(string selection, int count) + { + var root = Path.Combine(fixture.Temporary, "selection-" + Guid.NewGuid().ToString("N")); + var installed = await fixture.Install(root, selection); + Assert.Equal(0, installed.Code); + var payloads = Directory.GetDirectories(Path.Combine(root, "opt/healthapp")).Select(Path.GetFileName).Order().ToArray(); + var expected = selection == "all" ? DeploymentFixture.Services : selection.Split(','); + Assert.Equal(count, payloads.Length); + Assert.Equal(expected.Order(), payloads); + foreach (var service in expected) + { + var env = Path.Combine(root, "etc/healthapp", service, "service.env"); + var generated = DeploymentFixture.ReadEnvironment(root, service); + Assert.Equal("Production", generated["ASPNETCORE_ENVIRONMENT"]); + Assert.StartsWith("https://", generated["ASPNETCORE_URLS"]); + Assert.NotEmpty(generated["InternalAccess__GatewayKey"]); + Assert.True(File.Exists(generated["Kestrel__Certificates__Default__Path"])); + Assert.Equal(UnixFileMode.UserRead | UnixFileMode.UserWrite, File.GetUnixFileMode(env)); + var unit = await File.ReadAllTextAsync(Path.Combine(root, "etc/systemd/system", "healthapp-" + service + ".service")); + Assert.Contains("ExecStart=" + fixture.Dotnet + " /opt/healthapp/" + service + "/" + DeploymentFixture.Assembly(service) + ".dll", unit); + Assert.Contains("EnvironmentFile=/etc/healthapp/" + service + "/service.env", unit); + Assert.Contains("User=healthapp-" + service, unit); + Assert.Contains("Group=healthapp-" + service, unit); + Assert.DoesNotContain("Requires=healthapp-", unit); + Assert.DoesNotContain("PartOf=", unit); + Assert.DoesNotContain("BindsTo=", unit); + } + // A repeated install must not overwrite live configuration or application files. + var repeated = await fixture.Install(root, selection); + Assert.NotEqual(0, repeated.Code); + Assert.Contains("Already installed", repeated.Output); + } + + [Fact] + public async Task Configuration_and_certificates_are_generated_with_matching_credentials_and_private_permissions() + { + Assert.Equal(5, fixture.Settings.Values.Select(s => s["InternalAccess__GatewayKey"]).Distinct().Count()); + foreach (var service in DeploymentFixture.Services) + { + var settings = fixture.Settings[service]; + Assert.Equal("Production", settings["ASPNETCORE_ENVIRONMENT"]); + Assert.StartsWith("https://", settings["ASPNETCORE_URLS"]); + using var certificate = X509CertificateLoader.LoadPkcs12FromFile(settings["Kestrel__Certificates__Default__Path"], settings["Kestrel__Certificates__Default__Password"]); + Assert.True(certificate.HasPrivateKey); + Assert.True(certificate.NotAfter > DateTime.UtcNow); + var env = Path.Combine(fixture.Root, "etc/healthapp", service, "service.env"); + Assert.Equal(UnixFileMode.UserRead | UnixFileMode.UserWrite, File.GetUnixFileMode(env)); + } + Assert.Equal(fixture.Settings["observation"]["Services__ApiGateway__Key"], fixture.Settings["api-gateway"]["InternalAccess__Observation__Key"]); + Assert.Equal(fixture.Settings["insights"]["InternalAccess__GatewayKey"], fixture.Settings["api-gateway"]["Services__Insights__Key"]); + } + + [Fact] + public async Task Dedicated_database_roles_cannot_access_each_others_data_or_administer_the_server() + { + var profile = new NpgsqlConnectionStringBuilder(fixture.Settings["patient-profile"]["ConnectionStrings__PatientDatabase"]); + var observation = new NpgsqlConnectionStringBuilder(fixture.Settings["observation"]["ConnectionStrings__ObservationDatabase"]); + Assert.NotEqual(profile.Database, observation.Database); + Assert.NotEqual(profile.Username, observation.Username); + Assert.NotEqual(profile.Password, observation.Password); + await using var own = new NpgsqlConnection(profile.ConnectionString); + await own.OpenAsync(); + await using var privileges = new NpgsqlCommand("SELECT rolsuper OR rolcreatedb OR rolcreaterole OR rolreplication FROM pg_roles WHERE rolname = current_user", own); + Assert.Equal(false, await privileges.ExecuteScalarAsync()); + await using var other = new NpgsqlConnection(new NpgsqlConnectionStringBuilder(profile.ConnectionString) { Database = observation.Database }.ConnectionString); + var failure = await Assert.ThrowsAsync(() => other.OpenAsync()); + Assert.Equal("42501", failure.SqlState); + var retried = await fixture.Provision("database", "--service-dir", Path.Combine(fixture.Deployment, "patient-profile"), "--admin-file", fixture.AdminFile); + Assert.True(retried.Code == 0, retried.Output); + } + + [Fact] + public async Task New_deployments_get_new_secrets_and_do_not_overwrite_existing_material() + { + var output = Path.Combine(fixture.Temporary, "another-deployment"); + Assert.Equal(0, (await fixture.Provision("prepare", "--output", output, "--host", "localhost")).Code); + using var first = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(fixture.Deployment, "deployment.json"))); + using var second = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(output, "deployment.json"))); + Assert.NotEqual(first.RootElement.GetProperty("Services").GetProperty("insights").GetProperty("IncomingKey").GetString(), + second.RootElement.GetProperty("Services").GetProperty("insights").GetProperty("IncomingKey").GetString()); + Assert.NotEqual(0, (await fixture.Provision("prepare", "--output", output)).Code); + } + + [Fact] + public async Task Native_configuration_adapters_use_the_same_service_values_and_independent_paths() + { + var nativeRoot = Path.Combine(fixture.Temporary, "native-settings"); + var windows = await fixture.Provision("configure", "--service-dir", Path.Combine(fixture.Deployment, "api-gateway"), + "--root", nativeRoot, "--platform", "windows"); + Assert.True(windows.Code == 0, windows.Output); + using var json = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(nativeRoot, "config/api-gateway/appsettings.Production.json"))); + Assert.StartsWith("https://", json.RootElement.GetProperty("urls").GetString()); + Assert.Equal(fixture.Settings["api-gateway"]["Services__Observation__Key"], json.RootElement.GetProperty("Services").GetProperty("Observation").GetProperty("Key").GetString()); + var mac = await fixture.Provision("configure", "--service-dir", Path.Combine(fixture.Deployment, "insights"), + "--root", nativeRoot, "--platform", "macos"); + Assert.True(mac.Code == 0, mac.Output); + var plist = Path.Combine(nativeRoot, "insights.plist"); + var launch = await fixture.Provision("launchd", "--service", "insights", "--root", nativeRoot, "--dotnet", fixture.Dotnet, "--output", plist); + Assert.True(launch.Code == 0, launch.Output); + var document = System.Xml.Linq.XDocument.Load(plist); + Assert.Contains(document.Descendants("string"), element => element.Value == "_healthapp_insights"); + Assert.Contains(document.Descendants("string"), element => element.Value.EndsWith("InsightsService.dll")); + Assert.Equal(UnixFileMode.UserRead | UnixFileMode.UserWrite, File.GetUnixFileMode(plist)); + } + + private async Task VerifyScopedTopologyDistribution() + { + var directory = Path.Combine(fixture.Temporary, "distribution-contract"); + Directory.CreateDirectory(directory); + var commands = Path.Combine(directory, "commands"); + var captured = Path.Combine(directory, "captured"); + Directory.CreateDirectory(captured); + var transport = Path.Combine(directory, "bin"); + Directory.CreateDirectory(transport); + await File.WriteAllTextAsync(Path.Combine(transport, "ssh"), "#!/bin/bash\nprintf '%s\\n' \"$*\" >> \"$TRANSPORT_LOG\"\n"); + await File.WriteAllTextAsync(Path.Combine(transport, "scp"), "#!/bin/bash\ntarget=\"${3%%:*}\"\nname=\"${target#*@}\"\nmkdir -p \"$CAPTURE/$name\"\ncp -R \"$2\" \"$CAPTURE/$name/\"\n"); + foreach (var script in Directory.GetFiles(transport)) File.SetUnixFileMode(script, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute); + var environment = new Dictionary { ["PATH"] = transport + ":" + Environment.GetEnvironmentVariable("PATH"), ["TRANSPORT_LOG"] = commands, ["CAPTURE"] = captured }; + var result = await DeploymentFixture.Run(fixture.Dotnet, [Path.Combine(fixture.Bundle, "provisioner/HealthApp.Provisioning.dll"), + "distribute", "--bundle", fixture.Bundle, "--deployment", fixture.Deployment, "--ssh-user", "administrator", "--services", string.Join(',', DeploymentFixture.Services)], environment); + Assert.True(result.Code == 0, result.Output); + Assert.Equal(5, Directory.GetDirectories(captured).Length); + foreach (var node in Directory.GetDirectories(captured)) + { + var installed = Assert.Single(Directory.GetDirectories(Path.Combine(node, "services"))); + var selected = Path.GetFileName(installed); + Assert.Single(Directory.GetDirectories(Path.Combine(node, "deployment"))); + using var scope = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(node, "deployment/deployment.json"))); + foreach (var name in DeploymentFixture.Services.Where(n => n != selected)) + { + Assert.Equal("", scope.RootElement.GetProperty("Services").GetProperty(name).GetProperty("IncomingKey").GetString()); + Assert.Equal(JsonValueKind.Null, scope.RootElement.GetProperty("Services").GetProperty(name).GetProperty("Database").ValueKind); + } + if (selected != "api-gateway") Assert.Empty(scope.RootElement.GetProperty("Accounts").EnumerateArray()); + } + Assert.Contains("--defer-topology-check", await File.ReadAllTextAsync(commands)); + } + + [Theory] + [InlineData("unknown")] + [InlineData("insights,insights")] + [InlineData("insights,")] + public async Task Invalid_service_selection_is_rejected_without_creating_an_installation(string selection) + { + var root = Path.Combine(fixture.Temporary, "invalid-" + Guid.NewGuid().ToString("N")); + var result = await fixture.Install(root, selection); + Assert.NotEqual(0, result.Code); + Assert.False(Directory.Exists(root)); + } + + [Fact] + public async Task Invalid_topology_fails_before_generating_configuration_or_credentials() + { + var topology = Path.Combine(fixture.Temporary, "invalid-topology.json"); + await File.WriteAllTextAsync(topology, "{\"hosts\":{\"insights\":\"https://not-a-host/path\"}}"); + var output = Path.Combine(fixture.Temporary, "invalid-topology-result"); + var result = await fixture.Provision("prepare", "--output", output, "--topology", topology); + Assert.NotEqual(0, result.Code); + Assert.False(Directory.Exists(output)); + } + + [Theory] + [InlineData("patient-profile")] + [InlineData("observation")] + [InlineData("insights")] + [InlineData("health-overview")] + [InlineData("api-gateway")] + public async Task A_single_installed_service_starts_and_stops_without_other_local_service_processes(string service) + { + var root = Path.Combine(fixture.Temporary, "single-" + service); + Assert.Equal(0, (await fixture.Install(root, service)).Code); + try + { + await fixture.Start(service, root); + Assert.Single(fixture.Processes); + Assert.False(fixture.Processes[service].HasExited); + } + finally { await fixture.Stop(service); } + Assert.Empty(fixture.Processes); + } + + [Fact] + public async Task Two_colocated_installed_services_run_with_independent_configuration_and_processes() + { + var root = Path.Combine(fixture.Temporary, "two-services"); + Assert.Equal(0, (await fixture.Install(root, "patient-profile,observation")).Code); + try + { + await fixture.Start("patient-profile", root); + await fixture.Start("observation", root); + Assert.Equal(2, fixture.Processes.Values.Select(p => p.Id).Distinct().Count()); + using var client = fixture.HttpClient(); + using var request = new HttpRequestMessage(HttpMethod.Get, fixture.Urls["observation"] + + "api/patients/00000000-0000-0000-0000-000000000001/observations?from=2026-09-01&to=2026-09-10"); + request.Headers.Add("X-Gateway-Key", fixture.Settings["observation"]["InternalAccess__GatewayKey"]); + using var response = await client.SendAsync(request); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("[]", await response.Content.ReadAsStringAsync()); + var observationPid = fixture.Processes["observation"].Id; + await fixture.Stop("patient-profile"); + Assert.False(fixture.Processes["observation"].HasExited); + Assert.Equal(observationPid, fixture.Processes["observation"].Id); + await fixture.Start("patient-profile", root); + Assert.Equal(observationPid, fixture.Processes["observation"].Id); + } + finally { foreach (var service in fixture.Processes.Keys.ToArray()) await fixture.Stop(service); } + } + + [Fact] + public async Task Installed_complete_system_runs_in_five_processes_and_preserves_network_and_persistence_boundaries() + { + try + { + foreach (var service in DeploymentFixture.Services) await fixture.Start(service); + Assert.Equal(5, fixture.Processes.Values.Select(p => p.Id).Distinct().Count()); + using var client = fixture.HttpClient(); + client.BaseAddress = new Uri(fixture.Urls["api-gateway"]); + using var login = await client.PostAsJsonAsync("api/authentication/login", new + { accountId = "prototype-patient", password = fixture.Password }); + Assert.Equal(HttpStatusCode.OK, login.StatusCode); + using var tokenJson = JsonDocument.Parse(await login.Content.ReadAsStringAsync()); + client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", tokenJson.RootElement.GetProperty("accessToken").GetString()); + using var profile = await client.PostAsJsonAsync("api/patients", new { name = "Deployed patient", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, profile.StatusCode); + using var profileJson = JsonDocument.Parse(await profile.Content.ReadAsStringAsync()); + var patient = profileJson.RootElement.GetProperty("patientId").GetGuid(); + using var recorded = await client.PostAsJsonAsync($"api/patients/{patient}/observations", new + { measuredAt = "2026-09-05T08:00:00", systolic = 128, diastolic = 82, pulse = 68, + measurementContext = new { setting = "Home", activityCondition = "AtRest" } }); + Assert.Equal(HttpStatusCode.Created, recorded.StatusCode); + var overviewPath = $"api/patients/{patient}/overview?from=2026-09-01&to=2026-09-10&setting=Home&activityCondition=AtRest"; + using var overview = await client.GetAsync(overviewPath); + Assert.Equal(HttpStatusCode.OK, overview.StatusCode); + using var overviewJson = JsonDocument.Parse(await overview.Content.ReadAsStringAsync()); + Assert.Equal(patient, overviewJson.RootElement.GetProperty("patient").GetProperty("patientId").GetGuid()); + Assert.Equal(128, overviewJson.RootElement.GetProperty("latestObservation").GetProperty("systolic").GetInt32()); + Assert.Equal(128m, overviewJson.RootElement.GetProperty("insight").GetProperty("averageSystolic").GetDecimal()); + Assert.Equal(1, overviewJson.RootElement.GetProperty("insightContributingCount").GetInt32()); + foreach (var service in DeploymentFixture.Services) + { + var peers = fixture.Processes.Where(p => p.Key != service).ToDictionary(p => p.Key, p => p.Value.Id); + var oldId = fixture.Processes[service].Id; + await fixture.Stop(service); + foreach (var (peer, id) in peers) + { + Assert.Equal(id, fixture.Processes[peer].Id); + Assert.False(fixture.Processes[peer].HasExited); + } + await fixture.Start(service); + Assert.NotEqual(oldId, fixture.Processes[service].Id); + using var fresh = await client.GetAsync(overviewPath); + Assert.Equal(HttpStatusCode.OK, fresh.StatusCode); + } + var verified = await fixture.Provision("verify", "--deployment", fixture.Deployment, "--services", string.Join(',', DeploymentFixture.Services), "--complete", "true"); + Assert.True(verified.Code == 0, verified.Output); + await VerifyScopedTopologyDistribution(); + // Each DB owns only its documented service's tables; aggregation services have no DB configuration. + foreach (var (service, key, owned, absent) in new[] + { + ("patient-profile", "ConnectionStrings__PatientDatabase", "patient", "blood_pressure_observation"), + ("observation", "ConnectionStrings__ObservationDatabase", "blood_pressure_observation", "patient") + }) + { + await using var connection = new NpgsqlConnection(fixture.Settings[service][key]); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand("SELECT tablename FROM pg_tables WHERE schemaname = 'public'", connection); + await using var reader = await command.ExecuteReaderAsync(); + List tables = []; + while (await reader.ReadAsync()) tables.Add(reader.GetString(0)); + Assert.Contains(owned, tables); + Assert.DoesNotContain(absent, tables); + } + Assert.DoesNotContain(fixture.Settings["insights"].Keys, k => k.StartsWith("ConnectionStrings__")); + Assert.DoesNotContain(fixture.Settings["health-overview"].Keys, k => k.StartsWith("ConnectionStrings__")); + } + finally { foreach (var service in fixture.Processes.Keys.ToArray()) await fixture.Stop(service); } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs new file mode 100644 index 0000000..cd43e32 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs @@ -0,0 +1,179 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using HealthApp.TestSupport; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class ContextFilteredHistoryTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record ContextData(string Setting, string ActivityCondition, string? DeviceDetails); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + string? Context, ContextData MeasurementContext); + private const string Period = "from=2026-09-01T08%3A00%3A00&to=2026-09-10T08%3A00%3A00"; + + private async Task Patient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Filtered history", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task Record(Guid patient, string time, string? setting, string? activity, string? legacy = null, bool includeContext = true, bool completeContext = false) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patient}/observations", new + { + measuredAt = time, systolic = 128, diastolic = 82, pulse = 68, context = legacy, + measurementContext = includeContext ? new + { + setting, activityCondition = activity, deviceDetails = "Saved device", + restDurationMinutes = completeContext ? (decimal?)5 : null, + bodyPosition = completeContext ? "Seated" : null, + measuredArm = completeContext ? "Left" : null, + cuffDetails = completeContext ? "Saved cuff" : null, + additionalCircumstances = completeContext ? "Usual routine" : null + } : null + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + private string PathFor(Guid patient, string selection = "", string period = Period) => + $"/api/patients/{patient}/observations?{period}{selection}"; + + [Theory] + [InlineData("&setting=Home", "Home", "All", 2)] + [InlineData("&activityCondition=AtRest", "All", "AtRest", 2)] + [InlineData("&setting=Home&activityCondition=AtRest", "Home", "AtRest", 1)] + public async Task Independent_and_combined_selections_return_matching_context_and_metadata(string selection, + string settingHeader, string activityHeader, int expectedCount) + { + var patient = await Patient(); + var homeRest = await Record(patient, "2026-09-05T08:00:00", "Home", "AtRest"); + var homeAfter = await Record(patient, "2026-09-06T08:00:00", "Home", "AfterActivity"); + var clinicRest = await Record(patient, "2026-09-07T08:00:00", "Clinic", "AtRest"); + await Record(patient, "2026-09-08T08:00:00", null, null, "Home, resting? Morning reading"); + using var response = await fixture.Client.GetAsync(PathFor(patient, selection)); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal(settingHeader, Assert.Single(response.Headers.GetValues("X-Measurement-Setting"))); + Assert.Equal(activityHeader, Assert.Single(response.Headers.GetValues("X-Activity-Condition"))); + var history = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(expectedCount, history.Length); + var expected = new[] { homeRest, homeAfter, clinicRest }.Where(o => + (settingHeader == "All" || o.MeasurementContext.Setting == settingHeader) && + (activityHeader == "All" || o.MeasurementContext.ActivityCondition == activityHeader)).ToArray(); + Assert.Equal(expected, history); + Assert.All(history, o => Assert.Equal("Saved device", o.MeasurementContext.DeviceDetails)); + } + + [Theory] + [InlineData("&setting=Unknown", "Unknown", "All")] + [InlineData("&activityCondition=Unknown", "All", "Unknown")] + [InlineData("&setting=Unknown&activityCondition=Unknown", "Unknown", "Unknown")] + public async Task Unknown_selections_match_unknown_categories_without_interpreting_legacy_text(string selection, + string settingHeader, string activityHeader) + { + var patient = await Patient(); + var unknown = await Record(patient, "2026-09-05T08:00:00", null, null, "Home resting?"); + var partial = await Record(patient, "2026-09-06T08:00:00", "Clinic", null); + await Record(patient, "2026-09-07T08:00:00", "Home", "AtRest"); + using var response = await fixture.Client.GetAsync(PathFor(patient, selection)); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal(settingHeader, Assert.Single(response.Headers.GetValues("X-Measurement-Setting"))); + Assert.Equal(activityHeader, Assert.Single(response.Headers.GetValues("X-Activity-Condition"))); + var result = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(activityHeader == "Unknown" && settingHeader == "All" ? new[] { unknown, partial } : new[] { unknown }, result); + Assert.Equal("Home resting?", result[0].Context); + } + + [Fact] + public async Task No_selection_retains_all_contexts_in_chronological_order_after_restart() + { + var patient = await Patient(); + var last = await Record(patient, "2026-09-07T08:00:00", null, null, includeContext: false); + var first = await Record(patient, "2026-09-05T08:00:00", "Home", "AtRest", completeContext: true); + var middle = await Record(patient, "2026-09-06T08:00:00", "Clinic", null); + await fixture.RestartHostsAsync(); + using var response = await fixture.Client.GetAsync(PathFor(patient)); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal(new[] { first, middle, last }, await response.Content.ReadFromJsonAsync()); + Assert.Equal("All", Assert.Single(response.Headers.GetValues("X-Measurement-Setting"))); + Assert.Equal("All", Assert.Single(response.Headers.GetValues("X-Activity-Condition"))); + } + + [Fact] + public async Task Empty_filtered_history_is_an_empty_array_with_applied_selection_metadata() + { + var patient = await Patient(); + await Record(patient, "2026-09-05T08:00:00", "Home", "AtRest"); + using var response = await fixture.Client.GetAsync(PathFor(patient, "&setting=Other&activityCondition=AfterActivity")); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("[]", await response.Content.ReadAsStringAsync()); + Assert.Equal("Other", Assert.Single(response.Headers.GetValues("X-Measurement-Setting"))); + Assert.Equal("AfterActivity", Assert.Single(response.Headers.GetValues("X-Activity-Condition"))); + } + + [Fact] + public async Task Filtered_history_preserves_patient_scope_inclusive_boundaries_and_equal_bounds() + { + var patient = await Patient(); + var last = await Record(patient, "2026-09-10T08:00:00", "Home", "AtRest"); + var first = await Record(patient, "2026-09-01T08:00:00", "Home", "AtRest"); + await Record(patient, "2026-09-01T07:59:59", "Home", "AtRest"); + await Record(patient, "2026-09-10T08:00:01", "Home", "AtRest"); + await Record(patient, "2026-09-05T08:00:00", "Home", "AfterActivity"); + await Record(await Patient(), "2026-09-05T08:00:00", "Home", "AtRest"); + using var response = await fixture.Client.GetAsync(PathFor(patient, "&setting=Home&activityCondition=AtRest")); + Assert.Equal(new[] { first, last }, await response.Content.ReadFromJsonAsync()); + using var equal = await fixture.Client.GetAsync(PathFor(patient, "&setting=Home", "from=2026-09-01T10%3A00%3A00%2B02%3A00&to=2026-09-01T08%3A00%3A00Z")); + Assert.Equal(HttpStatusCode.OK, equal.StatusCode); + Assert.Equal(first, Assert.Single((await equal.Content.ReadFromJsonAsync())!)); + } + + [Theory] + [InlineData("&setting=Unsupported")] + [InlineData("&activityCondition=Unsupported")] + [InlineData("&setting=All")] + [InlineData("&activityCondition=1")] + public async Task Unsupported_selections_are_rejected_without_changing_observations(string selection) + { + var patient = await Patient(); + var observation = await Record(patient, "2026-09-05T08:00:00", "Home", "AtRest"); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.CountAsync(); + using var response = await fixture.Client.GetAsync(PathFor(patient, selection)); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(before, await db.Observations.CountAsync()); + Assert.Equal(observation, await fixture.Client.GetFromJsonAsync($"/api/observations/{observation.ObservationId}")); + } + + [Fact] + public async Task Professional_reads_follow_assignments_and_other_patient_tokens_cannot_use_filters_to_gain_access() + { + var patient = await Patient(); + var expected = await Record(patient, "2026-09-05T08:00:00", "Home", "AtRest"); + var other = await Patient(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = patient.ToString(); + await fixture.RestartHostsAsync(); + foreach (var (account, status) in new[] + { + ("professional", HttpStatusCode.OK), ("professional-empty", HttpStatusCode.NotFound), + (fixture.Authentication.PatientAccounts[other], HttpStatusCode.NotFound) + }) + { + using var request = new HttpRequestMessage(HttpMethod.Get, PathFor(patient, "&setting=Home&activityCondition=AtRest")); + request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account)); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(status, response.StatusCode); + if (status == HttpStatusCode.OK) + Assert.Equal(expected, Assert.Single((await response.Content.ReadFromJsonAsync())!)); + else Assert.Empty(await response.Content.ReadAsStringAsync()); + } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs new file mode 100644 index 0000000..fba1f83 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs @@ -0,0 +1,205 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using HealthApp.TestSupport; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class ContextSelectedInsightTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId); + private sealed record Selection(string? Setting, string? ActivityCondition); + private sealed record Insight(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, + decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, int MinSystolic, int MaxSystolic, + int MinDiastolic, int MaxDiastolic, Selection AppliedSelection, int ContributingCount, string ContextExplanation); + private const string Period = "from=2026-09-01T08%3A00%3A00&to=2026-09-10T08%3A00%3A00"; + + private async Task Patient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Selected insight", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task Record(Guid patient, int systolic, int diastolic, int pulse, string? setting = "Home", + string? activity = "AtRest", string time = "2026-09-05T08:00:00", string? position = null) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patient}/observations", new + { + measuredAt = time, systolic, diastolic, pulse, context = "Home resting?", + measurementContext = new { setting, activityCondition = activity, bodyPosition = position } + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.ObservationId; + } + + private string PathFor(Guid patient, string selection = "", string period = Period) => + $"/api/patients/{patient}/insights?{period}{selection}"; + private Task Summary(Guid patient, string selection = "") => fixture.Client.GetFromJsonAsync(PathFor(patient, selection)); + + [Theory] + [InlineData("&setting=Home&activityCondition=AtRest", "Home", "AtRest", 2, 125)] + [InlineData("&setting=Home", "Home", null, 3, 130)] + [InlineData("&activityCondition=AtRest", null, "AtRest", 3, 136.67)] + public async Task Independent_and_combined_selections_use_only_matching_observations_and_report_their_basis( + string query, string? setting, string? activity, int count, double average) + { + var patient = await Patient(); + await Record(patient, 120, 80, 60); + await Record(patient, 130, 84, 70); + await Record(patient, 140, 88, 80, activity: "AfterActivity"); + await Record(patient, 160, 90, 90, setting: "Clinic"); + var result = (await Summary(patient, query))!; + Assert.Equal((decimal)average, result.AverageSystolic); + Assert.Equal(count, result.ContributingCount); + Assert.Equal(new Selection(setting, activity), result.AppliedSelection); + Assert.Equal(patient, result.PatientId); + if (count == 2) + { + Assert.Equal(82m, result.AverageDiastolic); + Assert.Equal(65m, result.AveragePulse); + Assert.Equal(120, result.MinSystolic); + Assert.Equal(130, result.MaxSystolic); + Assert.Equal(80, result.MinDiastolic); + Assert.Equal(84, result.MaxDiastolic); + } + } + + [Fact] + public async Task Unfiltered_insight_includes_unknown_context_and_explains_mixed_and_missing_conditions() + { + var patient = await Patient(); + await Record(patient, 120, 80, 60, position: "Seated"); + await Record(patient, 130, 84, 70, setting: "Clinic", activity: "AfterActivity", position: "Standing"); + await Record(patient, 140, 88, 80, setting: null, activity: null); + var result = (await Summary(patient))!; + Assert.Equal(130m, result.AverageSystolic); + Assert.Equal(3, result.ContributingCount); + Assert.Equal(new Selection(null, null), result.AppliedSelection); + Assert.Contains("mixed settings or activity conditions", result.ContextExplanation); + Assert.Contains("unknown", result.ContextExplanation); + Assert.Contains("Optional details are unrecorded", result.ContextExplanation); + Assert.Contains("Recorded detail values differ: body position", result.ContextExplanation); + Assert.Contains("do not establish clinically comparable conditions", result.ContextExplanation); + } + + [Theory] + [InlineData("&setting=Unknown", "Unknown", null)] + [InlineData("&activityCondition=Unknown", null, "Unknown")] + [InlineData("&setting=Unknown&activityCondition=Unknown", "Unknown", "Unknown")] + public async Task Unknown_selection_is_explicit_and_legacy_narrative_does_not_create_known_membership(string query, + string? setting, string? activity) + { + var patient = await Patient(); + await Record(patient, 120, 80, 60, setting: null, activity: null); + await Record(patient, 180, 100, 90); + var result = (await Summary(patient, query))!; + Assert.Equal(1, result.ContributingCount); + Assert.Equal(120m, result.AverageSystolic); + Assert.Equal(80m, result.AverageDiastolic); + Assert.Equal(60m, result.AveragePulse); + Assert.Equal(result.MinSystolic, result.MaxSystolic); + Assert.Equal(result.MinDiastolic, result.MaxDiastolic); + Assert.Equal(new Selection(setting, activity), result.AppliedSelection); + } + + [Theory] + [InlineData(8, 120.13, 80.13, 60.13)] + [InlineData(3, 120.33, 80.33, 60.33)] + public async Task Means_round_only_the_final_value_to_two_decimals_with_half_up_rounding(int count, + double systolic, double diastolic, double pulse) + { + var patient = await Patient(); + for (var i = 0; i < count; i++) + await Record(patient, 120 + (i == count - 1 ? 1 : 0), 80 + (i == count - 1 ? 1 : 0), 60 + (i == count - 1 ? 1 : 0)); + var result = (await Summary(patient))!; + Assert.Equal((decimal)systolic, result.AverageSystolic); + Assert.Equal((decimal)diastolic, result.AverageDiastolic); + Assert.Equal((decimal)pulse, result.AveragePulse); + Assert.Equal(count, result.ContributingCount); + Assert.Equal(120, result.MinSystolic); + Assert.Equal(121, result.MaxSystolic); + } + + [Fact] + public async Task Corrections_clearing_and_deletion_change_membership_and_fresh_summary_results_after_restart() + { + var patient = await Patient(); + var first = await Record(patient, 120, 80, 60); + var second = await Record(patient, 130, 84, 70); + Assert.Equal(125m, (await Summary(patient, "&setting=Home"))!.AverageSystolic); + using var corrected = await fixture.Client.PatchAsJsonAsync($"/api/observations/{second}", new { measurementContext = new { setting = "Clinic" } }); + Assert.Equal(HttpStatusCode.OK, corrected.StatusCode); + Assert.Equal(120m, (await Summary(patient, "&setting=Home"))!.AverageSystolic); + using var cleared = await fixture.Client.PatchAsJsonAsync($"/api/observations/{first}", new { measurementContext = new { activityCondition = (string?)null } }); + Assert.Equal(HttpStatusCode.OK, cleared.StatusCode); + var selected = (await Summary(patient, "&setting=Home&activityCondition=Unknown"))!; + Assert.Equal(1, selected.ContributingCount); + using var deleted = await fixture.Client.DeleteAsync($"/api/observations/{first}"); + Assert.Equal(HttpStatusCode.NoContent, deleted.StatusCode); + await fixture.RestartHostsAsync(); + using var empty = await fixture.Client.GetAsync(PathFor(patient, "&setting=Home")); + Assert.Equal(HttpStatusCode.NotFound, empty.StatusCode); + Assert.Contains("Insufficient observation data", await empty.Content.ReadAsStringAsync()); + var remaining = (await Summary(patient, "&setting=Clinic"))!; + Assert.Equal(1, remaining.ContributingCount); + Assert.Equal(130m, remaining.AverageSystolic); + } + + [Fact] + public async Task Filtered_insight_preserves_patient_scope_inclusive_bounds_and_equal_instants() + { + var patient = await Patient(); + await Record(patient, 120, 80, 60, time: "2026-09-01T08:00:00"); + await Record(patient, 130, 84, 70, time: "2026-09-10T08:00:00"); + await Record(patient, 200, 100, 90, time: "2026-09-01T07:59:59"); + await Record(patient, 210, 110, 95, time: "2026-09-10T08:00:01"); + await Record(await Patient(), 220, 120, 100); + var summary = (await Summary(patient, "&setting=Home&activityCondition=AtRest"))!; + Assert.Equal(2, summary.ContributingCount); + Assert.Equal(125m, summary.AverageSystolic); + using var equal = await fixture.Client.GetAsync(PathFor(patient, "&setting=Home", "from=2026-09-01T10%3A00%3A00%2B02%3A00&to=2026-09-01T08%3A00%3A00Z")); + Assert.Equal(HttpStatusCode.OK, equal.StatusCode); + Assert.Equal(120m, (await equal.Content.ReadFromJsonAsync())!.AverageSystolic); + } + + [Theory] + [InlineData("&setting=Unsupported")] + [InlineData("&activityCondition=Unsupported")] + public async Task Unsupported_selection_is_rejected_with_validation_details(string query) + { + var patient = await Patient(); + await Record(patient, 120, 80, 60); + using var response = await fixture.Client.GetAsync(PathFor(patient, query)); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(1, (await Summary(patient))!.ContributingCount); + } + + [Fact] + public async Task Professional_selection_requires_assignment_and_other_patient_access_is_rejected() + { + var patient = await Patient(); + await Record(patient, 120, 80, 60); + var other = await Patient(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = patient.ToString(); + await fixture.RestartHostsAsync(); + foreach (var (account, status) in new[] + { + ("professional", HttpStatusCode.OK), ("professional-empty", HttpStatusCode.NotFound), + (fixture.Authentication.PatientAccounts[other], HttpStatusCode.NotFound) + }) + { + using var request = new HttpRequestMessage(HttpMethod.Get, PathFor(patient, "&setting=Home&activityCondition=AtRest")); + request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account)); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(status, response.StatusCode); + if (status == HttpStatusCode.OK) Assert.Equal(1, (await response.Content.ReadFromJsonAsync())!.ContributingCount); + else Assert.Empty(await response.Content.ReadAsStringAsync()); + } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs new file mode 100644 index 0000000..fb1636d --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs @@ -0,0 +1,129 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using HealthApp.TestSupport; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class DeleteContextualisedObservationTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record ContextData(string Setting, string ActivityCondition, decimal? RestDurationMinutes, + string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, ContextData MeasurementContext); + private sealed record Insight(decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, + int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic); + private const string Period = "from=2026-09-01&to=2026-10-01"; + + private async Task Patient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Context deletion", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task Record(Guid patient, string time, int systolic, int diastolic, int pulse) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patient}/observations", new + { + measuredAt = time, systolic, diastolic, pulse, context = "Original context", note = "Original note", + measurementContext = new { setting = "Home", activityCondition = "AtRest", restDurationMinutes = 5.5m, + bodyPosition = "Seated", measuredArm = "Left", deviceDetails = "Device", cuffDetails = "Cuff", additionalCircumstances = "Actual circumstances" } + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + private Task History(Guid patient) => fixture.Client.GetFromJsonAsync( + $"/api/patients/{patient}/observations?{Period}&setting=Home&activityCondition=AtRest"); + private Task Summary(Guid patient) => fixture.Client.GetFromJsonAsync($"/api/patients/{patient}/insights?{Period}"); + + [Fact] + public async Task Deleted_context_stays_absent_from_retrieval_filtered_history_and_latest_after_restart() + { + var patient = await Patient(); + var retained = await Record(patient, "2026-09-10T08:00:00", 120, 80, 60); + var deleted = await Record(patient, "2026-09-12T08:00:00", 200, 110, 100); + var other = await Record(await Patient(), "2026-09-13T08:00:00", 130, 84, 70); + using var response = await fixture.Client.DeleteAsync($"/api/observations/{deleted.ObservationId}"); + Assert.Equal(HttpStatusCode.NoContent, response.StatusCode); + Assert.Empty(await response.Content.ReadAsStringAsync()); + await fixture.RestartHostsAsync(); + using var missing = await fixture.Client.GetAsync($"/api/observations/{deleted.ObservationId}"); + Assert.Equal(HttpStatusCode.NotFound, missing.StatusCode); + Assert.Empty(await missing.Content.ReadAsStringAsync()); + Assert.Equal(retained, Assert.Single((await History(patient))!)); + Assert.Equal(retained, await fixture.Client.GetFromJsonAsync($"/api/patients/{patient}/observations/latest")); + Assert.Equal(other, Assert.Single((await History(other.PatientId))!)); + Assert.Equal(other, await fixture.Client.GetFromJsonAsync($"/api/observations/{other.ObservationId}")); + await using var db = fixture.CreateObservationDbContext(); + Assert.False(await db.Observations.AnyAsync(o => o.ObservationId == deleted.ObservationId)); + Assert.Equal("Device", (await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == retained.ObservationId)).MeasurementContext.DeviceDetails); + } + + [Fact] + public async Task New_numerical_summary_excludes_deleted_values_and_retains_current_remaining_observations() + { + var patient = await Patient(); + var first = await Record(patient, "2026-09-10T08:00:00", 120, 80, 60); + var second = await Record(patient, "2026-09-11T08:00:00", 130, 84, 70); + var outlier = await Record(patient, "2026-09-12T08:00:00", 200, 110, 100); + Assert.Equal(150m, (await Summary(patient))!.AverageSystolic); + using var deleted = await fixture.Client.DeleteAsync($"/api/observations/{outlier.ObservationId}"); + Assert.Equal(HttpStatusCode.NoContent, deleted.StatusCode); + var expected = new Insight(125m, 82m, 65m, 120, 130, 80, 84); + Assert.Equal(expected, await Summary(patient)); + Assert.Equal(new[] { first, second }, await History(patient)); + await fixture.RestartHostsAsync(); + Assert.Equal(expected, await Summary(patient)); + Assert.Equal(new[] { first, second }, await History(patient)); + } + + [Fact] + public async Task Deleting_only_contextualised_observation_leaves_empty_filtered_history_and_no_summary() + { + var patient = await Patient(); + var observation = await Record(patient, "2026-09-12T08:00:00", 128, 82, 68); + using var deleted = await fixture.Client.DeleteAsync($"/api/observations/{observation.ObservationId}"); + Assert.Equal(HttpStatusCode.NoContent, deleted.StatusCode); + using var history = await fixture.Client.GetAsync($"/api/patients/{patient}/observations?{Period}&setting=Home&activityCondition=AtRest"); + Assert.Equal(HttpStatusCode.OK, history.StatusCode); + Assert.Equal("[]", await history.Content.ReadAsStringAsync()); + Assert.Equal("Home", Assert.Single(history.Headers.GetValues("X-Measurement-Setting"))); + Assert.Equal("AtRest", Assert.Single(history.Headers.GetValues("X-Activity-Condition"))); + using var latest = await fixture.Client.GetAsync($"/api/patients/{patient}/observations/latest"); + using var summary = await fixture.Client.GetAsync($"/api/patients/{patient}/insights?{Period}"); + using var repeated = await fixture.Client.DeleteAsync($"/api/observations/{observation.ObservationId}"); + Assert.Equal(HttpStatusCode.NotFound, latest.StatusCode); + Assert.Equal(HttpStatusCode.NotFound, summary.StatusCode); + Assert.Equal(HttpStatusCode.NotFound, repeated.StatusCode); + } + + [Fact] + public async Task Unauthorised_deletions_preserve_the_observation_and_all_context() + { + var patient = await Patient(); + var original = await Record(patient, "2026-09-12T08:00:00", 128, 82, 68); + var otherPatient = await Patient(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = patient.ToString(); + await fixture.RestartHostsAsync(); + var otherToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, fixture.Authentication.PatientAccounts[otherPatient]); + var professional = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + foreach (var (token, status) in new[] + { + ((string?)null, HttpStatusCode.Unauthorized), ((string?)"invalid", HttpStatusCode.Unauthorized), + ((string?)otherToken, HttpStatusCode.NotFound), ((string?)professional, HttpStatusCode.Forbidden) + }) + { + using var request = new HttpRequestMessage(HttpMethod.Delete, $"/api/observations/{original.ObservationId}"); + if (token is not null) request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + using var rejected = await fixture.RawClient.SendAsync(request); + Assert.Equal(status, rejected.StatusCode); + Assert.Equal(original, await fixture.Client.GetFromJsonAsync($"/api/observations/{original.ObservationId}")); + } + Assert.Equal(original, Assert.Single((await History(patient))!)); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteObservationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteObservationTests.cs new file mode 100644 index 0000000..9592363 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/DeleteObservationTests.cs @@ -0,0 +1,91 @@ +using System.Net; +using System.Net.Http.Json; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class DeleteObservationTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note); + + private async Task CreatePatientAsync() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Deletion Example", dateOfBirth = "1980-01-01" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task RecordAsync(Guid patientId, string measuredAt) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt, systolic = 128, diastolic = 82, pulse = 68, context = "Resting", note = "Before breakfast" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + private Task HistoryAsync(Guid patientId) => + fixture.Client.GetFromJsonAsync( + $"/api/patients/{patientId}/observations?from=2026-09-01T00:00:00&to=2026-09-30T23:59:59"); + + [Fact] + public async Task Deleted_observation_stays_absent_after_restart_and_other_observations_are_preserved() + { + var patientId = await CreatePatientAsync(); + var earlier = await RecordAsync(patientId, "2026-09-10T08:00:00"); + var deleted = await RecordAsync(patientId, "2026-09-12T08:00:00"); + var other = await RecordAsync(await CreatePatientAsync(), "2026-09-13T08:00:00"); + + using var response = await fixture.Client.DeleteAsync($"/api/observations/{deleted.ObservationId}"); + Assert.Equal(HttpStatusCode.NoContent, response.StatusCode); + Assert.Empty(await response.Content.ReadAsStringAsync()); + await fixture.RestartHostsAsync(); + + using var retrieval = await fixture.Client.GetAsync($"/api/observations/{deleted.ObservationId}"); + Assert.Equal(HttpStatusCode.NotFound, retrieval.StatusCode); + Assert.Equal(earlier, Assert.Single((await HistoryAsync(patientId))!)); + Assert.Equal(earlier, await fixture.Client.GetFromJsonAsync($"/api/observations/{earlier.ObservationId}")); + Assert.Equal(earlier, await fixture.Client.GetFromJsonAsync( + $"/api/patients/{patientId}/observations/latest")); + Assert.Equal(other, await fixture.Client.GetFromJsonAsync($"/api/observations/{other.ObservationId}")); + Assert.Equal(other, Assert.Single((await HistoryAsync(other.PatientId))!)); + Assert.Equal(patientId, (await fixture.Client.GetFromJsonAsync($"/api/patients/{patientId}"))!.PatientId); + await using var db = fixture.CreateObservationDbContext(); + Assert.False(await db.Observations.AnyAsync(o => o.ObservationId == deleted.ObservationId)); + } + + [Fact] + public async Task Deleting_the_only_observation_leaves_empty_history_and_no_latest_observation() + { + var patientId = await CreatePatientAsync(); + var observation = await RecordAsync(patientId, "2026-09-12T08:00:00"); + using var response = await fixture.Client.DeleteAsync($"/api/observations/{observation.ObservationId}"); + Assert.Equal(HttpStatusCode.NoContent, response.StatusCode); + Assert.Empty((await HistoryAsync(patientId))!); + using var latest = await fixture.Client.GetAsync($"/api/patients/{patientId}/observations/latest"); + Assert.Equal(HttpStatusCode.NotFound, latest.StatusCode); + using var repeated = await fixture.Client.DeleteAsync($"/api/observations/{observation.ObservationId}"); + Assert.Equal(HttpStatusCode.NotFound, repeated.StatusCode); + } + + [Fact] + public async Task Missing_observation_returns_not_found_without_changing_existing_data() + { + var observation = await RecordAsync(await CreatePatientAsync(), "2026-09-12T08:00:00"); + await using var db = fixture.CreateObservationDbContext(); + var count = await db.Observations.CountAsync(); + using var response = await fixture.Client.DeleteAsync($"/api/observations/{Guid.NewGuid()}"); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Equal(count, await db.Observations.CountAsync()); + Assert.Equal(observation, await fixture.Client.GetFromJsonAsync( + $"/api/observations/{observation.ObservationId}")); + Assert.Equal(observation, Assert.Single((await HistoryAsync(observation.PatientId))!)); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthInsightTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthInsightTests.cs new file mode 100644 index 0000000..3839a86 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthInsightTests.cs @@ -0,0 +1,158 @@ +using System.Net; +using System.Net.Http.Json; +using System.Text.Json; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class HealthInsightTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId); + private sealed record Insight(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, + decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, + int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic); + + private async Task PatientAsync() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { name = "Insight Example", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task RecordAsync(Guid patientId, string time, int systolic, int diastolic, int pulse) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { measuredAt = time, systolic, diastolic, pulse }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.ObservationId; + } + + private string PathFor(Guid patientId, string from = "2026-09-03T00:00:00", string to = "2026-09-08T23:59:59") => + $"/api/patients/{patientId}/insights?from={Uri.EscapeDataString(from)}&to={Uri.EscapeDataString(to)}"; + + private async Task SummaryAsync(Guid patientId) + { + using var response = await fixture.Client.GetAsync(PathFor(patientId)); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + [Fact] + public async Task Averages_use_only_the_requested_patient_and_period_after_restart() + { + var patientId = await PatientAsync(); + await RecordAsync(patientId, "2026-09-03T00:00:00", 120, 80, 60); + await RecordAsync(patientId, "2026-09-08T23:59:59", 130, 84, 70); + await RecordAsync(patientId, "2026-09-01T08:00:00", 200, 100, 90); + await RecordAsync(patientId, "2026-09-10T08:00:00", 210, 110, 95); + await RecordAsync(await PatientAsync(), "2026-09-05T08:00:00", 220, 120, 100); + await fixture.RestartHostsAsync(); + var insight = await SummaryAsync(patientId); + Assert.Equal(patientId, insight.PatientId); + Assert.Equal(new DateTime(2026, 9, 3), insight.PeriodStart); + Assert.Equal(new DateTime(2026, 9, 8, 23, 59, 59), insight.PeriodEnd); + Assert.Equal(125m, insight.AverageSystolic); + Assert.Equal(82m, insight.AverageDiastolic); + Assert.Equal(65m, insight.AveragePulse); + } + + [Fact] + public async Task Minimum_and_maximum_values_are_calculated() + { + var patientId = await PatientAsync(); + await RecordAsync(patientId, "2026-09-04T08:00:00", 118, 76, 61); + await RecordAsync(patientId, "2026-09-05T08:00:00", 130, 84, 70); + await RecordAsync(patientId, "2026-09-06T08:00:00", 124, 80, 66); + var insight = await SummaryAsync(patientId); + Assert.Equal(118, insight.MinSystolic); + Assert.Equal(130, insight.MaxSystolic); + Assert.Equal(76, insight.MinDiastolic); + Assert.Equal(84, insight.MaxDiastolic); + } + + [Fact] + public async Task Fractional_averages_are_preserved_and_recalculated_after_correction_and_deletion() + { + var patientId = await PatientAsync(); + var first = await RecordAsync(patientId, "2026-09-04T08:00:00", 120, 80, 60); + var second = await RecordAsync(patientId, "2026-09-05T08:00:00", 121, 81, 61); + var initial = await SummaryAsync(patientId); + Assert.Equal(120.5m, initial.AverageSystolic); + Assert.Equal(80.5m, initial.AverageDiastolic); + Assert.Equal(60.5m, initial.AveragePulse); + using var updated = await fixture.Client.PutAsJsonAsync($"/api/observations/{second}", + new { systolic = 130, diastolic = 84, pulse = 70 }); + Assert.Equal(HttpStatusCode.OK, updated.StatusCode); + Assert.Equal(125m, (await SummaryAsync(patientId)).AverageSystolic); + using var deleted = await fixture.Client.DeleteAsync($"/api/observations/{second}"); + Assert.Equal(HttpStatusCode.NoContent, deleted.StatusCode); + var single = await SummaryAsync(patientId); + Assert.Equal(120m, single.AverageSystolic); + Assert.Equal(single.MinSystolic, single.MaxSystolic); + using var last = await fixture.Client.DeleteAsync($"/api/observations/{first}"); + Assert.Equal(HttpStatusCode.NoContent, last.StatusCode); + using var empty = await fixture.Client.GetAsync(PathFor(patientId)); + Assert.Equal(HttpStatusCode.NotFound, empty.StatusCode); + } + + [Fact] + public async Task No_matching_observations_reports_insufficient_data() + { + var patientId = await PatientAsync(); + await RecordAsync(patientId, "2026-09-01T08:00:00", 120, 80, 60); + await RecordAsync(await PatientAsync(), "2026-09-05T08:00:00", 130, 84, 70); + using var response = await fixture.Client.GetAsync(PathFor(patientId)); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.Equal("Insufficient observation data for calculation.", problem.RootElement.GetProperty("title").GetString()); + } + + [Theory] + [InlineData("from=2026-09-08T00:00:00&to=2026-09-03T00:00:00")] + [InlineData("from=invalid&to=2026-09-08T00:00:00")] + [InlineData("from=2026-09-03T00:00:00&to=invalid")] + [InlineData("from=2026-09-03T00:00:00")] + [InlineData("to=2026-09-08T00:00:00")] + [InlineData("")] + public async Task Invalid_or_missing_period_is_rejected(string query) + { + var patientId = await PatientAsync(); + using var response = await fixture.Client.GetAsync($"/api/patients/{patientId}/insights?{query}"); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + } + + [Fact] + public async Task Equal_bounds_and_offsets_match_recording_timestamp_semantics() + { + var patientId = await PatientAsync(); + await RecordAsync(patientId, "2026-09-05T10:00:00+02:00", 120, 80, 60); + using var response = await fixture.Client.GetAsync(PathFor(patientId, + "2026-09-05T10:00:00+02:00", "2026-09-05T08:00:00Z")); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var insight = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(120m, insight.AverageSystolic); + Assert.Equal(insight.PeriodStart, insight.PeriodEnd); + } + + [Fact] + public async Task Unavailable_observations_report_failure_instead_of_insufficient_data() + { + var patientId = await PatientAsync(); + await RecordAsync(patientId, "2026-09-05T08:00:00", 120, 80, 60); + await fixture.StopObservationServiceAsync(); + try + { + using var response = await fixture.Client.GetAsync(PathFor(patientId)); + Assert.Equal(HttpStatusCode.BadGateway, response.StatusCode); + } + finally + { + await fixture.RestartHostsAsync(); + } + Assert.Equal(120m, (await SummaryAsync(patientId)).AverageSystolic); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthOverviewTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthOverviewTests.cs new file mode 100644 index 0000000..aa71a6b --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthOverviewTests.cs @@ -0,0 +1,249 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using HealthApp.TestSupport; +using HealthOverviewService.Contracts; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class HealthOverviewTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Recorded(Guid ObservationId); + private const string Period = "from=2026-09-01T08%3A00%3A00&to=2026-09-10T08%3A00%3A00"; + private static string PathFor(Guid patient, string query = Period) => $"/api/patients/{patient}/overview?{query}"; + private async Task Patient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { name = "Overview patient", dateOfBirth = "1980-01-01", contactInfo = "Synthetic contact" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + private async Task Record(Guid patient, string time, int systolic = 120, + string? setting = "Home", string? activity = "AtRest") + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patient}/observations", new + { + measuredAt = time, systolic, diastolic = 80, pulse = 65, context = "Preserved original context", note = "Preserved note", + measurementContext = new { setting, activityCondition = activity, restDurationMinutes = 5, + bodyPosition = "Seated", measuredArm = "Left", deviceDetails = "Device", cuffDetails = "Cuff", additionalCircumstances = "Morning" } + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.ObservationId; + } + private async Task Overview(Guid patient, string query = Period) + { + using var response = await fixture.Client.GetAsync(PathFor(patient, query)); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + [Fact] + public async Task Overview_preserves_profile_latest_context_and_selected_insight_with_different_bases() + { + var patient = await Patient(); + await Record(patient, "2026-09-01T08:00:00", 120); + await Record(patient, "2026-09-10T08:00:00", 130); + await Record(patient, "2026-09-01T07:59:59", 200); + var latest = await Record(patient, "2026-09-11T08:00:00", 210, "Clinic", "AfterActivity"); + await Record(await Patient(), "2026-09-05T08:00:00", 250); + var result = await Overview(patient, Period + "&setting=Home&activityCondition=AtRest"); + Assert.Equal(patient, result.Patient.PatientId); + Assert.Equal("Overview patient", result.Patient.Name); + Assert.Equal(new DateOnly(1980, 1, 1), result.Patient.DateOfBirth); + Assert.Equal("Synthetic contact", result.Patient.ContactInfo); + Assert.Equal(latest, result.LatestObservation!.ObservationId); + Assert.Equal("AfterActivity", result.LatestObservation.MeasurementContext.ActivityCondition); + Assert.Equal("Clinic", result.LatestObservation.MeasurementContext.Setting); + Assert.Equal("Seated", result.LatestObservation.MeasurementContext.BodyPosition); + Assert.Equal("Left", result.LatestObservation.MeasurementContext.MeasuredArm); + Assert.Equal("Device", result.LatestObservation.MeasurementContext.DeviceDetails); + Assert.Equal("Cuff", result.LatestObservation.MeasurementContext.CuffDetails); + Assert.Equal(5m, result.LatestObservation.MeasurementContext.RestDurationMinutes); + Assert.Equal("Morning", result.LatestObservation.MeasurementContext.AdditionalCircumstances); + Assert.Equal("Preserved original context", result.LatestObservation.Context); + Assert.Equal("Preserved note", result.LatestObservation.Note); + Assert.Equal(125m, result.Insight!.AverageSystolic); + Assert.Equal(2, result.InsightContributingCount); + Assert.Equal(result.InsightSelection, result.Insight.AppliedSelection); + Assert.Equal("Home", result.InsightSelection.Setting); + Assert.Equal("AtRest", result.InsightSelection.ActivityCondition); + Assert.Equal(new DateTime(2026, 9, 1, 8, 0, 0), result.PeriodStart); + Assert.Equal(new DateTime(2026, 9, 10, 8, 0, 0), result.PeriodEnd); + Assert.Contains("independent of the insight period and context selections", result.LatestObservationBasis); + Assert.Contains("not to the insight", result.LatestObservationBasis); + using var raw = await fixture.Client.GetAsync(PathFor(patient)); + using var json = JsonDocument.Parse(await raw.Content.ReadAsStringAsync()); + Assert.False(json.RootElement.TryGetProperty("trend", out _)); + } + + [Fact] + public async Task No_observations_returns_profile_and_explicit_insight_absence() + { + var result = await Overview(await Patient()); + Assert.NotNull(result.Patient); + Assert.Null(result.LatestObservation); + Assert.Null(result.Insight); + Assert.Equal(0, result.InsightContributingCount); + Assert.Contains("No calculated insight is available", result.InsightExplanation); + } + + [Theory] + [InlineData("&setting=Clinic")] + [InlineData("&activityCondition=AfterActivity")] + [InlineData("&setting=Unknown&activityCondition=Unknown")] + public async Task Empty_selected_insight_preserves_profile_latest_and_applied_selection(string selection) + { + var patient = await Patient(); + var latest = await Record(patient, "2026-09-05T08:00:00"); + var result = await Overview(patient, Period + selection); + Assert.Equal(patient, result.Patient.PatientId); + Assert.Equal(latest, result.LatestObservation!.ObservationId); + Assert.Null(result.Insight); + Assert.Equal(0, result.InsightContributingCount); + Assert.Contains("no observations match", result.InsightExplanation); + Assert.True(result.InsightSelection.Setting is not null || result.InsightSelection.ActivityCondition is not null); + } + + [Fact] + public async Task Unfiltered_pooled_insight_preserves_mixed_and_unknown_context_explanations() + { + var patient = await Patient(); + await Record(patient, "2026-09-02T08:00:00", 120); + await Record(patient, "2026-09-03T08:00:00", 130, "Clinic", "AfterActivity"); + var latest = await Record(patient, "2026-09-04T08:00:00", 140, null, null); + var result = await Overview(patient); + Assert.Equal(latest, result.LatestObservation!.ObservationId); + Assert.Equal("Unknown", result.LatestObservation.MeasurementContext.Setting); + Assert.Equal("Unknown", result.LatestObservation.MeasurementContext.ActivityCondition); + Assert.Null(result.InsightSelection.Setting); + Assert.Null(result.InsightSelection.ActivityCondition); + Assert.Equal(3, result.InsightContributingCount); + Assert.Equal(130m, result.Insight!.AverageSystolic); + Assert.Contains("mixed settings or activity conditions", result.Insight.ContextExplanation); + Assert.Contains("unknown", result.InsightExplanation); + } + + [Fact] + public async Task Equal_offset_instants_are_valid_and_single_observation_insight_is_sufficient() + { + var patient = await Patient(); + await Record(patient, "2026-09-05T10:00:00+02:00", 121); + var result = await Overview(patient, + "from=2026-09-05T10%3A00%3A00%2B02%3A00&to=2026-09-05T08%3A00%3A00Z&setting=Home"); + Assert.Equal(result.PeriodStart, result.PeriodEnd); + Assert.Equal(1, result.InsightContributingCount); + Assert.Equal(121m, result.Insight!.AverageSystolic); + } + + [Fact] + public async Task Latest_tie_rules_and_current_corrections_deletions_and_profile_edits_survive_restart() + { + var patient = await Patient(); + var first = await Record(patient, "2026-09-05T08:00:00", 120); + var second = await Record(patient, "2026-09-05T08:00:00", 130, "Clinic", "AfterActivity"); + Assert.Equal(second, (await Overview(patient)).LatestObservation!.ObservationId); + using var patched = await fixture.Client.PatchAsJsonAsync($"/api/observations/{first}", + new { systolic = 140, measurementContext = new { setting = "Clinic" } }); + Assert.Equal(HttpStatusCode.OK, patched.StatusCode); + Assert.Null((await Overview(patient, Period + "&setting=Home")).Insight); + Assert.Equal(second, (await Overview(patient)).LatestObservation!.ObservationId); + using var edited = await fixture.Client.PutAsJsonAsync($"/api/patients/{patient}", + new { name = "Updated overview", dateOfBirth = "1980-01-01", contactInfo = "Updated contact" }); + Assert.Equal(HttpStatusCode.OK, edited.StatusCode); + using var deleted = await fixture.Client.DeleteAsync($"/api/observations/{second}"); + Assert.Equal(HttpStatusCode.NoContent, deleted.StatusCode); + await fixture.RestartHostsAsync(); + var result = await Overview(patient); + Assert.Equal("Updated overview", result.Patient.Name); + Assert.Equal(first, result.LatestObservation!.ObservationId); + Assert.Equal(140m, result.Insight!.AverageSystolic); + Assert.Equal(1, result.InsightContributingCount); + } + + [Theory] + [InlineData("from=2026-09-10&to=2026-09-01")] + [InlineData("from=bad&to=2026-09-10")] + [InlineData("from=2026-09-01&to=bad")] + [InlineData("from=2026-09-01")] + [InlineData("to=2026-09-10")] + [InlineData("")] + [InlineData(Period + "&setting=Invalid")] + [InlineData(Period + "&activityCondition=Invalid")] + public async Task Invalid_period_or_context_is_rejected_with_details(string query) + { + using var response = await fixture.Client.GetAsync(PathFor(await Patient(), query)); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + } + + [Fact] + public async Task Assigned_missing_patient_reports_absence_without_exposing_other_patients() + { + var missing = Guid.NewGuid(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = missing.ToString(); + await fixture.RestartHostsAsync(); + using var request = new HttpRequestMessage(HttpMethod.Get, PathFor(missing)); + request.Headers.Authorization = new("Bearer", await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional")); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Contains("Patient does not exist", await response.Content.ReadAsStringAsync()); + } + + [Fact] + public async Task Overview_requires_owner_or_assigned_professional_and_blocks_direct_bypass() + { + var patient = await Patient(); + await Record(patient, "2026-09-05T08:00:00"); + var other = await Patient(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = patient.ToString(); + await fixture.RestartHostsAsync(); + using var anonymous = await fixture.RawClient.GetAsync(PathFor(patient)); + Assert.Equal(HttpStatusCode.Unauthorized, anonymous.StatusCode); + foreach (var (account, status) in new[] { ("professional", HttpStatusCode.OK), + ("professional-empty", HttpStatusCode.NotFound), (fixture.Authentication.PatientAccounts[other], HttpStatusCode.NotFound) }) + { + using var request = new HttpRequestMessage(HttpMethod.Get, PathFor(patient)); + request.Headers.Authorization = new("Bearer", await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account)); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(status, response.StatusCode); + if (status != HttpStatusCode.OK) Assert.Empty(await response.Content.ReadAsStringAsync()); + } + using var direct = fixture.CreateDirectOverviewClient(); + using var bypass = await direct.GetAsync(PathFor(patient)); + Assert.Equal(HttpStatusCode.Unauthorized, bypass.StatusCode); + Assert.Empty(await bypass.Content.ReadAsStringAsync()); + } + + [Theory] + [InlineData("overview")] + [InlineData("trends")] + [InlineData("observations")] + public async Task Overview_service_credential_is_restricted_to_required_reads(string route) + { + using var request = new HttpRequestMessage(HttpMethod.Get, $"/api/patients/{await Patient()}/{route}?{Period}"); + request.Headers.Add("X-Service-Key", fixture.Authentication.OverviewServiceKey); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); + } + + [Theory] + [InlineData("Observation")] + [InlineData("Insights")] + [InlineData("Overview")] + public async Task Unavailable_source_or_overview_is_a_failure_not_absent_insight(string service) + { + var patient = await Patient(); + if (service == "Observation") await fixture.StopObservationServiceAsync(); + if (service == "Insights") await fixture.StopInsightsServiceAsync(); + if (service == "Overview") await fixture.StopOverviewServiceAsync(); + try + { + using var response = await fixture.Client.GetAsync(PathFor(patient)); + Assert.Equal(HttpStatusCode.BadGateway, response.StatusCode); + } + finally { await fixture.RestartHostsAsync(); } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthTrendTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthTrendTests.cs new file mode 100644 index 0000000..7a5076a --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/HealthTrendTests.cs @@ -0,0 +1,415 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using HealthApp.TestSupport; +using InsightsService.Contracts; +using InsightsService.Domain; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class HealthTrendCalculationTests +{ + private static readonly Guid PatientId = Guid.NewGuid(); + private static readonly DateTime Start = new(2026, 9, 1); + private static readonly MeasurementContextDto Prepared = new("Home", "AtRest", 5, "Seated", "Left", "Device A", "Adult cuff", null); + private static ObservationDto Observation(int day, int systolic, int diastolic = 90, int pulse = 70, + MeasurementContextDto? context = null, string? text = null) => + new(Guid.NewGuid(), PatientId, Start.AddDays(day), systolic, diastolic, pulse, context ?? Prepared, text); + private static TrendAssessment Calculate(params ObservationDto[] observations) => + new InsightCalculator().CalculateTrend(PatientId, Start, Start.AddDays(10), observations, new() { Setting = "Home", ActivityCondition = "AtRest" }); + + [Theory] + [InlineData(140, 150, 160, "Increasing")] + [InlineData(160, 150, 140, "Decreasing")] + [InlineData(150, 150, 150, "NoClearDirection")] + public void Full_period_direction_and_separate_units_and_levels(int first, int middle, int last, string direction) + { + var result = Calculate(Observation(0, first, 95, 65), Observation(1, middle, 90, 70), Observation(2, last, 85, 75)); + Assert.Equal(direction, result.Systolic.Direction); + Assert.Equal(direction, result.Systolic.OverallDirection); + Assert.Equal("Decreasing", result.Diastolic.Direction); + Assert.Equal("Increasing", result.Pulse.Direction); + Assert.Equal("mmHg", result.Systolic.Unit); + Assert.Equal("mmHg", result.Diastolic.Unit); + Assert.Equal("beats/min", result.Pulse.Unit); + Assert.Equal(150m, result.Systolic.Mean); + Assert.Equal(90m, result.Diastolic.Mean); + Assert.Equal(70m, result.Pulse.Mean); + Assert.Equal("SupportedRecordedComparability", result.Comparability.Status); + Assert.Contains("rest duration: 5", result.Comparability.KnownSimilarities); + } + + [Fact] + public void Equal_endpoints_do_not_hide_intermediate_excursion_or_reversal() + { + var result = Calculate(Observation(0, 140), Observation(1, 190), Observation(2, 140)); + Assert.Equal("Mixed", result.Systolic.Direction); + Assert.Equal("NoClearDirection", result.Systolic.OverallDirection); + Assert.Equal(1, result.Systolic.ReversalCount); + Assert.Equal(50, result.Systolic.Range); + Assert.Equal(100m, result.Systolic.TotalSuccessiveChange); + Assert.Equal("Mixed", result.Systolic.Interpretation); + Assert.Contains("no clinical stability classification", result.Systolic.NumericalExplanation); + } + + [Fact] + public void Overall_decrease_can_coexist_with_reversals_and_large_variation() + { + var result = Calculate(Observation(0, 180), Observation(1, 160), Observation(2, 170), Observation(3, 140)); + Assert.Equal("Mixed", result.Systolic.Direction); + Assert.Equal("Decreasing", result.Systolic.OverallDirection); + Assert.Equal(2, result.Systolic.ReversalCount); + Assert.Equal(60m, result.Systolic.TotalSuccessiveChange); + Assert.True(result.Systolic.SlopePerDay < 0); + } + + [Fact] + public void Low_variation_outside_reference_is_not_healthy() + { + var result = Calculate(Observation(0, 155), Observation(1, 155), Observation(2, 155)); + Assert.Equal(0, result.Systolic.Range); + Assert.Equal("PotentiallyConcerning", result.Systolic.Interpretation); + Assert.Contains("3 observation(s) >= 135", result.Systolic.ReferenceComparison); + Assert.Contains("Limited variation does not establish healthy", result.Systolic.Hint); + } + + [Fact] + public void Favourable_pressure_decrease_can_still_be_high_while_falling_pulse_is_concerning() + { + var result = Calculate(Observation(0, 160, 85, 70), Observation(1, 150, 90, 55), Observation(2, 140, 95, 40)); + Assert.Equal("PotentiallyFavourable", result.Systolic.Interpretation); + Assert.Contains("remains above or at", result.Systolic.Hint); + Assert.Equal("PotentiallyConcerning", result.Diastolic.Interpretation); + Assert.Equal("PotentiallyConcerning", result.Pulse.Interpretation); + Assert.Contains("not automatically favourable", result.Pulse.Hint); + Assert.Equal(50m, result.Pulse.Reference!.LowerBoundary); + Assert.Equal(100m, result.Pulse.Reference.UpperBoundary); + } + + [Fact] + public void Moving_low_pulse_up_or_high_pulse_down_is_not_automatically_concerning() + { + Assert.Equal("PotentiallyFavourable", Calculate(Observation(0, 120, pulse: 40), Observation(1, 120, pulse: 55)).Pulse.Interpretation); + Assert.Equal("PotentiallyFavourable", Calculate(Observation(0, 120, pulse: 120), Observation(1, 120, pulse: 105)).Pulse.Interpretation); + Assert.Equal("CannotInterpret", Calculate(Observation(0, 120), Observation(1, 110)).Systolic.Interpretation); + } + + [Fact] + public void Opposite_pulse_excursions_within_timestamp_ties_are_not_hidden_by_their_mean() + { + var result = Calculate(Observation(0, 120, pulse: 30), Observation(0, 120, pulse: 210), + Observation(1, 120, pulse: 105)); + Assert.Equal("Decreasing", result.Pulse.Direction); + Assert.Equal(180, result.Pulse.Range); + Assert.Equal("PotentiallyConcerning", result.Pulse.Interpretation); + Assert.Contains("1 observation(s) < 50", result.Pulse.ReferenceComparison); + } + + [Theory] + [InlineData("Home", 135, 85)] + [InlineData("Clinic", 140, 90)] + public void References_are_setting_specific_sourced_and_not_treatment_targets(string setting, int systolic, int diastolic) + { + var context = Prepared with { Setting = setting }; + var result = Calculate(Observation(0, 138, context: context), Observation(1, 138, context: context)); + Assert.Equal(systolic, result.Systolic.Reference!.UpperBoundary); + Assert.Equal(diastolic, result.Diastolic.Reference!.UpperBoundary); + Assert.Equal(">=", result.Systolic.Reference.UpperComparison); + Assert.Contains("sundhed.dk", result.Systolic.Reference.Sources.Single().Url); + Assert.Contains("not individual treatment targets", result.Systolic.Hint); + } + + [Theory] + [InlineData(50, 0)] + [InlineData(100, 0)] + [InlineData(49, 2)] + [InlineData(101, 2)] + public void Pulse_reference_boundaries_are_exclusive(int pulse, int outsideCount) + { + var result = Calculate(Observation(0, 120, pulse: pulse), Observation(1, 120, pulse: pulse)); + Assert.Contains($"{(pulse > 100 ? outsideCount : 0)} observation(s) > 100", result.Pulse.ReferenceComparison); + Assert.Contains($"{(pulse < 50 ? outsideCount : 0)} observation(s) < 50", result.Pulse.ReferenceComparison); + } + + [Fact] + public void Missing_context_preserves_numerical_direction_but_not_resting_interpretation() + { + var unknown = new MeasurementContextDto("Unknown", "Unknown", null, null, null, null, null, null); + var result = Calculate(Observation(0, 150, context: unknown), Observation(1, 160, context: unknown)); + Assert.Equal("Increasing", result.Systolic.Direction); + Assert.Equal(10, result.Systolic.Range); + Assert.Null(result.Systolic.Reference); + Assert.Null(result.Pulse.Reference); + Assert.Equal("CannotInterpret", result.Systolic.Interpretation); + Assert.Contains("setting", result.Comparability.MissingDetails); + } + + [Fact] + public void Known_categories_with_missing_preparation_support_limited_reference_comparison() + { + var limited = new MeasurementContextDto("Home", "AtRest", null, null, null, null, null, null); + var result = Calculate(Observation(0, 150, context: limited), Observation(1, 160, context: limited)); + Assert.Equal("InsufficientContext", result.Comparability.Status); + Assert.Contains("setting: Home", result.Comparability.KnownSimilarities); + Assert.Contains("rest duration", result.Comparability.MissingDetails); + Assert.NotNull(result.Systolic.Reference); + Assert.Contains("provisional", result.Systolic.ReferenceComparison); + Assert.Contains("limited reference comparison", result.Systolic.Hint); + Assert.Equal("CannotInterpret", result.Systolic.Interpretation); + } + + [Fact] + public void Missing_optional_circumstances_do_not_block_supported_comparison() + { + var result = Calculate(Observation(0, 150), Observation(1, 160)); + Assert.NotNull(result.Systolic.Reference); + Assert.Equal("PotentiallyConcerning", result.Systolic.Interpretation); + Assert.Equal("SupportedRecordedComparability", result.Comparability.Status); + } + + [Theory] + [InlineData("during exercise")] + [InlineData("after activity")] + [InlineData("under træning")] + public void Conflicting_rest_narrative_withholds_resting_interpretation(string narrative) + { + var result = Calculate(Observation(0, 150, text: narrative), Observation(1, 160)); + Assert.Equal("ConflictingContext", result.Comparability.Status); + Assert.Contains(result.Comparability.Conflicts, s => s.Contains("AtRest")); + Assert.Null(result.Systolic.Reference); + Assert.Null(result.Pulse.Reference); + Assert.Equal("Increasing", result.Systolic.Direction); + } + + [Fact] + public void Different_conditions_and_preparation_are_visible_and_limit_combined_trajectory() + { + var result = Calculate(Observation(0, 150), Observation(1, 160, context: Prepared with + { ActivityCondition = "AfterActivity", BodyPosition = "Standing" })); + Assert.Equal("KnownDifferences", result.Comparability.Status); + Assert.Contains(result.Comparability.KnownDifferences, s => s.Contains("activity condition")); + Assert.Contains(result.Comparability.KnownDifferences, s => s.Contains("body position")); + Assert.Null(result.Systolic.Reference); + Assert.Equal("CannotInterpret", result.Systolic.Interpretation); + } + + [Fact] + public void Known_inadequate_pressure_preparation_does_not_block_resting_pulse_reference() + { + var result = Calculate(Observation(0, 150, context: Prepared with { RestDurationMinutes = 1 }), Observation(1, 160)); + Assert.Null(result.Systolic.Reference); + Assert.NotNull(result.Pulse.Reference); + Assert.Contains(result.Comparability.KnownDifferences, s => s.Contains("five-minute")); + var standing = Calculate(Observation(0, 150, context: Prepared with { BodyPosition = "Standing" }), + Observation(1, 160, context: Prepared with { BodyPosition = "Standing" })); + Assert.Null(standing.Systolic.Reference); + } + + [Fact] + public void Timestamp_ties_do_not_manufacture_direction_or_hide_descriptive_range() + { + var result = Calculate(Observation(1, 140), Observation(1, 180)); + Assert.Equal("Unavailable", result.Systolic.Direction); + Assert.Null(result.Systolic.SlopePerDay); + Assert.Equal(160m, result.Systolic.Mean); + Assert.Equal(40, result.Systolic.Range); + Assert.NotNull(result.Systolic.Reference); + Assert.Equal("CannotInterpret", result.Systolic.Interpretation); + } + + [Fact] + public void Empty_and_single_series_report_each_unavailable_part() + { + var empty = Calculate(); + Assert.Equal(0, empty.ContributingCount); + Assert.Null(empty.Systolic.Mean); + Assert.Equal("Unavailable", empty.Systolic.Direction); + Assert.Contains("No matching observations", empty.Systolic.NumericalExplanation); + var single = Calculate(Observation(0, 140)); + Assert.Equal(140m, single.Systolic.Mean); + Assert.Equal("Unavailable", single.Systolic.Direction); + Assert.Equal("Unavailable", single.Systolic.OverallDirection); + } + + [Fact] + public void Retrieval_and_identifier_order_do_not_change_results_including_ties() + { + var series = new[] { Observation(0, 140), Observation(0, 180), Observation(1, 150), Observation(2, 140) }; + Assert.Equal(JsonSerializer.Serialize(Calculate(series)), JsonSerializer.Serialize(Calculate(series.Reverse() + .Select(o => o with { ObservationId = Guid.NewGuid() }).ToArray()))); + Assert.Equal("Decreasing", Calculate(series).Systolic.Direction); + } +} + +public sealed class HealthTrendTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Recorded(Guid ObservationId); + private const string Period = "from=2026-09-01T08%3A00%3A00&to=2026-09-10T08%3A00%3A00"; + private static string PathFor(Guid patient, string selection = "", string period = Period) => + $"/api/patients/{patient}/trends?{period}{selection}"; + private async Task Patient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Health trend", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + private async Task Record(Guid patient, int systolic, string time = "2026-09-05T08:00:00", + string? setting = "Home", string? activity = "AtRest") + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patient}/observations", new + { + measuredAt = time, systolic, diastolic = 85, pulse = 70, + measurementContext = new { setting, activityCondition = activity, restDurationMinutes = 5, + bodyPosition = "Seated", measuredArm = "Left", deviceDetails = "Device A", cuffDetails = "Adult cuff" } + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.ObservationId; + } + private async Task Trend(Guid patient, string selection = "", string period = Period) + { + using var response = await fixture.Client.GetAsync(PathFor(patient, selection, period)); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + [Fact] + public async Task Inclusive_patient_period_and_equal_offset_instants_apply_before_sufficiency() + { + var patient = await Patient(); + await Record(patient, 150, "2026-09-01T08:00:00"); + await Record(patient, 160, "2026-09-10T08:00:00"); + await Record(patient, 250, "2026-09-01T07:59:59"); + await Record(patient, 250, "2026-09-10T08:00:01"); + await Record(await Patient(), 250); + var result = await Trend(patient); + Assert.Equal(patient, result.PatientId); + Assert.Equal(new DateTime(2026, 9, 1, 8, 0, 0), result.PeriodStart); + Assert.Equal(new DateTime(2026, 9, 10, 8, 0, 0), result.PeriodEnd); + Assert.Equal(2, result.ContributingCount); + Assert.Equal(155m, result.Systolic.Mean); + Assert.Equal("Increasing", result.Systolic.Direction); + var equal = await Trend(patient, period: "from=2026-09-01T10%3A00%3A00%2B02%3A00&to=2026-09-01T08%3A00%3A00Z"); + Assert.Equal(equal.PeriodStart, equal.PeriodEnd); + Assert.Equal(1, equal.ContributingCount); + Assert.Equal("Unavailable", equal.Systolic.Direction); + } + + [Fact] + public async Task Labelled_home_and_clinic_selections_and_independent_dimensions_use_only_matches() + { + var patient = await Patient(); + await Record(patient, 150, "2026-09-02T08:00:00"); + await Record(patient, 145, "2026-09-03T08:00:00"); + await Record(patient, 160, "2026-09-02T08:00:00", "Clinic"); + await Record(patient, 155, "2026-09-03T08:00:00", "Clinic"); + await Record(patient, 200, activity: "AfterActivity"); + var home = await Trend(patient, "&setting=Home&activityCondition=AtRest"); + var clinic = await Trend(patient, "&setting=Clinic&activityCondition=AtRest"); + Assert.Equal(new ContextSelection { Setting = "Home", ActivityCondition = "AtRest" }, home.AppliedSelection); + Assert.Equal(new ContextSelection { Setting = "Clinic", ActivityCondition = "AtRest" }, clinic.AppliedSelection); + Assert.Equal(2, home.ContributingCount); + Assert.Equal(2, clinic.ContributingCount); + Assert.Equal(135m, home.Systolic.Reference!.UpperBoundary); + Assert.Equal(140m, clinic.Systolic.Reference!.UpperBoundary); + Assert.Contains("alone is not improvement or deterioration", home.Comparability.Explanation); + Assert.Equal(3, (await Trend(patient, "&setting=Home")).ContributingCount); + Assert.Equal(4, (await Trend(patient, "&activityCondition=AtRest")).ContributingCount); + Assert.Equal("KnownDifferences", (await Trend(patient)).Comparability.Status); + } + + [Fact] + public async Task Unknown_empty_and_one_selected_observation_do_not_borrow_excluded_data() + { + var patient = await Patient(); + await Record(patient, 150, "2026-09-02T08:00:00"); + await Record(patient, 160, "2026-09-03T08:00:00"); + await Record(patient, 180, setting: null, activity: null); + var unknown = await Trend(patient, "&setting=Unknown&activityCondition=Unknown"); + Assert.Equal(1, unknown.ContributingCount); + Assert.Equal("Unavailable", unknown.Systolic.Direction); + Assert.Equal(180m, unknown.Systolic.Mean); + Assert.Null(unknown.Systolic.Reference); + var empty = await Trend(patient, "&setting=Clinic"); + Assert.Equal(0, empty.ContributingCount); + Assert.Contains("No matching observations", empty.Pulse.NumericalExplanation); + } + + [Fact] + public async Task Corrected_values_context_and_deletions_are_used_on_every_request_after_restart() + { + var patient = await Patient(); + var first = await Record(patient, 150, "2026-09-02T08:00:00"); + var second = await Record(patient, 160, "2026-09-03T08:00:00"); + Assert.Equal("Increasing", (await Trend(patient)).Systolic.Direction); + using var corrected = await fixture.Client.PatchAsJsonAsync($"/api/observations/{second}", new { systolic = 140 }); + Assert.Equal(HttpStatusCode.OK, corrected.StatusCode); + Assert.Equal("Decreasing", (await Trend(patient)).Systolic.Direction); + using var context = await fixture.Client.PatchAsJsonAsync($"/api/observations/{second}", + new { measurementContext = new { activityCondition = "AfterActivity" } }); + Assert.Equal(HttpStatusCode.OK, context.StatusCode); + var selected = await Trend(patient, "&activityCondition=AtRest"); + Assert.Equal(1, selected.ContributingCount); + Assert.Equal("Unavailable", selected.Systolic.Direction); + Assert.Null((await Trend(patient)).Systolic.Reference); + using var deleted = await fixture.Client.DeleteAsync($"/api/observations/{second}"); + Assert.Equal(HttpStatusCode.NoContent, deleted.StatusCode); + await fixture.RestartHostsAsync(); + Assert.Equal(150m, (await Trend(patient)).Systolic.Mean); + using var last = await fixture.Client.DeleteAsync($"/api/observations/{first}"); + Assert.Equal(HttpStatusCode.NoContent, last.StatusCode); + Assert.Equal(0, (await Trend(patient)).ContributingCount); + } + + [Theory] + [InlineData("from=2026-09-10&to=2026-09-01")] + [InlineData("from=bad&to=2026-09-10")] + [InlineData("from=2026-09-01")] + [InlineData("to=2026-09-10")] + [InlineData("")] + [InlineData(Period + "&setting=Invalid")] + [InlineData(Period + "&activityCondition=Invalid")] + public async Task Invalid_period_or_selection_is_rejected_with_explanation(string period) + { + using var response = await fixture.Client.GetAsync(PathFor(await Patient(), period: period)); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + } + + [Fact] + public async Task Trend_access_requires_authentication_ownership_or_professional_assignment() + { + var patient = await Patient(); + await Record(patient, 150); + var other = await Patient(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = patient.ToString(); + await fixture.RestartHostsAsync(); + using var anonymous = await fixture.RawClient.GetAsync(PathFor(patient)); + Assert.Equal(HttpStatusCode.Unauthorized, anonymous.StatusCode); + foreach (var (account, status) in new[] { ("professional", HttpStatusCode.OK), + ("professional-empty", HttpStatusCode.NotFound), (fixture.Authentication.PatientAccounts[other], HttpStatusCode.NotFound) }) + { + using var request = new HttpRequestMessage(HttpMethod.Get, PathFor(patient)); + request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account)); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(status, response.StatusCode); + if (status != HttpStatusCode.OK) Assert.Empty(await response.Content.ReadAsStringAsync()); + } + } + + [Fact] + public async Task Upstream_failure_is_not_misreported_as_empty_data() + { + var patient = await Patient(); + await fixture.StopObservationServiceAsync(); + try + { + using var response = await fixture.Client.GetAsync(PathFor(patient)); + Assert.Equal(HttpStatusCode.BadGateway, response.StatusCode); + } + finally { await fixture.RestartHostsAsync(); } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/LatestObservationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/LatestObservationTests.cs new file mode 100644 index 0000000..a171d18 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/LatestObservationTests.cs @@ -0,0 +1,157 @@ +using System.Net; +using Microsoft.EntityFrameworkCore; +using ObservationService.Domain; +using System.Net.Http.Json; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class LatestObservationTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record ContextData(string Setting, string ActivityCondition, decimal? RestDurationMinutes, string? BodyPosition); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, ContextData MeasurementContext); + + private async Task CreatePatientAsync() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Latest Example", dateOfBirth = "1980-01-01" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task RecordAsync(Guid patientId, string measuredAt, int systolic, int diastolic, int pulse) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt, systolic, diastolic, pulse, context = "Resting", note = "Before breakfast" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + [Fact] + public async Task Latest_is_selected_by_measurement_time_for_the_requested_patient_after_restart() + { + var patientId = await CreatePatientAsync(); + await RecordAsync(patientId, "2026-09-10T08:00:00", 130, 84, 70); + var latest = await RecordAsync(patientId, "2026-09-12T08:00:00", 126, 80, 66); + await RecordAsync(patientId, "2026-09-11T08:00:00", 128, 82, 68); + var otherPatientId = await CreatePatientAsync(); + var otherLatest = await RecordAsync(otherPatientId, "2026-09-13T08:00:00", 140, 90, 75); + + await fixture.RestartHostsAsync(); + + Assert.Equal(latest, await fixture.Client.GetFromJsonAsync( + $"/api/patients/{patientId}/observations/latest")); + Assert.Equal(otherLatest, await fixture.Client.GetFromJsonAsync( + $"/api/patients/{otherPatientId}/observations/latest")); + } + + [Fact] + public async Task Patient_without_observations_returns_not_found_even_when_another_patient_has_observations() + { + var patientId = await CreatePatientAsync(); + await RecordAsync(await CreatePatientAsync(), "2026-09-12T08:00:00", 128, 82, 68); + + using var response = await fixture.Client.GetAsync($"/api/patients/{patientId}/observations/latest"); + + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.DoesNotContain("observationId", await response.Content.ReadAsStringAsync()); + } + private async Task<(Guid OlderId, Guid NewerId)> SeedPair(Guid patientId, DateTime olderMeasured, + DateTime newerMeasured, DateTime olderRecorded, DateTime newerRecorded, + MeasurementContext olderContext, MeasurementContext newerContext) + { + // Make the older observation's identifier greater, so it cannot mask the recording-time rule. + var prefix = Guid.NewGuid().ToString("N")[..24]; + var olderId = Guid.ParseExact(prefix + "ffffffff", "N"); + var newerId = Guid.ParseExact(prefix + "00000001", "N"); + await using var db = fixture.CreateObservationDbContext(); + db.Observations.AddRange( + new BloodPressureObservation + { + ObservationId = newerId, PatientId = patientId, MeasuredAt = newerMeasured, + Systolic = 126, Diastolic = 80, Pulse = 66, MeasurementContext = newerContext, + CreatedAt = newerRecorded, UpdatedAt = newerRecorded + }, + new BloodPressureObservation + { + ObservationId = olderId, PatientId = patientId, MeasuredAt = olderMeasured, + Systolic = 130, Diastolic = 84, Pulse = 70, MeasurementContext = olderContext, + CreatedAt = olderRecorded, UpdatedAt = olderRecorded + }); + await db.SaveChangesAsync(); + return (olderId, newerId); + } + + private Task Latest(Guid patientId) => + fixture.Client.GetFromJsonAsync($"/api/patients/{patientId}/observations/latest"); + + [Fact] + public async Task Newer_after_activity_observation_is_returned_with_its_own_context() + { + var patient = await CreatePatientAsync(); + var time = new DateTime(2026, 9, 12, 8, 0, 0); + var pair = await SeedPair(patient, time.AddDays(-1), time, time.AddHours(2), time.AddHours(1), + new MeasurementContext { Setting = "Home", ActivityCondition = "AtRest", RestDurationMinutes = 5 }, + new MeasurementContext { Setting = "Clinic", ActivityCondition = "AfterActivity", BodyPosition = "Standing" }); + var latest = (await Latest(patient))!; + Assert.Equal(pair.NewerId, latest.ObservationId); + Assert.Equal(new ContextData("Clinic", "AfterActivity", null, "Standing"), latest.MeasurementContext); + } + + [Fact] + public async Task Missing_context_does_not_replace_latest_with_an_older_complete_observation() + { + var patient = await CreatePatientAsync(); + var time = new DateTime(2026, 9, 12, 8, 0, 0); + var pair = await SeedPair(patient, time.AddDays(-1), time, time, time.AddHours(1), + new MeasurementContext { Setting = "Home", ActivityCondition = "AtRest", RestDurationMinutes = 5, + BodyPosition = "Seated", MeasuredArm = "Left", DeviceDetails = "Recorded device", CuffDetails = "Recorded cuff" }, + new MeasurementContext()); + var latest = (await Latest(patient))!; + Assert.Equal(pair.NewerId, latest.ObservationId); + Assert.Equal(new ContextData("Unknown", "Unknown", null, null), latest.MeasurementContext); + } + + [Fact] + public async Task Measurement_timestamp_ties_use_original_recording_time_and_ignore_later_edits() + { + var patient = await CreatePatientAsync(); + var time = new DateTime(2026, 9, 12, 8, 0, 0); + var pair = await SeedPair(patient, time, time, time.AddHours(1), time.AddHours(2), + new MeasurementContext { Setting = "Home", ActivityCondition = "AtRest" }, + new MeasurementContext { Setting = "Clinic", ActivityCondition = "AfterActivity" }); + Assert.Equal(pair.NewerId, (await Latest(patient))!.ObservationId); + using var correction = await fixture.Client.PutAsJsonAsync($"/api/observations/{pair.OlderId}", + new { systolic = 125, diastolic = 80, pulse = 65 }); + Assert.Equal(HttpStatusCode.OK, correction.StatusCode); + await using var db = fixture.CreateObservationDbContext(); + var corrected = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == pair.OlderId); + Assert.Equal(time.AddHours(1), corrected.CreatedAt); + Assert.True(corrected.UpdatedAt > time.AddHours(2)); + await fixture.RestartHostsAsync(); + var latest = (await Latest(patient))!; + Assert.Equal(pair.NewerId, latest.ObservationId); + Assert.Equal("Clinic", latest.MeasurementContext.Setting); + Assert.Equal("AfterActivity", latest.MeasurementContext.ActivityCondition); + } + + [Fact] + public async Task Complete_timestamp_ties_choose_greatest_identifier_reproducibly_across_restart() + { + var patient = await CreatePatientAsync(); + var time = new DateTime(2026, 9, 12, 8, 0, 0); + var pair = await SeedPair(patient, time, time, time.AddHours(1), time.AddHours(1), + new MeasurementContext { Setting = "Home" }, new MeasurementContext { Setting = "Clinic" }); + for (var i = 0; i < 3; i++) + Assert.Equal(pair.OlderId, (await Latest(patient))!.ObservationId); + await fixture.RestartHostsAsync(); + Assert.Equal(pair.OlderId, (await Latest(patient))!.ObservationId); + } + +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs new file mode 100644 index 0000000..5a96980 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs @@ -0,0 +1,64 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Npgsql; +using ObservationService.Persistence; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class MeasurementContextMigrationTests +{ + [Fact] + public async Task Upgrading_an_existing_observation_retains_values_and_text_without_inventing_context() + { + var admin = Environment.GetEnvironmentVariable("TEST_POSTGRES_CONNECTION") + ?? throw new InvalidOperationException("TEST_POSTGRES_CONNECTION is required."); + var database = "us04_context_upgrade_" + Guid.NewGuid().ToString("N"); + await using var connection = new NpgsqlConnection(admin); + await connection.OpenAsync(); + await using (var create = new NpgsqlCommand($"CREATE DATABASE {database}", connection)) + await create.ExecuteNonQueryAsync(); + try + { + var options = new DbContextOptionsBuilder().UseNpgsql( + new NpgsqlConnectionStringBuilder(admin) { Database = database }.ConnectionString).Options; + await using var db = new ObservationDbContext(options); + await db.GetService().MigrateAsync("20261001095222_InitialObservationSchema"); + var observation = Guid.NewGuid(); + var patient = Guid.NewGuid(); + await db.Database.ExecuteSqlInterpolatedAsync($""" + INSERT INTO blood_pressure_observation + (observation_id, patient_id, measured_at, systolic, diastolic, pulse, context, note, created_at, updated_at) + VALUES ({observation}, {patient}, '2026-09-12 08:00:00', 128, 82, 68, + 'Morning reading; resting?', 'Historical note', '2026-09-12 09:00:00', '2026-09-12 09:00:00') + """); + await db.Database.MigrateAsync(); + await db.Database.MigrateAsync(); + var saved = await db.Observations.AsNoTracking().SingleAsync(); + Assert.Equal(observation, saved.ObservationId); + Assert.Equal(patient, saved.PatientId); + Assert.Equal(new DateTime(2026, 9, 12, 8, 0, 0), saved.MeasuredAt); + Assert.Equal(128, saved.Systolic); + Assert.Equal(82, saved.Diastolic); + Assert.Equal(68, saved.Pulse); + Assert.Equal("Morning reading; resting?", saved.Context); + Assert.Equal("Historical note", saved.Note); + Assert.Equal("Unknown", saved.MeasurementContext.Setting); + Assert.Equal("Unknown", saved.MeasurementContext.ActivityCondition); + Assert.Null(saved.MeasurementContext.RestDurationMinutes); + Assert.Null(saved.MeasurementContext.BodyPosition); + Assert.Null(saved.MeasurementContext.MeasuredArm); + Assert.Null(saved.MeasurementContext.DeviceDetails); + Assert.Null(saved.MeasurementContext.CuffDetails); + Assert.Null(saved.MeasurementContext.AdditionalCircumstances); + Assert.Equal(new DateTime(2026, 9, 12, 9, 0, 0), saved.CreatedAt); + Assert.Equal(saved.CreatedAt, saved.UpdatedAt); + } + finally + { + await using var drop = new NpgsqlCommand($"DROP DATABASE {database} WITH (FORCE)", connection); + await drop.ExecuteNonQueryAsync(); + } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj new file mode 100644 index 0000000..7caa04d --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj @@ -0,0 +1,23 @@ + + + net10.0 + enable + enable + false + true + + + + + + + + + + + + + + + + diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationApiFixture.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationApiFixture.cs new file mode 100644 index 0000000..179d329 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationApiFixture.cs @@ -0,0 +1,188 @@ +using Microsoft.AspNetCore.Authentication.BearerToken; +using HealthApp.TestSupport; +using Microsoft.AspNetCore.Hosting; +using System.Net; +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Npgsql; +using PatientProfileService.Persistence; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class ObservationApiFixture : IAsyncLifetime +{ + private readonly string databaseName = "us04_patient_" + Guid.NewGuid().ToString("N"); + private readonly string observationDatabaseName = "us04_observation_" + Guid.NewGuid().ToString("N"); + private WebApplicationFactory? observation; + private WebApplicationFactory? insights; + private WebApplicationFactory? overview; + public HttpClient CreateDirectOverviewClient() => overview!.CreateClient(); + public string ObservationConnectionString { get; private set; } = ""; + private string adminConnectionString = ""; + private WebApplicationFactory? service; + private WebApplicationFactory? gateway; + public string ConnectionString { get; private set; } = ""; + public HttpClient Client { get; private set; } = null!; + public HttpClient RawClient { get; private set; } = null!; + public HttpClient CreateDirectPatientClient() => service!.CreateClient(); + public HttpClient CreateDirectObservationClient() => observation!.CreateClient(); + public HttpClient CreateDirectInsightsClient() => insights!.CreateClient(); + public AuthenticatedTestClient Authentication { get; } = new(); + public Dictionary AdditionalGatewayConfiguration { get; } = new(); + + public async Task InitializeAsync() + { + adminConnectionString = Environment.GetEnvironmentVariable("TEST_POSTGRES_CONNECTION") + ?? throw new InvalidOperationException( + "Set TEST_POSTGRES_CONNECTION to a PostgreSQL connection with permission to create test databases."); + await using var connection = new NpgsqlConnection(adminConnectionString); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand($"CREATE DATABASE {databaseName}", connection); + await command.ExecuteNonQueryAsync(); + await using var observationCommand = new NpgsqlCommand($"CREATE DATABASE {observationDatabaseName}", connection); + await observationCommand.ExecuteNonQueryAsync(); + ObservationConnectionString = new NpgsqlConnectionStringBuilder(adminConnectionString) { Database = observationDatabaseName }.ConnectionString; + await using var observationDb = CreateObservationDbContext(); + await observationDb.Database.MigrateAsync(); + await observationDb.Database.MigrateAsync(); + ConnectionString = new NpgsqlConnectionStringBuilder(adminConnectionString) { Database = databaseName }.ConnectionString; + await using var db = CreateDbContext(); + await db.Database.MigrateAsync(); + // Applying the committed migration twice must be harmless. + await db.Database.MigrateAsync(); + StartHosts(); + } + + public PatientDbContext CreateDbContext() => new( + new DbContextOptionsBuilder().UseNpgsql(ConnectionString).Options); + + public ObservationService.Persistence.ObservationDbContext CreateObservationDbContext() => new( + new DbContextOptionsBuilder() + .UseNpgsql(ObservationConnectionString).Options); + + private void StartHosts() + { + service = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0)); + builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection( + new Dictionary { ["ConnectionStrings:PatientDatabase"] = ConnectionString, ["InternalAccess:GatewayKey"] = Authentication.GatewayKey })); + }); + service.UseKestrel(0); + using var serviceClient = service.CreateClient(); + + gateway = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0)); + builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection(Authentication.Configuration()).AddInMemoryCollection(AdditionalGatewayConfiguration).AddInMemoryCollection( + new Dictionary { ["Services:PatientProfile:BaseUrl"] = serviceClient.BaseAddress!.ToString(), + ["Services:Insights:BaseUrl"] = "http://127.0.0.1:1/", + ["Services:Observation:BaseUrl"] = "http://127.0.0.1:1/" })); + }); + gateway = gateway.WithWebHostBuilder(builder => builder.ConfigureServices(services => + services.PostConfigure("Bearer", options => options.TimeProvider = Authentication.Clock))); + gateway.UseKestrel(0); + RawClient = gateway.CreateClient(); + Client = Authentication.Wrap(RawClient); + observation = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0)); + builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection( + new Dictionary + { + ["ConnectionStrings:ObservationDatabase"] = ObservationConnectionString, + ["Services:ApiGateway:BaseUrl"] = Client.BaseAddress!.ToString(), + ["InternalAccess:GatewayKey"] = Authentication.GatewayKey, + ["Services:ApiGateway:Key"] = Authentication.ObservationServiceKey + })); + }); + observation.UseKestrel(0); + using var observationClient = observation.CreateClient(); + gateway.Services.GetRequiredService()["Services:Observation:BaseUrl"] = observationClient.BaseAddress!.ToString(); + insights = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0)); + builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection( + new Dictionary { ["Services:ApiGateway:BaseUrl"] = Client.BaseAddress!.ToString(), ["InternalAccess:GatewayKey"] = Authentication.GatewayKey, ["Services:ApiGateway:Key"] = Authentication.InsightsServiceKey })); + }); + insights.UseKestrel(0); + using var insightsClient = insights.CreateClient(); + gateway.Services.GetRequiredService()["Services:Insights:BaseUrl"] = insightsClient.BaseAddress!.ToString(); + overview = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0)); + builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection( + new Dictionary { ["Services:ApiGateway:BaseUrl"] = Client.BaseAddress!.ToString(), + ["InternalAccess:GatewayKey"] = Authentication.GatewayKey, + ["Services:ApiGateway:Key"] = Authentication.OverviewServiceKey })); + }); + overview.UseKestrel(0); + using var overviewClient = overview.CreateClient(); + gateway.Services.GetRequiredService()["Services:HealthOverview:BaseUrl"] = overviewClient.BaseAddress!.ToString(); + } + + public async Task RestartHostsAsync() + { + Client.Dispose(); + RawClient.Dispose(); + if (overview is not null) await overview.DisposeAsync(); + if (insights is not null) await insights.DisposeAsync(); + if (observation is not null) await observation.DisposeAsync(); + await gateway!.DisposeAsync(); + if (service is not null) await service.DisposeAsync(); + StartHosts(); + } + + public async Task StopOverviewServiceAsync() + { + if (overview is not null) await overview.DisposeAsync(); + overview = null; + } + + public async Task StopInsightsServiceAsync() + { + if (insights is not null) await insights.DisposeAsync(); + insights = null; + } + + public async Task StopObservationServiceAsync() + { + if (observation is not null) await observation.DisposeAsync(); + observation = null; + } + + public async Task StopPatientServiceAsync() + { + await service!.DisposeAsync(); + service = null; + } + + public async Task DisposeAsync() + { + Client?.Dispose(); + RawClient?.Dispose(); + if (overview is not null) await overview.DisposeAsync(); + if (insights is not null) await insights.DisposeAsync(); + if (observation is not null) await observation.DisposeAsync(); + if (gateway is not null) await gateway.DisposeAsync(); + if (service is not null) await service.DisposeAsync(); + if (Directory.Exists(Authentication.KeyDirectory)) Directory.Delete(Authentication.KeyDirectory, true); + if (string.IsNullOrEmpty(adminConnectionString)) return; + + NpgsqlConnection.ClearAllPools(); + await using var connection = new NpgsqlConnection(adminConnectionString); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand($"DROP DATABASE IF EXISTS {databaseName} WITH (FORCE)", connection); + await command.ExecuteNonQueryAsync(); + await using var observationCommand = new NpgsqlCommand($"DROP DATABASE IF EXISTS {observationDatabaseName} WITH (FORCE)", connection); + await observationCommand.ExecuteNonQueryAsync(); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationHistoryTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationHistoryTests.cs new file mode 100644 index 0000000..397cc96 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ObservationHistoryTests.cs @@ -0,0 +1,106 @@ +using System.Net; +using System.Net.Http.Json; +using System.Text.Json; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class ObservationHistoryTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note); + + private async Task CreatePatientAsync() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "History Example", dateOfBirth = "1980-01-01" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task RecordAsync(Guid patientId, string measuredAt, int systolic, int diastolic, int pulse) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt, systolic, diastolic, pulse, context = "Resting", note = "Before breakfast" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + private Task HistoryAsync(Guid patientId, string from, string to) => + fixture.Client.GetFromJsonAsync( + $"/api/patients/{patientId}/observations?from={Uri.EscapeDataString(from)}&to={Uri.EscapeDataString(to)}"); + + [Fact] + public async Task Selected_period_returns_only_the_matching_observation_after_restart() + { + var patientId = await CreatePatientAsync(); + await RecordAsync(patientId, "2026-09-01T08:00:00", 120, 80, 60); + var expected = await RecordAsync(patientId, "2026-09-05T08:00:00", 125, 82, 65); + await RecordAsync(patientId, "2026-09-10T08:00:00", 130, 84, 70); + await RecordAsync(await CreatePatientAsync(), "2026-09-05T08:00:00", 140, 90, 75); + await fixture.RestartHostsAsync(); + + var history = await HistoryAsync(patientId, "2026-09-03T00:00:00", "2026-09-08T23:59:59"); + + Assert.Equal(expected, Assert.Single(history!)); + } + + [Fact] + public async Task Results_are_chronological_and_include_both_period_boundaries() + { + var patientId = await CreatePatientAsync(); + var last = await RecordAsync(patientId, "2026-09-10T08:00:00", 130, 84, 70); + var first = await RecordAsync(patientId, "2026-09-01T08:00:00", 120, 80, 60); + var middle = await RecordAsync(patientId, "2026-09-05T08:00:00", 125, 82, 65); + + Assert.Equal(new[] { first, middle, last }, + await HistoryAsync(patientId, "2026-09-01T08:00:00", "2026-09-10T08:00:00")); + Assert.Equal(first, Assert.Single((await HistoryAsync(patientId, + "2026-09-01T08:00:00", "2026-09-01T08:00:00"))!)); + } + + [Fact] + public async Task No_matching_observations_returns_an_empty_array() + { + var patientId = await CreatePatientAsync(); + await RecordAsync(await CreatePatientAsync(), "2026-09-05T08:00:00", 125, 82, 65); + Assert.Empty((await HistoryAsync(patientId, "2026-09-03T00:00:00", "2026-09-08T23:59:59"))!); + await RecordAsync(patientId, "2026-09-01T08:00:00", 120, 80, 60); + Assert.Empty((await HistoryAsync(patientId, "2026-09-03T00:00:00", "2026-09-08T23:59:59"))!); + } + + [Theory] + [InlineData("from=2026-09-08T00:00:00&to=2026-09-03T00:00:00")] + [InlineData("from=invalid&to=2026-09-08T00:00:00")] + [InlineData("from=2026-09-03T00:00:00&to=invalid")] + [InlineData("from=2026-09-03T00:00:00")] + [InlineData("to=2026-09-08T00:00:00")] + [InlineData("")] + public async Task Invalid_or_missing_period_is_rejected_without_changing_observations(string query) + { + var patientId = await CreatePatientAsync(); + var saved = await RecordAsync(patientId, "2026-09-05T08:00:00", 125, 82, 65); + using var response = await fixture.Client.GetAsync($"/api/patients/{patientId}/observations?{query}"); + + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(saved, await fixture.Client.GetFromJsonAsync($"/api/observations/{saved.ObservationId}")); + } + + [Fact] + public async Task Offset_bounds_are_normalized_consistently_with_recorded_measurements() + { + var patientId = await CreatePatientAsync(); + var saved = await RecordAsync(patientId, "2026-09-05T10:00:00+02:00", 125, 82, 65); + + Assert.Equal(saved, Assert.Single((await HistoryAsync(patientId, + "2026-09-05T10:00:00+02:00", "2026-09-05T08:00:00Z"))!)); + Assert.Empty((await HistoryAsync(patientId, "2026-09-05T08:00:01Z", "2026-09-05T11:00:00Z"))!); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatchObservationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatchObservationTests.cs new file mode 100644 index 0000000..6dc8d3f --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatchObservationTests.cs @@ -0,0 +1,190 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text; +using System.Text.Json; +using HealthApp.TestSupport; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class PatchObservationTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record ContextData(string Setting, string ActivityCondition, decimal? RestDurationMinutes, + string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, ContextData MeasurementContext); + + private async Task Record(bool withContext = true) + { + using var patient = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Partial correction", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, patient.StatusCode); + var patientId = (await patient.Content.ReadFromJsonAsync())!.PatientId; + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 182, diastolic = 82, pulse = 68, + context = "Legacy text", note = "Saved note", + measurementContext = withContext ? new { setting = "Home", activityCondition = "AtRest", restDurationMinutes = 5.5m, + bodyPosition = "Seated", measuredArm = "Left", deviceDetails = "Device", cuffDetails = "Cuff", additionalCircumstances = "Circumstances" } : null + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + private Task Patch(Guid id, object body) => fixture.Client.PatchAsJsonAsync($"/api/observations/{id}", body); + private Task Read(Guid id) => fixture.Client.GetFromJsonAsync($"/api/observations/{id}"); + private Task History(Guid patient, string selection) => fixture.Client.GetFromJsonAsync( + $"/api/patients/{patient}/observations?from=2026-09-01&to=2026-10-01&{selection}"); + + [Fact] + public async Task Context_can_be_added_to_a_historical_observation_without_changing_its_measurements() + { + var original = await Record(false); + using var response = await Patch(original.ObservationId, new { measurementContext = new { setting = "Home", activityCondition = "AtRest" } }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var updated = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(original with { MeasurementContext = original.MeasurementContext with { Setting = "Home", ActivityCondition = "AtRest" } }, updated); + } + + [Fact] + public async Task Correcting_one_context_field_preserves_omitted_data_and_changes_selection_after_restart() + { + var original = await Record(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + using var response = await Patch(original.ObservationId, new { measurementContext = new { setting = "Clinic" } }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var expected = original with { MeasurementContext = original.MeasurementContext with { Setting = "Clinic" } }; + Assert.Equal(expected, await response.Content.ReadFromJsonAsync()); + await fixture.RestartHostsAsync(); + Assert.Equal(expected, await Read(original.ObservationId)); + Assert.Equal(expected, await fixture.Client.GetFromJsonAsync($"/api/patients/{original.PatientId}/observations/latest")); + Assert.Empty((await History(original.PatientId, "setting=Home"))!); + Assert.Equal(expected, Assert.Single((await History(original.PatientId, "setting=Clinic&activityCondition=AtRest"))!)); + var after = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + Assert.Equal(before.CreatedAt, after.CreatedAt); + Assert.True(after.UpdatedAt > before.UpdatedAt); + } + + [Fact] + public async Task Individual_optional_fields_can_be_corrected_or_cleared_without_erasing_other_context() + { + var original = await Record(); + using var corrected = await Patch(original.ObservationId, new { measurementContext = new { restDurationMinutes = 0m, + bodyPosition = "Standing", measuredArm = "Right", deviceDetails = "Corrected device", cuffDetails = "Corrected cuff", additionalCircumstances = "After walking" } }); + Assert.Equal(HttpStatusCode.OK, corrected.StatusCode); + var expected = original with { MeasurementContext = original.MeasurementContext with { RestDurationMinutes = 0, + BodyPosition = "Standing", MeasuredArm = "Right", DeviceDetails = "Corrected device", CuffDetails = "Corrected cuff", AdditionalCircumstances = "After walking" } }; + Assert.Equal(expected, await corrected.Content.ReadFromJsonAsync()); + using var clear = await Patch(original.ObservationId, new { measurementContext = new { activityCondition = (string?)null, + restDurationMinutes = (decimal?)null, bodyPosition = (string?)null, measuredArm = (string?)null, + deviceDetails = (string?)null, cuffDetails = (string?)null, additionalCircumstances = (string?)null } }); + Assert.Equal(HttpStatusCode.OK, clear.StatusCode); + expected = original with { MeasurementContext = new ContextData("Home", "Unknown", null, null, null, null, null, null) }; + Assert.Equal(expected, await Read(original.ObservationId)); + Assert.Empty((await History(original.PatientId, "activityCondition=AtRest"))!); + Assert.Equal(expected, Assert.Single((await History(original.PatientId, "activityCondition=Unknown"))!)); + using var setting = await Patch(original.ObservationId, new { measurementContext = new { setting = (string?)null } }); + Assert.Equal(HttpStatusCode.OK, setting.StatusCode); + Assert.Equal("Unknown", (await Read(original.ObservationId))!.MeasurementContext.Setting); + } + + [Fact] + public async Task Explicit_null_context_object_clears_structured_context_but_preserves_legacy_text_and_numbers() + { + var original = await Record(); + using var response = await Patch(original.ObservationId, new { measurementContext = (object?)null }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal(original with { MeasurementContext = new ContextData("Unknown", "Unknown", null, null, null, null, null, null) }, await Read(original.ObservationId)); + } + + [Fact] + public async Task Single_numerical_and_legacy_text_updates_preserve_other_values() + { + var original = await Record(); + using var correction = await Patch(original.ObservationId, new { systolic = 128 }); + Assert.Equal(HttpStatusCode.OK, correction.StatusCode); + Assert.Equal(original with { Systolic = 128 }, await Read(original.ObservationId)); + using var text = await Patch(original.ObservationId, new { context = "Corrected narrative", note = (string?)null }); + Assert.Equal(HttpStatusCode.OK, text.StatusCode); + Assert.Equal(original with { Systolic = 128, Context = "Corrected narrative", Note = null }, await Read(original.ObservationId)); + } + + [Theory] + [InlineData("{\"systolic\":128,\"measurementContext\":{\"setting\":\"Unsupported\"}}")] + [InlineData("{\"note\":\"Change\",\"measurementContext\":{\"activityCondition\":\"Unsupported\"}}")] + [InlineData("{\"measurementContext\":{\"restDurationMinutes\":-1}}")] + [InlineData("{\"systolic\":null}")] + [InlineData("{\"diastolic\":0}")] + [InlineData("{\"pulse\":-1}")] + [InlineData("{\"systolic\":\"invalid\"}")] + [InlineData("{\"systolic\":128,\"measurementContext\":{\"unsupportedField\":\"value\"}}")] + [InlineData("{}")] + [InlineData("{\"measurementContext\":{}}")] + [InlineData("{")] + public async Task Invalid_patches_reject_the_whole_update_without_changes(string json) + { + var original = await Record(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + using var content = new StringContent(json, Encoding.UTF8, "application/json"); + using var response = await fixture.Client.PatchAsync($"/api/observations/{original.ObservationId}", content); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(original, await Read(original.ObservationId)); + var after = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + Assert.Equal(before.UpdatedAt, after.UpdatedAt); + } + + [Fact] + public async Task Unsupported_context_in_a_legacy_put_does_not_silently_apply_its_numerical_changes() + { + var original = await Record(); + using var response = await fixture.Client.PutAsJsonAsync($"/api/observations/{original.ObservationId}", new + { + systolic = 128, diastolic = 80, pulse = 65, + measurementContext = new { setting = "Unsupported" } + }); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + Assert.Equal(original, await Read(original.ObservationId)); + } + + [Fact] + public async Task Missing_observation_is_not_created_by_a_context_patch() + { + await Record(); + await using var db = fixture.CreateObservationDbContext(); + var count = await db.Observations.CountAsync(); + using var response = await Patch(Guid.NewGuid(), new { measurementContext = new { setting = "Clinic" } }); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Equal(count, await db.Observations.CountAsync()); + } + + [Fact] + public async Task Other_patients_professionals_and_unauthenticated_clients_cannot_patch_context() + { + var original = await Record(); + var other = await Record(); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = original.PatientId.ToString(); + await fixture.RestartHostsAsync(); + var otherToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, fixture.Authentication.PatientAccounts[other.PatientId]); + var professional = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + foreach (var (token, expected) in new[] + { + ((string?)null, HttpStatusCode.Unauthorized), ((string?)"invalid", HttpStatusCode.Unauthorized), + ((string?)otherToken, HttpStatusCode.NotFound), ((string?)professional, HttpStatusCode.Forbidden) + }) + { + using var request = new HttpRequestMessage(HttpMethod.Patch, $"/api/observations/{original.ObservationId}") + { Content = JsonContent.Create(new { measurementContext = new { setting = "Clinic" } }) }; + if (token is not null) request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(expected, response.StatusCode); + } + Assert.Equal(original, await Read(original.ObservationId)); + Assert.Equal(other, await Read(other.ObservationId)); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs new file mode 100644 index 0000000..b8ae03e --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs @@ -0,0 +1,277 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using HealthApp.TestSupport; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class PatientAuthenticationTests(ObservationApiFixture fixture) : IClassFixture +{ + private static int nextAccount = 150; + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId, Guid PatientId, int Systolic); + private static object ProfileRequest => new { name = "Patient", dateOfBirth = "1980-01-01" }; + private static object ObservationRequest => new { measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68 }; + + private async Task Send(HttpMethod method, string path, string? token = null, object? body = null) + { + using var request = new HttpRequestMessage(method, path); + if (token is not null) request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + if (body is not null) request.Content = JsonContent.Create(body); + return await fixture.RawClient.SendAsync(request); + } + + private async Task<(string Token, Guid PatientId, string Account)> Patient() + { + var account = "test-" + Interlocked.Increment(ref nextAccount); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + using var response = await Send(HttpMethod.Post, "/api/patients", token, ProfileRequest); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (token, (await response.Content.ReadFromJsonAsync())!.PatientId, account); + } + + [Fact] + public async Task Login_without_profile_returns_normalized_identity_and_no_patient_data() + { + using var response = await fixture.RawClient.PostAsJsonAsync("/api/authentication/login", + new { accountId = "test-0", password = AuthenticatedTestClient.Password, role = "HealthcareProfessional" }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Contains("no-store", response.Headers.CacheControl!.ToString()); + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.Equal("test-0", json.RootElement.GetProperty("accountId").GetString()); + Assert.Equal("Patient", json.RootElement.GetProperty("role").GetString()); + Assert.Equal(1800, json.RootElement.GetProperty("expiresIn").GetInt32()); + Assert.False(json.RootElement.TryGetProperty("patientId", out _)); + Assert.False(json.RootElement.TryGetProperty("refreshToken", out _)); + using var unavailable = await Send(HttpMethod.Get, $"/api/patients/{Guid.NewGuid()}", json.RootElement.GetProperty("accessToken").GetString()); + Assert.Equal(HttpStatusCode.NotFound, unavailable.StatusCode); + } + + [Fact] + public async Task Invalid_account_and_invalid_password_have_same_rejection() + { + using var unknown = await fixture.RawClient.PostAsJsonAsync("/api/authentication/login", new { accountId = "absent", password = AuthenticatedTestClient.Password }); + using var incorrect = await fixture.RawClient.PostAsJsonAsync("/api/authentication/login", new { accountId = "test-0", password = "incorrect" }); + Assert.Equal(HttpStatusCode.Unauthorized, unknown.StatusCode); + Assert.Equal(unknown.StatusCode, incorrect.StatusCode); + Assert.Equal(await unknown.Content.ReadAsStringAsync(), await incorrect.Content.ReadAsStringAsync()); + } + + [Theory] + [InlineData("GET", "patients/00000000-0000-0000-0000-000000000001")] + [InlineData("POST", "patients")] + [InlineData("GET", "patients/me")] + [InlineData("PUT", "patients/00000000-0000-0000-0000-000000000001")] + [InlineData("GET", "observations/00000000-0000-0000-0000-000000000001")] + [InlineData("PUT", "observations/00000000-0000-0000-0000-000000000001")] + [InlineData("DELETE", "observations/00000000-0000-0000-0000-000000000001")] + [InlineData("POST", "patients/00000000-0000-0000-0000-000000000001/observations")] + [InlineData("GET", "patients/00000000-0000-0000-0000-000000000001/observations/latest")] + [InlineData("GET", "patients/00000000-0000-0000-0000-000000000001/observations")] + [InlineData("GET", "patients/00000000-0000-0000-0000-000000000001/insights")] + public async Task Missing_and_invalid_tokens_reject_every_existing_patient_operation(string method, string path) + { + await using var patients = fixture.CreateDbContext(); + await using var observations = fixture.CreateObservationDbContext(); + var patientCount = await patients.Patients.CountAsync(); + var observationCount = await observations.Observations.CountAsync(); + foreach (var token in new string?[] { null, "unverifiable" }) + { + using var response = await Send(new HttpMethod(method), "/api/" + path, token, method == "GET" ? null : ProfileRequest); + Assert.Equal(HttpStatusCode.Unauthorized, response.StatusCode); + Assert.DoesNotContain("Patient", await response.Content.ReadAsStringAsync()); + } + Assert.Equal(patientCount, await patients.Patients.CountAsync()); + Assert.Equal(observationCount, await observations.Observations.CountAsync()); + } + + [Fact] + public async Task Own_observations_and_insights_are_available_but_another_patients_reads_and_writes_are_rejected() + { + var first = await Patient(); + var second = await Patient(); + using var record = await Send(HttpMethod.Post, $"/api/patients/{first.PatientId}/observations", first.Token, ObservationRequest); + Assert.Equal(HttpStatusCode.Created, record.StatusCode); + var observation = (await record.Content.ReadFromJsonAsync())!; + var paths = new[] { $"patients/{first.PatientId}", $"patients/{first.PatientId}/observations", + $"patients/{first.PatientId}/observations/latest", $"patients/{first.PatientId}/insights", $"observations/{observation.ObservationId}" }; + foreach (var path in paths) + { + var query = path.EndsWith("/observations") || path.EndsWith("/insights") ? "?from=2026-09-01&to=2026-10-01" : ""; + using var own = await Send(HttpMethod.Get, "/api/" + path + query, first.Token); + Assert.Equal(HttpStatusCode.OK, own.StatusCode); + using var other = await Send(HttpMethod.Get, "/api/" + path + query, second.Token); + Assert.Equal(HttpStatusCode.NotFound, other.StatusCode); + Assert.Empty(await other.Content.ReadAsStringAsync()); + } + foreach (var (method, path, body) in new[] + { + (HttpMethod.Put, $"patients/{first.PatientId}", ProfileRequest), + (HttpMethod.Post, $"patients/{first.PatientId}/observations", ObservationRequest), + (HttpMethod.Put, $"observations/{observation.ObservationId}", ObservationRequest), + (HttpMethod.Delete, $"observations/{observation.ObservationId}", (object?)null) + }) + { + using var response = await Send(method, "/api/" + path, second.Token, body); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + } + using var retained = await Send(HttpMethod.Get, $"/api/observations/{observation.ObservationId}", first.Token); + Assert.Equal(128, (await retained.Content.ReadFromJsonAsync())!.Systolic); + await using var db = fixture.CreateObservationDbContext(); + Assert.Single(await db.Observations.Where(o => o.PatientId == first.PatientId).ToListAsync()); + } + + [Fact] + public async Task Caller_supplied_account_identity_cannot_replace_authenticated_identity() + { + var account = "test-" + Interlocked.Increment(ref nextAccount); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + using var request = new HttpRequestMessage(HttpMethod.Post, "/api/patients") { Content = JsonContent.Create(ProfileRequest) }; + request.Headers.Authorization = new("Bearer", token); + request.Headers.Add("X-Account-Id", "test-0"); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + await using var db = fixture.CreateDbContext(); + var id = (await response.Content.ReadFromJsonAsync())!.PatientId; + Assert.Equal(account, (await db.Patients.SingleAsync(p => p.PatientId == id)).AccountId); + } + + [Fact] + public async Task Profile_creation_retries_and_concurrency_preserve_one_persistent_association() + { + var account = "test-" + Interlocked.Increment(ref nextAccount); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + var responses = await Task.WhenAll(Send(HttpMethod.Post, "/api/patients", token, ProfileRequest), Send(HttpMethod.Post, "/api/patients", token, ProfileRequest)); + try + { + Assert.Single(responses, r => r.StatusCode == HttpStatusCode.Created); + Assert.Single(responses, r => r.StatusCode == HttpStatusCode.Conflict); + var profile = (await responses.Single(r => r.StatusCode == HttpStatusCode.Created).Content.ReadFromJsonAsync())!; + using var retry = await Send(HttpMethod.Post, "/api/patients", token, ProfileRequest); + Assert.Equal(HttpStatusCode.Conflict, retry.StatusCode); + await fixture.RestartHostsAsync(); + using var read = await Send(HttpMethod.Get, "/api/patients/me", token); + Assert.Equal(HttpStatusCode.OK, read.StatusCode); + Assert.Equal(profile.PatientId, (await read.Content.ReadFromJsonAsync())!.PatientId); + await using var db = fixture.CreateDbContext(); + Assert.Single(await db.Patients.Where(p => p.AccountId == account).ToListAsync()); + } + finally { foreach (var response in responses) response.Dispose(); } + } + + [Fact] + public async Task Failed_creation_can_be_retried_without_an_orphan_profile() + { + var account = "test-" + Interlocked.Increment(ref nextAccount); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + await fixture.StopPatientServiceAsync(); + using var failed = await Send(HttpMethod.Post, "/api/patients", token, ProfileRequest); + Assert.Equal(HttpStatusCode.BadGateway, failed.StatusCode); + await fixture.RestartHostsAsync(); + using var retry = await Send(HttpMethod.Post, "/api/patients", token, ProfileRequest); + Assert.Equal(HttpStatusCode.Created, retry.StatusCode); + await using var db = fixture.CreateDbContext(); + Assert.Single(await db.Patients.Where(p => p.AccountId == account).ToListAsync()); + } + + [Fact] + public async Task Expired_token_is_rejected_and_login_produces_a_fresh_token() + { + var patient = await Patient(); + fixture.Authentication.Clock.Advance(TimeSpan.FromMinutes(31)); + try + { + using var expired = await Send(HttpMethod.Get, $"/api/patients/{patient.PatientId}", patient.Token); + Assert.Equal(HttpStatusCode.Unauthorized, expired.StatusCode); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, patient.Account); + using var renewed = await Send(HttpMethod.Get, $"/api/patients/{patient.PatientId}", token); + Assert.Equal(HttpStatusCode.OK, renewed.StatusCode); + } + finally { fixture.Authentication.Clock.Advance(TimeSpan.FromMinutes(-31)); } + } + + [Fact] + public async Task Tampering_with_a_valid_token_is_rejected() + { + var patient = await Patient(); + var token = patient.Token.ToCharArray(); + var position = token.Length / 2; + token[position] = token[position] == 'A' ? 'B' : 'A'; + using var response = await Send(HttpMethod.Get, $"/api/patients/{patient.PatientId}", new string(token)); + Assert.Equal(HttpStatusCode.Unauthorized, response.StatusCode); + } + + [Fact] + public async Task Database_failure_rolls_back_profile_and_association_together() + { + var account = "test-" + Interlocked.Increment(ref nextAccount); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + await using var db = fixture.CreateDbContext(); + await db.Database.ExecuteSqlRawAsync(""" + CREATE FUNCTION fail_profile_test() RETURNS trigger LANGUAGE plpgsql AS $$ + BEGIN + IF NEW.name = 'simulate-write-failure' THEN RAISE EXCEPTION 'test write failure'; END IF; + RETURN NEW; + END; $$; + CREATE TRIGGER fail_profile_test BEFORE INSERT ON patient FOR EACH ROW EXECUTE FUNCTION fail_profile_test(); + """); + try + { + using var failed = await Send(HttpMethod.Post, "/api/patients", token, + new { name = "simulate-write-failure", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.InternalServerError, failed.StatusCode); + Assert.Empty(await db.Patients.Where(p => p.AccountId == account).ToListAsync()); + using var retry = await Send(HttpMethod.Post, "/api/patients", token, ProfileRequest); + Assert.Equal(HttpStatusCode.Created, retry.StatusCode); + Assert.Single(await db.Patients.Where(p => p.AccountId == account).ToListAsync()); + } + finally + { + await db.Database.ExecuteSqlRawAsync("DROP TRIGGER fail_profile_test ON patient; DROP FUNCTION fail_profile_test();"); + } + } + + [Fact] + public async Task Direct_services_reject_client_tokens_missing_keys_and_forged_keys() + { + var patient = await Patient(); + foreach (var client in new[] { fixture.CreateDirectPatientClient(), fixture.CreateDirectObservationClient(), fixture.CreateDirectInsightsClient() }) + { + using (client) + { + client.DefaultRequestHeaders.Authorization = new("Bearer", patient.Token); + foreach (var key in new string?[] { null, "forged" }) + { + client.DefaultRequestHeaders.Remove("X-Gateway-Key"); + if (key is not null) client.DefaultRequestHeaders.Add("X-Gateway-Key", key); + using var response = await client.GetAsync($"/api/patients/{patient.PatientId}"); + Assert.Equal(HttpStatusCode.Unauthorized, response.StatusCode); + } + } + } + } + + [Fact] + public async Task Service_credentials_are_limited_to_their_documented_read_calls() + { + using var request = new HttpRequestMessage(HttpMethod.Post, "/api/patients") { Content = JsonContent.Create(ProfileRequest) }; + request.Headers.Add("X-Service-Key", fixture.Authentication.ObservationServiceKey); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); + using var forbidden = new HttpRequestMessage(HttpMethod.Get, "/api/patients/by-account/test-0"); + forbidden.Headers.Add("X-Service-Key", fixture.Authentication.InsightsServiceKey); + using var rejected = await fixture.RawClient.SendAsync(forbidden); + Assert.Equal(HttpStatusCode.Forbidden, rejected.StatusCode); + } + + [Fact] + public async Task Healthcare_professional_cannot_create_profiles() + { + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + using var response = await Send(HttpMethod.Post, "/api/patients", token, ProfileRequest); + Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs new file mode 100644 index 0000000..39d8c4d --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs @@ -0,0 +1,275 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using HealthApp.TestSupport; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class ProfessionalAccessTests(ObservationApiFixture fixture) : IClassFixture +{ + private const string AssignmentPath = "/api/professionals/me/patients"; + private sealed record Profile(Guid PatientId, string Name); + private sealed record Observation(Guid ObservationId, Guid PatientId, int Systolic, string? Context, string? Note); + private sealed record AssignedPatient(Guid PatientId); + + private async Task CreatePatient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Assigned Patient", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private async Task Record(Guid patientId) + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68, + context = "Resting", note = "Actual conditions" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + private async Task Assign(Guid[] first, Guid[]? second = null) + { + fixture.AdditionalGatewayConfiguration.Clear(); + for (var i = 0; i < first.Length; i++) + fixture.AdditionalGatewayConfiguration[$"Access:ProfessionalAssignments:professional:{i}"] = first[i].ToString(); + for (var i = 0; i < (second?.Length ?? 0); i++) + fixture.AdditionalGatewayConfiguration[$"Access:ProfessionalAssignments:professional-second:{i}"] = second![i].ToString(); + await fixture.RestartHostsAsync(); + } + + private async Task Send(HttpMethod method, string path, string? token, object? body = null) + { + using var request = new HttpRequestMessage(method, path); + if (token is not null) request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + if (body is not null) request.Content = JsonContent.Create(body); + return await fixture.RawClient.SendAsync(request); + } + + [Fact] + public async Task Login_recognizes_professional_identity_and_does_not_put_assignments_in_the_token_response() + { + using var response = await fixture.RawClient.PostAsJsonAsync("/api/authentication/login", + new { accountId = "professional", password = AuthenticatedTestClient.Password, role = "Patient" }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.Equal("HealthcareProfessional", json.RootElement.GetProperty("role").GetString()); + Assert.Equal("professional", json.RootElement.GetProperty("accountId").GetString()); + Assert.False(json.RootElement.TryGetProperty("patientId", out _)); + Assert.False(json.RootElement.TryGetProperty("assignments", out _)); + } + + [Fact] + public async Task Professionals_list_only_their_own_assignments_and_can_share_patients() + { + var first = await CreatePatient(); + var shared = await CreatePatient(); + var second = await CreatePatient(); + var excluded = await CreatePatient(); + await Assign([first, shared, first], [shared, second]); + foreach (var (account, expected) in new[] + { + ("professional", new[] { first, shared }), + ("professional-second", new[] { shared, second }), + ("professional-empty", Array.Empty()) + }) + { + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + using var response = await Send(HttpMethod.Get, AssignmentPath + "?accountId=professional-second", token); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var patients = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(expected.Order(), patients.Select(p => p.PatientId).Order()); + Assert.DoesNotContain(patients, p => p.PatientId == excluded); + } + var sharedToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional-second"); + using var read = await Send(HttpMethod.Get, $"/api/patients/{shared}", sharedToken); + Assert.Equal(HttpStatusCode.OK, read.StatusCode); + } + + [Fact] + public async Task Assigned_profiles_observations_context_history_latest_and_insights_are_readable() + { + var patient = await CreatePatient(); + var observation = await Record(patient); + await Assign([patient]); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + foreach (var path in new[] + { + $"/api/patients/{patient}", $"/api/observations/{observation.ObservationId}", + $"/api/patients/{patient}/observations/latest", $"/api/patients/{patient}/observations?from=2026-09-01&to=2026-10-01", + $"/api/patients/{patient}/insights?from=2026-09-01&to=2026-10-01" + }) + { + using var response = await Send(HttpMethod.Get, path, token); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + using var own = await fixture.Client.GetAsync(path); + Assert.Equal(await own.Content.ReadAsStringAsync(), await response.Content.ReadAsStringAsync()); + } + using var specific = await Send(HttpMethod.Get, $"/api/observations/{observation.ObservationId}", token); + Assert.Equal(observation, await specific.Content.ReadFromJsonAsync()); + } + + [Fact] + public async Task Unassigned_patients_and_observations_are_rejected_even_with_a_supplied_assigned_patient_id() + { + var assigned = await CreatePatient(); + var unassigned = await CreatePatient(); + var observation = await Record(unassigned); + await Assign([assigned]); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + foreach (var path in new[] + { + $"/api/patients/{unassigned}", $"/api/observations/{observation.ObservationId}?patientId={assigned}", + $"/api/patients/{unassigned}/observations/latest", $"/api/patients/{unassigned}/observations?from=2026-09-01&to=2026-10-01", + $"/api/patients/{unassigned}/insights?from=2026-09-01&to=2026-10-01" + }) + { + using var response = await Send(HttpMethod.Get, path, token); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Empty(await response.Content.ReadAsStringAsync()); + } + } + + [Fact] + public async Task Missing_information_for_assigned_patients_follows_existing_retrieval_behaviour() + { + var patient = await CreatePatient(); + var missingPatient = Guid.NewGuid(); + await Assign([patient, missingPatient]); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + foreach (var path in new[] + { + $"/api/patients/{missingPatient}", $"/api/observations/{Guid.NewGuid()}", + $"/api/patients/{patient}/observations/latest", $"/api/patients/{patient}/insights?from=2026-09-01&to=2026-10-01" + }) + { + using var response = await Send(HttpMethod.Get, path, token); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + } + using var history = await Send(HttpMethod.Get, $"/api/patients/{patient}/observations?from=2026-09-01&to=2026-10-01", token); + Assert.Equal(HttpStatusCode.OK, history.StatusCode); + Assert.Equal("[]", await history.Content.ReadAsStringAsync()); + } + + [Theory] + [InlineData("professional")] + [InlineData("professional-empty")] + public async Task Professionals_cannot_create_update_or_delete_any_patient_information(string account) + { + var patient = await CreatePatient(); + var observation = await Record(patient); + await Assign([patient]); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + await using var patients = fixture.CreateDbContext(); + await using var observations = fixture.CreateObservationDbContext(); + var before = await patients.Patients.AsNoTracking().SingleAsync(p => p.PatientId == patient); + var count = await patients.Patients.CountAsync(); + foreach (var (method, path, body) in new[] + { + (HttpMethod.Post, "/api/patients", (object?)new { name = "Forbidden", dateOfBirth = "1980-01-01" }), + (HttpMethod.Put, $"/api/patients/{patient}", (object?)new { name = "Forbidden" }), + (HttpMethod.Post, $"/api/patients/{patient}/observations", (object?)new { measuredAt = "2026-09-12T08:00:00", systolic = 190, diastolic = 90, pulse = 80 }), + (HttpMethod.Put, $"/api/observations/{observation.ObservationId}", (object?)new { systolic = 190, diastolic = 90, pulse = 80 }), + (HttpMethod.Delete, $"/api/observations/{observation.ObservationId}", (object?)null) + }) + { + using var response = await Send(method, path, token, body); + Assert.Equal(HttpStatusCode.Forbidden, response.StatusCode); + Assert.Empty(await response.Content.ReadAsStringAsync()); + } + Assert.Equal(count, await patients.Patients.CountAsync()); + var after = await patients.Patients.AsNoTracking().SingleAsync(p => p.PatientId == patient); + Assert.Equal(before.Name, after.Name); + Assert.Equal(before.UpdatedAt, after.UpdatedAt); + var saved = await observations.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == observation.ObservationId); + Assert.Equal(128, saved.Systolic); + Assert.Equal("Resting", saved.Context); + Assert.Equal("Actual conditions", saved.Note); + Assert.Single(await observations.Observations.Where(o => o.PatientId == patient).ToListAsync()); + } + + [Fact] + public async Task Missing_invalid_and_expired_tokens_do_not_disclose_assignments_or_patient_data() + { + var patient = await CreatePatient(); + await Assign([patient]); + foreach (var token in new string?[] { null, "invalid" }) + { + using var list = await Send(HttpMethod.Get, AssignmentPath, token); + using var read = await Send(HttpMethod.Get, $"/api/patients/{patient}", token); + Assert.Equal(HttpStatusCode.Unauthorized, list.StatusCode); + Assert.Equal(HttpStatusCode.Unauthorized, read.StatusCode); + Assert.Empty(await list.Content.ReadAsStringAsync()); + Assert.Empty(await read.Content.ReadAsStringAsync()); + } + var valid = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + fixture.Authentication.Clock.Advance(TimeSpan.FromMinutes(31)); + try + { + using var expired = await Send(HttpMethod.Get, AssignmentPath, valid); + Assert.Equal(HttpStatusCode.Unauthorized, expired.StatusCode); + } + finally { fixture.Authentication.Clock.Advance(TimeSpan.FromMinutes(-31)); } + } + + [Fact] + public async Task Incorrect_professional_secret_and_unknown_account_have_identical_login_rejections() + { + using var incorrect = await fixture.RawClient.PostAsJsonAsync("/api/authentication/login", new { accountId = "professional", password = "wrong" }); + using var unknown = await fixture.RawClient.PostAsJsonAsync("/api/authentication/login", new { accountId = "unknown-professional", password = AuthenticatedTestClient.Password }); + Assert.Equal(HttpStatusCode.Unauthorized, incorrect.StatusCode); + Assert.Equal(incorrect.StatusCode, unknown.StatusCode); + Assert.Equal(await incorrect.Content.ReadAsStringAsync(), await unknown.Content.ReadAsStringAsync()); + } + + [Fact] + public async Task Patient_cannot_list_professional_assignments_and_retains_own_access() + { + var patient = await CreatePatient(); + await Assign([patient]); + var account = fixture.Authentication.PatientAccounts[patient]; + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, account); + using var rejected = await Send(HttpMethod.Get, AssignmentPath, token); + Assert.Equal(HttpStatusCode.Forbidden, rejected.StatusCode); + using var own = await Send(HttpMethod.Get, $"/api/patients/{patient}", token); + Assert.Equal(HttpStatusCode.OK, own.StatusCode); + } + + [Fact] + public async Task Assignment_removal_is_used_after_restart_even_with_an_existing_token() + { + var patient = await CreatePatient(); + await Assign([patient]); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + using var allowed = await Send(HttpMethod.Get, $"/api/patients/{patient}", token); + Assert.Equal(HttpStatusCode.OK, allowed.StatusCode); + await Assign([]); + using var rejected = await Send(HttpMethod.Get, $"/api/patients/{patient}", token); + Assert.Equal(HttpStatusCode.NotFound, rejected.StatusCode); + using var list = await Send(HttpMethod.Get, AssignmentPath, token); + Assert.Equal("[]", await list.Content.ReadAsStringAsync()); + } + + [Fact] + public async Task Observation_ownership_lookup_failure_fails_closed_while_assignment_list_remains_available() + { + var patient = await CreatePatient(); + var observation = await Record(patient); + await Assign([patient]); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + await fixture.StopObservationServiceAsync(); + try + { + using var read = await Send(HttpMethod.Get, $"/api/observations/{observation.ObservationId}", token); + Assert.Equal(HttpStatusCode.BadGateway, read.StatusCode); + using var list = await Send(HttpMethod.Get, AssignmentPath, token); + Assert.Equal(HttpStatusCode.OK, list.StatusCode); + } + finally { await fixture.RestartHostsAsync(); } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs new file mode 100644 index 0000000..1d9bf16 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs @@ -0,0 +1,195 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text; +using System.Text.Json; +using HealthApp.TestSupport; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class RecordMeasurementContextTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Context(string Setting, string ActivityCondition, decimal? RestDurationMinutes, + string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, Context MeasurementContext); + + private async Task Patient() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new { name = "Context patient", dateOfBirth = "1980-01-01" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + private Task Record(Guid patientId, object? measurementContext, string? context = null, string? note = null) => + fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68, + measurementContext, context, note + }); + + [Fact] + public async Task Complete_context_is_saved_with_the_correct_values_and_retrievable_after_restart() + { + var patient = await Patient(); + var expected = new Context("Home", "AtRest", 5.5m, "Seated", "Left", "Example upper-arm device", + "Example cuff", "Recent stress"); + using var response = await Record(patient, expected, "Before breakfast", "Actual reading"); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + var saved = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(expected, saved.MeasurementContext); + Assert.Equal(patient, saved.PatientId); + Assert.Equal(new DateTime(2026, 9, 12, 8, 0, 0), saved.MeasuredAt); + Assert.Equal(128, saved.Systolic); + Assert.Equal(82, saved.Diastolic); + Assert.Equal(68, saved.Pulse); + Assert.Equal("Before breakfast", saved.Context); + Assert.Equal("Actual reading", saved.Note); + await fixture.RestartHostsAsync(); + Assert.Equal(saved, await fixture.Client.GetFromJsonAsync(response.Headers.Location)); + var latest = await fixture.Client.GetFromJsonAsync($"/api/patients/{patient}/observations/latest"); + Assert.Equal(saved, latest); + var history = await fixture.Client.GetFromJsonAsync($"/api/patients/{patient}/observations?from=2026-09-11&to=2026-09-13"); + Assert.Equal(saved, Assert.Single(history!)); + using var corrected = await fixture.Client.PutAsJsonAsync($"/api/observations/{saved.ObservationId}", + new { systolic = 130, diastolic = 84, pulse = 70 }); + Assert.Equal(HttpStatusCode.OK, corrected.StatusCode); + Assert.Equal(expected, (await corrected.Content.ReadFromJsonAsync())!.MeasurementContext); + await using var db = fixture.CreateObservationDbContext(); + var persisted = await db.Observations.SingleAsync(o => o.ObservationId == saved.ObservationId); + Assert.Equal(5.5m, persisted.MeasurementContext.RestDurationMinutes); + Assert.Equal("Home", persisted.MeasurementContext.Setting); + Assert.Equal("Example cuff", persisted.MeasurementContext.CuffDetails); + } + + [Theory] + [InlineData("Home", "AtRest")] + [InlineData("Home", "DuringActivity")] + [InlineData("Clinic", "AfterActivity")] + [InlineData("Other", "Unknown")] + [InlineData("Unknown", "AtRest")] + [InlineData("Unknown", "Unknown")] + public async Task Setting_and_activity_are_independent_and_departures_from_guidance_are_valid(string setting, string activity) + { + var patient = await Patient(); + using var response = await Record(patient, new { setting, activityCondition = activity, + restDurationMinutes = 0m, bodyPosition = "Standing", additionalCircumstances = "Walking immediately beforehand" }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + var saved = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(setting, saved.MeasurementContext.Setting); + Assert.Equal(activity, saved.MeasurementContext.ActivityCondition); + Assert.Equal(0m, saved.MeasurementContext.RestDurationMinutes); + Assert.Equal("Standing", saved.MeasurementContext.BodyPosition); + Assert.Equal("Walking immediately beforehand", saved.MeasurementContext.AdditionalCircumstances); + } + + [Fact] + public async Task Partial_and_absent_context_remain_unknown_without_reinterpreting_legacy_text() + { + var patient = await Patient(); + using var partial = await Record(patient, new { setting = "Clinic" }); + var first = (await partial.Content.ReadFromJsonAsync())!; + Assert.Equal(HttpStatusCode.Created, partial.StatusCode); + Assert.Equal("Clinic", first.MeasurementContext.Setting); + Assert.Equal("Unknown", first.MeasurementContext.ActivityCondition); + Assert.Null(first.MeasurementContext.RestDurationMinutes); + Assert.Null(first.MeasurementContext.BodyPosition); + using var absent = await Record(patient, null, "Morning reading; resting?", "Keep original text"); + var second = (await absent.Content.ReadFromJsonAsync())!; + Assert.Equal(HttpStatusCode.Created, absent.StatusCode); + Assert.Equal("Unknown", second.MeasurementContext.Setting); + Assert.Equal("Unknown", second.MeasurementContext.ActivityCondition); + Assert.Equal("Morning reading; resting?", second.Context); + Assert.Equal("Keep original text", second.Note); + Assert.Equal(second, await fixture.Client.GetFromJsonAsync(absent.Headers.Location)); + using var explicitNulls = await Record(patient, new { setting = (string?)null, activityCondition = (string?)null }); + Assert.Equal(HttpStatusCode.Created, explicitNulls.StatusCode); + var third = (await explicitNulls.Content.ReadFromJsonAsync())!; + Assert.Equal("Unknown", third.MeasurementContext.Setting); + Assert.Equal("Unknown", third.MeasurementContext.ActivityCondition); + } + + [Fact] + public async Task Conflicting_categories_and_narrative_are_preserved_without_relabelling() + { + var patient = await Patient(); + using var response = await Record(patient, new { setting = "Home", activityCondition = "AtRest", + additionalCircumstances = "During exercise" }, "During exercise", "Recorded as supplied"); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + var saved = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal("AtRest", saved.MeasurementContext.ActivityCondition); + Assert.Equal("During exercise", saved.MeasurementContext.AdditionalCircumstances); + Assert.Equal("During exercise", saved.Context); + Assert.Equal(saved, await fixture.Client.GetFromJsonAsync(response.Headers.Location)); + } + + [Theory] + [InlineData("{\"setting\":\"Unsupported\"}")] + [InlineData("{\"activityCondition\":\"Unsupported\"}")] + [InlineData("{\"setting\":42}")] + [InlineData("{\"activityCondition\":true}")] + [InlineData("{\"restDurationMinutes\":-1}")] + public async Task Invalid_context_is_rejected_with_validation_details_without_saving(string contextJson) + { + var patient = await Patient(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.CountAsync(); + var json = "{\"measuredAt\":\"2026-09-12T08:00:00\",\"systolic\":128,\"diastolic\":82,\"pulse\":68,\"measurementContext\":" + contextJson + "}"; + using var content = new StringContent(json, Encoding.UTF8, "application/json"); + using var response = await fixture.Client.PostAsync($"/api/patients/{patient}/observations", content); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(before, await db.Observations.CountAsync()); + } + + [Fact] + public async Task Context_is_protected_against_other_patient_reads_and_submissions_and_professional_writes() + { + var patient = await Patient(); + var otherPatient = await Patient(); + using var recorded = await Record(patient, new { setting = "Home", activityCondition = "AtRest" }); + Assert.Equal(HttpStatusCode.Created, recorded.StatusCode); + var observation = (await recorded.Content.ReadFromJsonAsync())!; + var otherToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, fixture.Authentication.PatientAccounts[otherPatient]); + await using var db = fixture.CreateObservationDbContext(); + var count = await db.Observations.CountAsync(); + using var read = new HttpRequestMessage(HttpMethod.Get, $"/api/observations/{observation.ObservationId}"); + read.Headers.Authorization = new("Bearer", otherToken); + using var rejectedRead = await fixture.RawClient.SendAsync(read); + Assert.Equal(HttpStatusCode.NotFound, rejectedRead.StatusCode); + Assert.Empty(await rejectedRead.Content.ReadAsStringAsync()); + foreach (var token in new[] { otherToken, await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional") }) + { + using var request = new HttpRequestMessage(HttpMethod.Post, $"/api/patients/{patient}/observations") + { + Content = JsonContent.Create(new { measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, + pulse = 68, measurementContext = new { setting = "Clinic" } }) + }; + request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(token == otherToken ? HttpStatusCode.NotFound : HttpStatusCode.Forbidden, response.StatusCode); + } + Assert.Equal(count, await db.Observations.CountAsync()); + } + + [Fact] + public async Task Assigned_professional_can_retrieve_saved_context() + { + var patient = await Patient(); + using var recorded = await Record(patient, new { setting = "Clinic", activityCondition = "AtRest", deviceDetails = "Clinic device" }); + Assert.Equal(HttpStatusCode.Created, recorded.StatusCode); + var saved = (await recorded.Content.ReadFromJsonAsync())!; + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = patient.ToString(); + await fixture.RestartHostsAsync(); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + using var request = new HttpRequestMessage(HttpMethod.Get, $"/api/observations/{saved.ObservationId}"); + request.Headers.Authorization = new("Bearer", token); + using var response = await fixture.RawClient.SendAsync(request); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal(saved, await response.Content.ReadFromJsonAsync()); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordObservationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordObservationTests.cs new file mode 100644 index 0000000..da50fc5 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/RecordObservationTests.cs @@ -0,0 +1,150 @@ +using System.Net; +using System.Net.Http.Json; +using System.Text; +using System.Text.Json; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class RecordObservationTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note); + + private async Task CreatePatientAsync() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Steffen Example", dateOfBirth = "1980-01-01" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!.PatientId; + } + + [Fact] + public async Task Valid_observation_is_assigned_an_identifier_associated_with_the_patient_and_retrievable_after_restart() + { + var patientId = await CreatePatientAsync(); + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68, + context = "Resting", note = "Before breakfast" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + var saved = await response.Content.ReadFromJsonAsync(); + Assert.NotNull(saved); + Assert.NotEqual(Guid.Empty, saved.ObservationId); + Assert.Equal(patientId, saved.PatientId); + Assert.Equal(new DateTime(2026, 9, 12, 8, 0, 0), saved.MeasuredAt); + Assert.Equal(128, saved.Systolic); + Assert.Equal(82, saved.Diastolic); + Assert.Equal(68, saved.Pulse); + Assert.Equal("Resting", saved.Context); + Assert.Equal("Before breakfast", saved.Note); + Assert.Equal($"/api/observations/{saved.ObservationId}", response.Headers.Location!.ToString()); + + await fixture.RestartHostsAsync(); + Assert.Equal(saved, await fixture.Client.GetFromJsonAsync(response.Headers.Location)); + } + + [Fact] + public async Task Optional_fields_can_be_omitted_and_identifiers_are_distinct() + { + var patientId = await CreatePatientAsync(); + var request = new { measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68 }; + using var first = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", request); + using var second = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", request); + Assert.Equal(HttpStatusCode.Created, first.StatusCode); + Assert.Equal(HttpStatusCode.Created, second.StatusCode); + var saved = (await first.Content.ReadFromJsonAsync())!; + Assert.Null(saved.Context); + Assert.Null(saved.Note); + Assert.NotEqual(saved.ObservationId, (await second.Content.ReadFromJsonAsync())!.ObservationId); + Assert.Equal(saved, await fixture.Client.GetFromJsonAsync(first.Headers.Location)); + } + + [Theory] + [InlineData(0, 82, 68)] + [InlineData(-1, 82, 68)] + [InlineData(128, 0, 68)] + [InlineData(128, -1, 68)] + [InlineData(128, 82, 0)] + [InlineData(128, 82, -1)] + public async Task Non_positive_values_are_rejected_without_saving(int systolic, int diastolic, int pulse) + { + var patientId = await CreatePatientAsync(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.CountAsync(); + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic, diastolic, pulse + }); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + Assert.Equal(before, await db.Observations.CountAsync()); + } + + [Theory] + [InlineData("{\"systolic\":128,\"diastolic\":82,\"pulse\":68}")] + [InlineData("{\"measuredAt\":null,\"systolic\":128,\"diastolic\":82,\"pulse\":68}")] + [InlineData("{\"measuredAt\":\"invalid\",\"systolic\":128,\"diastolic\":82,\"pulse\":68}")] + [InlineData("{\"measuredAt\":\"2026-09-12T08:00:00\",\"diastolic\":82,\"pulse\":68}")] + [InlineData("{\"measuredAt\":\"2026-09-12T08:00:00\",\"systolic\":128,\"pulse\":68}")] + [InlineData("{\"measuredAt\":\"2026-09-12T08:00:00\",\"systolic\":128,\"diastolic\":82}")] + [InlineData("{")] + public async Task Missing_or_malformed_information_is_rejected_without_saving(string json) + { + var patientId = await CreatePatientAsync(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.CountAsync(); + using var content = new StringContent(json, Encoding.UTF8, "application/json"); + using var response = await fixture.Client.PostAsync($"/api/patients/{patientId}/observations", content); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(before, await db.Observations.CountAsync()); + } + + [Fact] + public async Task Missing_patient_is_rejected_without_saving() + { + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.CountAsync(); + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{Guid.NewGuid()}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68 + }); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Equal(before, await db.Observations.CountAsync()); + } + + [Fact] + public async Task Missing_observation_returns_not_found() + { + using var response = await fixture.Client.GetAsync($"/api/observations/{Guid.NewGuid()}"); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + } + + [Fact] + public async Task Failed_patient_lookup_is_rejected_without_saving() + { + var patientId = await CreatePatientAsync(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.CountAsync(); + await fixture.StopPatientServiceAsync(); + try + { + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 128, diastolic = 82, pulse = 68 + }); + Assert.Equal(HttpStatusCode.BadGateway, response.StatusCode); + Assert.Equal(before, await db.Observations.CountAsync()); + } + finally + { + await fixture.RestartHostsAsync(); + } + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/UpdateObservationTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/UpdateObservationTests.cs new file mode 100644 index 0000000..598a582 --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/UpdateObservationTests.cs @@ -0,0 +1,121 @@ +using System.Net; +using System.Net.Http.Json; +using System.Text; +using System.Text.Json; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class UpdateObservationTests(ObservationApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId); + private sealed record Observation(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note); + + private async Task RecordAsync() + { + using var patient = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Correction Example", dateOfBirth = "1980-01-01" + }); + Assert.Equal(HttpStatusCode.Created, patient.StatusCode); + var patientId = (await patient.Content.ReadFromJsonAsync())!.PatientId; + using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new + { + measuredAt = "2026-09-12T08:00:00", systolic = 182, diastolic = 82, pulse = 68, + context = "Resting", note = "Before breakfast" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + return (await response.Content.ReadFromJsonAsync())!; + } + + [Fact] + public async Task Correction_preserves_other_information_and_is_visible_in_all_retrievals_after_restart() + { + var original = await RecordAsync(); + var other = await RecordAsync(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + using var response = await fixture.Client.PutAsJsonAsync($"/api/observations/{original.ObservationId}", + new { systolic = 128, diastolic = 82, pulse = 68 }); + + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var expected = original with { Systolic = 128 }; + Assert.Equal(expected, await response.Content.ReadFromJsonAsync()); + await fixture.RestartHostsAsync(); + Assert.Equal(expected, await fixture.Client.GetFromJsonAsync($"/api/observations/{original.ObservationId}")); + Assert.Equal(expected, await fixture.Client.GetFromJsonAsync( + $"/api/patients/{original.PatientId}/observations/latest")); + var history = await fixture.Client.GetFromJsonAsync( + $"/api/patients/{original.PatientId}/observations?from=2026-09-12T00:00:00&to=2026-09-12T23:59:59"); + Assert.Equal(expected, Assert.Single(history!)); + Assert.Equal(other, await fixture.Client.GetFromJsonAsync($"/api/observations/{other.ObservationId}")); + var after = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + Assert.Equal(before.CreatedAt, after.CreatedAt); + Assert.True(after.UpdatedAt > before.UpdatedAt); + } + + [Fact] + public async Task All_three_measured_values_can_be_corrected() + { + var original = await RecordAsync(); + using var response = await fixture.Client.PutAsJsonAsync($"/api/observations/{original.ObservationId}", + new { systolic = 120, diastolic = 80, pulse = 60 }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal(original with { Systolic = 120, Diastolic = 80, Pulse = 60 }, + await fixture.Client.GetFromJsonAsync($"/api/observations/{original.ObservationId}")); + } + + [Theory] + [InlineData(0, 82, 68)] + [InlineData(128, 0, 68)] + [InlineData(128, 82, 0)] + [InlineData(-1, 82, 68)] + [InlineData(128, -1, 68)] + [InlineData(128, 82, -1)] + public async Task Non_positive_values_are_rejected_without_changing_observation(int systolic, int diastolic, int pulse) + { + var original = await RecordAsync(); + await using var db = fixture.CreateObservationDbContext(); + var before = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + using var response = await fixture.Client.PutAsJsonAsync($"/api/observations/{original.ObservationId}", + new { systolic, diastolic, pulse }); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + Assert.Equal(original, await fixture.Client.GetFromJsonAsync($"/api/observations/{original.ObservationId}")); + var after = await db.Observations.AsNoTracking().SingleAsync(o => o.ObservationId == original.ObservationId); + Assert.Equal(before.UpdatedAt, after.UpdatedAt); + } + + [Theory] + [InlineData("{\"diastolic\":82,\"pulse\":68}")] + [InlineData("{\"systolic\":128,\"pulse\":68}")] + [InlineData("{\"systolic\":128,\"diastolic\":82}")] + [InlineData("{\"systolic\":null,\"diastolic\":82,\"pulse\":68}")] + [InlineData("{\"systolic\":\"invalid\",\"diastolic\":82,\"pulse\":68}")] + [InlineData("{")] + public async Task Missing_or_malformed_values_are_rejected_without_changes(string json) + { + var original = await RecordAsync(); + using var content = new StringContent(json, Encoding.UTF8, "application/json"); + using var response = await fixture.Client.PutAsync($"/api/observations/{original.ObservationId}", content); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.TryGetProperty("errors", out _)); + Assert.Equal(original, await fixture.Client.GetFromJsonAsync($"/api/observations/{original.ObservationId}")); + } + + [Fact] + public async Task Missing_observation_is_rejected_without_inserting_a_new_observation() + { + await using var db = fixture.CreateObservationDbContext(); + var count = await db.Observations.CountAsync(); + var observationId = Guid.NewGuid(); + using var response = await fixture.Client.PutAsJsonAsync($"/api/observations/{observationId}", + new { systolic = 128, diastolic = 82, pulse = 68 }); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Equal(count, await db.Observations.CountAsync()); + using var retrieval = await fixture.Client.GetAsync($"/api/observations/{observationId}"); + Assert.Equal(HttpStatusCode.NotFound, retrieval.StatusCode); + } +} diff --git a/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ViewObservationContextTests.cs b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ViewObservationContextTests.cs new file mode 100644 index 0000000..a13a4ac --- /dev/null +++ b/Reference/ArchitectureA/tests/Observation.AcceptanceTests/ViewObservationContextTests.cs @@ -0,0 +1,149 @@ +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using HealthApp.TestSupport; +using ObservationService.Domain; +using PatientProfileService.Domain; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class ViewObservationContextTests(ObservationApiFixture fixture) : IClassFixture +{ + private static int nextAccount = 180; + private sealed record Saved(string AccountId, Guid PatientId, Guid ObservationId); + private sealed record ContextData(string Setting, string ActivityCondition, decimal? RestDurationMinutes, + string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances); + private sealed record ObservationData(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, + int Systolic, int Diastolic, int Pulse, string? Context, string? Note, ContextData MeasurementContext); + + // Establish Given directly, independently of observation creation and its response. + private async Task Seed(MeasurementContext? context = null, string? legacyText = null) + { + var account = "test-" + Interlocked.Increment(ref nextAccount); + var patientId = Guid.NewGuid(); + var observationId = Guid.NewGuid(); + var timestamp = new DateTime(2026, 9, 12, 8, 0, 0); + await using var patients = fixture.CreateDbContext(); + patients.Patients.Add(new Patient + { + PatientId = patientId, AccountId = account, Name = "Retrieval patient", + DateOfBirth = new DateOnly(1980, 1, 1), CreatedAt = timestamp, UpdatedAt = timestamp + }); + await patients.SaveChangesAsync(); + await using var observations = fixture.CreateObservationDbContext(); + observations.Observations.Add(new BloodPressureObservation + { + ObservationId = observationId, PatientId = patientId, MeasuredAt = timestamp, + Systolic = 128, Diastolic = 82, Pulse = 68, Context = legacyText, Note = "Saved note", + MeasurementContext = context ?? new(), CreatedAt = timestamp, UpdatedAt = timestamp + }); + await observations.SaveChangesAsync(); + return new Saved(account, patientId, observationId); + } + + private async Task Read(Guid observationId, string? token) + { + using var request = new HttpRequestMessage(HttpMethod.Get, $"/api/observations/{observationId}"); + if (token is not null) request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + return await fixture.RawClient.SendAsync(request); + } + + [Fact] + public async Task Complete_saved_context_is_returned_with_its_measurements_and_timestamp_after_restart() + { + var saved = await Seed(new MeasurementContext + { + Setting = "Home", ActivityCondition = "AtRest", RestDurationMinutes = 5.5m, + BodyPosition = "Seated", MeasuredArm = "Right", DeviceDetails = "Recorded device", + CuffDetails = "Recorded cuff", AdditionalCircumstances = "Recorded circumstances" + }, "Original context text"); + await fixture.RestartHostsAsync(); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, saved.AccountId); + using var response = await Read(saved.ObservationId, token); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var observation = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(saved.ObservationId, observation.ObservationId); + Assert.Equal(saved.PatientId, observation.PatientId); + Assert.Equal(new DateTime(2026, 9, 12, 8, 0, 0), observation.MeasuredAt); + Assert.Equal(128, observation.Systolic); + Assert.Equal(82, observation.Diastolic); + Assert.Equal(68, observation.Pulse); + Assert.Equal("Original context text", observation.Context); + Assert.Equal("Saved note", observation.Note); + Assert.Equal(new ContextData("Home", "AtRest", 5.5m, "Seated", "Right", "Recorded device", + "Recorded cuff", "Recorded circumstances"), observation.MeasurementContext); + } + + [Fact] + public async Task Partial_saved_context_distinguishes_known_setting_from_unknown_condition_and_details() + { + var saved = await Seed(new MeasurementContext { Setting = "Clinic" }); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, saved.AccountId); + using var response = await Read(saved.ObservationId, token); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var observation = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal(new ContextData("Clinic", "Unknown", null, null, null, null, null, null), observation.MeasurementContext); + Assert.Equal(saved.ObservationId, observation.ObservationId); + } + + [Fact] + public async Task Historical_free_text_is_returned_without_inventing_setting_or_activity() + { + var saved = await Seed(legacyText: "Morning reading"); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, saved.AccountId); + using var response = await Read(saved.ObservationId, token); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var observation = (await response.Content.ReadFromJsonAsync())!; + Assert.Equal("Morning reading", observation.Context); + Assert.Equal("Saved note", observation.Note); + Assert.Equal(new ContextData("Unknown", "Unknown", null, null, null, null, null, null), observation.MeasurementContext); + } + + [Fact] + public async Task Missing_observation_reports_not_found_without_disclosing_saved_context() + { + var saved = await Seed(new MeasurementContext { Setting = "Home" }); + var token = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, saved.AccountId); + using var response = await Read(Guid.NewGuid(), token); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Empty(await response.Content.ReadAsStringAsync()); + } + + [Fact] + public async Task Unauthorised_callers_cannot_read_observation_context() + { + var saved = await Seed(new MeasurementContext { Setting = "Home", DeviceDetails = "Private device details" }); + var other = await Seed(); + var otherToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, other.AccountId); + var professional = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional-empty"); + foreach (var (token, expected) in new[] + { + ((string?)null, HttpStatusCode.Unauthorized), + ((string?)"invalid", HttpStatusCode.Unauthorized), + ((string?)otherToken, HttpStatusCode.NotFound), + ((string?)professional, HttpStatusCode.NotFound) + }) + { + using var response = await Read(saved.ObservationId, token); + Assert.Equal(expected, response.StatusCode); + Assert.Empty(await response.Content.ReadAsStringAsync()); + } + } + + [Fact] + public async Task Assigned_professional_reads_the_same_context_as_the_owner() + { + var saved = await Seed(new MeasurementContext { Setting = "Clinic", ActivityCondition = "AfterActivity", + AdditionalCircumstances = "Actual circumstances" }, "Original narrative"); + fixture.AdditionalGatewayConfiguration["Access:ProfessionalAssignments:professional:0"] = saved.PatientId.ToString(); + await fixture.RestartHostsAsync(); + var patientToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, saved.AccountId); + var professionalToken = await AuthenticatedTestClient.LoginAsync(fixture.RawClient, "professional"); + using var patient = await Read(saved.ObservationId, patientToken); + using var professional = await Read(saved.ObservationId, professionalToken); + Assert.Equal(HttpStatusCode.OK, patient.StatusCode); + Assert.Equal(HttpStatusCode.OK, professional.StatusCode); + Assert.Equal(await patient.Content.ReadFromJsonAsync(), await professional.Content.ReadFromJsonAsync()); + } +} diff --git a/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs new file mode 100644 index 0000000..446d64a --- /dev/null +++ b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs @@ -0,0 +1,102 @@ +using System.Net; +using System.Security.Claims; +using System.Text; +using System.Text.Encodings.Web; +using HealthApp.TestSupport; +using Microsoft.AspNetCore.Authentication; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Options; +using Xunit; + +namespace PatientProfile.AcceptanceTests; + +public sealed class AuthenticationIntegrationTests +{ + [Fact] + public async Task Production_gateway_rejects_plain_http_even_for_login_and_public_guidance() + { + var authentication = new AuthenticatedTestClient(); + try + { + var configuration = authentication.Configuration(); + foreach (var service in new[] { "PatientProfile", "Observation", "Insights", "HealthOverview" }) + configuration[$"Services:{service}:BaseUrl"] = "https://service.example.test/"; + using var host = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Production"); + builder.ConfigureAppConfiguration((_, config) => config.AddInMemoryCollection(configuration)); + }); + using var http = host.CreateClient(); + using var guidance = await http.GetAsync("/api/measurement-guidance"); + Assert.Equal(HttpStatusCode.BadRequest, guidance.StatusCode); + using var login = await http.PostAsync("/api/authentication/login", new StringContent("{}", Encoding.UTF8, "application/json")); + Assert.Equal(HttpStatusCode.BadRequest, login.StatusCode); + using var https = host.CreateClient(new WebApplicationFactoryClientOptions { BaseAddress = new Uri("https://localhost") }); + using var available = await https.GetAsync("/api/measurement-guidance"); + Assert.Equal(HttpStatusCode.OK, available.StatusCode); + } + finally { if (Directory.Exists(authentication.KeyDirectory)) Directory.Delete(authentication.KeyDirectory, true); } + } + + [Theory] + [InlineData("Patient", "test-0")] + [InlineData("HealthcareProfessional", "professional")] + public async Task Standard_replacement_handler_with_same_identity_retains_ownership_policy(string role, string accountId) + { + var authentication = new AuthenticatedTestClient(); + var patient = Guid.NewGuid(); + try + { + var configuration = authentication.Configuration(); + configuration["TestIdentity:Role"] = role; + configuration["TestIdentity:AccountId"] = accountId; + configuration[$"Access:ProfessionalAssignments:{accountId}:0"] = patient.ToString(); + foreach (var service in new[] { "PatientProfile", "Observation", "Insights", "HealthOverview" }) + configuration[$"Services:{service}:BaseUrl"] = "http://service.example.test/"; + using var host = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureAppConfiguration((_, config) => config.AddInMemoryCollection(configuration)); + builder.ConfigureServices(services => + { + services.AddAuthentication().AddScheme("Replacement", null); + services.PostConfigure("ClientOrService", options => options.ForwardDefaultSelector = _ => "Replacement"); + services.AddHttpClient("PatientProfile").ConfigurePrimaryHttpMessageHandler(() => new PatientHandler(patient)); + }); + }); + using var client = host.CreateClient(); + using var own = await client.GetAsync($"/api/patients/{patient}"); + Assert.Equal(HttpStatusCode.OK, own.StatusCode); + using var other = await client.GetAsync($"/api/patients/{Guid.NewGuid()}"); + Assert.Equal(HttpStatusCode.NotFound, other.StatusCode); + Assert.Empty(await other.Content.ReadAsStringAsync()); + } + finally { if (Directory.Exists(authentication.KeyDirectory)) Directory.Delete(authentication.KeyDirectory, true); } + } + + public sealed class ReplacementHandler(IOptionsMonitor options, ILoggerFactory logger, UrlEncoder encoder, IConfiguration configuration) + : AuthenticationHandler(options, logger, encoder) + { + protected override Task HandleAuthenticateAsync() => Task.FromResult( + AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(new ClaimsIdentity(new[] + { + new Claim(ClaimTypes.NameIdentifier, configuration["TestIdentity:AccountId"]!), new Claim(ClaimTypes.Role, configuration["TestIdentity:Role"]!) + }, Scheme.Name)), Scheme.Name))); + } + + private sealed class PatientHandler(Guid patientId) : HttpMessageHandler + { + protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) + { + Assert.True(request.Headers.Contains("X-Gateway-Key")); + return Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK) + { + Content = new StringContent($"{{\"patientId\":\"{patientId}\"}}", Encoding.UTF8, "application/json") + }); + } + } +} diff --git a/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs new file mode 100644 index 0000000..ae804c1 --- /dev/null +++ b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs @@ -0,0 +1,99 @@ +using System.Net; +using System.Net.Http.Json; +using System.Text; +using System.Text.Json; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace PatientProfile.AcceptanceTests; + +public sealed class CreatePatientTests(PatientApiFixture fixture) : IClassFixture +{ + // This HTTP contract is independent of the service's implementation DTOs. + public sealed record Profile(Guid PatientId, string Name, DateOnly DateOfBirth, string? ContactInfo); + + [Fact] + public async Task Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart() + { + using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Steffen Example", dateOfBirth = "1980-01-01", contactInfo = "steffen@example.test" + }); + Assert.Equal(HttpStatusCode.Created, response.StatusCode); + var created = await response.Content.ReadFromJsonAsync(); + Assert.NotNull(created); + Assert.NotEqual(Guid.Empty, created.PatientId); + Assert.Equal("Steffen Example", created.Name); + Assert.Equal(new DateOnly(1980, 1, 1), created.DateOfBirth); + Assert.Equal("steffen@example.test", created.ContactInfo); + Assert.Equal($"/api/patients/{created.PatientId}", response.Headers.Location!.ToString()); + + await fixture.RestartHostsAsync(); + using var retrieved = await fixture.Client.GetAsync(response.Headers.Location); + Assert.Equal(HttpStatusCode.OK, retrieved.StatusCode); + Assert.Equal(created, await retrieved.Content.ReadFromJsonAsync()); + + await using var db = fixture.CreateDbContext(); + var stored = await db.Patients.SingleAsync(p => p.PatientId == created.PatientId); + Assert.Equal(created.Name, stored.Name); + Assert.Equal(created.DateOfBirth, stored.DateOfBirth); + Assert.Equal(created.ContactInfo, stored.ContactInfo); + Assert.NotEqual(default, stored.CreatedAt); + Assert.Equal(stored.CreatedAt, stored.UpdatedAt); + } + + [Theory] + [InlineData("{\"dateOfBirth\":\"1980-01-01\"}", "Name")] + [InlineData("{\"name\":null,\"dateOfBirth\":\"1980-01-01\"}", "Name")] + [InlineData("{\"name\":\"\",\"dateOfBirth\":\"1980-01-01\"}", "Name")] + [InlineData("{\"name\":\" \",\"dateOfBirth\":\"1980-01-01\"}", "Name")] + [InlineData("{\"name\":\"Steffen Example\"}", "DateOfBirth")] + [InlineData("{\"name\":\"Steffen Example\",\"dateOfBirth\":null}", "DateOfBirth")] + public async Task Missing_required_information_is_rejected_without_persisting(string json, string field) + { + await using var db = fixture.CreateDbContext(); + var countBefore = await db.Patients.CountAsync(); + using var content = new StringContent(json, Encoding.UTF8, "application/json"); + using var response = await fixture.Client.PostAsync("/api/patients", content); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + using var problem = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + Assert.True(problem.RootElement.GetProperty("errors").TryGetProperty(field, out _)); + Assert.Equal(countBefore, await db.Patients.CountAsync()); + } + + [Theory] + [InlineData("{\"name\":\"Steffen Example\",\"dateOfBirth\":\"invalid\"}")] + [InlineData("{\"name\":\"Steffen Example\",\"dateOfBirth\":\"1980-02-30\"}")] + [InlineData("{")] + public async Task Malformed_information_is_rejected(string json) + { + await using var db = fixture.CreateDbContext(); + var countBefore = await db.Patients.CountAsync(); + using var content = new StringContent(json, Encoding.UTF8, "application/json"); + using var response = await fixture.Client.PostAsync("/api/patients", content); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + Assert.Equal(countBefore, await db.Patients.CountAsync()); + } + + [Fact] + public async Task Separate_creations_have_distinct_identifiers_and_contact_information_is_optional() + { + var request = new { name = "Steffen Example", dateOfBirth = "1980-01-01" }; + using var first = await fixture.Client.PostAsJsonAsync("/api/patients", request); + using var second = await fixture.Client.PostAsJsonAsync("/api/patients", request); + Assert.Equal(HttpStatusCode.Created, first.StatusCode); + Assert.Equal(HttpStatusCode.Created, second.StatusCode); + var firstProfile = await first.Content.ReadFromJsonAsync(); + var secondProfile = await second.Content.ReadFromJsonAsync(); + Assert.NotEqual(firstProfile!.PatientId, secondProfile!.PatientId); + Assert.Null(firstProfile.ContactInfo); + Assert.Equal(firstProfile, await fixture.Client.GetFromJsonAsync(first.Headers.Location)); + } + + [Fact] + public async Task Unknown_identifier_returns_not_found() + { + using var response = await fixture.Client.GetAsync($"/api/patients/{Guid.NewGuid()}"); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + } +} diff --git a/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs new file mode 100644 index 0000000..b9a3359 --- /dev/null +++ b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs @@ -0,0 +1,136 @@ +using System.Net; +using HealthApp.TestSupport; +using Microsoft.AspNetCore.Hosting; +using System.Text.Json; +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Xunit; + +namespace PatientProfile.AcceptanceTests; + +public sealed class MeasurementGuidanceTests : IDisposable +{ + private readonly WebApplicationFactory host; + private readonly HttpClient client; + private int upstreamCalls; + private readonly AuthenticatedTestClient authentication = new(); + + public MeasurementGuidanceTests() + { + host = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureAppConfiguration((_, config) => config.AddInMemoryCollection(authentication.Configuration()).AddInMemoryCollection( + new Dictionary + { + ["Services:PatientProfile:BaseUrl"] = "http://127.0.0.1:1/", + ["Services:Observation:BaseUrl"] = "http://127.0.0.1:1/", + ["Services:Insights:BaseUrl"] = "http://127.0.0.1:1/" + })); + builder.ConfigureServices(services => + { + foreach (var name in new[] { "PatientProfile", "Observation", "Insights" }) + services.AddHttpClient(name).ConfigurePrimaryHttpMessageHandler( + () => new RejectUpstreamHandler(() => Interlocked.Increment(ref upstreamCalls))); + }); + }); + client = host.CreateClient(); + } + + [Theory] + [InlineData("")] + [InlineData("?setting=Unknown")] + [InlineData("?setting=Home")] + public async Task Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(string query) + { + using var response = await client.GetAsync("/api/measurement-guidance" + query); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + var result = json.RootElement; + Assert.True(result.GetProperty("available").GetBoolean()); + Assert.Equal("Home", result.GetProperty("applicableSetting").GetString()); + Assert.Equal("AtRest", result.GetProperty("applicableActivityCondition").GetString()); + Assert.True(DateOnly.TryParse(result.GetProperty("reviewedOn").GetString(), out _)); + var steps = result.GetProperty("steps").EnumerateArray().ToArray(); + Assert.Equal(Enumerable.Range(1, 6), steps.Select(s => s.GetProperty("order").GetInt32())); + var instructions = string.Join(" ", steps.Select(s => s.GetProperty("instruction").GetString())); + foreach (var text in new[] { "validated upper-arm", "cuff", "five minutes", "back and arm supported", + "still", "three readings", "three consecutive days", "one observation", "actual", "measurement time" }) + Assert.Contains(text, instructions); + var sources = result.GetProperty("sources").EnumerateArray().ToArray(); + Assert.Equal(2, sources.Length); + Assert.All(sources, source => + { + Assert.StartsWith("https://www.sundhed.dk/", source.GetProperty("url").GetString()); + Assert.True(DateOnly.TryParse(source.GetProperty("updatedOn").GetString(), out _)); + }); + Assert.Contains("not a clinical measurement protocol", result.GetProperty("explanation").GetString()); + Assert.Contains("does not assess rhythm regularity", result.GetProperty("pulseExplanation").GetString()); + Assert.Contains("does not save or alter", result.GetProperty("limitations").GetString()); + Assert.Contains("prevent a valid submission", result.GetProperty("limitations").GetString()); + Assert.DoesNotContain("patientId", result.GetRawText()); + Assert.DoesNotContain("assignments", result.GetRawText()); + Assert.Equal(0, upstreamCalls); + } + + [Theory] + [InlineData("DuringActivity")] + [InlineData("AfterActivity")] + public async Task Activity_is_not_relabelled_as_rest_or_certified(string activity) + { + using var response = await client.GetAsync($"/api/measurement-guidance?setting=Home&activityCondition={activity}"); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + var result = json.RootElement; + Assert.Equal(activity, result.GetProperty("requestedActivityCondition").GetString()); + Assert.Contains("do not relabel", result.GetProperty("activityExplanation").GetString()); + Assert.Contains("remain valid to record", result.GetProperty("activityExplanation").GetString()); + Assert.Contains("does not record a setting or certify compliance", result.GetProperty("explanation").GetString()); + Assert.Equal(0, upstreamCalls); + } + + [Theory] + [InlineData("Clinic")] + [InlineData("Other")] + public async Task Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(string setting) + { + using var response = await client.GetAsync($"/api/measurement-guidance?setting={setting}"); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + var result = json.RootElement; + Assert.False(result.GetProperty("available").GetBoolean()); + Assert.Contains("unavailable", result.GetProperty("explanation").GetString()); + Assert.Empty(result.GetProperty("steps").EnumerateArray()); + Assert.Empty(result.GetProperty("sources").EnumerateArray()); + Assert.Equal(JsonValueKind.Null, result.GetProperty("applicableSetting").ValueKind); + Assert.Equal(0, upstreamCalls); + } + + [Theory] + [InlineData("setting=Unsupported")] + [InlineData("activityCondition=Unsupported")] + public async Task Invalid_categories_return_explained_rejections(string query) + { + using var response = await client.GetAsync("/api/measurement-guidance?" + query); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + Assert.Contains("Unsupported", await response.Content.ReadAsStringAsync()); + Assert.Equal(0, upstreamCalls); + } + + public void Dispose() + { + client.Dispose(); + host.Dispose(); + if (Directory.Exists(authentication.KeyDirectory)) Directory.Delete(authentication.KeyDirectory, true); + } + + private sealed class RejectUpstreamHandler(Action called) : HttpMessageHandler + { + protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) + { + called(); + throw new InvalidOperationException("Guidance must not read or write patient data."); + } + } +} diff --git a/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs new file mode 100644 index 0000000..18115ef --- /dev/null +++ b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs @@ -0,0 +1,93 @@ +using Microsoft.AspNetCore.Authentication.BearerToken; +using Microsoft.Extensions.DependencyInjection; +using HealthApp.TestSupport; +using Microsoft.AspNetCore.Hosting; +using System.Net; +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Configuration; +using Npgsql; +using PatientProfileService.Persistence; +using Xunit; + +namespace PatientProfile.AcceptanceTests; + +public sealed class PatientApiFixture : IAsyncLifetime +{ + private readonly string databaseName = "us01_" + Guid.NewGuid().ToString("N"); + private string adminConnectionString = ""; + private WebApplicationFactory? service; + private WebApplicationFactory? gateway; + public string ConnectionString { get; private set; } = ""; + public HttpClient Client { get; private set; } = null!; + public HttpClient RawClient { get; private set; } = null!; + public AuthenticatedTestClient Authentication { get; } = new(); + + public async Task InitializeAsync() + { + adminConnectionString = Environment.GetEnvironmentVariable("TEST_POSTGRES_CONNECTION") + ?? throw new InvalidOperationException( + "Set TEST_POSTGRES_CONNECTION to a PostgreSQL connection with permission to create test databases."); + await using var connection = new NpgsqlConnection(adminConnectionString); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand($"CREATE DATABASE {databaseName}", connection); + await command.ExecuteNonQueryAsync(); + ConnectionString = new NpgsqlConnectionStringBuilder(adminConnectionString) { Database = databaseName }.ConnectionString; + await using var db = CreateDbContext(); + await db.Database.MigrateAsync(); + // Applying the committed migration twice must be harmless. + await db.Database.MigrateAsync(); + StartHosts(); + } + + public PatientDbContext CreateDbContext() => new( + new DbContextOptionsBuilder().UseNpgsql(ConnectionString).Options); + + private void StartHosts() + { + service = new WebApplicationFactory().WithWebHostBuilder(builder => + { + builder.UseEnvironment("Development"); + builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0)); + builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection( + new Dictionary { ["ConnectionStrings:PatientDatabase"] = ConnectionString, ["InternalAccess:GatewayKey"] = Authentication.GatewayKey })); + }); + service.UseKestrel(0); + using var serviceClient = service.CreateClient(); + + gateway = new WebApplicationFactory().WithWebHostBuilder(builder => + builder.UseEnvironment("Development").ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection(Authentication.Configuration()).AddInMemoryCollection( + new Dictionary { ["Services:PatientProfile:BaseUrl"] = serviceClient.BaseAddress!.ToString(), + ["Services:Insights:BaseUrl"] = "http://127.0.0.1:1/", + ["Services:Observation:BaseUrl"] = "http://127.0.0.1:1/" }))); + gateway = gateway.WithWebHostBuilder(builder => builder.ConfigureServices(services => + services.PostConfigure("Bearer", options => options.TimeProvider = Authentication.Clock))); + RawClient = gateway.CreateClient(); + Client = Authentication.Wrap(RawClient); + } + + public async Task RestartHostsAsync() + { + Client.Dispose(); + RawClient.Dispose(); + await gateway!.DisposeAsync(); + await service!.DisposeAsync(); + StartHosts(); + } + + public async Task DisposeAsync() + { + Client?.Dispose(); + RawClient?.Dispose(); + if (gateway is not null) await gateway.DisposeAsync(); + if (service is not null) await service.DisposeAsync(); + if (Directory.Exists(Authentication.KeyDirectory)) Directory.Delete(Authentication.KeyDirectory, true); + if (string.IsNullOrEmpty(adminConnectionString)) return; + + NpgsqlConnection.ClearAllPools(); + await using var connection = new NpgsqlConnection(adminConnectionString); + await connection.OpenAsync(); + await using var command = new NpgsqlCommand($"DROP DATABASE IF EXISTS {databaseName} WITH (FORCE)", connection); + await command.ExecuteNonQueryAsync(); + } +} diff --git a/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj new file mode 100644 index 0000000..244d3e4 --- /dev/null +++ b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj @@ -0,0 +1,20 @@ + + + net10.0 + enable + enable + false + true + + + + + + + + + + + + + diff --git a/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs new file mode 100644 index 0000000..60713a8 --- /dev/null +++ b/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs @@ -0,0 +1,71 @@ +using System.Net; +using System.Net.Http.Json; +using Microsoft.EntityFrameworkCore; +using Xunit; + +namespace PatientProfile.AcceptanceTests; + +public sealed class UpdatePatientTests(PatientApiFixture fixture) : IClassFixture +{ + private sealed record Profile(Guid PatientId, string Name, DateOnly DateOfBirth, string? ContactInfo); + + [Fact] + public async Task Updated_profile_preserves_identity_and_date_of_birth_and_survives_restart() + { + using var createdResponse = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Steffen Example", dateOfBirth = "1980-01-01", contactInfo = "old@example.test" + }); + Assert.Equal(HttpStatusCode.Created, createdResponse.StatusCode); + var created = (await createdResponse.Content.ReadFromJsonAsync())!; + var path = $"/api/patients/{created.PatientId}"; + + using var response = await fixture.Client.PutAsJsonAsync(path, new + { + name = "Steffen Updated", contactInfo = "new@example.test" + }); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var expected = created with { Name = "Steffen Updated", ContactInfo = "new@example.test" }; + Assert.Equal(expected, await response.Content.ReadFromJsonAsync()); + + await fixture.RestartHostsAsync(); + Assert.Equal(expected, await fixture.Client.GetFromJsonAsync(path)); + } + + [Fact] + public async Task Updating_a_missing_patient_is_rejected_without_creating_a_profile() + { + await using var db = fixture.CreateDbContext(); + var countBefore = await db.Patients.CountAsync(); + var path = $"/api/patients/{Guid.NewGuid()}"; + using var response = await fixture.Client.PutAsJsonAsync(path, new + { + name = "Steffen Example", contactInfo = "new@example.test" + }); + Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); + Assert.Equal(countBefore, await db.Patients.CountAsync()); + using var retrieval = await fixture.Client.GetAsync(path); + Assert.Equal(HttpStatusCode.NotFound, retrieval.StatusCode); + } + + [Theory] + [InlineData(null)] + [InlineData("")] + [InlineData(" ")] + public async Task Invalid_name_is_rejected_without_changing_the_profile(string? name) + { + using var createdResponse = await fixture.Client.PostAsJsonAsync("/api/patients", new + { + name = "Steffen Example", dateOfBirth = "1980-01-01", contactInfo = "old@example.test" + }); + Assert.Equal(HttpStatusCode.Created, createdResponse.StatusCode); + var created = (await createdResponse.Content.ReadFromJsonAsync())!; + var path = $"/api/patients/{created.PatientId}"; + using var response = await fixture.Client.PutAsJsonAsync(path, new + { + name, contactInfo = "new@example.test" + }); + Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode); + Assert.Equal(created, await fixture.Client.GetFromJsonAsync(path)); + } +} diff --git a/Reference/ArchitectureA/tests/Support/AuthenticatedTestClient.cs b/Reference/ArchitectureA/tests/Support/AuthenticatedTestClient.cs new file mode 100644 index 0000000..7fce3f2 --- /dev/null +++ b/Reference/ArchitectureA/tests/Support/AuthenticatedTestClient.cs @@ -0,0 +1,112 @@ +using System.Collections.Concurrent; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using System.Text.Json; +using ApiGateway.Security; +using Microsoft.AspNetCore.Identity; + +namespace HealthApp.TestSupport; + +// Existing functional tests use real login and an authorised account for each resource. +// Security tests use RawClient instead to exercise rejected requests explicitly. +public sealed class AuthenticatedTestClient +{ + public const string Password = "synthetic-test-password"; + public readonly string GatewayKey = new('g', 48); + public readonly string ObservationServiceKey = new('o', 48); + public readonly string InsightsServiceKey = new('i', 48); + public readonly string OverviewServiceKey = new('v', 48); + public TestClock Clock { get; } = new(); + public string KeyDirectory { get; } = Path.Combine(Path.GetTempPath(), "healthapp-keys-" + Guid.NewGuid()); + public ConcurrentDictionary PatientAccounts { get; } = new(); + private readonly ConcurrentDictionary observationAccounts = new(); + private readonly ConcurrentDictionary tokens = new(); + private int accountNumber; + private string lastAccount = "test-0"; + private readonly string hash = new PasswordHasher().HashPassword(new(), Password); + + public Dictionary Configuration() + { + var values = new Dictionary + { + ["Authentication:KeyDirectory"] = KeyDirectory, + ["Services:PatientProfile:Key"] = GatewayKey, + ["Services:Observation:Key"] = GatewayKey, + ["Services:Insights:Key"] = GatewayKey, + ["InternalAccess:Observation:Key"] = ObservationServiceKey, + ["InternalAccess:Insights:Key"] = InsightsServiceKey, + ["InternalAccess:HealthOverview:Key"] = OverviewServiceKey, + ["Services:HealthOverview:Key"] = GatewayKey, + ["Services:HealthOverview:BaseUrl"] = "http://127.0.0.1:1/" + }; + for (var i = 0; i < 256; i++) + { + values[$"Authentication:Accounts:{i}:AccountId"] = "test-" + i; + values[$"Authentication:Accounts:{i}:PasswordHash"] = hash; + values[$"Authentication:Accounts:{i}:Role"] = "Patient"; + } + values["Authentication:Accounts:256:AccountId"] = "professional"; + values["Authentication:Accounts:256:PasswordHash"] = hash; + values["Authentication:Accounts:256:Role"] = "HealthcareProfessional"; + for (var i = 257; i <= 258; i++) + { + values[$"Authentication:Accounts:{i}:AccountId"] = i == 257 ? "professional-second" : "professional-empty"; + values[$"Authentication:Accounts:{i}:PasswordHash"] = hash; + values[$"Authentication:Accounts:{i}:Role"] = "HealthcareProfessional"; + } + return values; + } + + public HttpClient Wrap(HttpClient raw) => new(new Handler(this, raw)) { BaseAddress = raw.BaseAddress }; + + public static async Task LoginAsync(HttpClient raw, string account = "test-0", string password = Password) + { + using var response = await raw.PostAsJsonAsync("/api/authentication/login", new { accountId = account, password }); + response.EnsureSuccessStatusCode(); + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync()); + return json.RootElement.GetProperty("accessToken").GetString()!; + } + + private sealed class Handler(AuthenticatedTestClient owner, HttpClient raw) : HttpMessageHandler + { + protected override async Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) + { + var path = request.RequestUri!.AbsolutePath; + var parts = path.Trim('/').Split('/'); + var account = owner.lastAccount; + if (path == "/api/patients" && request.Method == HttpMethod.Post) + account = "test-" + Interlocked.Increment(ref owner.accountNumber); + else if (parts.Length >= 3 && Guid.TryParse(parts[2], out var id)) + { + var map = parts[1] == "patients" ? owner.PatientAccounts : owner.observationAccounts; + if (map.TryGetValue(id, out var found)) account = found; + } + if (!owner.tokens.TryGetValue(account, out var token)) + { + token = await LoginAsync(raw, account); + owner.tokens[account] = token; + } + using var forwarded = new HttpRequestMessage(request.Method, request.RequestUri) { Content = request.Content }; + foreach (var header in request.Headers) forwarded.Headers.TryAddWithoutValidation(header.Key, header.Value); + forwarded.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); + var response = await raw.SendAsync(forwarded, cancellationToken); + if (response.IsSuccessStatusCode && request.Method == HttpMethod.Post) + { + using var json = JsonDocument.Parse(await response.Content.ReadAsStringAsync(cancellationToken)); + if (json.RootElement.TryGetProperty("patientId", out var patient)) + owner.PatientAccounts[patient.GetGuid()] = account; + if (json.RootElement.TryGetProperty("observationId", out var observation)) + owner.observationAccounts[observation.GetGuid()] = account; + owner.lastAccount = account; + } + return response; + } + } +} + +public sealed class TestClock : TimeProvider +{ + private DateTimeOffset now = DateTimeOffset.UtcNow; + public override DateTimeOffset GetUtcNow() => now; + public void Advance(TimeSpan span) => now += span; +} diff --git a/Reference/README.md b/Reference/README.md new file mode 100644 index 0000000..19f4eea --- /dev/null +++ b/Reference/README.md @@ -0,0 +1,3 @@ +# Pinned Architecture A evidence + +ArchitectureA contains required tracked build/source/tests/deployment files copied without changes from source commit `2117236366130775214d9fd2611984d4348f2b79`. Source remains read-only. This reference is excluded from the final Architecture B solution; it preserves original algorithms, assertions and topology evidence. Build/test artifacts are ignored. Run tests against independently provisioned disposable synthetic databases only.