diff --git a/ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_12_09_01.trx b/ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_12_09_01.trx new file mode 100644 index 0000000..9b14d5e --- /dev/null +++ b/ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_12_09_01.trx @@ -0,0 +1,2711 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [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.05] Discovering: HealthApp.AcceptanceTests +[xUnit.net 00:00:00.10] Discovered: HealthApp.AcceptanceTests +[xUnit.net 00:00:00.13] Starting: HealthApp.AcceptanceTests +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {c564c9c4-17b0-49b2-8dc3-70ccae7b74fe} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {d6bc5804-b664-434e-9aef-7b43b663d152} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {ae6c27ce-068d-439b-91a5-4ac927405db3} 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] + 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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 {21faf5d1-8bdc-49f5-b7a0-d122dea0e85f} 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/src/HealthApp +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 {e922daea-b9c0-4b5c-af53-d4c1b5e98e72} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {9c4012e4-4087-482f-bc2f-248f262f37f0} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f038ea05-0ca4-4606-92bb-249ed25ee488} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {021b2fb5-9cac-4c7e-8376-0723d707f135} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {956f3db7-3f66-4036-a6c5-37d415a2295c} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {23bdd8a0-161d-4911-93b5-9c179e40782c} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {97999632-dccf-4631-b372-ed60e0107272} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {48b2c33a-6d3e-4c2a-b41b-716d54b425ca} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34563 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {28e0a721-2215-4e7d-a9e7-fa0e5f0dde79} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38533 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {95466f65-361f-4d18-8a1d-2d52b6135bda} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {0ec2b012-37eb-4589-a379-4711b489b78d} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34667 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36751 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {daf8d9bd-e756-4535-bf60-61cf9d84888b} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42849 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {e7d4b2c3-32dd-4aeb-9527-380c8b54c13b} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35665 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {dc94e270-e88e-4545-a6ee-82a887e10f46} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43897 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {901885b5-84c8-473b-bbe1-881273475137} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {ea1b6255-9df9-4b16-b978-78151b3308c7} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39543 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {e4946e43-cf39-4835-a4cb-e8f92ed99d21} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {0c607491-59a4-4a5a-9143-a223d2dae76a} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {9ab59cd2-5f5f-4e91-95e5-24926fb8e9f0} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41937 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {cc3894c2-4c31-4d50-ae79-7cde780783ff} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f8aa4fec-467c-4d28-a745-57bad159dfd3} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33229 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41939 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33819 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {03f012ea-3057-4188-a6a8-aa7c64f27de4} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38765 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {13e40ab5-e698-41cb-839d-7c0a90864e51} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {94eda6e0-6c95-403e-b6c9-48d76ad55d59} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {0c89245c-fad3-4fc1-8964-e0ec49b189e2} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {02e1fad2-b341-45c8-99bf-6e8fd46c1df5} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {0ca80ab7-574d-4ea4-99a5-f0c71a539b98} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {ea56e3c4-335b-4412-a792-2d410e0fe929} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {a4046b5b-ace0-4b1b-8773-2fd379adfb3b} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36769 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45665 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44511 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:32911 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36623 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45863 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37189 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40333 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:37259 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:35295 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45487 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34815 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35087 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:46755 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:41145 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45489 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:44251 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38551 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35251 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:39683 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33075 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37361 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39365 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38571 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44035 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35089 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39651 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RCML0SDA:00000001 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45663 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44837 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36645 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +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 HealthApp.Profile.ProfileFacade.CreateAsync(String trustedAccountId, CreatePatientRequest r, CancellationToken ct) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Profile/ProfileFacade.cs:line 22 + at HealthApp.Controllers.PatientController.Create(CreatePatientRequest r, CancellationToken ct) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Controllers/PatientController.cs:line 16 + at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.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 HealthApp.Security.RequestBoundaryMiddleware.InvokeAsync(HttpContext ctx) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Security/RequestBoundaryMiddleware.cs:line 52 + at HealthApp.Security.RequestBoundaryMiddleware.InvokeAsync(HttpContext ctx) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Security/RequestBoundaryMiddleware.cs:line 60 + at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) + at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) + at HealthApp.Program.<>c__DisplayClass0_0.<<Main>b__5>d.MoveNext() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 61 + --- End of stack trace from previous location --- + at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task) +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42033 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:38083 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:37673 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41127 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:46019 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33557 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44731 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RCML0SDJ:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Create failed with 503; correlation 0HNP9RCML0SDK:00000001 +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:43233 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38869 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:37219 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:41165 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45897 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44621 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Record failed with 503; correlation 0HNP9RCML0SDP:00000001 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35159 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Trend failed with 503; correlation 0HNP9RCML0SDR:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38429 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Insight failed with 503; correlation 0HNP9RCML0SDS:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40677 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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[14] + Now listening on: http://127.0.0.1:43503 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34175 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45775 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41341 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RCML0SDV:00000001 +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:42019 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43305 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43759 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:36445 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44395 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38029 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33841 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:34573 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:43761 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46847 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:39293 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40757 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34335 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36659 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RCML0SEG:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34053 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {2cbb934e-3d97-4fc4-9174-cd36c397ec48} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34417 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:41107 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36619 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36751 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +[xUnit.net 00:00:06.45] Finished: HealthApp.AcceptanceTests + + + + \ No newline at end of file diff --git a/ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_12_10_57.trx b/ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_12_10_57.trx new file mode 100644 index 0000000..67fa95d --- /dev/null +++ b/ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_12_10_57.trx @@ -0,0 +1,2841 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [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.05] Discovering: HealthApp.AcceptanceTests +[xUnit.net 00:00:00.10] Discovered: HealthApp.AcceptanceTests +[xUnit.net 00:00:00.14] Starting: HealthApp.AcceptanceTests +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {34315614-853a-4231-b0c7-cb8f5be0a5fa} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {824321c2-ac0f-44f8-89db-b1f4c8b12926} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {bf38687c-aab2-457a-8a49-4a63d0fe6e01} 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] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Production +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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 {e5007980-a1a6-4f3b-9522-85e5d13ab820} 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/src/HealthApp +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 {565f3d7f-11d0-4d8e-b744-0e8b4ada3987} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {7dedc905-6fdd-4065-877c-ddcdb9058ca1} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {7a48e3ff-1e56-475a-909c-363e97b97045} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {cb225df7-2bf0-4833-acda-295fd119fdaa} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f3bb0575-1f8d-42e2-976c-6147b2f0583b} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {d946c7c5-3ff1-4ca9-b8d4-76758496179e} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {54df1118-2b49-46a2-ac6d-5aea04f4df7b} 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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {74816557-2cbd-46ae-ba39-1172fe78b98e} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {a81298e8-d1a3-4915-a7a9-09b316eed836} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {dcad2ac3-d99f-4f22-b296-ab493e8dfff0} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {444f3631-9078-47c1-b944-ed109ad68aef} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36819 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38035 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33739 +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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41709 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f92b26cc-a32e-4e17-b2c4-dd944cc6356d} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {45eb5c75-aab3-471e-998a-54766be0ecdb} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {dc156b67-bdba-4b80-85bf-d42a4af03d50} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {93fa7bf4-a515-428c-8a22-17e1881f4fc7} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44201 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f9d128c9-6721-45a3-bb4e-7afefa324b9f} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45343 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35815 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33491 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {a28d9120-c6bf-4db4-8f89-687a7f95e375} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {7e63f1c2-950f-4421-8b94-debe64dd20c3} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38591 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {6c66e212-3f99-45fa-80f5-f52fecb24a2a} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40873 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37331 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {8db79897-83d6-414e-bf0c-e5ea7e4812c0} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {be361034-ecd5-43c3-aa16-71dcfda6ffc4} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {51d57d00-1630-4c5a-85b5-17ce4e1a6522} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:41785 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {b73102a8-090e-44d8-972e-69054fbb7661} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46087 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42869 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46227 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38459 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {d77562cb-b891-4e8a-a52c-932480d80669} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {59713e28-0ca8-4eba-b3eb-1ae170033291} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {01d99dbd-a2af-4d49-99fc-6fd4840d1977} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {650b72bf-d344-41ad-b8dc-931c3f0f2149} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {f4a8f6d2-5d06-4a29-8533-649830fd87b7} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {c4b88596-99cf-48d4-a2d4-d673ddbac776} may be persisted to storage in unencrypted form. +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {fb993904-eb39-41a9-bfac-f0d6c9f102a4} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:43721 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37581 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45149 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39385 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33949 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40219 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39389 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40663 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:43729 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46279 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42699 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33651 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:34429 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33581 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +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/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39351 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45407 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:45003 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45769 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40983 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34375 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37885 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:35861 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45353 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44519 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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... +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Update failed with 504; correlation 0HNP9RDP9LPJL:00000001 +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33059 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42525 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38721 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45043 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37647 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40107 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:34559 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:46447 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:43583 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +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 HealthApp.Profile.ProfileFacade.CreateAsync(String trustedAccountId, CreatePatientRequest r, CancellationToken ct) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Profile/ProfileFacade.cs:line 22 + at HealthApp.Controllers.PatientController.Create(CreatePatientRequest r, CancellationToken ct) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Controllers/PatientController.cs:line 16 + at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.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 HealthApp.Security.RequestBoundaryMiddleware.InvokeAsync(HttpContext ctx) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Security/RequestBoundaryMiddleware.cs:line 52 + at HealthApp.Security.RequestBoundaryMiddleware.InvokeAsync(HttpContext ctx) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Security/RequestBoundaryMiddleware.cs:line 60 + at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) + at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) + at HealthApp.Program.<>c__DisplayClass0_0.<<Main>b__5>d.MoveNext() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 61 + --- End of stack trace from previous location --- + at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task) +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33191 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38283 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38697 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RDP9LPK1:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37675 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34027 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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[14] + Now listening on: http://127.0.0.1:40371 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Create failed with 503; correlation 0HNP9RDP9LPK5:00000001 +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:32861 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42551 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36687 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44497 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37901 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RDP9LPKA:00000001 +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:35931 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39793 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:46713 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:43217 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Trend failed with 503; correlation 0HNP9RDP9LPKE:00000001 +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:43479 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:36185 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:34129 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:44681 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Record failed with 503; correlation 0HNP9RDP9LPKI:00000001 +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:45671 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39803 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38911 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42041 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RDP9LPKL:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Insight failed with 503; correlation 0HNP9RDP9LPKM:00000001 +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:36401 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39979 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39105 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:38685 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35625 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:43145 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35819 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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[14] + Now listening on: http://127.0.0.1:35669 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:33391 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:37377 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:36995 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +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] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:42315 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35521 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45525 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:35949 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: HealthApp.Security.RequestBoundaryMiddleware[0] + Operation Get failed with 503; correlation 0HNP9RDP9LPL6:00000001 +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:39711 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] + No XML encryptor configured. Key {4cd79a97-2fba-4e87-b5ee-25950d2d1797} may be persisted to storage in unencrypted form. +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:40507 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +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:37297 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:42507 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:45537 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Development +info: Microsoft.Hosting.Lifetime[0] + Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... +[xUnit.net 00:00:06.69] Finished: HealthApp.AcceptanceTests + + + + \ No newline at end of file diff --git a/ImplementationPlan/implementation-log.md b/ImplementationPlan/implementation-log.md index abf9703..38b13d9 100644 --- a/ImplementationPlan/implementation-log.md +++ b/ImplementationPlan/implementation-log.md @@ -43,3 +43,7 @@ SummaryPolicy, TrendPolicy, ClinicalPolicy and Guidance-owned versioned Referenc ### Stage 5 checkpoint — passed Overview composes typed Profile, Observation and Analytics queries; profile/latest/selected series share repeatable-read from authorization. Analytics releases capture before calculation. Deterministic interleaving commits Profile and Observation changes after Profile capture: in-flight overview stays old/coherent; next sees new values; selected query called once; transaction inactive before Analytics returns. All adopted Overview, patient and professional suites pass: 266/266 cases, zero warnings/errors. Ownership now checks route metadata before model validation to preserve denied empty-404 behaviour. Stage 4 commit `cab10c5`. + +### Stage 6 checkpoint — passed + +Bounded pooled DB source, configurable health/assessment admission and deadlines, cancellation/rollback, release-before-result filter, sanitized dependency errors/no-store, authenticated liveness/readiness and fail-closed remote VerifyFull requirement. Deterministic locked-write deadline leaves profile unchanged; exhausted assessment budget returns 503+Retry-After while public guidance works; DB outage readiness is 503 while guidance/login remain usable. Restored original replacement-handler same-normalized-identity own/other assertions using real B profiles rather than obsolete HTTP stub. Fresh-schema context-default test retains all original value/text/Unknown assertions, with explicit synthetic associated patient for FK and no live migration. Module conformance checks pass. 276/276 tests passed; zero warnings/errors. Stage 5 commit `cc7f871`. Native deployment verification remains pending. diff --git a/ImplementationPlan/test-adaptations.md b/ImplementationPlan/test-adaptations.md index 9c264d5..9b7d384 100644 --- a/ImplementationPlan/test-adaptations.md +++ b/ImplementationPlan/test-adaptations.md @@ -20,3 +20,6 @@ Insight/context/trend/deletion-derived tests: service-stop helpers represent DB | PatientAuthenticationTests.Direct_services_reject_client_tokens_missing_keys_and_forged_keys / Service_credentials_are_limited_to_their_documented_read_calls | Replaced together by Sole_public_edge_accepts_client_ticket_but_service_headers_grant_no_access: valid client ticket works at sole edge, forged service headers grant nothing, internal by-account route absent. Originals remain baseline evidence. Patient/professional denial matrices unchanged | | PatientAuthenticationTests.Database_failure_rolls_back_profile_and_association_together | Same B-local trigger/no-row/retry assertions, search_path resolves owned Profile schema; unexpected write failure still 500 | | Original view/overview wire DTOs | Same JSON fields. Shared context DTO nullable annotation needs test null-forgiving operator after established setup; assertions unchanged | + +| Original AuthenticationIntegrationTests replacement handler | Standard ASP.NET replacement scheme is now default at sole edge; test seeds real B-local Profile instead of HTTP PatientHandler. Own 200, other empty 404 assertions unchanged. Production HTTP rejection test retained | +| MeasurementContextMigrationTests | Fresh schema given equivalent synthetic row and required associated patient; same original IDs/times/values/text/Unknown detail assertions. No old-schema/live import, per Q4 | diff --git a/src/HealthApp.Infrastructure/RequestTransaction.cs b/src/HealthApp.Infrastructure/RequestTransaction.cs index c77fe62..2f108e9 100644 --- a/src/HealthApp.Infrastructure/RequestTransaction.cs +++ b/src/HealthApp.Infrastructure/RequestTransaction.cs @@ -28,7 +28,7 @@ public sealed class RequestTransaction(NpgsqlDataSource source) : IAsyncDisposab } public async ValueTask DisposeAsync() { - if(Transaction is not null)await Transaction.DisposeAsync(); - if(Connection is not null)await Connection.DisposeAsync(); + if(Transaction is not null){await Transaction.DisposeAsync();Transaction=null;} + if(Connection is not null){await Connection.DisposeAsync();Connection=null;} } } diff --git a/src/HealthApp/Program.cs b/src/HealthApp/Program.cs index e43703c..1179e4b 100644 --- a/src/HealthApp/Program.cs +++ b/src/HealthApp/Program.cs @@ -16,7 +16,10 @@ public class Program public static async Task Main(string[] args) { var builder = WebApplication.CreateBuilder(args); - builder.Services.AddControllers(); + builder.Logging.AddFilter("Microsoft.AspNetCore",LogLevel.Warning); + builder.Logging.AddFilter("Microsoft.EntityFrameworkCore",LogLevel.None); + builder.Services.AddControllers(o=>o.Filters.Add()); + builder.Services.AddSingleton(); builder.Services.AddProblemDetails(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); @@ -26,6 +29,8 @@ public class Program var text=c.GetConnectionString("HealthDatabase"); if(string.IsNullOrWhiteSpace(text))throw new InvalidOperationException("HealthDatabase connection is required."); var options=new NpgsqlConnectionStringBuilder(text){Pooling=true,MaxPoolSize=c.GetValue("Resources:MaxPoolSize",32)}; + var local=options.Host is "localhost" or "127.0.0.1" or "::1" || options.Host?.StartsWith('/')==true; + if((c.GetValue("Database:Remote",false)||!local)&&options.SslMode!=SslMode.VerifyFull)throw new InvalidOperationException("Remote database requires verified TLS and hostname checking."); return NpgsqlDataSource.Create(options.ConnectionString); }); builder.Services.AddScoped();builder.Services.AddProfile();builder.Services.AddObservations();builder.Services.AddScoped(); @@ -44,6 +49,9 @@ public class Program var lifetime=app.Configuration.GetValue("Authentication:TokenLifetimeMinutes",30); if(lifetime is <=0 or >1440)throw new InvalidOperationException("Invalid token lifetime."); if(string.IsNullOrWhiteSpace(app.Configuration["Authentication:KeyDirectory"]))throw new InvalidOperationException("Authentication:KeyDirectory is required."); + _=app.Services.GetRequiredService(); + if(app.Configuration.GetValue("Resources:RequestDeadlineSeconds",30d)<=0)throw new InvalidOperationException("Request deadline must be positive."); + if(!string.IsNullOrWhiteSpace(app.Configuration.GetConnectionString("HealthDatabase")))_=app.Services.GetRequiredService(); _=app.Services.GetRequiredService(); _=app.Services.GetRequiredService(); app.UseExceptionHandler(); @@ -53,26 +61,19 @@ public class Program await next(ctx); }); app.UseAuthentication();app.UseAuthorization(); - app.Use(async(ctx,next)=> { - if(ctx.GetEndpoint()?.Metadata.GetMetadata() is not null || ctx.Request.Path.StartsWithSegments("/api/professionals")){await next(ctx);return;} - if(ctx.User.Identity?.IsAuthenticated!=true){await next(ctx);return;} - if(ctx.User.IsInRole("HealthcareProfessional") && ctx.Request.Method!="GET"){ctx.Response.StatusCode=403;return;} - var tx=ctx.RequestServices.GetRequiredService(); + app.UseMiddleware(); + app.MapControllers(); + app.MapGet("/health/live",()=>Results.Ok(new{status="live"})).RequireAuthorization(); + app.MapGet("/health/ready",async (HttpContext ctx)=>{ try{ - var write=ctx.Request.Method!="GET"; - await tx.BeginAsync(write,ctx.RequestAborted); - Guid? actual=null; - if(Guid.TryParse(ctx.Request.RouteValues["patientId"]?.ToString(),out var patientId))actual=patientId; - else if(Guid.TryParse(ctx.Request.RouteValues["observationId"]?.ToString(),out var observationId))actual=await ctx.RequestServices.GetRequiredService().ResolveOwnerAsync(observationId,ctx.RequestAborted); - if(ctx.Request.RouteValues.ContainsKey("patientId") || ctx.Request.RouteValues.ContainsKey("observationId")) - { - var approved=actual is null?null:await ctx.RequestServices.GetRequiredService().AuthorizeAsync(ctx.User,actual.Value,write,ctx.RequestAborted); - if(approved is null){ctx.Response.StatusCode=404;return;} - } - await next(ctx); - } - catch(NpgsqlException){if(ctx.Response.HasStarted)ctx.Abort();else {ctx.Response.Clear();await Results.Problem(statusCode:503,title:"Health data dependency is unavailable.").ExecuteAsync(ctx);}} - });app.MapControllers(); + _=ctx.RequestServices.GetRequiredService().CreateProtector("readiness").Protect("probe"); + var catalog=ctx.RequestServices.GetRequiredService(); + if(string.IsNullOrWhiteSpace(catalog.Version))return Results.StatusCode(503); + await using var connection=await ctx.RequestServices.GetRequiredService().OpenConnectionAsync(ctx.RequestAborted); + await using var command=new NpgsqlCommand("SELECT (SELECT max(version) FROM profile.schema_version)=1 AND (SELECT max(version) FROM observations.schema_version)=1",connection); + return await command.ExecuteScalarAsync(ctx.RequestAborted) is true?Results.Ok(new{status="ready"}):Results.StatusCode(503); + }catch(NpgsqlException){return Results.StatusCode(503);} + }).RequireAuthorization(); await app.RunAsync(); } } diff --git a/src/HealthApp/Security/RequestBoundaryMiddleware.cs b/src/HealthApp/Security/RequestBoundaryMiddleware.cs new file mode 100644 index 0000000..745bc3f --- /dev/null +++ b/src/HealthApp/Security/RequestBoundaryMiddleware.cs @@ -0,0 +1,71 @@ +using HealthApp.Contracts; +using HealthApp.Infrastructure; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.Filters; +using Npgsql; +namespace HealthApp.Security; +public sealed class RequestAdmission(IConfiguration configuration) : IDisposable +{ + public SemaphoreSlim Health {get;}=new(Positive(configuration,"Resources:MaxConcurrentRequests",32)); + public SemaphoreSlim Assessment {get;}=new(Positive(configuration,"Resources:MaxConcurrentAssessments",4)); + private static int Positive(IConfiguration c,string key,int fallback) + {var value=c.GetValue(key,fallback);return value>0?value:throw new InvalidOperationException(key+" must be positive.");} + public void Dispose(){Health.Dispose();Assessment.Dispose();} +} +public sealed class ReleaseTransactionFilter : IAsyncActionFilter +{ + public async Task OnActionExecutionAsync(ActionExecutingContext context,ActionExecutionDelegate next) + { + try{await next();} + finally{if(context.HttpContext.Items[typeof(RequestTransaction)] is RequestTransaction tx && tx.Active)await tx.DisposeAsync();} + } +} +public sealed class RequestBoundaryMiddleware(RequestDelegate next,RequestAdmission admission,IConfiguration configuration,ILogger logger) +{ + public async Task InvokeAsync(HttpContext ctx) + { + if(ctx.GetEndpoint() is null || ctx.GetEndpoint()!.Metadata.GetMetadata() is not null || ctx.Request.Path.StartsWithSegments("/api/professionals") || ctx.Request.Path.StartsWithSegments("/health")){await next(ctx);return;} + if(ctx.User.Identity?.IsAuthenticated!=true){await next(ctx);return;} + if(!ctx.User.IsInRole("Patient")&&!ctx.User.IsInRole("HealthcareProfessional")){ctx.Response.StatusCode=403;return;} + if(ctx.User.IsInRole("HealthcareProfessional")&&ctx.Request.Method!="GET"){ctx.Response.StatusCode=403;return;} + var assessment=ctx.Request.RouteValues["controller"]?.ToString() is "Insights" or "HealthOverview"; + if(!await admission.Health.WaitAsync(0,ctx.RequestAborted)){await Overloaded(ctx);return;} + var assessmentHeld=false; + var parent=ctx.RequestAborted; + using var deadline=CancellationTokenSource.CreateLinkedTokenSource(parent); + deadline.CancelAfter(TimeSpan.FromSeconds(configuration.GetValue("Resources:RequestDeadlineSeconds",30d))); + ctx.RequestAborted=deadline.Token; + RequestTransaction? tx=null; + try + { + if(assessment){assessmentHeld=await admission.Assessment.WaitAsync(0,deadline.Token);if(!assessmentHeld){await Overloaded(ctx);return;}} + tx=ctx.RequestServices.GetRequiredService();ctx.Items[typeof(RequestTransaction)]=tx; + var write=ctx.Request.Method!="GET";await tx.BeginAsync(write,deadline.Token); + Guid? actual=null; + if(Guid.TryParse(ctx.Request.RouteValues["patientId"]?.ToString(),out var patient))actual=patient; + else if(Guid.TryParse(ctx.Request.RouteValues["observationId"]?.ToString(),out var observation))actual=await ctx.RequestServices.GetRequiredService().ResolveOwnerAsync(observation,deadline.Token); + if(ctx.Request.RouteValues.ContainsKey("patientId")||ctx.Request.RouteValues.ContainsKey("observationId")) + { + var scope=actual is null?null:await ctx.RequestServices.GetRequiredService().AuthorizeAsync(ctx.User,actual.Value,write,deadline.Token); + if(scope is null){ctx.Response.StatusCode=404;return;} + } + await next(ctx); + } + catch(OperationCanceledException) when(parent.IsCancellationRequested){ctx.Abort();} + catch(OperationCanceledException){ctx.RequestAborted=parent;await Failure(ctx,504);} + catch(NpgsqlException e){ctx.RequestAborted=parent;await Failure(ctx,e.InnerException is TimeoutException?504:503);} + finally + { + if(tx is not null)await tx.DisposeAsync();ctx.RequestAborted=parent; + if(assessmentHeld)admission.Assessment.Release();admission.Health.Release(); + } + } + private Task Failure(HttpContext ctx,int status) + { + logger.LogWarning("Operation {Operation} failed with {Status}; correlation {Correlation}",ctx.Request.RouteValues["action"],status,ctx.TraceIdentifier); + if(ctx.Response.HasStarted){ctx.Abort();return Task.CompletedTask;} + ctx.Response.Clear();ctx.Response.Headers.CacheControl="no-store"; + return Results.Problem(statusCode:status,title:status==504?"Request deadline reached.":"Health data dependency is unavailable.").ExecuteAsync(ctx); + } + private static Task Overloaded(HttpContext ctx){ctx.Response.Headers.RetryAfter="1";ctx.Response.Headers.CacheControl="no-store";return Results.Problem(statusCode:503,title:"Request capacity is unavailable.").ExecuteAsync(ctx);} +} diff --git a/tests/HealthApp.AcceptanceTests/AuthenticationIntegrationTests.cs b/tests/HealthApp.AcceptanceTests/AuthenticationIntegrationTests.cs new file mode 100644 index 0000000..176f4d6 --- /dev/null +++ b/tests/HealthApp.AcceptanceTests/AuthenticationIntegrationTests.cs @@ -0,0 +1,82 @@ +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 fixture=new PatientApiFixture();await fixture.InitializeAsync(); + try + { + Guid patient=Guid.NewGuid(); + await using(var db=fixture.CreateDbContext()) + { + var time=new DateTime(2026,9,12); + db.Patients.Add(new HealthApp.Profile.Domain.Patient{PatientId=patient,AccountId="test-0",Name="Replacement",DateOfBirth=new DateOnly(1980,1,1),CreatedAt=time,UpdatedAt=time});await db.SaveChangesAsync(); + } + fixture.AdditionalGatewayConfiguration["TestIdentity:Role"]=role;fixture.AdditionalGatewayConfiguration["TestIdentity:AccountId"]=accountId; + fixture.AdditionalGatewayConfiguration[$"Access:ProfessionalAssignments:{accountId}:0"]=patient.ToString(); + fixture.ConfigureServices=services=>{ + services.AddAuthentication().AddScheme("Replacement",null); + services.PostConfigure(options=>{options.DefaultAuthenticateScheme="Replacement";options.DefaultChallengeScheme="Replacement";options.DefaultScheme="Replacement";}); + }; + await fixture.RestartHostsAsync(); + using var own=await fixture.RawClient.GetAsync($"/api/patients/{patient}");Assert.Equal(HttpStatusCode.OK,own.StatusCode); + using var other=await fixture.RawClient.GetAsync($"/api/patients/{Guid.NewGuid()}");Assert.Equal(HttpStatusCode.NotFound,other.StatusCode);Assert.Empty(await other.Content.ReadAsStringAsync()); + } + finally{await fixture.DisposeAsync();} + } + + 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))); + } + +} diff --git a/tests/HealthApp.AcceptanceTests/ConformanceTests.cs b/tests/HealthApp.AcceptanceTests/ConformanceTests.cs new file mode 100644 index 0000000..ab2a661 --- /dev/null +++ b/tests/HealthApp.AcceptanceTests/ConformanceTests.cs @@ -0,0 +1,31 @@ +using System.Reflection; +using HealthApp.Contracts; +using HealthApp.TestSupport; +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Xunit; +namespace HealthApp.AcceptanceTests; +public sealed class ConformanceTests +{ + [Fact] + public void Persistence_entities_and_contexts_are_private_and_dependency_graph_is_acyclic() + { + var assemblies=new[]{typeof(HealthApp.Profile.ProfileModule).Assembly,typeof(HealthApp.Observations.ObservationsModule).Assembly,typeof(HealthApp.Analytics.AnalyticsModule).Assembly,typeof(HealthApp.Overview.OverviewModule).Assembly,typeof(HealthApp.Guidance.GuidanceQueries).Assembly}; + foreach(var assembly in assemblies) + { + Assert.DoesNotContain(assembly.GetExportedTypes(),t=>t.Name.EndsWith("DbContext")||t.Name is "Patient" or "BloodPressureObservation"); + Assert.DoesNotContain(assembly.GetReferencedAssemblies(),a=>a.Name=="HealthApp"); + } + foreach(var a in new[]{typeof(HealthApp.Analytics.AnalyticsModule).Assembly,typeof(HealthApp.Overview.OverviewModule).Assembly,typeof(HealthApp.Guidance.GuidanceQueries).Assembly})Assert.DoesNotContain(a.GetTypes(),t=>typeof(Microsoft.EntityFrameworkCore.DbContext).IsAssignableFrom(t)); + Assert.Empty(typeof(AuthorizedPatientContext).GetConstructors(BindingFlags.Public|BindingFlags.Instance)); + } + [Fact] + public void Final_solution_has_one_web_host_and_no_reference_project_or_internal_business_http() + { + var root=PatientProfile.AcceptanceTests.PatientApiFixture.FindRoot();var solution=File.ReadAllText(Path.Combine(root,"HealthApp.slnx"));Assert.DoesNotContain("Reference/",solution); + var webProjects=Directory.GetFiles(Path.Combine(root,"src"),"*.csproj",SearchOption.AllDirectories).Where(p=>File.ReadAllText(p).Contains("Sdk=\"Microsoft.NET.Sdk.Web\""));Assert.Single(webProjects); + foreach(var path in Directory.GetFiles(Path.Combine(root,"src"),"*.cs",SearchOption.AllDirectories).Where(p=>!p.Contains("/obj/")&&!p.Contains("/bin/"))) + {var code=File.ReadAllText(path);Assert.DoesNotContain("IHttpClientFactory",code);Assert.DoesNotContain("X-Service-Key",code);Assert.DoesNotContain("X-Gateway-Key",code);} + } +} diff --git a/tests/HealthApp.AcceptanceTests/MeasurementContextMigrationTests.cs b/tests/HealthApp.AcceptanceTests/MeasurementContextMigrationTests.cs new file mode 100644 index 0000000..17907dd --- /dev/null +++ b/tests/HealthApp.AcceptanceTests/MeasurementContextMigrationTests.cs @@ -0,0 +1,70 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Npgsql; +using HealthApp.Observations.Persistence; +using Xunit; + +namespace Observation.AcceptanceTests; + +public sealed class MeasurementContextMigrationTests +{ + [Fact] + public async Task Fresh_schema_retains_original_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 using(var target=new NpgsqlConnection(new NpgsqlConnectionStringBuilder(admin){Database=database}.ConnectionString)) + { + await target.OpenAsync(); + foreach(var module in new[]{"Profile","Observations"}) + foreach(var file in Directory.GetFiles(Path.Combine(PatientProfile.AcceptanceTests.PatientApiFixture.FindRoot(),"src/Modules",module,"Migrations"),"*.sql")) + await new NpgsqlCommand(await File.ReadAllTextAsync(file),target).ExecuteNonQueryAsync(); + } + var observation = Guid.NewGuid(); + var patient = Guid.NewGuid(); + await db.Database.ExecuteSqlInterpolatedAsync($"INSERT INTO profile.patient(patient_id,account_id,name,date_of_birth,created_at,updated_at) VALUES ({patient}, 'historical-test', 'Synthetic history', '1980-01-01', '2026-09-12 09:00:00', '2026-09-12 09:00:00')"); + await db.Database.ExecuteSqlInterpolatedAsync($""" + INSERT INTO observations.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') + """); + + 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/tests/HealthApp.AcceptanceTests/OperationalTests.cs b/tests/HealthApp.AcceptanceTests/OperationalTests.cs new file mode 100644 index 0000000..486b52e --- /dev/null +++ b/tests/HealthApp.AcceptanceTests/OperationalTests.cs @@ -0,0 +1,76 @@ +using Microsoft.Extensions.DependencyInjection; +using System.Net; +using System.Net.Http.Headers; +using System.Net.Http.Json; +using HealthApp.TestSupport; +using Npgsql; +using Observation.AcceptanceTests; +using Xunit; +namespace HealthApp.AcceptanceTests; +public sealed class OperationalTests(ObservationApiFixture fixture) : IClassFixture +{ + [Fact] + public async Task Readiness_uses_configured_schemas_and_guidance_remains_public_during_database_outage() + { + var token=await AuthenticatedTestClient.LoginAsync(fixture.RawClient); + async Task Ready(){using var q=new HttpRequestMessage(HttpMethod.Get,"/health/ready");q.Headers.Authorization=new AuthenticationHeaderValue("Bearer",token);return await fixture.RawClient.SendAsync(q);} + using(var ready=await Ready())Assert.Equal(HttpStatusCode.OK,ready.StatusCode); + await fixture.StopObservationServiceAsync(); + try + { + using var notReady=await Ready();Assert.Equal(HttpStatusCode.ServiceUnavailable,notReady.StatusCode); + using var guidance=await fixture.RawClient.GetAsync("/api/measurement-guidance");Assert.Equal(HttpStatusCode.OK,guidance.StatusCode); + Assert.NotEmpty(await AuthenticatedTestClient.LoginAsync(fixture.RawClient)); + } + finally{await fixture.RestartHostsAsync();} + } + [Fact] + public async Task Deadline_cancels_locked_write_without_changing_profile() + { + using var create=await fixture.Client.PostAsJsonAsync("/api/patients",new{name="Keep",dateOfBirth="1980-01-01"});var p=(await create.Content.ReadFromJsonAsync())!; + fixture.AdditionalGatewayConfiguration["Resources:RequestDeadlineSeconds"]="0.2";await fixture.RestartHostsAsync(); + await using var c=new NpgsqlConnection(fixture.ConnectionString);await c.OpenAsync();await using var t=await c.BeginTransactionAsync(); + await new NpgsqlCommand("SELECT patient_id FROM profile.patient WHERE patient_id=@id FOR UPDATE",c,t){Parameters={new NpgsqlParameter("id",p.PatientId)}}.ExecuteScalarAsync(); + try + { + using var timed=await fixture.Client.PutAsJsonAsync($"/api/patients/{p.PatientId}",new{name="Must not persist"}); + Assert.Equal(HttpStatusCode.GatewayTimeout,timed.StatusCode); + await t.RollbackAsync();var saved=(await fixture.Client.GetFromJsonAsync($"/api/patients/{p.PatientId}"))!;Assert.Equal("Keep",saved.Name); + } + finally{fixture.AdditionalGatewayConfiguration.Remove("Resources:RequestDeadlineSeconds");await fixture.RestartHostsAsync();} + } + [Fact] + public async Task Assessment_admission_does_not_block_guidance_and_overload_is_explicit() + { + using var create=await fixture.Client.PostAsJsonAsync("/api/patients",new{name="Budget",dateOfBirth="1980-01-01"});var p=(await create.Content.ReadFromJsonAsync())!; + fixture.AdditionalGatewayConfiguration["Resources:MaxConcurrentAssessments"]="1";await fixture.RestartHostsAsync(); + var held=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);var release=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + fixture.ConfigureServices=services=>{ + var descriptor=services.Last(d=>d.ServiceType==typeof(ProfileQueries));services.Remove(descriptor); + services.AddScoped(sp=>new PausedProfile((ProfileQueries)descriptor.ImplementationFactory!(sp),async()=>{held.TrySetResult();await release.Task;})); + };await fixture.RestartHostsAsync(); + try + { + var path=$"/api/patients/{p.PatientId}/overview?from=2026-09-01&to=2026-09-30";var first=fixture.Client.GetAsync(path);await held.Task.WaitAsync(TimeSpan.FromSeconds(10)); + using var second=await fixture.Client.GetAsync(path);Assert.Equal(HttpStatusCode.ServiceUnavailable,second.StatusCode);Assert.NotNull(second.Headers.RetryAfter); + using var guidance=await fixture.RawClient.GetAsync("/api/measurement-guidance");Assert.Equal(HttpStatusCode.OK,guidance.StatusCode); + release.SetResult();using var completed=await first;Assert.Equal(HttpStatusCode.OK,completed.StatusCode); + } + finally{release.TrySetResult();fixture.ConfigureServices=null;fixture.AdditionalGatewayConfiguration.Remove("Resources:MaxConcurrentAssessments");await fixture.RestartHostsAsync();} + } + private sealed class PausedProfile(ProfileQueries inner,Func pause) : ProfileQueries + { + public Task ResolveAccountAsync(string a,CancellationToken ct)=>inner.ResolveAccountAsync(a,ct); + public async Task GetAsync(AuthorizedPatientContext scope,CancellationToken ct){var p=await inner.GetAsync(scope,ct);await pause();return p;} + } + [Fact] + public async Task Remote_connection_without_hostname_verified_tls_is_rejected_before_start() + { + fixture.AdditionalGatewayConfiguration["Database:Remote"]="true"; + try + { + var e=await Assert.ThrowsAsync(()=>fixture.RestartHostsAsync());Assert.Contains("verified TLS",e.Message); + } + finally{fixture.AdditionalGatewayConfiguration.Remove("Database:Remote");await fixture.RestartHostsAsync();} + } +}