Compare commits

..
14 Commits
382 changed files with 186826 additions and 152 deletions

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
**/bin/
**/obj/
**/TestResults/
*.user
*.env
!*.env.example
ImplementationPlan/evidence/*.log
**/__pycache__/
*.pyc
# Private JMeter fixtures, generated hash binaries and experiment output
tools/energy-jmeter/.private/
tools/energy-jmeter/results/
tools/energy-jmeter/hash-tool/
# JMeter launcher diagnostic output
/jmeter.log
+73 -75
View File
@@ -1,106 +1,104 @@
# AGENT.md — Requirements-Driven Architecture Design # AGENT.md — Health App Architecture Implementation
## Mission ## Mission
Design a coherent software architecture for the Health App based on the supplied requirements and relevant design constraints. Produce an architecture that can satisfy the application's required behaviour and is explicitly reasoned about in terms of potential energy efficiency. Implement the **approved architecture for HealthAppRepositoryB** using the existing Health App implementation as the functional starting point.
Your task is **architecture design, not implementation**. Do not generate, edit, inspect, or request application source code. Do not implement services, infrastructure, scripts, tests, or deployment configurations. The objective is to realize the architecture specified in `ArchitectureProposal/` while preserving the application's required and externally observable behaviour. This is **architectural restructuring**, not a new application, an opportunity to redesign functionality, or a general code-cleanup exercise.
Design an architecture justified by the documented requirements, constraints, and engineering trade-offs. Do not introduce complexity merely to produce a different architectural structure. The architectural proposal is a design to implement, **not evidence of lower energy consumption**. Do not claim energy savings from implementation, reduced resource usage, faster execution, or architectural plausibility alone.
Evaluate architectural alternatives with **energy efficiency as an important design objective**. Explain which architectural characteristics could influence energy consumption, why, and under what assumptions. Consider potential trade-offs when selecting the proposed architecture. ## Authority and source material
## Inputs and authority Read and classify the available documentation before starting work:
All documentation relevant to the application is located under `Docs/`. 1. **`Docs/` — authoritative functional and domain requirements.** Preserve user stories, acceptance criteria, domain rules, API contracts and externally observable success, alternative and failure behaviour. Where an older design in `Docs/` conflicts with the approved proposed architecture, retain its functional requirements but do not automatically retain its structural decisions.
2. **`ArchitectureProposal/` — target architecture.** Follow its architecture specification, decisions, diagrams, component boundaries, data ownership, communication, security and deployment requirements. Treat the proposal as approved only to the extent the user has explicitly designated it as the implementation target. If the proposal contains unresolved alternatives, open questions, or internal contradictions affecting implementation, ask before proceeding.
3. **`../HealthAppRepository/` — original Health App implementation and behavioural reference.** This is the sibling directory one level above `HealthAppRepositoryB`. Verify that it exists and is the intended original Git repository. Record its exact Git commit before using it as the starting reference. Inspect and copy required source files only into `HealthAppRepositoryB`; the original implementation is strictly read-only. Never commit or modify files in `../HealthAppRepository/`.
4. **Existing tests and public interfaces — behavioural evidence.** Preserve the original tests and their intent. Tests may need architecture-dependent wiring or integration adjustments, but never weaken, delete, or rewrite assertions simply to make failures disappear.
Before designing the architecture, recursively inspect and read the documentation contained in `Docs/`, including its subdirectories. When requirements, proposed architecture and source implementation disagree, explicitly document the conflict. Functional requirements govern behaviour; the approved architecture governs structure; original source code helps establish existing observable semantics. **Do not silently choose between contradictory instructions.**
Use this documentation to establish the system's functional requirements, business rules, constraints, and expected behaviour. ## Scope
Distinguish mandatory requirements from existing architectural and design decisions. Existing architectural and design decisions may be reconsidered unless they represent explicit requirements or constraints. In scope:
Where documents contain contradictions, ambiguities, or missing information that materially affect architectural decisions, request clarification rather than silently making assumptions. - Restructure modules/services, ownership boundaries, dependencies, communication and data flows to conform to the approved architecture.
- Adapt persistence, deployment configuration, integration points, authentication boundaries and infrastructure as required by the proposed architecture.
- Make minimal supporting code changes that are necessary consequences of the architectural restructuring.
- Adapt or add tests to verify preservation of functional behaviour and conformity to the new architecture.
- Document material decisions, deviations, migrations, and steps needed to build and run the result.
Do not modify the original documentation under `Docs/`. Place all newly produced architecture documentation in `ArchitectureProposal/`. Out of scope unless separately approved:
Treat sources according to their role: - New or removed user-facing functionality, changed business rules, changed domain semantics or changed externally observable API behaviour.
- Algorithm replacements, micro-optimisations, speculative performance tuning, unrelated refactoring or technology substitutions not required by the approved architecture.
- Unrequested changes to the architecture proposal, functional requirements or the original source repository.
- Energy measurement, benchmarking as proof of energy savings, or invented claims of energy improvement.
1. **Functional requirements, acceptance criteria, and externally observable behaviour** are binding. Preserve them, including error and alternative scenarios. **Same functionality does not mean byte-for-byte identical code.** Code may change to implement different architectural boundaries, but each change must be justifiable as necessary for the target architecture or preserving functionality.
2. **Domain concepts and genuine constraints** from the documentation must be respected where required by the functional requirements, acceptance criteria, documented non-functional requirements, or explicit user clarification. Record assumptions and unresolved ambiguities.
3. **Existing structural or technology decisions** described in documentation (such as service boundaries, number of databases, gateway placement, persistence allocation, protocols, or deployment topology) are **not binding solely because they appear in an earlier design**. Determine whether each is an explicit requirement or a design choice. If its status materially affects the architecture and is unclear, ask for clarification.
Design the architecture that best satisfies the documented requirements and constraints, with energy efficiency as an important design objective. ## Mandatory preparation — stop before coding
Evaluate relevant architectural alternatives and justify the selected approach based on their advantages, disadvantages, and expected consequences. 1. Inventory `Docs/` and `ArchitectureProposal/`, including all editable `.drawio` diagrams and their accompanying text. Identify inconsistencies or missing detail.
2. Locate and inspect the original implementation at **`../HealthAppRepository/`**. Verify its Git repository identity and current commit. Record the exact commit hash; if its working tree contains uncommitted changes or the intended baseline is ambiguous, ask which revision to use before copying any code. Treat this directory as read-only.
3. Record the original baseline revision, the target architecture revision, and the current `HealthAppRepositoryB` revision. Ensure the working tree is clean or obtain instructions on how to handle pre-existing changes.
4. Establish how the original system builds, starts and tests. Inventory its observable APIs, existing test suite, dependencies, supported deployment assumptions and data migration considerations.
5. Produce `ImplementationPlan/implementation-plan.md` containing:
- A mapping of every major proposed architectural decision to affected modules/files and concrete implementation tasks.
- A functional preservation plan, including how user stories/acceptance criteria and API contracts will be checked.
- A list of anticipated migrations, operational risks, and architectural uncertainties.
- A sequence of small, reviewable changes with verification checkpoints.
- Any decisions requiring user approval.
6. **Present the plan and request explicit approval before implementing architectural changes.** Do not begin code migration while material ambiguities remain unresolved.
Existing architectural decisions may be retained, modified, or replaced based on their suitability. Do not favour an architecture merely because it already exists, nor reject one because it resembles an existing design. ## Implementation rules
Prioritize architectural suitability and justified decisions over novelty or the number of changes proposed. - Work only in `HealthAppRepositoryB` after approval; never modify the original implementation.
- Use the approved proposal as the architecture contract. If implementation cannot conform, stop, explain why and propose a documented deviation for approval before making it.
- Preserve functional requirements and observable behaviour, including authorization, validation, status codes, error cases, persistence semantics and key workflows, where specified.
- Avoid creating functionality simply because the target architecture makes it convenient.
- Make cohesive, incremental changes. Keep each commit focused and meaningful; do not mix architectural migration with unrelated cleanups.
- Preserve repository history and research evidence. Never rewrite history, force-push, delete source identifiers or erase original input documents without explicit authorization.
- Do not make silent changes to `Docs/` or `ArchitectureProposal/`. Record proposed corrections or necessary deviations in `ImplementationPlan/` for review.
- Do not modify tests to conceal regressions. New test infrastructure and architecture-specific integration tests are allowed; record why each test change was necessary.
- Security properties, data handling, failure behaviour, and deployability must not be weakened as a side effect of architectural restructuring.
- If essential information is missing, ask a focused question rather than inventing a design or requirement.
Never edit the supplied requirements or design input files. Record suggested clarifications separately. ## Verification
## Design boundaries At each meaningful checkpoint:
- Work at **software architecture and system design level**: components and responsibilities, boundaries, interactions, domain concepts and relationships, conceptual class structures, data ownership, persistence, caching, concurrency, deployment topology, communication, and relevant architectural patterns. Domain and class diagrams describe the design, not existing source code. 1. Build the affected components and run appropriate existing automated tests.
- Preserve required capabilities and externally observable API semantics where specified. Do not invent new functional requirements. 2. Check functional equivalence using requirements and observable interfaces, not merely successful compilation or an increased test count.
- Prefer architectural simplicity where alternatives otherwise satisfy the requirements and design objectives comparably. Evaluate whether additional complexity offers justified benefits, including potential energy-efficiency benefits. 3. Verify architectural conformance against the specification and Draw.io diagrams (service/component boundaries, dependencies, communication, persistence, deployment and security).
- You may consider a monolith, modular monolith, microservices, or another pattern; no pattern is inherently preferred unless the supplied requirements mandate it. 4. Document tests that could not be executed and why; do not present untested behaviour as validated.
- Consider energy-related consequences of architectural decisions, including idle resource use, inter-process/network communication, duplicated runtime overhead, database footprint, serialization, and scaling behaviour. 5. Record deviations, regressions, operational prerequisites and unresolved risks.
- Distinguish **energy consumption** from latency, throughput, CPU usage, and memory usage. These are not interchangeable measurements.
- Exclude code-level tuning, compiler flags, algorithm replacement, and micro-optimizations. Do not include the energy cost of operating an LLM.
- Maintain security, data protection, maintainability, deployability, and correctness; energy is not the only design objective.
## Working procedure At completion, provide a requirement-to-test/conformance summary. Distinguish **verified**, **partially verified** and **not verified**. Do not claim strict functional equivalence where evidence is insufficient.
1. **Inventory the inputs.** Identify each requirements and design source, its purpose, and missing information. Read all relevant material before designing. ## Required implementation artifacts
2. **Create a requirements-and-constraints register.** Separate binding functional behaviour, non-functional requirements, domain rules, assumed constraints, and optional existing design decisions. Cite file paths and requirement/user-story IDs.
3. **Identify architectural drivers.** Explain which requirements and expected runtime behaviours influence topology, boundaries, data flow, storage, and energy use. Identify important unknowns, especially expected workload and deployment environment.
4. **Consider alternatives.** Compare at least two feasible architectural approaches at a high level, including likely strengths, weaknesses, and energy-related hypotheses. Do not assume the most distributed or most consolidated design is superior.
5. **Select and develop one complete proposed architecture.** Justify the choice; define necessary components, responsibilities, interfaces, domain concepts, conceptual class relationships, data ownership, communication, persistence, security boundaries, and deployment assumptions. Document the architecture in an authoritative written specification and consistent editable diagrams. Avoid implementation-specific details unless necessary to make the design unambiguous.
6. **Check coverage and consistency.** Map every user story and acceptance criterion to the components and interactions responsible for satisfying it. Flag gaps and conflicts; do not silently redefine requirements.
7. **Evaluate the design critically.** Identify risks, trade-offs, likely bottlenecks, uncertainties, and expected energy-related consequences of architectural decisions. Explain the reasoning and assumptions behind those expectations.
If essential requirements are contradictory or a decision could materially alter the architecture, **stop and ask a focused question**. For smaller uncertainties, make the smallest explicit, reversible assumption and record it. Maintain these in `ImplementationPlan/` (create when needed):
## Outputs - `implementation-plan.md` — mapping, sequence, risks, approval status and checkpoints.
- `architecture-conformance.md` — architectural decisions implemented, evidence and approved deviations.
- `functional-equivalence.md` — mapped requirements, contracts, tests, outcomes and coverage limitations.
- `implementation-log.md` — architecture-driven changes with relevant commit IDs and reasons.
- `open-questions.md` — unresolved conflicts, assumptions and decisions awaiting approval.
Write all new artifacts under `ArchitectureProposal/`; do not overwrite or rewrite the provided `Docs/` inputs. Also update build/deployment/readme instructions **in the implementation repository** as needed to accurately explain how to run the resulting architecture. Do not replace the approved architectural documentation unless the user explicitly authorizes it.
Create: ## Completion criteria
- `ArchitectureProposal/README.md` — overview, scope, status, input list, assumptions, and navigation. Do not report the implementation as complete unless:
- `ArchitectureProposal/software-architecture.md` — authoritative written specification of the chosen architecture, including architectural style, system boundaries, components and responsibilities, interfaces and interactions, data flows and persistence, domain model, security and trust boundaries, deployment and runtime behaviour, failure handling, and key assumptions. Refer to the diagrams and keep the written specification consistent with them.
- `ArchitectureProposal/requirements-traceability.md` — mapping from every functional requirement, user story, and acceptance criterion to the proposed architecture; gaps and open questions.
- `ArchitectureProposal/architecture-decisions.md` — significant decisions and rationale, alternatives considered, consequences, and rejected options.
- `ArchitectureProposal/energy-hypotheses.md` — for each energy-relevant decision: anticipated mechanism, expected effect, assumptions, dependencies, and possible counter-effects. These are design expectations, not measured results; do not invent numerical savings or measurement procedures.
- `ArchitectureProposal/risks-and-open-questions.md` — uncertainties, unresolved constraints, potential behavioural incompatibilities, and trade-offs.
- `ArchitectureProposal/diagrams/` — editable **`.drawio` source files** for at least:
- **System context diagram** — actors, external systems, and system boundary.
- **Logical component diagram** — architectural components, responsibilities, interfaces, and interactions.
- **Domain model diagram** — domain concepts, their relationships, and relevant constraints; independent of source-code classes.
- **Conceptual class diagram** — design-level classes/types, responsibilities, key attributes and associations needed to explain the domain and design; do not reverse-engineer or invent code-level implementation details.
- **Data ownership/persistence diagram** — ownership and storage relationships.
- **Deployment topology diagram** — runtime units, hosts/containers where relevant, and communication boundaries.
Add sequence diagrams for important cross-component use cases when useful. Do not provide image-only diagrams as the sole source.
The proposed architecture must be sufficiently precise to guide implementation, but **do not write implementation code**. - [ ] The approved target architecture is implemented or deviations are explicitly approved and documented.
- [ ] All functional requirements and acceptance criteria have been checked for preservation, with gaps disclosed.
- [ ] Tests and build/deployment verification results are documented honestly.
- [ ] Original source repository and original input documentation remain unchanged.
- [ ] Architecture-specific code and configuration changes are traceable to approved decisions.
- [ ] Changes unrelated to architectural restructuring have not been introduced without approval.
- [ ] No unmeasured energy-efficiency improvement is presented as an empirical result.
## Quality gate before declaring completion This assignment is complete only when a functioning architecture-conformant implementation and its verification evidence have been produced, or when blockers and incomplete areas have been clearly reported.
Confirm in the README that:
- [ ] Every functional requirement, user story, and acceptance criterion is traceable to the proposed architecture; unresolved coverage gaps are explicitly identified. No requirement has been silently omitted or changed.
- [ ] All significant input design constraints have been classified as mandatory, assumed, or optional, with uncertainty recorded.
- [ ] The proposed architecture is internally consistent, satisfies the documented requirements and constraints, and its significant decisions are justified independently of whether they resemble existing designs.
- [ ] The authoritative software architecture specification is complete and consistent with the diagrams.
- [ ] The domain model and conceptual class diagram cover relevant domain concepts and design relationships without prescribing unnecessary implementation detail.
- [ ] All components have clear responsibilities and ownership of data.
- [ ] Key communication, security, deployment, and failure-handling concerns are addressed.
- [ ] Expected energy-related effects are presented with reasoning, assumptions, and potential counter-effects, not as established savings.
- [ ] Draw.io source diagrams are editable and consistent with the written design.
- [ ] No application source code or original input documents were changed.
## Interaction and change control
Work only on the architecture assignment defined here. You may add or revise files in `ArchitectureProposal/`. Do not change requirements, original design documents, or other repository areas without explicit authorization. Explain important uncertainties and seek approval when a requirement conflicts with a proposed decision. Do not present expected energy benefits as measured results.
+106
View File
@@ -0,0 +1,106 @@
# AGENT.md — Requirements-Driven Architecture Design
## Mission
Design a coherent software architecture for the Health App based on the supplied requirements and relevant design constraints. Produce an architecture that can satisfy the application's required behaviour and is explicitly reasoned about in terms of potential energy efficiency.
Your task is **architecture design, not implementation**. Do not generate, edit, inspect, or request application source code. Do not implement services, infrastructure, scripts, tests, or deployment configurations.
Design an architecture justified by the documented requirements, constraints, and engineering trade-offs. Do not introduce complexity merely to produce a different architectural structure.
Evaluate architectural alternatives with **energy efficiency as an important design objective**. Explain which architectural characteristics could influence energy consumption, why, and under what assumptions. Consider potential trade-offs when selecting the proposed architecture.
## Inputs and authority
All documentation relevant to the application is located under `Docs/`.
Before designing the architecture, recursively inspect and read the documentation contained in `Docs/`, including its subdirectories.
Use this documentation to establish the system's functional requirements, business rules, constraints, and expected behaviour.
Distinguish mandatory requirements from existing architectural and design decisions. Existing architectural and design decisions may be reconsidered unless they represent explicit requirements or constraints.
Where documents contain contradictions, ambiguities, or missing information that materially affect architectural decisions, request clarification rather than silently making assumptions.
Do not modify the original documentation under `Docs/`. Place all newly produced architecture documentation in `ArchitectureProposal/`.
Treat sources according to their role:
1. **Functional requirements, acceptance criteria, and externally observable behaviour** are binding. Preserve them, including error and alternative scenarios.
2. **Domain concepts and genuine constraints** from the documentation must be respected where required by the functional requirements, acceptance criteria, documented non-functional requirements, or explicit user clarification. Record assumptions and unresolved ambiguities.
3. **Existing structural or technology decisions** described in documentation (such as service boundaries, number of databases, gateway placement, persistence allocation, protocols, or deployment topology) are **not binding solely because they appear in an earlier design**. Determine whether each is an explicit requirement or a design choice. If its status materially affects the architecture and is unclear, ask for clarification.
Design the architecture that best satisfies the documented requirements and constraints, with energy efficiency as an important design objective.
Evaluate relevant architectural alternatives and justify the selected approach based on their advantages, disadvantages, and expected consequences.
Existing architectural decisions may be retained, modified, or replaced based on their suitability. Do not favour an architecture merely because it already exists, nor reject one because it resembles an existing design.
Prioritize architectural suitability and justified decisions over novelty or the number of changes proposed.
Never edit the supplied requirements or design input files. Record suggested clarifications separately.
## Design boundaries
- Work at **software architecture and system design level**: components and responsibilities, boundaries, interactions, domain concepts and relationships, conceptual class structures, data ownership, persistence, caching, concurrency, deployment topology, communication, and relevant architectural patterns. Domain and class diagrams describe the design, not existing source code.
- Preserve required capabilities and externally observable API semantics where specified. Do not invent new functional requirements.
- Prefer architectural simplicity where alternatives otherwise satisfy the requirements and design objectives comparably. Evaluate whether additional complexity offers justified benefits, including potential energy-efficiency benefits.
- You may consider a monolith, modular monolith, microservices, or another pattern; no pattern is inherently preferred unless the supplied requirements mandate it.
- Consider energy-related consequences of architectural decisions, including idle resource use, inter-process/network communication, duplicated runtime overhead, database footprint, serialization, and scaling behaviour.
- Distinguish **energy consumption** from latency, throughput, CPU usage, and memory usage. These are not interchangeable measurements.
- Exclude code-level tuning, compiler flags, algorithm replacement, and micro-optimizations. Do not include the energy cost of operating an LLM.
- Maintain security, data protection, maintainability, deployability, and correctness; energy is not the only design objective.
## Working procedure
1. **Inventory the inputs.** Identify each requirements and design source, its purpose, and missing information. Read all relevant material before designing.
2. **Create a requirements-and-constraints register.** Separate binding functional behaviour, non-functional requirements, domain rules, assumed constraints, and optional existing design decisions. Cite file paths and requirement/user-story IDs.
3. **Identify architectural drivers.** Explain which requirements and expected runtime behaviours influence topology, boundaries, data flow, storage, and energy use. Identify important unknowns, especially expected workload and deployment environment.
4. **Consider alternatives.** Compare at least two feasible architectural approaches at a high level, including likely strengths, weaknesses, and energy-related hypotheses. Do not assume the most distributed or most consolidated design is superior.
5. **Select and develop one complete proposed architecture.** Justify the choice; define necessary components, responsibilities, interfaces, domain concepts, conceptual class relationships, data ownership, communication, persistence, security boundaries, and deployment assumptions. Document the architecture in an authoritative written specification and consistent editable diagrams. Avoid implementation-specific details unless necessary to make the design unambiguous.
6. **Check coverage and consistency.** Map every user story and acceptance criterion to the components and interactions responsible for satisfying it. Flag gaps and conflicts; do not silently redefine requirements.
7. **Evaluate the design critically.** Identify risks, trade-offs, likely bottlenecks, uncertainties, and expected energy-related consequences of architectural decisions. Explain the reasoning and assumptions behind those expectations.
If essential requirements are contradictory or a decision could materially alter the architecture, **stop and ask a focused question**. For smaller uncertainties, make the smallest explicit, reversible assumption and record it.
## Outputs
Write all new artifacts under `ArchitectureProposal/`; do not overwrite or rewrite the provided `Docs/` inputs.
Create:
- `ArchitectureProposal/README.md` — overview, scope, status, input list, assumptions, and navigation.
- `ArchitectureProposal/software-architecture.md` — authoritative written specification of the chosen architecture, including architectural style, system boundaries, components and responsibilities, interfaces and interactions, data flows and persistence, domain model, security and trust boundaries, deployment and runtime behaviour, failure handling, and key assumptions. Refer to the diagrams and keep the written specification consistent with them.
- `ArchitectureProposal/requirements-traceability.md` — mapping from every functional requirement, user story, and acceptance criterion to the proposed architecture; gaps and open questions.
- `ArchitectureProposal/architecture-decisions.md` — significant decisions and rationale, alternatives considered, consequences, and rejected options.
- `ArchitectureProposal/energy-hypotheses.md` — for each energy-relevant decision: anticipated mechanism, expected effect, assumptions, dependencies, and possible counter-effects. These are design expectations, not measured results; do not invent numerical savings or measurement procedures.
- `ArchitectureProposal/risks-and-open-questions.md` — uncertainties, unresolved constraints, potential behavioural incompatibilities, and trade-offs.
- `ArchitectureProposal/diagrams/` — editable **`.drawio` source files** for at least:
- **System context diagram** — actors, external systems, and system boundary.
- **Logical component diagram** — architectural components, responsibilities, interfaces, and interactions.
- **Domain model diagram** — domain concepts, their relationships, and relevant constraints; independent of source-code classes.
- **Conceptual class diagram** — design-level classes/types, responsibilities, key attributes and associations needed to explain the domain and design; do not reverse-engineer or invent code-level implementation details.
- **Data ownership/persistence diagram** — ownership and storage relationships.
- **Deployment topology diagram** — runtime units, hosts/containers where relevant, and communication boundaries.
Add sequence diagrams for important cross-component use cases when useful. Do not provide image-only diagrams as the sole source.
The proposed architecture must be sufficiently precise to guide implementation, but **do not write implementation code**.
## Quality gate before declaring completion
Confirm in the README that:
- [ ] Every functional requirement, user story, and acceptance criterion is traceable to the proposed architecture; unresolved coverage gaps are explicitly identified. No requirement has been silently omitted or changed.
- [ ] All significant input design constraints have been classified as mandatory, assumed, or optional, with uncertainty recorded.
- [ ] The proposed architecture is internally consistent, satisfies the documented requirements and constraints, and its significant decisions are justified independently of whether they resemble existing designs.
- [ ] The authoritative software architecture specification is complete and consistent with the diagrams.
- [ ] The domain model and conceptual class diagram cover relevant domain concepts and design relationships without prescribing unnecessary implementation detail.
- [ ] All components have clear responsibilities and ownership of data.
- [ ] Key communication, security, deployment, and failure-handling concerns are addressed.
- [ ] Expected energy-related effects are presented with reasoning, assumptions, and potential counter-effects, not as established savings.
- [ ] Draw.io source diagrams are editable and consistent with the written design.
- [ ] No application source code or original input documents were changed.
## Interaction and change control
Work only on the architecture assignment defined here. You may add or revise files in `ArchitectureProposal/`. Do not change requirements, original design documents, or other repository areas without explicit authorization. Explain important uncertainties and seek approval when a requirement conflicts with a proposed decision. Do not present expected energy benefits as measured results.
@@ -1,77 +1,133 @@
<?xml version='1.0' encoding='utf-8'?> <mxfile host="Electron" compressed="false">
<mxfile host="app.diagrams.net" type="device" compressed="false">
<diagram id="page1" name="Logical components — all in one application process"> <diagram id="page1" name="Logical components — all in one application process">
<mxGraphModel dx="1500" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1540" pageHeight="1280" math="0" shadow="0"> <mxGraphModel dx="3619" dy="1276" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1540" pageHeight="1280" math="0" shadow="0">
<root> <root>
<mxCell id="0" /> <mxCell id="0" />
<mxCell id="1" parent="0" /> <mxCell id="1" parent="0" />
<mxCell id="title" value="Logical components — all in one application process" style="text;html=0;align=left;fontSize=24;fontStyle=1;" vertex="1" parent="1"> <mxCell id="title" parent="1" style="text;html=0;align=left;fontSize=24;fontStyle=1;" value="Logical components — all in one application process" vertex="1">
<mxGeometry as="geometry" x="60" y="25" width="1380" height="45" /> <mxGeometry height="45" width="1380" x="60" y="25" as="geometry" />
</mxCell> </mxCell>
<mxCell id="edge" value="API/access&#10;HTTPS endpoint adapters&#10;Login/token validation&#10;Actual-owner / assignment policies&#10;Public guidance exception" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="edge" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="API/access&#xa;HTTPS endpoint adapters&#xa;Login/token validation&#xa;Actual-owner / assignment policies&#xa;Public guidance exception" vertex="1">
<mxGeometry as="geometry" x="80" y="120" width="340" height="225" /> <mxGeometry height="225" width="340" x="-110" y="130" as="geometry" />
</mxCell> </mxCell>
<mxCell id="profile" value="Profile&#10;Initial profile + account association&#10;Create / find / update&#10;ProfileQueries / ProfileCommands" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="profile" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Profile&#xa;Initial profile + account association&#xa;Create / find / update&#xa;ProfileQueries / ProfileCommands" vertex="1">
<mxGeometry as="geometry" x="540" y="120" width="340" height="225" /> <mxGeometry height="225" width="340" x="540" y="130" as="geometry" />
</mxCell> </mxCell>
<mxCell id="obs" value="Observations&#10;Record / specific / latest / history&#10;Atomic patch and delete&#10;ObservationQueries / Commands" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="obs" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Observations&#xa;Record / specific / latest / history&#xa;Atomic patch and delete&#xa;ObservationQueries / Commands" vertex="1">
<mxGeometry as="geometry" x="1000" y="120" width="340" height="225" /> <mxGeometry height="225" width="340" x="1510" y="120" as="geometry" />
</mxCell> </mxCell>
<mxCell id="overview" value="Overview&#10;Compose profile + latest overall&#10;+ selected-period insight&#10;OverviewQueries; transient result" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="overview" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Overview&#xa;Compose profile + latest overall&#xa;+ selected-period insight&#xa;OverviewQueries; transient result" vertex="1">
<mxGeometry as="geometry" x="80" y="440" width="340" height="225" /> <mxGeometry height="225" width="340" x="-110" y="460" as="geometry" />
</mxCell> </mxCell>
<mxCell id="analytics" value="Analytics&#10;SummaryPolicy / TrendPolicy&#10;ClinicalPolicy / comparability&#10;AnalyticsQueries; no result store" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="analytics" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Analytics&#xa;SummaryPolicy / TrendPolicy&#xa;ClinicalPolicy / comparability&#xa;AnalyticsQueries; no result store" vertex="1">
<mxGeometry as="geometry" x="540" y="440" width="340" height="225" /> <mxGeometry height="225" width="340" x="540" y="460" as="geometry" />
</mxCell> </mxCell>
<mxCell id="guidance" value="Guidance&#10;Public ordered instructions&#10;Reviewed reference catalog&#10;Versioned applicability/provenance" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="guidance" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Guidance&#xa;Public ordered instructions&#xa;Reviewed reference catalog&#xa;Versioned applicability/provenance" vertex="1">
<mxGeometry as="geometry" x="1000" y="440" width="340" height="225" /> <mxGeometry height="225" width="340" x="1510" y="440" as="geometry" />
</mxCell> </mxCell>
<mxCell id="infra" value="Infrastructure&#10;ReadSnapshot / WriteTransaction&#10;Private per-module DB adapters&#10;Bounded DB connection pool" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1"> <mxCell id="infra" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Infrastructure&#xa;ReadSnapshot / WriteTransaction&#xa;Private per-module DB adapters&#xa;Bounded DB connection pool" vertex="1">
<mxGeometry as="geometry" x="540" y="760" width="340" height="225" /> <mxGeometry height="225" width="340" x="1080" y="280" as="geometry" />
</mxCell> </mxCell>
<mxCell id="edge0" value="Authorized profile operations / association lookup" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="profile"> <mxCell id="edge0" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="profile" value="Authorized profile operations / association lookup">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" y="-7" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge1" value="Authorized observation operations / actual owner" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="obs"> <mxCell id="edge1" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="obs" value="Authorized observation operations / actual owner">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="-0.0322" as="geometry">
<Array as="points">
<mxPoint x="-70" y="100" />
<mxPoint x="1680" y="100" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge2" value="Authorized overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="overview"> <mxCell id="edge2" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="overview" value="Authorized overview">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" as="geometry" />
</mxCell> </mxCell>
<mxCell id="edge3" value="Authorized insight / trend" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="analytics"> <mxCell id="edge3" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="analytics" value="Authorized insight / trend">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="-0.4374" as="geometry">
<Array as="points">
<mxPoint x="200" y="410" />
<mxPoint x="710" y="410" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge4" value="Public guidance" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="guidance"> <mxCell id="edge4" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="guidance" value="Public guidance">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="0.0091" as="geometry">
<Array as="points">
<mxPoint x="-70" y="70" />
<mxPoint x="1490" y="70" />
<mxPoint x="1490" y="410" />
<mxPoint x="1680" y="410" />
</Array>
<mxPoint x="-70" y="150" as="sourcePoint" />
<mxPoint x="1680" y="460" as="targetPoint" />
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge5" value="Patient existence, typed query" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="obs" target="profile"> <mxCell id="edge5" edge="1" parent="1" source="obs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="profile" value="Patient existence, typed query">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1350" y="190" />
<mxPoint x="1350" y="190" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge6" value="Profile read, same snapshot" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="overview" target="profile"> <mxCell id="edge6" edge="1" parent="1" source="overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="profile" value="Profile read, same snapshot">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="-0.2497" as="geometry">
<Array as="points">
<mxPoint x="60" y="780" />
<mxPoint x="1010" y="780" />
<mxPoint x="1010" y="242.5" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge7" value="Latest overall read" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="overview" target="obs"> <mxCell id="edge7" edge="1" parent="1" source="overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="obs" value="Latest overall read">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="-0.1421" as="geometry">
<Array as="points">
<mxPoint x="60" y="860" />
<mxPoint x="1900" y="860" />
<mxPoint x="1900" y="232.5" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge8" value="Selected insight from current series" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="overview" target="analytics"> <mxCell id="edge8" edge="1" parent="1" source="overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="analytics" value="Selected insight from current series">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" as="geometry" />
</mxCell> </mxCell>
<mxCell id="edge9" value="Current selected immutable series" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="analytics" target="obs"> <mxCell id="edge9" edge="1" parent="1" source="analytics" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="obs" value="Current selected immutable series">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="0.0448" as="geometry">
<Array as="points">
<mxPoint x="1460" y="640" />
<mxPoint x="1460" y="232.5" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge10" value="Claim-specific reference catalog" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="analytics" target="guidance"> <mxCell id="edge10" edge="1" parent="1" source="analytics" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="guidance" value="Claim-specific reference catalog">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" x="-0.0335" as="geometry">
<Array as="points">
<mxPoint x="1195" y="572.5" />
<mxPoint x="1195" y="570" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge11" value="Own repository / transaction" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="profile" target="infra"> <mxCell id="edge11" edge="1" parent="1" source="profile" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="infra" value="Own repository / transaction">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="940" y="242.5" />
<mxPoint x="940" y="430" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="edge12" value="Own repository / transaction" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="obs" target="infra"> <mxCell id="edge12" edge="1" parent="1" source="obs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="infra" value="Own repository / transaction">
<mxGeometry as="geometry" relative="1" /> <mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1310" y="232.5" />
</Array>
</mxGeometry>
</mxCell> </mxCell>
<mxCell id="note" value="Solid boxes are logical modules, not independently deployed processes. Dashed arrows are typed in-process dependencies, not network calls. All public operations pass API/access; no callback into routing. Overview uses private module interfaces and shared read snapshot, never another module’s SQL." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1"> <mxCell id="note" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" value="Solid boxes are logical modules, not independently deployed processes. Dashed arrows are typed in-process dependencies, not network calls. All public operations pass API/access; no callback into routing. Overview uses private module interfaces and shared read snapshot, never another module’s SQL." vertex="1">
<mxGeometry as="geometry" x="60" y="1090" width="1380" height="115" /> <mxGeometry height="115" width="1380" x="120" y="960" as="geometry" />
</mxCell> </mxCell>
</root> </root>
</mxGraphModel> </mxGraphModel>
</diagram> </diagram>
</mxfile> </mxfile>
Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

+1
View File
@@ -0,0 +1 @@
<Solution><Folder Name="/deploy/"><Project Path="deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj"/></Folder><Folder Name="/src/"><Project Path="src/Modules/Overview/Overview.csproj"/><Project Path="src/Modules/Analytics/Analytics.csproj"/><Project Path="src/Modules/Observations/Observations.csproj"/><Project Path="src/HealthApp.Infrastructure/HealthApp.Infrastructure.csproj"/><Project Path="src/Modules/Profile/Profile.csproj"/><Project Path="src/HealthApp/HealthApp.csproj" /><Project Path="src/HealthApp.Contracts/HealthApp.Contracts.csproj" /><Project Path="src/Modules/Guidance/Guidance.csproj" /></Folder><Folder Name="/tests/"><Project Path="tests/HealthApp.DeploymentTests/HealthApp.DeploymentTests.csproj"/><Project Path="tests/HealthApp.AcceptanceTests/HealthApp.AcceptanceTests.csproj" /></Folder></Solution>
+152
View File
@@ -0,0 +1,152 @@
# Acceptance preservation and verification register
All 146 original common/US-01–US-15 entries and outline outcomes are retained. Links identify concrete executed B test methods; theory examples expand into multiple TRX cases. Functional assertions were reviewed against the required outcomes. Native revised US-16 evidence is separately in architecture-conformance.md. Clinical interpretation validity is distinguished from preserved deterministic behaviour under approval Q3; no new clinical review is claimed. Final test run evidence is summarized in evidence/final-verification.json.
| Criterion / title | Required outcomes / outline cases | Executed B test methods | Verification |
| --- | --- | --- | --- |
| 00-AC-01: Include both boundaries | both boundary observations contribute; observations outside the period do not contribute. Outline cases: operation: history, numerical insight, trend assessment, overview insight | [ContextFilteredHistoryTests.Filtered_history_preserves_patient_scope_inclusive_boundaries_and_equal_bounds](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L127); [ContextSelectedInsightTests.Filtered_insight_preserves_patient_scope_inclusive_bounds_and_equal_instants](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L159); [HealthTrendTests.Inclusive_patient_period_and_equal_offset_instants_apply_before_sufficiency](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L290); [HealthOverviewTests.Overview_preserves_profile_latest_context_and_selected_insight_with_different_bases](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L57) | Verified functional assertions; executed cases in final TRX |
| 00-AC-02: Equal bounds are valid | the period is accepted; only observations at that instant are selected; the operation applies its own data-sufficiency rules. Outline cases: operation: history, numerical insight, trend assessment, overview insight | [ContextFilteredHistoryTests.Filtered_history_preserves_patient_scope_inclusive_boundaries_and_equal_bounds](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L127); [ContextSelectedInsightTests.Filtered_insight_preserves_patient_scope_inclusive_bounds_and_equal_instants](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L159); [HealthTrendTests.Inclusive_patient_period_and_equal_offset_instants_apply_before_sufficiency](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L290); [HealthOverviewTests.Equal_offset_instants_are_valid_and_single_observation_insight_is_sufficient](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L143) | Verified functional assertions; executed cases in final TRX |
| 00-AC-03: Reject reversed bounds | the request is rejected. Outline cases: operation: history, numerical insight, trend assessment, overview insight | [ObservationHistoryTests.Invalid_or_missing_period_is_rejected_without_changing_observations](../tests/HealthApp.AcceptanceTests/ObservationHistoryTests.cs#L90); [HealthInsightTests.Invalid_or_missing_period_is_rejected](../tests/HealthApp.AcceptanceTests/HealthInsightTests.cs#L119); [HealthTrendTests.Invalid_period_or_selection_is_rejected_with_explanation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L385); [HealthOverviewTests.Invalid_period_or_context_is_rejected_with_details](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L188) | Verified functional assertions; executed cases in final TRX |
| 01-AC-01: Create a patient with valid information | the patient profile is created successfully; a patient identifier is assigned; the identifier is associated with the authenticated account | [CreatePatientTests.Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart](../tests/HealthApp.AcceptanceTests/CreatePatientTests.cs#L16) | Verified functional assertions; executed cases in final TRX |
| 01-AC-02: A patient name is required | the patient profile is rejected | [CreatePatientTests.Missing_required_information_is_rejected_without_persisting](../tests/HealthApp.AcceptanceTests/CreatePatientTests.cs#L54) | Verified functional assertions; executed cases in final TRX |
| 01-AC-03: A date of birth is required | the patient profile is rejected | [CreatePatientTests.Missing_required_information_is_rejected_without_persisting](../tests/HealthApp.AcceptanceTests/CreatePatientTests.cs#L54) | Verified functional assertions; executed cases in final TRX |
| 01-AC-04: Reject a second profile | the request reports that a profile already exists; no second profile is created and the association is unchanged | [PatientAuthenticationTests.Profile_creation_retries_and_concurrency_preserve_one_persistent_association](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L143) | Verified functional assertions; executed cases in final TRX |
| 01-AC-05: Persistent account association | the same associated profile is returned | [PatientAuthenticationTests.Profile_creation_retries_and_concurrency_preserve_one_persistent_association](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L143) | Verified functional assertions; executed cases in final TRX |
| 01-AC-06: Retry after a successful creation response was lost | the result indicates that the profile already exists; no duplicate profile or replacement association is created | [ProfileLifecycleTests.Concurrent_creation_lost_response_and_restart_preserve_one_accessible_profile](../tests/HealthApp.AcceptanceTests/ProfileLifecycleTests.cs#L14) | Verified functional assertions; executed cases in final TRX |
| 01-AC-07: Concurrent initial creation | at most one profile is created and associated with the account; no request reports a second profile as created | [PatientAuthenticationTests.Profile_creation_retries_and_concurrency_preserve_one_persistent_association](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L143) | Verified functional assertions; executed cases in final TRX |
| 01-AC-08: Recovery after interrupted creation | the operation recovers to one accessible associated profile or reports that creation remains incomplete; it neither produces duplicate profiles nor reports an inaccessible profile as successfully created | [PatientAuthenticationTests.Database_failure_rolls_back_profile_and_association_together](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L208); [PatientAuthenticationTests.Failed_creation_can_be_retried_without_an_orphan_profile](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L166) | Verified functional assertions; executed cases in final TRX |
| 01-AC-09: Unauthenticated initial creation | the request is rejected and no profile is created | [PatientAuthenticationTests.Missing_and_invalid_tokens_reject_every_existing_patient_operation](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L75) | Verified functional assertions; executed cases in final TRX |
| 02-AC-01: Retrieve an existing patient | the patient profile is returned; the returned patient identifier matches the requested patient; the patient's name is included; the patient's date of birth is included; the patient's contact information is included | [CreatePatientTests.Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart](../tests/HealthApp.AcceptanceTests/CreatePatientTests.cs#L16) | Verified functional assertions; executed cases in final TRX |
| 02-AC-02: Request a patient that does not exist | the request reports that the patient does not exist | [CreatePatientTests.Unknown_identifier_returns_not_found](../tests/HealthApp.AcceptanceTests/CreatePatientTests.cs#L96) | Verified functional assertions; executed cases in final TRX |
| 03-AC-01: Update an existing patient | the update succeeds; the patient identifier is unchanged; the patient profile contains contact information "new@example.test" | [UpdatePatientTests.Updated_profile_preserves_identity_and_date_of_birth_and_survives_restart](../tests/HealthApp.AcceptanceTests/UpdatePatientTests.cs#L13) | Verified functional assertions; executed cases in final TRX |
| 03-AC-02: Update a patient that does not exist | the update is rejected; no new patient is created | [UpdatePatientTests.Updating_a_missing_patient_is_rejected_without_creating_a_profile](../tests/HealthApp.AcceptanceTests/UpdatePatientTests.cs#L39) | Verified functional assertions; executed cases in final TRX |
| 04-AC-01: Record a valid observation | the observation is accepted; an observation identifier is assigned; the observation is associated with the patient; the observation can be retrieved later | [RecordObservationTests.Valid_observation_is_assigned_an_identifier_associated_with_the_patient_and_retrievable_after_restart](../tests/HealthApp.AcceptanceTests/RecordObservationTests.cs#L28) | Verified functional assertions; executed cases in final TRX |
| 04-AC-02: Record an observation without optional fields | the observation is accepted | [RecordObservationTests.Optional_fields_can_be_omitted_and_identifiers_are_distinct](../tests/HealthApp.AcceptanceTests/RecordObservationTests.cs#L58) | Verified functional assertions; executed cases in final TRX |
| 04-AC-03: Reject an observation containing a non-positive measured value | the observation is rejected. Outline cases: columns (systolic, diastolic, pulse); cases (0, 82, 68), (-1, 82, 68), (128, 0, 68), (128, -1, 68), (128, 82, 0), (128, 82, -1) | [RecordObservationTests.Non_positive_values_are_rejected_without_saving](../tests/HealthApp.AcceptanceTests/RecordObservationTests.cs#L80) | Verified functional assertions; executed cases in final TRX |
| 04-AC-04: Reject an observation without a measurement timestamp | the observation is rejected | [RecordObservationTests.Missing_or_malformed_information_is_rejected_without_saving](../tests/HealthApp.AcceptanceTests/RecordObservationTests.cs#L104) | Verified functional assertions; executed cases in final TRX |
| 04-AC-05: Record an observation for a patient that does not exist | the observation is rejected | [RecordObservationTests.Missing_patient_is_rejected_without_saving](../tests/HealthApp.AcceptanceTests/RecordObservationTests.cs#L118) | Verified functional assertions; executed cases in final TRX |
| 04-AC-06: Record setting and condition independently | observation creation succeeds | [RecordMeasurementContextTests.Setting_and_activity_are_independent_and_departures_from_guidance_are_valid](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L80) | Verified functional assertions; executed cases in final TRX |
| 04-AC-07: Record partial context | observation creation succeeds | [RecordMeasurementContextTests.Partial_and_absent_context_remain_unknown_without_reinterpreting_legacy_text](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L101) | Verified functional assertions; executed cases in final TRX |
| 04-AC-08: Retain support for absent context | observation creation succeeds | [RecordMeasurementContextTests.Partial_and_absent_context_remain_unknown_without_reinterpreting_legacy_text](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L101) | Verified functional assertions; executed cases in final TRX |
| 04-AC-09: Record departure from routine | observation creation succeeds | [RecordMeasurementContextTests.Setting_and_activity_are_independent_and_departures_from_guidance_are_valid](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L80) | Verified functional assertions; executed cases in final TRX |
| 04-AC-10: Reject unsupported category | the operation is rejected with an explanation of the invalid category | [RecordMeasurementContextTests.Invalid_context_is_rejected_with_validation_details_without_saving](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L150) | Verified functional assertions; executed cases in final TRX |
| 04-AC-11: Retrieve previously saved context | the returned observation contains those saved details associated with that observation | [RecordMeasurementContextTests.Complete_context_is_saved_with_the_correct_values_and_retrievable_after_restart](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L40) | Verified functional assertions; executed cases in final TRX |
| 04-AC-12: Reject another patient’s context submission | the operation is rejected | [RecordMeasurementContextTests.Context_is_protected_against_other_patient_reads_and_submissions_and_professional_writes](../tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs#L165) | Verified functional assertions; executed cases in final TRX |
| 05-AC-01: Retrieve an existing observation | the observation is returned; the systolic value is 128; the diastolic value is 82; the pulse value is 68 | [ViewObservationContextTests.Complete_saved_context_is_returned_with_its_measurements_and_timestamp_after_restart](../tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs#L66) | Verified functional assertions; executed cases in final TRX |
| 05-AC-02: Retrieve an observation that does not exist | the request reports that the observation does not exist | [ViewObservationContextTests.Missing_observation_reports_not_found_without_disclosing_saved_context](../tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs#L122) | Verified functional assertions; executed cases in final TRX |
| 05-AC-03: Return complete saved context | its saved context is returned with its numerical measurements and timestamp | [ViewObservationContextTests.Complete_saved_context_is_returned_with_its_measurements_and_timestamp_after_restart](../tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs#L66) | Verified functional assertions; executed cases in final TRX |
| 05-AC-04: Return partial context | Clinic is returned as the setting; activity condition is represented as unknown | [ViewObservationContextTests.Partial_saved_context_distinguishes_known_setting_from_unknown_condition_and_details](../tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs#L97) | Verified functional assertions; executed cases in final TRX |
| 05-AC-05: Preserve historical free text | the original text is returned; no definite setting or activity condition is invented | [ViewObservationContextTests.Historical_free_text_is_returned_without_inventing_setting_or_activity](../tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs#L109) | Verified functional assertions; executed cases in final TRX |
| 05-AC-06: Protect context | access is rejected; its context is not disclosed | [ViewObservationContextTests.Unauthorised_callers_cannot_read_observation_context](../tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs#L132) | Verified functional assertions; executed cases in final TRX |
| 06-AC-01: Return the most recent observation | the observation measured at "2026-09-12T08:00:00" is returned | [LatestObservationTests.Latest_is_selected_by_measurement_time_for_the_requested_patient_after_restart](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L43) | Verified functional assertions; executed cases in final TRX |
| 06-AC-02: Patient has no observations | the result indicates that no observation is available | [LatestObservationTests.Patient_without_observations_returns_not_found_even_when_another_patient_has_observations](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L61) | Verified functional assertions; executed cases in final TRX |
| 06-AC-03: Return context of latest observation | the newer observation is returned with its after-activity context | [LatestObservationTests.Newer_after_activity_observation_is_returned_with_its_own_context](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L113) | Verified functional assertions; executed cases in final TRX |
| 06-AC-04: Do not substitute a more complete observation | the latest observation is returned; its context is represented as unknown | [LatestObservationTests.Missing_context_does_not_replace_latest_with_an_older_complete_observation](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L126) | Verified functional assertions; executed cases in final TRX |
| 06-AC-05: Preserve timestamp tie selection | the second observation is returned with its own setting | [LatestObservationTests.Measurement_timestamp_ties_use_original_recording_time_and_ignore_later_edits](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L148) | Verified functional assertions; executed cases in final TRX |
| 06-AC-06: No observations | the system reports that no observation is available | [LatestObservationTests.Patient_without_observations_returns_not_found_even_when_another_patient_has_observations](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L61) | Verified functional assertions; executed cases in final TRX |
| 06-AC-07: Resolve a complete timestamp tie reproducibly | the same observation is returned under the documented final tie rule | [LatestObservationTests.Complete_timestamp_ties_choose_greatest_identifier_reproducibly_across_restart](../tests/HealthApp.AcceptanceTests/LatestObservationTests.cs#L171) | Verified functional assertions; executed cases in final TRX |
| 07-AC-01: Retrieve observations within a period | exactly 1 observation is returned; the returned observation was measured at "2026-09-05T08:00:00" | [ObservationHistoryTests.Selected_period_returns_only_the_matching_observation_after_restart](../tests/HealthApp.AcceptanceTests/ObservationHistoryTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
| 07-AC-02: Return observations in chronological order | the observations are returned in chronological order by measurement timestamp | [ObservationHistoryTests.Results_are_chronological_and_include_both_period_boundaries](../tests/HealthApp.AcceptanceTests/ObservationHistoryTests.cs#L60) | Verified functional assertions; executed cases in final TRX |
| 07-AC-03: No observations exist within the requested period | an empty observation collection is returned | [ObservationHistoryTests.No_matching_observations_returns_an_empty_array](../tests/HealthApp.AcceptanceTests/ObservationHistoryTests.cs#L74) | Verified functional assertions; executed cases in final TRX |
| 07-AC-04: Reject an invalid period | the request is rejected | [ObservationHistoryTests.Invalid_or_missing_period_is_rejected_without_changing_observations](../tests/HealthApp.AcceptanceTests/ObservationHistoryTests.cs#L90) | Verified functional assertions; executed cases in final TRX |
| 07-AC-05: Select home observations | only home observations within the period are returned with their context | [ContextFilteredHistoryTests.Independent_and_combined_selections_return_matching_context_and_metadata](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L58) | Verified functional assertions; executed cases in final TRX |
| 07-AC-06: Combine setting and activity | only home-resting observations are returned | [ContextFilteredHistoryTests.Independent_and_combined_selections_return_matching_context_and_metadata](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L58) | Verified functional assertions; executed cases in final TRX |
| 07-AC-07: Select unknown context | only observations with unknown setting are returned | [ContextFilteredHistoryTests.Unknown_selections_match_unknown_categories_without_interpreting_legacy_text](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L83) | Verified functional assertions; executed cases in final TRX |
| 07-AC-08: No selection excludes nothing on context alone | all those observations are returned in ascending measurement-time order | [ContextFilteredHistoryTests.No_selection_retains_all_contexts_in_chronological_order_after_restart](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L100) | Verified functional assertions; executed cases in final TRX |
| 07-AC-09: No matching observations | an empty collection is returned | [ContextFilteredHistoryTests.Empty_filtered_history_is_an_empty_array_with_applied_selection_metadata](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L115) | Verified functional assertions; executed cases in final TRX |
| 07-AC-10: Reject unsupported selection | the request is rejected with an explanation | [ContextFilteredHistoryTests.Unsupported_selections_are_rejected_without_changing_observations](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L148) | Verified functional assertions; executed cases in final TRX |
| 07-AC-11: Preserve patient and boundary rules | both boundary observations are returned; the outside-period and other-patient observations are excluded | [ContextFilteredHistoryTests.Filtered_history_preserves_patient_scope_inclusive_boundaries_and_equal_bounds](../tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs#L127) | Verified functional assertions; executed cases in final TRX |
| 08-AC-01: Correct an existing observation | the update succeeds; the observation identifier is unchanged; the observation contains systolic value 128 | [UpdateObservationTests.Correction_preserves_other_information_and_is_visible_in_all_retrievals_after_restart](../tests/HealthApp.AcceptanceTests/UpdateObservationTests.cs#L39) | Verified functional assertions; executed cases in final TRX |
| 08-AC-02: Reject an update containing a non-positive measured value | the update is rejected. Outline cases: columns (systolic, diastolic, pulse); cases (0, 82, 68), (128, 0, 68), (128, 82, 0) | [UpdateObservationTests.Non_positive_values_are_rejected_without_changing_observation](../tests/HealthApp.AcceptanceTests/UpdateObservationTests.cs#L82) | Verified functional assertions; executed cases in final TRX |
| 08-AC-03: Update an observation that does not exist | the update is rejected | [UpdateObservationTests.Missing_observation_is_rejected_without_inserting_a_new_observation](../tests/HealthApp.AcceptanceTests/UpdateObservationTests.cs#L114) | Verified functional assertions; executed cases in final TRX |
| 08-AC-04: Add context to historical observation | the update succeeds | [PatchObservationTests.Context_can_be_added_to_a_historical_observation_without_changing_its_measurements](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L55) | Verified functional assertions; executed cases in final TRX |
| 08-AC-05: Correct one context value | the update succeeds | [PatchObservationTests.Correcting_one_context_field_preserves_omitted_data_and_changes_selection_after_restart](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L65) | Verified functional assertions; executed cases in final TRX |
| 08-AC-06: Clear optional context | the update succeeds | [PatchObservationTests.Individual_optional_fields_can_be_corrected_or_cleared_without_erasing_other_context](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L85) | Verified functional assertions; executed cases in final TRX |
| 08-AC-07: Retrieve partially corrected observation | Clinic is returned; the original numerical values, timestamp, activity condition, and note are returned unchanged | [PatchObservationTests.Correcting_one_context_field_preserves_omitted_data_and_changes_selection_after_restart](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L65) | Verified functional assertions; executed cases in final TRX |
| 08-AC-08: Reject invalid context correction | the update is rejected | [PatchObservationTests.Invalid_patches_reject_the_whole_update_without_changes](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L170) | Verified functional assertions; executed cases in final TRX |
| 08-AC-09: Nonexistent observation | the update is rejected | [PatchObservationTests.Missing_observation_is_not_created_by_a_context_patch](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L201) | Verified functional assertions; executed cases in final TRX |
| 08-AC-10: Unauthorised correction | the operation is rejected | [PatchObservationTests.Other_patients_professionals_and_unauthenticated_clients_cannot_patch_context](../tests/HealthApp.AcceptanceTests/PatchObservationTests.cs#L212) | Verified functional assertions; executed cases in final TRX |
| 09-AC-01: Delete an existing observation | the deletion succeeds; the observation can no longer be retrieved; the observation no longer appears in the patient's observation history | [DeleteObservationTests.Deleted_observation_stays_absent_after_restart_and_other_observations_are_preserved](../tests/HealthApp.AcceptanceTests/DeleteObservationTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
| 09-AC-02: Delete an observation that does not exist | the request reports that the observation does not exist | [DeleteObservationTests.Missing_observation_returns_not_found_without_changing_existing_data](../tests/HealthApp.AcceptanceTests/DeleteObservationTests.cs#L85) | Verified functional assertions; executed cases in final TRX |
| 09-AC-03: Delete contextualised observation | deletion succeeds | [DeleteContextualisedObservationTests.Deleted_context_stays_absent_from_retrieval_filtered_history_and_latest_after_restart](../tests/HealthApp.AcceptanceTests/DeleteContextualisedObservationTests.cs#L59) | Verified functional assertions; executed cases in final TRX |
| 09-AC-04: History excludes previously deleted observation | the deleted observation and its context are absent; the remaining matching observations are returned | [DeleteContextualisedObservationTests.Deleted_context_stays_absent_from_retrieval_filtered_history_and_latest_after_restart](../tests/HealthApp.AcceptanceTests/DeleteContextualisedObservationTests.cs#L59) | Verified functional assertions; executed cases in final TRX |
| 09-AC-05: Assessment excludes deleted data | the deleted values and context do not contribute to the result | [DeleteContextualisedObservationTests.New_numerical_summary_excludes_deleted_values_and_retains_current_remaining_observations](../tests/HealthApp.AcceptanceTests/DeleteContextualisedObservationTests.cs#L82); [HealthTrendTests.Corrected_values_context_and_deletions_are_used_on_every_request_after_restart](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L352) | Verified functional assertions; executed cases in final TRX |
| 09-AC-06: Reject unauthorised deletion | the operation is rejected | [DeleteContextualisedObservationTests.Unauthorised_deletions_preserve_the_observation_and_all_context](../tests/HealthApp.AcceptanceTests/DeleteContextualisedObservationTests.cs#L120) | Verified functional assertions; executed cases in final TRX |
| 10-AC-01: Calculate averages for a period | the average systolic value is 125; the average diastolic value is 82; the average pulse value is 65 | [HealthInsightTests.Averages_use_only_the_requested_patient_and_period_after_restart](../tests/HealthApp.AcceptanceTests/HealthInsightTests.cs#L43) | Verified functional assertions; executed cases in final TRX |
| 10-AC-02: Calculate minimum and maximum blood-pressure values | the minimum systolic value is 118; the maximum systolic value is 130; the minimum diastolic value is 76; the maximum diastolic value is 84 | [HealthInsightTests.Minimum_and_maximum_values_are_calculated](../tests/HealthApp.AcceptanceTests/HealthInsightTests.cs#L62) | Verified functional assertions; executed cases in final TRX |
| 10-AC-03: Insight uses only observations in the requested period | only observations within the requested period contribute to the calculated values | [HealthInsightTests.Averages_use_only_the_requested_patient_and_period_after_restart](../tests/HealthApp.AcceptanceTests/HealthInsightTests.cs#L43) | Verified functional assertions; executed cases in final TRX |
| 10-AC-04: No observations exist in the requested period | the result indicates that insufficient observation data is available for calculation | [HealthInsightTests.No_matching_observations_reports_insufficient_data](../tests/HealthApp.AcceptanceTests/HealthInsightTests.cs#L101) | Verified functional assertions; executed cases in final TRX |
| 10-AC-05: Reject an invalid insight period | the request is rejected | [HealthInsightTests.Invalid_or_missing_period_is_rejected](../tests/HealthApp.AcceptanceTests/HealthInsightTests.cs#L119) | Verified functional assertions; executed cases in final TRX |
| 10-AC-06: Calculate from selected context only | average systolic pressure is 125.00; the result identifies Home, At rest, and two contributing observations | [ContextSelectedInsightTests.Independent_and_combined_selections_use_only_matching_observations_and_report_their_basis](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L51) | Verified functional assertions; executed cases in final TRX |
| 10-AC-07: No filter preserves pooled calculation | all eligible observations contribute to the existing numerical calculations; the mixed or unknown context is made apparent | [ContextSelectedInsightTests.Unfiltered_insight_includes_unknown_context_and_explains_mixed_and_missing_conditions](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L76) | Verified functional assertions; executed cases in final TRX |
| 10-AC-08: One selected observation | each mean equals that observation’s corresponding value; each blood-pressure minimum and maximum equals its corresponding value | [ContextSelectedInsightTests.Unknown_selection_is_explicit_and_legacy_narrative_does_not_create_known_membership](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L97) | Verified functional assertions; executed cases in final TRX |
| 10-AC-09: No matching observations | the system reports that no insight can be calculated for the selection | [ContextSelectedInsightTests.Corrections_clearing_and_deletion_change_membership_and_fresh_summary_results_after_restart](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L134) | Verified functional assertions; executed cases in final TRX |
| 10-AC-10: Correction changes membership | that observation does not contribute to the home-only calculation | [ContextSelectedInsightTests.Corrections_clearing_and_deletion_change_membership_and_fresh_summary_results_after_restart](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L134) | Verified functional assertions; executed cases in final TRX |
| 10-AC-11: Reject unsupported selection | the request is rejected with an explanation | [ContextSelectedInsightTests.Unsupported_selection_is_rejected_with_validation_details](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L178) | Verified functional assertions; executed cases in final TRX |
| 10-AC-12: Round a halfway mean upwards | the average systolic value is 120.13 | [ContextSelectedInsightTests.Means_round_only_the_final_value_to_two_decimals_with_half_up_rounding](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L118) | Verified functional assertions; executed cases in final TRX |
| 10-AC-13: Round a repeating fractional mean | the average systolic value is 120.33 | [ContextSelectedInsightTests.Means_round_only_the_final_value_to_two_decimals_with_half_up_rounding](../tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs#L118) | Verified functional assertions; executed cases in final TRX |
| 11-AC-01: Calculate a trend from observations | a trend result is returned; the trend is derived only from observations within the requested period | [HealthTrendTests.Full_period_direction_and_separate_units_and_levels](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L27); [HealthTrendTests.Inclusive_patient_period_and_equal_offset_instants_apply_before_sufficiency](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L290) | Verified functional assertions; executed cases in final TRX |
| 11-AC-02: No observations exist for trend calculation | the result indicates that insufficient observation data is available for trend calculation | [HealthTrendTests.Empty_and_single_series_report_each_unavailable_part](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L223) | Verified functional assertions; executed cases in final TRX |
| 11-AC-03: Reject an invalid trend period | the request is rejected | [HealthTrendTests.Invalid_period_or_selection_is_rejected_with_explanation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L385) | Verified functional assertions; executed cases in final TRX |
| 11-AC-04: Assess a comparable selection | separate systolic, diastolic, and pulse assessments are returned; the result identifies the selection, contributing count, and recorded basis for comparability | [HealthTrendTests.Full_period_direction_and_separate_units_and_levels](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L27) | Verified functional assertions; executed cases in final TRX |
| 11-AC-05: Different conditions remain visible | the result identifies the differing conditions; explains limitations on interpreting their combined trajectory | [HealthTrendTests.Different_conditions_and_preparation_are_visible_and_limit_combined_trajectory](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L187) | Verified functional assertions; executed cases in final TRX |
| 11-AC-06: Unknown details limit comparability | the explanation identifies the known similarities and missing details; does not certify that all measurement conditions were identical | [HealthTrendTests.Known_categories_with_missing_preparation_support_limited_reference_comparison](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L150) | Verified functional assertions; executed cases in final TRX |
| 11-AC-07: Missing context preserves numerical information | supported numerical direction and variation are returned; the limitations on clinical interpretation and comparability are explained | [HealthTrendTests.Missing_context_preserves_numerical_direction_but_not_resting_interpretation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L137) | Verified functional assertions; executed cases in final TRX |
| 11-AC-08: Conflicting descriptions | the conflict is identified; an unsupported resting interpretation is not asserted | [HealthTrendTests.Conflicting_rest_narrative_withholds_resting_interpretation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L176) | Verified functional assertions; executed cases in final TRX |
| 11-AC-09: Compare labelled selections | each result identifies its own selection and contributing observations; a difference between settings alone is not labelled improvement or deterioration over time | [HealthTrendTests.Labelled_home_and_clinic_selections_and_independent_dimensions_use_only_matches](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L312) | Verified functional assertions; executed cases in final TRX |
| 11-AC-10: Insufficient selected series | the result reports insufficient observations for temporal direction; does not use excluded observations to manufacture a trend | [HealthTrendTests.Unknown_empty_and_one_selected_observation_do_not_borrow_excluded_data](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L335) | Verified functional assertions; executed cases in final TRX |
| 11-AC-11: No temporal separation | temporal direction is reported as unavailable | [HealthTrendTests.Timestamp_ties_do_not_manufacture_direction_or_hide_descriptive_range](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L211) | Verified functional assertions; executed cases in final TRX |
| 11-AC-12: No matching data | the result reports that no matching observations are available | [HealthTrendTests.Unknown_empty_and_one_selected_observation_do_not_borrow_excluded_data](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L335) | Verified functional assertions; executed cases in final TRX |
| 11-AC-13: Updated context is used | that observation no longer contributes to the result | [HealthTrendTests.Corrected_values_context_and_deletions_are_used_on_every_request_after_restart](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L352) | Verified functional assertions; executed cases in final TRX |
| 11-AC-14: Reject invalid selection | the request is rejected with an explanation | [HealthTrendTests.Invalid_period_or_selection_is_rejected_with_explanation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L385) | Verified functional assertions; executed cases in final TRX |
| 11-AC-15: AC-11-A | the result presents each measurement separately; identifies its unit, observed level, direction, and variation | [HealthTrendTests.Full_period_direction_and_separate_units_and_levels](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L27) | Verified functional assertions; executed cases in final TRX |
| 11-AC-16: AC-11-B | only observations for that patient within the selected period contribute to the result | [HealthTrendTests.Inclusive_patient_period_and_equal_offset_instants_apply_before_sufficiency](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L290) | Verified functional assertions; executed cases in final TRX |
| 11-AC-17: AC-11-C | the result identifies the corresponding direction; bases that assessment on measurements throughout the period | [HealthTrendTests.Full_period_direction_and_separate_units_and_levels](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L27) | Verified functional assertions; executed cases in final TRX |
| 11-AC-18: AC-11-D | the result describes the intermediate variation; does not describe the period as clinically stable merely because its endpoints are similar | [HealthTrendTests.Equal_endpoints_do_not_hide_intermediate_excursion_or_reversal](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
| 11-AC-19: AC-11-E | the explanation describes the reversal or mixed development; does not imply that all measurements follow one consistent direction | [HealthTrendTests.Overall_decrease_can_coexist_with_reversals_and_large_variation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L58) | Verified functional assertions; executed cases in final TRX |
| 11-AC-20: AC-11-F | the explanation identifies their position relative to the reference values; does not describe them as healthy solely because their variation is limited | [HealthTrendTests.Low_variation_outside_reference_is_not_healthy](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L69) | Verified functional assertions; executed cases in final TRX |
| 11-AC-21: AC-11-G | the explanation describes that development and its basis; distinguishes improvement from having reached an appropriate level | [HealthTrendTests.Favourable_pressure_decrease_can_still_be_high_while_falling_pulse_is_concerning](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L79); [HealthTrendTests.Moving_low_pulse_up_or_high_pulse_down_is_not_automatically_concerning](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L92) | Partially verified: preserved outputs/provenance pass; independent clinical support not verified (Q3) |
| 11-AC-22: AC-11-H | the explanation describes the concern and its basis; does not treat a decrease as favourable solely because the values are falling | [HealthTrendTests.Favourable_pressure_decrease_can_still_be_high_while_falling_pulse_is_concerning](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L79) | Partially verified: preserved outputs/provenance pass; independent clinical support not verified (Q3) |
| 11-AC-23: AC-11-I | the result explains the interpretation of each affected measurement; does not force them into a single favourable or concerning classification | [HealthTrendTests.Favourable_pressure_decrease_can_still_be_high_while_falling_pulse_is_concerning](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L79) | Partially verified: preserved outputs/provenance pass; independent clinical support not verified (Q3) |
| 11-AC-24: AC-11-J | the result presents the supported numerical information; explains that the clinical interpretation is limited by missing context | [HealthTrendTests.Missing_context_preserves_numerical_direction_but_not_resting_interpretation](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L137) | Verified functional assertions; executed cases in final TRX |
| 11-AC-25: AC-11-K | the result explicitly reports that direction cannot be determined; does not substitute an increasing, decreasing, or unchanged conclusion | [HealthTrendTests.Empty_and_single_series_report_each_unavailable_part](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L223) | Verified functional assertions; executed cases in final TRX |
| 11-AC-26: AC-11-L | the result identifies the reference values used; does not present a general reference threshold as an individual treatment target | [HealthTrendTests.References_are_setting_specific_sourced_and_not_treatment_targets](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L113) | Partially verified: preserved outputs/provenance pass; independent clinical support not verified (Q3) |
| 11-AC-27: AC-11-M | the assessment remains unchanged | [HealthTrendTests.Retrieval_and_identifier_order_do_not_change_results_including_ties](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L237) | Verified functional assertions; executed cases in final TRX |
| 11-AC-28: AC-11-N | the result reflects the current observations | [HealthTrendTests.Corrected_values_context_and_deletions_are_used_on_every_request_after_restart](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L352) | Verified functional assertions; executed cases in final TRX |
| 11-AC-29: Supported reference comparison despite incomplete preparation details | the supported reference comparison is provided; the explanation identifies the remaining limits without rejecting all clinical interpretation | [HealthTrendTests.Known_categories_with_missing_preparation_support_limited_reference_comparison](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L150); [HealthTrendTests.Missing_optional_circumstances_do_not_block_supported_comparison](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L164) | Partially verified: preserved outputs/provenance pass; independent clinical support not verified (Q3) |
| 12-AC-01: View an overview for a patient with observations | the patient's profile is included; the latest blood-pressure observation is included; the calculated health insight is included | [HealthOverviewTests.Overview_preserves_profile_latest_context_and_selected_insight_with_different_bases](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L57) | Verified functional assertions; executed cases in final TRX |
| 12-AC-02: View an overview for a patient without observations | the patient's profile is included; no latest blood-pressure observation is returned; the overview indicates that no calculated health insight is available | [HealthOverviewTests.No_observations_returns_profile_and_explicit_insight_absence](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L96) | Verified functional assertions; executed cases in final TRX |
| 12-AC-03: Request an overview for a patient that does not exist | the request reports that the patient does not exist | [HealthOverviewTests.Assigned_missing_patient_reports_absence_without_exposing_other_patients](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L197) | Verified functional assertions; executed cases in final TRX |
| 12-AC-04: Reject an invalid overview period | the request is rejected | [HealthOverviewTests.Invalid_period_or_context_is_rejected_with_details](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L188) | Verified functional assertions; executed cases in final TRX |
| 12-AC-05: Latest context and insight selection differ | the latest after-activity observation and its context are returned; the insight uses only matching home-resting observations; the result distinguishes their different bases | [HealthOverviewTests.Overview_preserves_profile_latest_context_and_selected_insight_with_different_bases](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L57) | Verified functional assertions; executed cases in final TRX |
| 12-AC-06: No matching insight observations | the profile and latest observation remain available; the absence of insight for the selection is explained | [HealthOverviewTests.Empty_selected_insight_preserves_profile_latest_and_applied_selection](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L110) | Verified functional assertions; executed cases in final TRX |
| 12-AC-07: Unknown context remains unknown | its context is represented as unknown; no context is copied from other observations | [HealthOverviewTests.Unfiltered_pooled_insight_preserves_mixed_and_unknown_context_explanations](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L124) | Verified functional assertions; executed cases in final TRX |
| 12-AC-08: Default overview preserves context limitations | the original pooled insight is returned; its mixed-context explanation is included | [HealthOverviewTests.Unfiltered_pooled_insight_preserves_mixed_and_unknown_context_explanations](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L124) | Verified functional assertions; executed cases in final TRX |
| 13-AC-01: Successful authentication | the system recognises my account and Patient role; recognises its associated patient profile if one has been created | [PatientAuthenticationTests.Login_without_profile_returns_normalized_identity_and_no_patient_data](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L37) | Verified functional assertions; executed cases in final TRX |
| 13-AC-02: Access to my own information | access is permitted; the operation follows its existing acceptance criteria | [PatientAuthenticationTests.Own_observations_and_insights_are_available_but_another_patients_reads_and_writes_are_rejected](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L92) | Verified functional assertions; executed cases in final TRX |
| 13-AC-03: Invalid credentials | authentication is rejected; the response does not reveal which part of the credentials was incorrect | [PatientAuthenticationTests.Invalid_account_and_invalid_password_have_same_rejection](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L54) | Verified functional assertions; executed cases in final TRX |
| 13-AC-04: Missing authentication | the request is rejected; no patient information is returned or changed | [PatientAuthenticationTests.Missing_and_invalid_tokens_reject_every_existing_patient_operation](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L75) | Verified functional assertions; executed cases in final TRX |
| 13-AC-05: Invalid authentication information | the request is rejected; no patient information is returned or changed | [PatientAuthenticationTests.Missing_and_invalid_tokens_reject_every_existing_patient_operation](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L75) | Verified functional assertions; executed cases in final TRX |
| 13-AC-06: Access to another patient’s information | access is rejected; none of that patient’s information is returned or changed | [PatientAuthenticationTests.Own_observations_and_insights_are_available_but_another_patients_reads_and_writes_are_rejected](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L92) | Verified functional assertions; executed cases in final TRX |
| 13-AC-07: Own information does not yet exist | the system follows the existing behaviour for missing information; does not return another patient’s information | [PatientAuthenticationTests.Login_without_profile_returns_normalized_identity_and_no_patient_data](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L37) | Verified functional assertions; executed cases in final TRX |
| 13-AC-08: Login before profile creation | authentication succeeds and recognises my account and Patient role; I may create my initial profile under US-01; I gain no access to another patient’s information | [PatientAuthenticationTests.Login_without_profile_returns_normalized_identity_and_no_patient_data](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L37) | Verified functional assertions; executed cases in final TRX |
| 13-AC-09: Expired authentication | the request is rejected; no patient information is returned or changed | [PatientAuthenticationTests.Expired_token_is_rejected_and_login_produces_a_fresh_token](../tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs#L181) | Verified functional assertions; executed cases in final TRX |
| 14-AC-01: Successful authentication | the system recognises my identity and healthcare professional role | [ProfessionalAccessTests.Login_recognizes_professional_identity_and_does_not_put_assignments_in_the_token_response](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L59) | Verified functional assertions; executed cases in final TRX |
| 14-AC-02: View assigned patients | the system returns only patients assigned to me | [ProfessionalAccessTests.Professionals_list_only_their_own_assignments_and_can_share_patients](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L72) | Verified functional assertions; executed cases in final TRX |
| 14-AC-03: View an assigned patient’s information | access is permitted; the requested information is returned according to the existing retrieval requirements | [ProfessionalAccessTests.Assigned_profiles_observations_context_history_latest_and_insights_are_readable](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L99); [HealthOverviewTests.Overview_requires_owner_or_assigned_professional_and_blocks_direct_bypass](../tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs#L210); [HealthTrendTests.Trend_access_requires_authentication_ownership_or_professional_assignment](../tests/HealthApp.AcceptanceTests/HealthTrendTests.cs#L394) | Verified functional assertions; executed cases in final TRX |
| 14-AC-04: No assigned patients | the system indicates that no patients are assigned; does not return other patients | [ProfessionalAccessTests.Professionals_list_only_their_own_assignments_and_can_share_patients](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L72) | Verified functional assertions; executed cases in final TRX |
| 14-AC-05: Patient information does not yet exist | the system follows the existing behaviour for missing information | [ProfessionalAccessTests.Missing_information_for_assigned_patients_follows_existing_retrieval_behaviour](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L143) | Verified functional assertions; executed cases in final TRX |
| 14-AC-06: Access to an unassigned patient | access is rejected; no information about that patient is returned | [ProfessionalAccessTests.Unassigned_patients_and_observations_are_rejected_even_with_a_supplied_assigned_patient_id](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L122) | Verified functional assertions; executed cases in final TRX |
| 14-AC-07: Attempt to change patient information | the operation is rejected; the patient information remains unchanged | [ProfessionalAccessTests.Professionals_cannot_create_update_or_delete_any_patient_information](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L166) | Verified functional assertions; executed cases in final TRX |
| 14-AC-08: Invalid credentials | authentication is rejected; the response does not reveal which part of the credentials was incorrect | [ProfessionalAccessTests.Incorrect_professional_secret_and_unknown_account_have_identical_login_rejections](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L225) | Verified functional assertions; executed cases in final TRX |
| 14-AC-09: Missing or invalid authentication | the request is rejected; no patient information is returned | [ProfessionalAccessTests.Missing_invalid_and_expired_tokens_do_not_disclose_assignments_or_patient_data](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L201) | Verified functional assertions; executed cases in final TRX |
| 14-AC-10: Patient account attempts professional access | access is rejected; my existing access to my own information is unaffected | [ProfessionalAccessTests.Patient_cannot_list_professional_assignments_and_retains_own_access](../tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs#L235) | Verified functional assertions; executed cases in final TRX |
| 15-AC-01: Access guidance before first observation | preparation, measurement, and recording instructions are available; the source, applicability, and review date are identified | [MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
| 15-AC-02: Home measurement guidance | the instructions cover rest, equipment and cuff, positioning, repeated readings, and recording conditions; any numeric instructions follow the identified Danish or European guidance | [MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L45) | Partially verified: preserved outputs/provenance pass; independent clinical support not verified (Q3) |
| 15-AC-03: Unknown setting | its supported setting is identified; no measurement setting is saved or assumed on the user’s behalf | [MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
| 15-AC-04: Different measurement conditions | the guidance distinguishes it from a resting measurement; explains recording the actual conditions without relabelling the result as resting | [MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L80) | Verified functional assertions; executed cases in final TRX |
| 15-AC-05: Pulse context | it explains recording the pulse value and relevant activity condition; does not describe the single pulse value as a rhythm assessment | [MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
| 15-AC-06: Guidance does not certify compliance | no observation is saved or altered; following the procedure is not recorded automatically | [MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L45); [ConformanceTests.Final_solution_has_one_web_host_and_no_reference_project_or_internal_business_http](../tests/HealthApp.AcceptanceTests/ConformanceTests.cs#L25) | Verified functional assertions; executed cases in final TRX |
| 15-AC-07: Guidance is optional | creation succeeds | [RecordObservationTests.Valid_observation_is_assigned_an_identifier_associated_with_the_patient_and_retrievable_after_restart](../tests/HealthApp.AcceptanceTests/RecordObservationTests.cs#L28) | Verified functional assertions; executed cases in final TRX |
| 15-AC-08: Guidance unavailable | its unavailability is explained; unsupported instructions are not presented as verified guidance | [MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L96) | Verified functional assertions; executed cases in final TRX |
| 15-AC-09: General guidance without login | the general guidance is available; no patient-specific information or assignment list is returned | [MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions](../tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs#L45) | Verified functional assertions; executed cases in final TRX |
@@ -0,0 +1,34 @@
# 2026-10-20 — owner-directed behavior correction
The latest owner instruction supersedes Q1's permission to introduce admission
503s and a blanket request deadline. Preserve A's public behavior rather than
adding policy because the monolith makes it convenient. This is authorized repair,
not a new architecture proposal. Original A revision remains
2117236366130775214d9fd2611984d4348f2b79, clean and read-only. Pre-existing B changes
(.gitignore, README.md, implementation log and untracked test tools) are retained.
Remove both application admission semaphores, their 503/Retry-After path and the
new global 30-second timeout. Do not substitute a higher cap or a new waiting
policy. Keep original client cancellation, provider connection/command limits,
request transaction cleanup and coherent B snapshots. Use Npgsql's bounded pool
without imposing the invented 32-connection default; explicit pool configuration
remains a deployment override. Remove the invented settings from new installations.
Old configuration keys must not recreate the removed behavior.
Restore the six adopted A dependency-outage assertions from 503 to their original
502. Preserve failure-vs-absence, non-disclosure and no-write assertions. Replace
the B-only admission-rejection/deadline tests (which codified the wrong policy)
with deterministic held-request tests at 5, 26 and 40 concurrent requests, client
cancellation/rollback, and pool-wait cancellation/recovery. Preserve anonymous
guidance availability, authorization failures, transaction isolation and all other
functional assertions. Add a native HTTPS burst regression against a fresh local
instance; do not modify A or reclassify the failed four-hour run.
Run the entire B solution on a disposable database, provisioning tests and native
HTTPS regression. Publish a new versioned reviewable release; deployment requires
protected server operations and must preserve existing configuration, data, keys
and historical measurements. Report implemented/tested versus deployed separately.
Exact retired HTTP transport faults cannot literally be exercised inside one
process. Audit the adopted A-facing status contracts explicitly; do not claim all
environmental failure combinations are proven equivalent by a finite suite.
@@ -0,0 +1,5 @@
{
"approvalCommit": "20ab461c0194b3098504eabc96e9852a61356953",
"file": "Docs/ApprovalRequirements/architecture-b-implementation-approval.md",
"sha256": "b07f4eeea182047a71562140f44086cd43625fbca64e437d322f0eefbd5243de"
}
@@ -0,0 +1,38 @@
# Architecture B conformance evidence
Approved target revision `3426236c6cfcece36e94642ae84d1843288f86d5`; reference `2117236366130775214d9fd2611984d4348f2b79`. Approval Q1–Q5 governs historical supersessions and limits. The owner’s 2026-10-20 instruction supersedes admission rejection and blanket deadline behavior; see [correction](admission-correction.md).
| Target | Implemented evidence | Verification |
| --- | --- | --- |
| ADR-01 / logical components | One Web SDK host; five module libraries; immutable Contracts; private persistence; no business HTTP clients/callbacks. Final solution excludes pinned reference | Verified: ConformanceTests, Release build/publish, single native app unit/PID |
| ADR-02 / data ownership | `profile.patient`, `observations.observation`; per-schema migration version; two NOLOGIN schema owners; restricted patient FK; positive/category/rest/time/account constraints; patient/time/original/UUID index; DML runtime role | Verified: migrations twice, FK/check rejection, runtime DDL denial, actual installer role/readiness check. Schemas remain logical ownership, not compromise isolation |
| ADR-03 / creation sequence | Trusted account, atomic single-row durable association, unique non-null account, conflict recovery and `/me` | Verified: original lifecycle assertions, simultaneous creation, trigger rollback, retry/lost response, restart/access |
| ADR-04 / access boundary | Framework opaque tickets with issue/expiry, 30-minute default, persistent scoped keys; normalized identities/policies; actual owner and assignments before validation/serialization; internal routes absent; no service-key trust | Verified: full patient/professional suites, expired/tampered/spoofed identity, provider replacement, real HTTPS/native restart |
| ADR-05 / read sequence | Shared repeatable-read from access lookup through immutable capture; Overview captures profile/latest/selected series, selects series once; releases before mathematical evaluation/transfer; no result cache/store | Verified: controlled concurrent commit test proves old coherent snapshot/new next request and released transaction |
| ADR-06 / Analytics/Guidance | Original Summary/Trend formulas and clinical branching retained; numerical/clinical policies separated; versioned Guidance reference/claim provenance; full-period/tie/sufficiency rules and disclosed narrative limits | Verified functional calculations/classifications/provenance. Independent clinical validity remains not verified, explicitly preserved under Q3 |
| ADR-07 / context lifecycle | Flattened observation-owned fields; independent AND/Unknown selections; original prose; omission/set/clear and whole-context clear; owner-scoped locked mutation/delete | Verified: original context/patch/delete suites plus controlled concurrent disjoint patches and schema default assertions |
| ADR-08 / native deployment | Fresh independently provisioned database; generated credentials/config/certificates/keys; transient provisioner; one dedicated systemd app; local or hostname-verified TLS DB | Verified actual Debian 12 systemd local/remote installation in isolated Linux environments; other families intended with command-contract tests, native execution not verified |
| §8 failures/resources | Provider-bounded pooling and client cancellation/rollback; no application admission gates or blanket deadline; original 502 dependency contract; no-store and full untruncated history | Corrected under owner instruction: held 5/26/40-request regression, pool wait/cancellation/recovery, canceled-write rollback, guidance/login independence, six restored A outage assertions; native HTTPS bursts. Historical stage-6 rejection/deadline assertions are superseded. |
| §9 readiness/security | Protected config/private key/key ring; authenticated liveness/readiness; verified DB CA/hostname; no unnecessary local DB in remote mode; no overwrite | Verified: native certificate workflows, wrong hostname rejection, file-mode/overwrite checks and operational tests. Automatic certificate renewal/HA/production recovery remain outside scope |
## Revised US-16, approved Q1/Q5
Original clauses remain unchanged in Docs and original architecture tests remain in Reference. The approved proposal revision supplies the replacement acceptance meaning.
| Criterion | B evidence / status |
| --- | --- |
| AC-16-A | Complete app selected as the deployment unit; feature-service selection intentionally superseded. Native app install verified |
| AC-16-B | Modules one app process; PostgreSQL separately managed. App stop leaves DB ready, verified |
| AC-16-C | Complete one-app deployment, one HTTPS edge, typed internal calls. Native workflow verified |
| AC-16-D | Protected app/module configuration and independently configured DB endpoint, generated automatically; local/remote verified |
| AC-16-E | Same app supports separate verified-TLS PostgreSQL host; no feature-service distribution. Separate-host-namespace remote workflow and hostname rejection verified |
| AC-16-F | App and DB have independent lifecycles; features start/stop together. PID/restart/DB-during-stop verified |
| AC-16-G | One DB with distinct schema/migration ownership and DML role; no derived-result persistence. Grants/constraints/readiness verified |
| AC-16-H | Same module/communication/persistence responsibilities for both placements. Both native placements verified |
| AC-16-I | Actual app PID, trusted HTTPS, configured DB, representative synthetic operations, independent stop/restart and new PID verified |
Generated-password/roles, protected secret storage, certificate/trust/replacement, distribution dependency detection, migration, systemd enable/start, failure-stage diagnostics and overwrite protection are implemented. APT/DNF/pacman remote-mode tests prove local PostgreSQL commands are excluded; actual Debian remote installation confirms absence. Existing rules are retained when a scoped local SCRAM entry is added for the new B DB/role.
## Evidence limits
Native environments are disposable Debian 12 systemd instances sharing Manjaro kernel 7.1.13-2-MANJARO, not bare-metal/VM or measurement environments. .NET 10.0.13 / local PG 15.19 and remote PG 18.6 were recorded. Fedora/RHEL, Ubuntu, Debian 13 and Arch/Manjaro native installation remain intended/unverified despite adapter command tests. Clinical references/classifications are preserved with uncertainty/provenance, not newly clinically certified. Arbitrary narrative/negation is not understood beyond the unchanged detector and disclosed limits. Large full-history materialization and whole-process/DB-role failure/compromise scope remain approved tradeoffs, without capacity or HA claims. No live A import occurred; no energy improvement is claimed.
+97
View File
@@ -0,0 +1,97 @@
{
"capturedOn": "2026-10-14",
"sourceRepository": "/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepository",
"sourceCommit": "2117236366130775214d9fd2611984d4348f2b79",
"sourceStatus": "",
"implementationCommit": "3426236c6cfcece36e94642ae84d1843288f86d5",
"proposalCommit": "3426236c6cfcece36e94642ae84d1843288f86d5",
"preExistingChanges": [
" M AGENT.md",
"?? AGENTOldOutdated.md"
],
"sha256": {
"Docs/Architecture/.$04_class_observation_service.drawio.bkp": "cddda9a4d1fdbb7cd332aef729912a74fdf05b34e68d89612bdc314b8cef3396",
"Docs/Architecture/.$05_class_insights_service.drawio.bkp": "e2b1dfa14d111fb858f0f588a433beebaf21649819b6d9b8360de8dcdd4e5adf",
"Docs/Architecture/.$06_class_health_overview_service.drawio.bkp": "9503302ba2d0326bf1f80576975599da7014ef424502a37445953c1206333dcc",
"Docs/Architecture/.$08_er_observation_service.drawio.bkp": "4592723517abb47d440b5c5e034dc82c6ca91dc2cf4a8844508e0261a01b9a1f",
"Docs/Architecture/.$09_er_insights_service.drawio.bkp": "c93980f0269e720f3e821525e21535f36f54bff5738c1c2e0bf96dd6a1173372",
"Docs/Architecture/01_domain_model.jpg": "43354c405b637578074d6d0b74269a81e92be93a9549af8550d36314310680c9",
"Docs/Architecture/02_microservice_architecture.jpg": "67862bb8e9c1029f1ba8cd1db680a02e7c0a7d2aeeb09bda824972f14e24e1f1",
"Docs/Architecture/03_class_patient_profile_service.jpg": "4abc364239a97b0d77dd59352f2ac537a583e02181014a4963ceb180315fab1e",
"Docs/Architecture/04_class_observation_service.drawio": "0b48a2760252607d36fe745512b97c1796067f972c0198423cb15ace3f93c678",
"Docs/Architecture/04_class_observation_service.jpg": "749647606ee3a5a7053dbc956fc26b09b4e26a5929eb1a60729d713fecd1fcf3",
"Docs/Architecture/05_class_insights_service.drawio": "8c5837f38eb745e1cf8362b4e8c7e538e7f1e6b7e8555ae4e8a4baecf2c9f969",
"Docs/Architecture/05_class_insights_service.jpg": "18d5fbeec5db5947da0dca67e34b4d221ae13d5b2ea3682e7b3073c991b3e070",
"Docs/Architecture/06_class_health_overview_service.drawio": "8c401510f8c0a2e88936b23ad670448ccc07c28d051b207d79d222f13ec9422e",
"Docs/Architecture/06_class_health_overview_service.jpg": "1c2751c7fdbf123bdaed207f35ebdcd58f0ee0d2145cbdd173b7d5ae71e9778b",
"Docs/Architecture/07_er_patient_profile_service.jpg": "8074f734e3e4e28ea27416409d5abdf67c6a0e3205d97c994c6292ca8d2261e4",
"Docs/Architecture/08_er_observation_service.drawio": "88cc97c26ff40650cae593b906ebab42539bf329440c5c6f4e637ef5fc029bb1",
"Docs/Architecture/08_er_observation_service.jpg": "e6b02064ba2019ac58f7111264a0277116bd08114871e9c1f92fb49cabeb0999",
"Docs/Architecture/09_er_insights_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg": "6f01585a506f84efa6d553087c68263370cbceee74706fef1bf6879ef300ccbc",
"Docs/Architecture/09_er_insights_service.drawio": "534ba79368ac79eb80d797178411b4f5e83316b8a730fc62e214527571cbea9a",
"Docs/Architecture/10_er_health_overview_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg": "b27db286ce26cbc14bc5aff4cc190aff62c4537ef37de26008b0e6e0f17534a2",
"Docs/Architecture/README.md": "3754fa7ed95a6ef5422ce35f064eaabfdfe958720bd744cc533a169cb0c691f0",
"Docs/Architecture/personal_health_measurement_all_diagrams-Domain Model.jpg": "285c4c52440a300051a2c0f775d53ee36ef68c17eebbebf579be5ccca5b49976",
"Docs/Architecture/us10-insights-correction.md": "259d59ee3151806824dd2f879e7f9313b1db79b0fd9eb6a65cacc06d064dc4c7",
"Docs/AsBuiltArchitecture/README.md": "1936608a23872074b31f7d6053b8b896d1eb5a88e604fd633213abbc779782b7",
"Docs/AsBuiltArchitecture/architecture-decisions.md": "3edfbcd2081892d25f18bbe3e99ce68c92029056ea45a9c5ce3a72c13be7627d",
"Docs/AsBuiltArchitecture/class-diagram-coverage.md": "cdd13445e535663d11c7ac99acd8c643d66f9b9fd76c278397236f521d26dc1c",
"Docs/AsBuiltArchitecture/diagrams/01-system-context.drawio": "8da56ceb1ff2a37e9e6c8452fa1dc710ff26888339e9c737199ce8fb2d1d0047",
"Docs/AsBuiltArchitecture/diagrams/02-logical-services.drawio": "4ed58fe137068f77a930d52af4bf360e9b007ad181de02caaeab88d988e8a2d3",
"Docs/AsBuiltArchitecture/diagrams/03-domain-model.drawio": "aac0b332e4693652d46a0ab87f60d187b2b7dfa75d8035768259757761d34e50",
"Docs/AsBuiltArchitecture/diagrams/04-class-ApiGateway.drawio": "5a2af15508671acddb1507d5896792bc544addfdf40caa22430d53e81f2a6ae5",
"Docs/AsBuiltArchitecture/diagrams/04-class-HealthOverviewService.drawio": "7c4fb22fb53b564917cb86e9bb5cf87ea20c487462f8df628fac56ebc98f28b9",
"Docs/AsBuiltArchitecture/diagrams/04-class-InsightsService.drawio": "008ac8a03206c366fc469661610f56ad85675b37dd707893018d197a3b3e59bd",
"Docs/AsBuiltArchitecture/diagrams/04-class-ObservationService.drawio": "55b3eb960a9886c78adb6b2871a3863dff2c972cafa7d84f1f22fe58724b8e27",
"Docs/AsBuiltArchitecture/diagrams/04-class-PatientProfileService.drawio": "de3b253e09f68f2beb3f0a36bcebd71764bcf803bd7fd114947525d7ccadc74d",
"Docs/AsBuiltArchitecture/diagrams/04-design-classes.drawio": "14554a8d29c58ef76f0ad7b464d25c36bcf624925a2e6335a074ecc484941230",
"Docs/AsBuiltArchitecture/diagrams/05-data-ownership.drawio": "2fa232fe931f29b6e4ebfeea9e2dc2515f46099e81852f45e17ad3b9b9f7e4c2",
"Docs/AsBuiltArchitecture/diagrams/06-deployment.drawio": "7d1e534fa54f3ec123ca97260f10377bc78b892eeaf6d54c35c5d677ba266a9c",
"Docs/AsBuiltArchitecture/diagrams/07-sequences.drawio": "796c20eb9d84d849e4f2b58ddf01240b698a235021582f0e2cd69eebae1c65ef",
"Docs/AsBuiltArchitecture/discrepancies.md": "55a282ec2f3cfb8e91d554ee6dca62a57c2d5c591581b1e125a9bb598b3b8ef7",
"Docs/AsBuiltArchitecture/evidence-inventory.md": "d44791a09c1886819ff4fa8eed77dec37c986b4a78f26a0f05b7e14bb052c64b",
"Docs/AsBuiltArchitecture/requirements-traceability.md": "393754603a5a56428e8d3cc66ef659577c031e0ece597c4ea5646a315ba01cee",
"Docs/AsBuiltArchitecture/software-architecture.md": "67f4272d650cbf7ee8b68fe0e72449457de95c23683c4516cb05a2a3de9678cf",
"Docs/AsBuiltArchitecture/validation.md": "e688ec8372e829bf28b0ba9c58907af66273b1cffd6bdff1b72edb5ba5013b27",
"Docs/Design/authentication-and-access-control-design.md": "b044d0f78d542be0cf4a9c9db6635006f1c9be505a725c50e42ea26818d58f3b",
"Docs/Requirements/00-common-requirements.md": "1f056a53699e0875e11dfc203f2e324aaf2c4df02ffa41ed478699e4cc42dc66",
"Docs/Requirements/US16 easy installation and deployment installer.txt": "07416edc16ce034aea42f444ee939b1c70cb7b436194d73121d0c9a9635d0432",
"Docs/Requirements/us01-create-patient-profile.md": "52872490bd37b15e5b16b547b282a72b68e3daf6b01b4397d940d2f0bc7d82c5",
"Docs/Requirements/us02-view-patient-profile.md": "8af9e4e55ddb9bb42747fe2f16b12d95060d47b6b6f5c3102ddd215101c67477",
"Docs/Requirements/us03-update-patient-profile.md": "0825a974cea879240832ff11b709764f39cf7b7b03e52fe35fe68ec7363c1dd4",
"Docs/Requirements/us04-record-observation.md": "894e99dac4e056045c51bb3a16eafa25120c9fda2fee9f9aff6c2fcfa0e6cbc5",
"Docs/Requirements/us05-view-observation.md": "3632aebd02b34996483cf2a5e8b1c2a578a4de8226b20708ad30947116591f74",
"Docs/Requirements/us06-latest-observation.md": "dfec3b4fcb1c84109e0a685c82b7d58652f6e894196d8e8ae91c5f8916fbef42",
"Docs/Requirements/us07-observation-history.md": "dec0f06cee54e713dd8257b09338864976a813b3d282d422e45c66e204aa4dc7",
"Docs/Requirements/us08-update-observation.md": "1e65e62813db4e50d8858511978d7fa54088aa33c62ba43f3f63953601ae510b",
"Docs/Requirements/us09-delete-observation.md": "28e4dc1cbc92f60bbc700960b2174817a909a51cfb1226e3a873db46a329876a",
"Docs/Requirements/us10-calculated-insight.md": "ed2f03e69d460ef5bda98bb886749c52810bf14d0ba1477ca4533c683a0ef06b",
"Docs/Requirements/us11-health-trend.md": "7121bb4890e70621cae27163760ae5ccc6f9dd233e4e930a6a8c6c184d7f6181",
"Docs/Requirements/us12-health-overview.md": "58db5d95b70b09f77dfae42c0d85df5b6624d19bdaf137f89b9ab1a90baa8750",
"Docs/Requirements/us13-patient-authentication.md": "d2584876fbb17ecd4f751ffde5625eaf16d45a2f1b0d00edf45f74737c7bc512",
"Docs/Requirements/us14-professional-access.md": "bb451f00e4bad5d7773ed8073c4fdda362c50986f98a300b5d733fe5b71b2f6f",
"Docs/Requirements/us15-measurement-guidance.md": "1aa52764ac93fcdb36c49796cb1a242f3bfbb85572c6f009739493ebaa268074",
"Docs/Requirements/us16-addendum": "61f88829b25010506648af3f679d625e78f75b27b491bebdadb4b166115ac045",
"Docs/requirements-reconciliation-changelog.md": "318c4e2c9f3c1137d48caa04c5fe390c804a53c2684869d47a5e7d062bfe2d74",
"ArchitectureProposal/README.md": "302d9dddaf1cf848041b882f4e57db451c16f6a31aef0b50d985d0c91d7f0b18",
"ArchitectureProposal/architecture-decisions.md": "edb50808227dcfec2eba4d940103f6785777f1faf148e43998cfc1210eaa4f2d",
"ArchitectureProposal/diagram-guide.md": "d7b43b41e4c373a6c9ffdbe971510c49d3b54cb1346916d96191ed26c3dc8d9b",
"ArchitectureProposal/diagrams/01-system-context.drawio": "2398027144076461288b08af3cdc2dfa089d8ef9b25f8da69ac459d16a56517f",
"ArchitectureProposal/diagrams/02-logical-components.drawio": "3f26322e375fa68287380f4464614e926113c413e77eba572c88d1b3dba2ec7e",
"ArchitectureProposal/diagrams/03-domain-model.drawio": "bf811c558c7b30dd6a17b49d292034ce2b1992714b5793ff3f0762ed8a057f63",
"ArchitectureProposal/diagrams/04-conceptual-classes.drawio": "2ed335cf359bcd24851bbadb3b2a7926415d07996a6590adb8c39933e90b1ed9",
"ArchitectureProposal/diagrams/05-data-ownership.drawio": "9f6a924a4c81ceef9c1124c3764da1257d02576ca35343865561282bc2342303",
"ArchitectureProposal/diagrams/06-deployment.drawio": "8367a23bf1ae412601278595aa9cb25d25ff5627d62078df2a5422e39a639def",
"ArchitectureProposal/diagrams/07-sequences.drawio": "1023f4a5b7dc19e7a2f9f4300f8daca9ad4d251ca7deb4fa3bd3f9d57641b75d",
"ArchitectureProposal/energy-hypotheses.md": "5d4c28b69629471a6a34715c46ff7c735d4608ff8700e330855fbf0863be4bf7",
"ArchitectureProposal/input-inventory.md": "8253bdb30cc3b64ccac17c47d84d6d89d1d91f6a36adb081dce5d2e41ffdde4a",
"ArchitectureProposal/requirements-and-constraints.md": "714c855256a94d47eb5579aa90dd9993d30685d5cb17d5208103d272dd4475af",
"ArchitectureProposal/requirements-traceability.md": "36cfe3207b05e7ea5cb11e87dfe24e678f9c6f2353dde9dee3eae6cdc266b0cd",
"ArchitectureProposal/risks-and-open-questions.md": "5ebb2ba9511925333bbcbb14c8261d0ace896338507b63aa84d0a05ecc1e4537",
"ArchitectureProposal/software-architecture.md": "3238df5ae4b97de6fe97dd5a8c520cb0350b414974c6984f71cf7c8f44e6cd49",
"ArchitectureProposal/us16-revision.md": "0d8d6eac9ba659f0835c376fbec314e66f058f5442228c7b7054f48461385ea5",
"ArchitectureProposal/validation.md": "cb95155481cae3ac1f0922988ff3748f79243cb6f8132756b4e3f75ad30c454b",
"AGENT.md": "4394ef08384749a3f7394906e1c4eed36c3d2d1c8daccb3b66b4f83962ffb3a2",
"AGENTOldOutdated.md": "1e83d98a89575e39f10df2b6b3a40833590ad4be37172437ceb70f39cd441872"
}
}
+14
View File
@@ -0,0 +1,14 @@
# Preserved clinical behaviour and evidence limits
Approval Q3 requires existing content, thresholds and classifications unchanged for functional comparison. Reference bundle `baseline-2026-10-05` preserves source/update/review dates and numerical operators from pinned source; public guidance preserves its 2026-10-04 review metadata. No new clinical review has been performed or implied.
| Preserved rule/content | Provenance and uncertainty |
| --- | --- |
| Home high BP systolic >=135 / diastolic >=85; clinic >=140 / >=90 | Baseline cites Sundhed.dk Lægehåndbogen Højt blodtryk, updated 2024-09-25, reviewed 2026-10-05. Single known Home/Clinic/rest prerequisites and known inadequate preparation gate remain unchanged. General threshold is not personal target |
| Resting pulse <50 / >100, exclusive limits | Baseline cites Patienthåndbogen Bradykardi (updated 2025-09-02) and Hurtig puls (updated 2025-05-12), reviewed 2026-10-05. Low rate may be physiological; medication/fitness/symptoms unknown |
| PotentiallyFavourable pressure decrease remaining high; pulse moving from outside towards interval without opposite excursion | Baseline explicitly calls these cautious inferences, not clinical decision rules. Clinical support of every development claim is uncertain; preserved under Q3, no new validation claim |
| Mixed reversals/outside excursions; PotentiallyConcerning outside levels; CannotInterpret unsupported situations | Exact original branching and explanation preserved. Passing tests verifies equivalence, not clinical validity |
| Narrative conflicts | Original finite English/Danish phrase detector preserved, including during exercise. Negation/unrecognized wording remain limitations, stated in unchanged explanations; no general-language comprehension claim |
| Home equipment/rest/repeat/pulse guidance | Original six steps and two source records preserved; clinic/other unavailable and Unknown explicitly labelled. No request-time publisher call or patient write |
Any necessary change to externally visible clinical rules, labels, content or thresholds must be approved before changing it. No unsupported label is silently disabled to make an architecture check pass.
@@ -0,0 +1,95 @@
# Documentation inventory
Captured 2026-10-14. `Docs/Requirements` governs functionality; `ArchitectureProposal` governs the target structure subject to implementation approval. As-built documents describe an earlier source snapshot and are checked against the pinned source. Historical images/backups supply context and are superseded where the Architecture README says so. File hashes are in `baseline-manifest.json`.
| File | Classification | Diagram pages |
| --- | --- | --- |
| `Docs/Architecture/.$04_class_observation_service.drawio.bkp` | Historical diagram / backup | |
| `Docs/Architecture/.$05_class_insights_service.drawio.bkp` | Historical diagram / backup | |
| `Docs/Architecture/.$06_class_health_overview_service.drawio.bkp` | Historical diagram / backup | |
| `Docs/Architecture/.$08_er_observation_service.drawio.bkp` | Historical diagram / backup | |
| `Docs/Architecture/.$09_er_insights_service.drawio.bkp` | Historical diagram / backup | |
| `Docs/Architecture/01_domain_model.jpg` | Historical diagram / backup | |
| `Docs/Architecture/02_microservice_architecture.jpg` | Historical diagram / backup | |
| `Docs/Architecture/03_class_patient_profile_service.jpg` | Historical diagram / backup | |
| `Docs/Architecture/04_class_observation_service.drawio` | Baseline structure or reconciliation; functional intent retained | Observation Service — updated class model |
| `Docs/Architecture/04_class_observation_service.jpg` | Historical diagram / backup | |
| `Docs/Architecture/05_class_insights_service.drawio` | Baseline structure or reconciliation; functional intent retained | Insights Service — updated class and result model |
| `Docs/Architecture/05_class_insights_service.jpg` | Historical diagram / backup | |
| `Docs/Architecture/06_class_health_overview_service.drawio` | Baseline structure or reconciliation; functional intent retained | Health Overview Service — updated class model |
| `Docs/Architecture/06_class_health_overview_service.jpg` | Historical diagram / backup | |
| `Docs/Architecture/07_er_patient_profile_service.jpg` | Historical diagram / backup | |
| `Docs/Architecture/08_er_observation_service.drawio` | Baseline structure or reconciliation; functional intent retained | Observation Service — updated logical persistence model |
| `Docs/Architecture/08_er_observation_service.jpg` | Historical diagram / backup | |
| `Docs/Architecture/09_er_insights_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg` | Historical diagram / backup | |
| `Docs/Architecture/09_er_insights_service.drawio` | Baseline structure or reconciliation; functional intent retained | Insights Service — no persisted summary entities |
| `Docs/Architecture/10_er_health_overview_service-overruled no persistence here to give an idea of what data is needed to be able to use from other services or calculate.jpg` | Historical diagram / backup | |
| `Docs/Architecture/README.md` | Baseline structure or reconciliation; functional intent retained | |
| `Docs/Architecture/personal_health_measurement_all_diagrams-Domain Model.jpg` | Historical diagram / backup | |
| `Docs/Architecture/us10-insights-correction.md` | Baseline structure or reconciliation; functional intent retained | |
| `Docs/AsBuiltArchitecture/README.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/architecture-decisions.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/class-diagram-coverage.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/diagrams/01-system-context.drawio` | Descriptive baseline; not a new requirement | System context |
| `Docs/AsBuiltArchitecture/diagrams/02-logical-services.drawio` | Descriptive baseline; not a new requirement | Service processes and communication |
| `Docs/AsBuiltArchitecture/diagrams/03-domain-model.drawio` | Descriptive baseline; not a new requirement | Complete application domain: health, access and guidance; Deployment administration concepts (separate supporting domain) |
| `Docs/AsBuiltArchitecture/diagrams/04-class-ApiGateway.drawio` | Descriptive baseline; not a new requirement | ApiGateway — implementation classes |
| `Docs/AsBuiltArchitecture/diagrams/04-class-HealthOverviewService.drawio` | Descriptive baseline; not a new requirement | HealthOverviewService — implementation classes |
| `Docs/AsBuiltArchitecture/diagrams/04-class-InsightsService.drawio` | Descriptive baseline; not a new requirement | InsightsService — implementation classes |
| `Docs/AsBuiltArchitecture/diagrams/04-class-ObservationService.drawio` | Descriptive baseline; not a new requirement | ObservationService — implementation classes; ObservationService — EF migration classes |
| `Docs/AsBuiltArchitecture/diagrams/04-class-PatientProfileService.drawio` | Descriptive baseline; not a new requirement | PatientProfileService — implementation classes; PatientProfileService — EF migration classes |
| `Docs/AsBuiltArchitecture/diagrams/04-design-classes.drawio` | Descriptive baseline; not a new requirement | ApiGateway — implementation classes; PatientProfileService — implementation classes; PatientProfileService — EF migration classes; ObservationService — implementation classes; ObservationService — EF migration classes; InsightsService — implementation classes; HealthOverviewService — implementation classes; Administrative provisioning (not a microservice) |
| `Docs/AsBuiltArchitecture/diagrams/05-data-ownership.drawio` | Descriptive baseline; not a new requirement | Ownership and physical persistence |
| `Docs/AsBuiltArchitecture/diagrams/06-deployment.drawio` | Descriptive baseline; not a new requirement | Colocated Linux: separate native processes; Distributed Linux: supported topology; Native platform adapters: same application DLLs |
| `Docs/AsBuiltArchitecture/diagrams/07-sequences.drawio` | Descriptive baseline; not a new requirement | Login and initial profile creation; Record observation with patient existence check; Observation-ID read, patch or delete ownership; On-demand numerical insight or trend; Overview: sequential nested gateway reads; Professional assigned-patient reads and rejection; Installation: preparation, provisioning and verification |
| `Docs/AsBuiltArchitecture/discrepancies.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/evidence-inventory.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/requirements-traceability.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/software-architecture.md` | Descriptive baseline; not a new requirement | |
| `Docs/AsBuiltArchitecture/validation.md` | Descriptive baseline; not a new requirement | |
| `Docs/Design/authentication-and-access-control-design.md` | Security intent; historical topology superseded by approved target | |
| `Docs/Requirements/00-common-requirements.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/US16 easy installation and deployment installer.txt` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us01-create-patient-profile.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us02-view-patient-profile.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us03-update-patient-profile.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us04-record-observation.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us05-view-observation.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us06-latest-observation.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us07-observation-history.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us08-update-observation.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us09-delete-observation.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us10-calculated-insight.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us11-health-trend.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us12-health-overview.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us13-patient-authentication.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us14-professional-access.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us15-measurement-guidance.md` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/Requirements/us16-addendum` | Functional requirements; US-16 topology requires explicit revision | |
| `Docs/requirements-reconciliation-changelog.md` | Baseline structure or reconciliation; functional intent retained | |
| `ArchitectureProposal/README.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/architecture-decisions.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/diagram-guide.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/diagrams/01-system-context.drawio` | Target architecture / supporting evidence | Health App — system context |
| `ArchitectureProposal/diagrams/02-logical-components.drawio` | Target architecture / supporting evidence | Logical components — all in one application process |
| `ArchitectureProposal/diagrams/03-domain-model.drawio` | Target architecture / supporting evidence | Domain — identity and access; Domain — observations and selection; Domain — derived views and clinical provenance |
| `ArchitectureProposal/diagrams/04-conceptual-classes.drawio` | Target architecture / supporting evidence | Conceptual classes — access and Profile; Conceptual classes — Observations; Conceptual classes — Analytics; Conceptual classes — Overview and Guidance |
| `ArchitectureProposal/diagrams/05-data-ownership.drawio` | Target architecture / supporting evidence | Persistence — one database, explicit logical ownership |
| `ArchitectureProposal/diagrams/06-deployment.drawio` | Target architecture / supporting evidence | Deployment — default local Linux; Deployment — optional separate database host |
| `ArchitectureProposal/diagrams/07-sequences.drawio` | Target architecture / supporting evidence | Login and initial profile creation; Actual-owner observation correction and deletion; Insight, trend and overview snapshot composition; Native installation and verification |
| `ArchitectureProposal/energy-hypotheses.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/input-inventory.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/requirements-and-constraints.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/requirements-traceability.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/risks-and-open-questions.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/software-architecture.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/us16-revision.md` | Target architecture / supporting evidence | |
| `ArchitectureProposal/validation.md` | Target architecture / supporting evidence | |
## Diagram inspection
All editable Draw.io files were parsed; target labels and relationships were inspected, including all four sequence pages. No GUI rendering or round-trip validation was performed in this preparation. Target diagrams describe modules, immutable values, one database with restricted FK, two deployment placements and authorized shared snapshots; no internal HTTP or separately installable feature services. Historical JPEGs were inventoried rather than treated as current structure.
## Added authoritative approval
`Docs/ApprovalRequirements/architecture-b-implementation-approval.md` was supplied by the owner at commit `20ab461c0194b3098504eabc96e9852a61356953`, read completely, and preserved. Its separate SHA-256 record is approval-baseline.json. It approves Q1–Q5, explicitly modifies Linux portability, requires unchanged clinical outputs, excludes live A data access/import, and authorizes incremental implementation. It supersedes the earlier pending-approval statuses, not the preserved input documents.
@@ -0,0 +1,17 @@
HealthApp.Contracts -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp.Contracts/bin/Release/net10.0/HealthApp.Contracts.dll
HealthApp.Provisioning -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/deploy/HealthApp.Provisioning/bin/Release/net10.0/HealthApp.Provisioning.dll
Guidance -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Guidance/bin/Release/net10.0/Guidance.dll
Overview -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Overview/bin/Release/net10.0/Overview.dll
HealthApp.Infrastructure -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp.Infrastructure/bin/Release/net10.0/HealthApp.Infrastructure.dll
Profile -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Profile/bin/Release/net10.0/Profile.dll
Analytics -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Analytics/bin/Release/net10.0/Analytics.dll
Observations -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Observations/bin/Release/net10.0/Observations.dll
HealthApp -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/bin/Release/net10.0/HealthApp.dll
HealthApp.DeploymentTests -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll
HealthApp.AcceptanceTests -> /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.63
@@ -0,0 +1,224 @@
{
"result": "passed",
"requests": 639,
"applicationDllSha256": "1f476847095b1b6b20a436a7f3c6848910f3d500af2c8b660f1f95255ae2c0ae",
"results": [
{
"endpoint": "insights",
"concurrency": 5,
"repeat": 1,
"statuses": {
"200": 5
}
},
{
"endpoint": "insights",
"concurrency": 5,
"repeat": 2,
"statuses": {
"200": 5
}
},
{
"endpoint": "insights",
"concurrency": 5,
"repeat": 3,
"statuses": {
"200": 5
}
},
{
"endpoint": "insights",
"concurrency": 26,
"repeat": 1,
"statuses": {
"200": 26
}
},
{
"endpoint": "insights",
"concurrency": 26,
"repeat": 2,
"statuses": {
"200": 26
}
},
{
"endpoint": "insights",
"concurrency": 26,
"repeat": 3,
"statuses": {
"200": 26
}
},
{
"endpoint": "insights",
"concurrency": 40,
"repeat": 1,
"statuses": {
"200": 40
}
},
{
"endpoint": "insights",
"concurrency": 40,
"repeat": 2,
"statuses": {
"200": 40
}
},
{
"endpoint": "insights",
"concurrency": 40,
"repeat": 3,
"statuses": {
"200": 40
}
},
{
"endpoint": "trends",
"concurrency": 5,
"repeat": 1,
"statuses": {
"200": 5
}
},
{
"endpoint": "trends",
"concurrency": 5,
"repeat": 2,
"statuses": {
"200": 5
}
},
{
"endpoint": "trends",
"concurrency": 5,
"repeat": 3,
"statuses": {
"200": 5
}
},
{
"endpoint": "trends",
"concurrency": 26,
"repeat": 1,
"statuses": {
"200": 26
}
},
{
"endpoint": "trends",
"concurrency": 26,
"repeat": 2,
"statuses": {
"200": 26
}
},
{
"endpoint": "trends",
"concurrency": 26,
"repeat": 3,
"statuses": {
"200": 26
}
},
{
"endpoint": "trends",
"concurrency": 40,
"repeat": 1,
"statuses": {
"200": 40
}
},
{
"endpoint": "trends",
"concurrency": 40,
"repeat": 2,
"statuses": {
"200": 40
}
},
{
"endpoint": "trends",
"concurrency": 40,
"repeat": 3,
"statuses": {
"200": 40
}
},
{
"endpoint": "overview",
"concurrency": 5,
"repeat": 1,
"statuses": {
"200": 5
}
},
{
"endpoint": "overview",
"concurrency": 5,
"repeat": 2,
"statuses": {
"200": 5
}
},
{
"endpoint": "overview",
"concurrency": 5,
"repeat": 3,
"statuses": {
"200": 5
}
},
{
"endpoint": "overview",
"concurrency": 26,
"repeat": 1,
"statuses": {
"200": 26
}
},
{
"endpoint": "overview",
"concurrency": 26,
"repeat": 2,
"statuses": {
"200": 26
}
},
{
"endpoint": "overview",
"concurrency": 26,
"repeat": 3,
"statuses": {
"200": 26
}
},
{
"endpoint": "overview",
"concurrency": 40,
"repeat": 1,
"statuses": {
"200": 40
}
},
{
"endpoint": "overview",
"concurrency": 40,
"repeat": 2,
"statuses": {
"200": 40
}
},
{
"endpoint": "overview",
"concurrency": 40,
"repeat": 3,
"statuses": {
"200": 40
}
}
],
"scope": "native HTTPS, restricted runtime role, disposable PostgreSQL 18.6; not a four-hour run"
}
@@ -0,0 +1,35 @@
Determining projects to restore...
Restored /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Guidance/Guidance.csproj (in 59 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp.Contracts/HealthApp.Contracts.csproj (in 54 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Overview/Overview.csproj (in 59 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp.Infrastructure/HealthApp.Infrastructure.csproj (in 125 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Analytics/Analytics.csproj (in 125 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Observations/Observations.csproj (in 125 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Profile/Profile.csproj (in 125 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp/HealthApp.csproj (in 125 ms).
Restored /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/HealthApp.AcceptanceTests.csproj (in 128 ms).
HealthApp.Contracts -> /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp.Contracts/bin/Release/net10.0/HealthApp.Contracts.dll
Overview -> /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Overview/bin/Release/net10.0/Overview.dll
HealthApp.Infrastructure -> /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp.Infrastructure/bin/Release/net10.0/HealthApp.Infrastructure.dll
Guidance -> /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Guidance/bin/Release/net10.0/Guidance.dll
Profile -> /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Profile/bin/Release/net10.0/Profile.dll
Observations -> /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Observations/bin/Release/net10.0/Observations.dll
Analytics -> /tmp/healthapp-b-old-policy-accqa74m/src/Modules/Analytics/bin/Release/net10.0/Analytics.dll
HealthApp -> /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp/bin/Release/net10.0/HealthApp.dll
HealthApp.AcceptanceTests -> /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll
Test run for /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:16.36] HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(endpoint: "overview", concurrency: 5) [FAIL]
Failed HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(endpoint: "overview", concurrency: 5) [15 s]
Error Message:
System.TimeoutException : The operation has timed out.
Stack Trace:
at HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(String endpoint, Int32 concurrency) in /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/OperationalTests.cs:line 139
at HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(String endpoint, Int32 concurrency) in /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/OperationalTests.cs:line 163
--- End of stack trace from previous location ---
Results File: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/ImplementationPlan/evidence/admission-correction/old-policy-trx/_Sil3ntDragon_2026-10-20_22_18_01.trx
Failed! - Failed: 1, Passed: 0, Skipped: 0, Total: 1, Duration: 15 s - HealthApp.AcceptanceTests.dll (net10.0)
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="7e154056-18e0-4f24-bb59-a3d0e14cfc7d" name="@Sil3ntDragon 2026-10-20 22:18:01" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-20T22:18:01.8871270+02:00" queuing="2026-10-20T22:18:01.8871270+02:00" start="2026-10-20T22:17:45.1975157+02:00" finish="2026-10-20T22:18:01.8899102+02:00" />
<TestSettings name="default" id="5e470c33-8592-47da-9921-8298ce07243d">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-20_22_18_01" />
</TestSettings>
<Results>
<UnitTestResult executionId="3357d911-f979-4288-8512-f3b0b1eddb4d" testId="7024b37f-df45-4cb6-b60e-bc10e66378b1" testName="HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(endpoint: &quot;overview&quot;, concurrency: 5)" computerName="Sil3ntDragon" duration="00:00:15.9192904" startTime="2026-10-20T22:17:45.8707957+02:00" endTime="2026-10-20T22:18:01.7982049+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3357d911-f979-4288-8512-f3b0b1eddb4d">
<Output>
<ErrorInfo>
<Message>System.TimeoutException : The operation has timed out.</Message>
<StackTrace> at HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(String endpoint, Int32 concurrency) in /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/OperationalTests.cs:line 139
at HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(String endpoint, Int32 concurrency) in /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/OperationalTests.cs:line 163
--- End of stack trace from previous location ---</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
</Results>
<TestDefinitions>
<UnitTest name="HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(endpoint: &quot;overview&quot;, concurrency: 5)" storage="/tmp/healthapp-b-old-policy-accqa74m/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="7024b37f-df45-4cb6-b60e-bc10e66378b1">
<Execution id="3357d911-f979-4288-8512-f3b0b1eddb4d" />
<TestMethod codeBase="/tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.AcceptanceTests.OperationalTests" name="Overlapping_requests_preserve_A_success_without_admission_rejection" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="7024b37f-df45-4cb6-b60e-bc10e66378b1" executionId="3357d911-f979-4288-8512-f3b0b1eddb4d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Failed">
<Counters total="1" executed="1" passed="0" failed="1" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.10] Discovered: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.11] Starting: HealthApp.AcceptanceTests
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {03798883-0beb-4b23-8afd-e8fb20175a45} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:46625
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:45375
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp
warn: HealthApp.Security.RequestBoundaryMiddleware[0]
Operation Get failed with 504; correlation 0HNPESSQ473SH:00000001
warn: HealthApp.Security.RequestBoundaryMiddleware[0]
Operation Get failed with 504; correlation 0HNPESSQ473SI:00000001
warn: HealthApp.Security.RequestBoundaryMiddleware[0]
Operation Get failed with 504; correlation 0HNPESSQ473SE:00000001
warn: HealthApp.Security.RequestBoundaryMiddleware[0]
Operation Get failed with 504; correlation 0HNPESSQ473SF:00000001
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:35185
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /tmp/healthapp-b-old-policy-accqa74m/src/HealthApp
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
[xUnit.net 00:00:16.36] System.TimeoutException : The operation has timed out.
[xUnit.net 00:00:16.37] Stack Trace:
[xUnit.net 00:00:16.37] /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/OperationalTests.cs(139,0): at HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(String endpoint, Int32 concurrency)
[xUnit.net 00:00:16.37] /tmp/healthapp-b-old-policy-accqa74m/tests/HealthApp.AcceptanceTests/OperationalTests.cs(163,0): at HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(String endpoint, Int32 concurrency)
[xUnit.net 00:00:16.37] --- End of stack trace from previous location ---
[xUnit.net 00:00:16.40] Finished: HealthApp.AcceptanceTests
</StdOut>
</Output>
<RunInfos>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-20T22:18:01.7999813+02:00">
<Text>[xUnit.net 00:00:16.36] HealthApp.AcceptanceTests.OperationalTests.Overlapping_requests_preserve_A_success_without_admission_rejection(endpoint: "overview", concurrency: 5) [FAIL]</Text>
</RunInfo>
</RunInfos>
</ResultSummary>
</TestRun>
@@ -0,0 +1,12 @@
Determining projects to restore...
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Guidance/Guidance.csproj (in 78 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp.Contracts/HealthApp.Contracts.csproj (in 76 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Overview/Overview.csproj (in 78 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj (in 114 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Profile/Profile.csproj (in 115 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp.Infrastructure/HealthApp.Infrastructure.csproj (in 115 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/HealthApp.csproj (in 115 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Observations/Observations.csproj (in 115 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/Modules/Analytics/Analytics.csproj (in 115 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/HealthApp.DeploymentTests.csproj (in 118 ms).
Restored /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/HealthApp.AcceptanceTests.csproj (in 118 ms).
@@ -0,0 +1,32 @@
{
"date": "2026-10-20",
"sourceRevisionBeforeCorrection": "097d156c1856e998590782652ef7d565ddbf37c3",
"releaseBuild": {
"warnings": 0,
"errors": 0
},
"tests": {
"acceptancePassed": 282,
"deploymentPassed": 7,
"failed": 0,
"skipped": 0
},
"oldPolicyRegression": "Expected failure on old implementation; see old-policy-trx",
"nativeHttps": {
"requests": 639,
"failed": 0,
"concurrency": [
5,
26,
40
]
},
"deployedToTestserver": false,
"sourceSha256": {
"src/HealthApp/Program.cs": "ae159fff44bbd7068540a0a5351194d915122b58753d3ab112a6374b66285125",
"src/HealthApp/Security/RequestBoundaryMiddleware.cs": "c9e28ededba49c5c0c2f612a4e27433b80db66e50225980fdeda3089cff18936",
"deploy/HealthApp.Provisioning/Installation.cs": "81d7ca767a9657324171c97862ad75431108b8d7b94524a89b17bfa12b638424",
"tests/HealthApp.AcceptanceTests/OperationalTests.cs": "dc71528928ad0f1840aae46939cfddc785de3ab3d31bddaf7fb911ba1c91a66f",
"tests/HealthApp.DeploymentTests/ProvisioningTests.cs": "962f4f3e326b6f82d32e5525c997f5dfef3ce437109648f969c192a046a4e41b"
}
}
@@ -0,0 +1,16 @@
Test run for /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll (.NETCoreApp,Version=v10.0)
Test run for /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
A total of 1 test files matched the specified pattern.
Results File: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/ImplementationPlan/evidence/admission-correction/trx/_Sil3ntDragon_2026-10-20_22_17_13.trx
Passed! - Failed: 0, Passed: 7, Skipped: 0, Total: 7, Duration: 472 ms - HealthApp.DeploymentTests.dll (net10.0)
Results File: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/ImplementationPlan/evidence/admission-correction/trx/_Sil3ntDragon_2026-10-20_22_17_13[1].trx
Passed! - Failed: 0, Passed: 282, Skipped: 0, Total: 282, Duration: 3 s - HealthApp.AcceptanceTests.dll (net10.0)
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="b7b10ef5-2baa-4023-b90c-7a4198c22947" name="@Sil3ntDragon 2026-10-20 21:56:12" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-20T21:56:12.8551945+02:00" queuing="2026-10-20T21:56:12.8551946+02:00" start="2026-10-20T21:56:11.8123686+02:00" finish="2026-10-20T21:56:12.8600634+02:00" />
<TestSettings name="default" id="73fdfd0b-0996-41ed-bb73-53290902283e">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-20_21_56_12" />
</TestSettings>
<Results>
<UnitTestResult executionId="f7be8db3-82d7-4e94-8f72-c06edc334bd9" testId="33c90384-f3c6-faca-dce1-d760ff21850a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0103728" startTime="2026-10-20T21:56:12.2011840+02:00" endTime="2026-10-20T21:56:12.2117609+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="f7be8db3-82d7-4e94-8f72-c06edc334bd9" />
<UnitTestResult executionId="6b03ce53-4f1f-41cc-a1f0-d3f3e0e997f3" testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0172742" startTime="2026-10-20T21:56:12.1767727+02:00" endTime="2026-10-20T21:56:12.1897893+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="6b03ce53-4f1f-41cc-a1f0-d3f3e0e997f3" />
<UnitTestResult executionId="3f55b045-d065-4e46-aaae-e5ee7ff79a26" testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0110677" startTime="2026-10-20T21:56:12.1901154+02:00" endTime="2026-10-20T21:56:12.2010872+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3f55b045-d065-4e46-aaae-e5ee7ff79a26" />
<UnitTestResult executionId="3a715819-1596-4227-85cd-54a4fc75574c" testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0072029" startTime="2026-10-20T21:56:12.2118794+02:00" endTime="2026-10-20T21:56:12.2191679+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3a715819-1596-4227-85cd-54a4fc75574c" />
<UnitTestResult executionId="cb05d162-d5d5-44c6-a8d9-59dc6476eeeb" testId="a70cdec8-9c14-82c1-b445-a929f0efa801" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0097898" startTime="2026-10-20T21:56:12.2192795+02:00" endTime="2026-10-20T21:56:12.2297673+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="cb05d162-d5d5-44c6-a8d9-59dc6476eeeb" />
<UnitTestResult executionId="417319e7-c9a8-4d49-863a-f0212041db08" testId="1138db71-91fe-4d3d-87aa-4d70e896e482" testName="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" computerName="Sil3ntDragon" duration="00:00:00.5397918" startTime="2026-10-20T21:56:12.2311251+02:00" endTime="2026-10-20T21:56:12.7704323+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="417319e7-c9a8-4d49-863a-f0212041db08" />
<UnitTestResult executionId="0eb26b89-89e8-4cda-8926-8f7b51619ca8" testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0156294" startTime="2026-10-20T21:56:12.1508884+02:00" endTime="2026-10-20T21:56:12.1716758+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="0eb26b89-89e8-4cda-8926-8f7b51619ca8" />
</Results>
<TestDefinitions>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="0bc3017d-a346-6f78-15f4-a592a7649d7d">
<Execution id="3f55b045-d065-4e46-aaae-e5ee7ff79a26" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569">
<Execution id="3a715819-1596-4227-85cd-54a4fc75574c" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="1138db71-91fe-4d3d-87aa-4d70e896e482">
<Execution id="417319e7-c9a8-4d49-863a-f0212041db08" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Preparation_generates_scoped_protected_material_and_refuses_overwrite" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="a70cdec8-9c14-82c1-b445-a929f0efa801">
<Execution id="cb05d162-d5d5-44c6-a8d9-59dc6476eeeb" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="33c90384-f3c6-faca-dce1-d760ff21850a">
<Execution id="f7be8db3-82d7-4e94-8f72-c06edc334bd9" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d50eb471-4403-2ca0-c097-2d1409d5a29a">
<Execution id="0eb26b89-89e8-4cda-8926-8f7b51619ca8" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d6fb777f-1940-8a0e-ae1f-9246110dbf75">
<Execution id="6b03ce53-4f1f-41cc-a1f0-d3f3e0e997f3" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="33c90384-f3c6-faca-dce1-d760ff21850a" executionId="f7be8db3-82d7-4e94-8f72-c06edc334bd9" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" executionId="6b03ce53-4f1f-41cc-a1f0-d3f3e0e997f3" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" executionId="3f55b045-d065-4e46-aaae-e5ee7ff79a26" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" executionId="3a715819-1596-4227-85cd-54a4fc75574c" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a70cdec8-9c14-82c1-b445-a929f0efa801" executionId="cb05d162-d5d5-44c6-a8d9-59dc6476eeeb" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1138db71-91fe-4d3d-87aa-4d70e896e482" executionId="417319e7-c9a8-4d49-863a-f0212041db08" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" executionId="0eb26b89-89e8-4cda-8926-8f7b51619ca8" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="7" executed="7" passed="7" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.DeploymentTests
[xUnit.net 00:00:00.06] Discovered: HealthApp.DeploymentTests
[xUnit.net 00:00:00.08] Starting: HealthApp.DeploymentTests
[xUnit.net 00:00:00.72] Finished: HealthApp.DeploymentTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="28c60ae8-9a31-4d77-911b-104ddd0b5276" name="@Sil3ntDragon 2026-10-20 22:17:13" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-20T22:17:13.9651572+02:00" queuing="2026-10-20T22:17:13.9651572+02:00" start="2026-10-20T22:17:13.0389623+02:00" finish="2026-10-20T22:17:13.9696600+02:00" />
<TestSettings name="default" id="fd713c6b-c76a-488a-954f-ebd1296bc8ed">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-20_22_17_13" />
</TestSettings>
<Results>
<UnitTestResult executionId="44722983-932a-4549-8fbf-34f27975dd30" testId="33c90384-f3c6-faca-dce1-d760ff21850a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0110417" startTime="2026-10-20T22:17:13.4382963+02:00" endTime="2026-10-20T22:17:13.4494374+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="44722983-932a-4549-8fbf-34f27975dd30" />
<UnitTestResult executionId="a1eab8f1-0463-406e-af48-68ed1d1a169c" testId="1138db71-91fe-4d3d-87aa-4d70e896e482" testName="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" computerName="Sil3ntDragon" duration="00:00:00.3700624" startTime="2026-10-20T22:17:13.4916506+02:00" endTime="2026-10-20T22:17:13.8581906+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="a1eab8f1-0463-406e-af48-68ed1d1a169c" />
<UnitTestResult executionId="fe9aef35-45f8-4b30-9938-66296f341934" testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0125600" startTime="2026-10-20T22:17:13.4258264+02:00" endTime="2026-10-20T22:17:13.4381773+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="fe9aef35-45f8-4b30-9938-66296f341934" />
<UnitTestResult executionId="d444d74c-87d8-4250-a7a0-486f5c84087a" testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0159906" startTime="2026-10-20T22:17:13.3857777+02:00" endTime="2026-10-20T22:17:13.4073068+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="d444d74c-87d8-4250-a7a0-486f5c84087a" />
<UnitTestResult executionId="30ca1f54-4b25-4e80-b57e-9300efb72ab2" testId="a70cdec8-9c14-82c1-b445-a929f0efa801" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0270708" startTime="2026-10-20T22:17:13.4578658+02:00" endTime="2026-10-20T22:17:13.4908997+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="30ca1f54-4b25-4e80-b57e-9300efb72ab2" />
<UnitTestResult executionId="18a4a6c5-51de-4c24-b3ef-5e6914848de9" testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0079964" startTime="2026-10-20T22:17:13.4495912+02:00" endTime="2026-10-20T22:17:13.4577376+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="18a4a6c5-51de-4c24-b3ef-5e6914848de9" />
<UnitTestResult executionId="0cc9c10a-3a3a-48dd-8cc5-3acb2be8f0ee" testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0173424" startTime="2026-10-20T22:17:13.4126416+02:00" endTime="2026-10-20T22:17:13.4254074+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="0cc9c10a-3a3a-48dd-8cc5-3acb2be8f0ee" />
</Results>
<TestDefinitions>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="0bc3017d-a346-6f78-15f4-a592a7649d7d">
<Execution id="fe9aef35-45f8-4b30-9938-66296f341934" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569">
<Execution id="18a4a6c5-51de-4c24-b3ef-5e6914848de9" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="1138db71-91fe-4d3d-87aa-4d70e896e482">
<Execution id="a1eab8f1-0463-406e-af48-68ed1d1a169c" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Preparation_generates_scoped_protected_material_and_refuses_overwrite" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="a70cdec8-9c14-82c1-b445-a929f0efa801">
<Execution id="30ca1f54-4b25-4e80-b57e-9300efb72ab2" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="33c90384-f3c6-faca-dce1-d760ff21850a">
<Execution id="44722983-932a-4549-8fbf-34f27975dd30" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d50eb471-4403-2ca0-c097-2d1409d5a29a">
<Execution id="d444d74c-87d8-4250-a7a0-486f5c84087a" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d6fb777f-1940-8a0e-ae1f-9246110dbf75">
<Execution id="0cc9c10a-3a3a-48dd-8cc5-3acb2be8f0ee" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="33c90384-f3c6-faca-dce1-d760ff21850a" executionId="44722983-932a-4549-8fbf-34f27975dd30" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1138db71-91fe-4d3d-87aa-4d70e896e482" executionId="a1eab8f1-0463-406e-af48-68ed1d1a169c" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" executionId="fe9aef35-45f8-4b30-9938-66296f341934" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" executionId="d444d74c-87d8-4250-a7a0-486f5c84087a" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a70cdec8-9c14-82c1-b445-a929f0efa801" executionId="30ca1f54-4b25-4e80-b57e-9300efb72ab2" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" executionId="18a4a6c5-51de-4c24-b3ef-5e6914848de9" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" executionId="0cc9c10a-3a3a-48dd-8cc5-3acb2be8f0ee" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="7" executed="7" passed="7" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.DeploymentTests
[xUnit.net 00:00:00.07] Discovered: HealthApp.DeploymentTests
[xUnit.net 00:00:00.08] Starting: HealthApp.DeploymentTests
[xUnit.net 00:00:00.58] Finished: HealthApp.DeploymentTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
@@ -0,0 +1,8 @@
{
"newInstaller": "/run/media/steffen/Ventoy/HealthApp-B-2026-10-20",
"oldInstallerRemoved": "/run/media/steffen/Ventoy/HealthApp-B-2026-10-19",
"verifiedFilesIncludingManifest": 42,
"unrelatedRootEntriesPreserved": 20,
"localRecoveryCopy": "/tmp/healthapp-b-old-usb-backup-20261020",
"packageType": "full fresh installer"
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="b3cfbae8-0502-40d4-a545-0aeac88b6909" name="@Sil3ntDragon 2026-10-14 12:53:53" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T12:53:53.3726245+02:00" queuing="2026-10-14T12:53:53.3726245+02:00" start="2026-10-14T12:53:52.4158384+02:00" finish="2026-10-14T12:53:53.3766952+02:00" />
<TestSettings name="default" id="bb3160b3-977c-4c7b-a604-038817770a41">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_12_53_53" />
</TestSettings>
<Results>
<UnitTestResult executionId="446703fe-b93e-4b9d-9ead-abeaa93c02ee" testId="1138db71-91fe-4d3d-87aa-4d70e896e482" testName="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" computerName="Sil3ntDragon" duration="00:00:00.3435432" startTime="2026-10-14T12:53:52.9408288+02:00" endTime="2026-10-14T12:53:53.2836124+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="446703fe-b93e-4b9d-9ead-abeaa93c02ee" />
<UnitTestResult executionId="18fdae8c-e334-4f24-b280-029be0f1dfa7" testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0193720" startTime="2026-10-14T12:53:52.8116113+02:00" endTime="2026-10-14T12:53:52.8362365+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="18fdae8c-e334-4f24-b280-029be0f1dfa7" />
<UnitTestResult executionId="f1336792-e568-4280-9949-9a5ab38983a4" testId="a70cdec8-9c14-82c1-b445-a929f0efa801" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0359129" startTime="2026-10-14T12:53:52.9049684+02:00" endTime="2026-10-14T12:53:52.9390527+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="f1336792-e568-4280-9949-9a5ab38983a4" />
<UnitTestResult executionId="c64c6a83-9c47-4425-af8b-68e2b5bad01d" testId="33c90384-f3c6-faca-dce1-d760ff21850a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0106683" startTime="2026-10-14T12:53:52.8699706+02:00" endTime="2026-10-14T12:53:52.8809201+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c64c6a83-9c47-4425-af8b-68e2b5bad01d" />
<UnitTestResult executionId="3f38165d-45bc-4c86-a448-d90815cee771" testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0121428" startTime="2026-10-14T12:53:52.8579391+02:00" endTime="2026-10-14T12:53:52.8698546+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3f38165d-45bc-4c86-a448-d90815cee771" />
<UnitTestResult executionId="88036fb0-a492-4bea-b41f-4676edf0a426" testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0208021" startTime="2026-10-14T12:53:52.8412364+02:00" endTime="2026-10-14T12:53:52.8575313+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="88036fb0-a492-4bea-b41f-4676edf0a426" />
<UnitTestResult executionId="20853d04-1e39-4383-a293-ad4f2268ae52" testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0176719" startTime="2026-10-14T12:53:52.8811849+02:00" endTime="2026-10-14T12:53:52.9048285+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="20853d04-1e39-4383-a293-ad4f2268ae52" />
</Results>
<TestDefinitions>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="0bc3017d-a346-6f78-15f4-a592a7649d7d">
<Execution id="3f38165d-45bc-4c86-a448-d90815cee771" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569">
<Execution id="20853d04-1e39-4383-a293-ad4f2268ae52" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="1138db71-91fe-4d3d-87aa-4d70e896e482">
<Execution id="446703fe-b93e-4b9d-9ead-abeaa93c02ee" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Preparation_generates_scoped_protected_material_and_refuses_overwrite" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="a70cdec8-9c14-82c1-b445-a929f0efa801">
<Execution id="f1336792-e568-4280-9949-9a5ab38983a4" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="33c90384-f3c6-faca-dce1-d760ff21850a">
<Execution id="c64c6a83-9c47-4425-af8b-68e2b5bad01d" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d50eb471-4403-2ca0-c097-2d1409d5a29a">
<Execution id="18fdae8c-e334-4f24-b280-029be0f1dfa7" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d6fb777f-1940-8a0e-ae1f-9246110dbf75">
<Execution id="88036fb0-a492-4bea-b41f-4676edf0a426" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="1138db71-91fe-4d3d-87aa-4d70e896e482" executionId="446703fe-b93e-4b9d-9ead-abeaa93c02ee" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" executionId="18fdae8c-e334-4f24-b280-029be0f1dfa7" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a70cdec8-9c14-82c1-b445-a929f0efa801" executionId="f1336792-e568-4280-9949-9a5ab38983a4" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="33c90384-f3c6-faca-dce1-d760ff21850a" executionId="c64c6a83-9c47-4425-af8b-68e2b5bad01d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" executionId="3f38165d-45bc-4c86-a448-d90815cee771" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" executionId="88036fb0-a492-4bea-b41f-4676edf0a426" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" executionId="20853d04-1e39-4383-a293-ad4f2268ae52" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="7" executed="7" passed="7" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.DeploymentTests
[xUnit.net 00:00:00.08] Discovered: HealthApp.DeploymentTests
[xUnit.net 00:00:00.09] Starting: HealthApp.DeploymentTests
[xUnit.net 00:00:00.58] Finished: HealthApp.DeploymentTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="354f8ac4-ab57-4bcd-9cdb-3adbd530b8d0" name="@Sil3ntDragon 2026-10-14 13:27:15" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T13:27:15.3568261+02:00" queuing="2026-10-14T13:27:15.3568262+02:00" start="2026-10-14T13:27:14.0554956+02:00" finish="2026-10-14T13:27:15.3604571+02:00" />
<TestSettings name="default" id="c3722b17-0066-4185-b10c-e3add37f7652">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_13_27_15" />
</TestSettings>
<Results>
<UnitTestResult executionId="8c72b7d8-68e9-479a-b4fb-3638dbf3438a" testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0213936" startTime="2026-10-14T13:27:14.8784870+02:00" endTime="2026-10-14T13:27:14.8955257+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="8c72b7d8-68e9-479a-b4fb-3638dbf3438a" />
<UnitTestResult executionId="456e9f43-bfdf-4005-ba75-9c0a71fb4599" testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0218142" startTime="2026-10-14T13:27:14.8462243+02:00" endTime="2026-10-14T13:27:14.8734416+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="456e9f43-bfdf-4005-ba75-9c0a71fb4599" />
<UnitTestResult executionId="ee0d1cd6-9bcb-47a4-8f98-fcd37266cccc" testId="1138db71-91fe-4d3d-87aa-4d70e896e482" testName="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" computerName="Sil3ntDragon" duration="00:00:00.3188274" startTime="2026-10-14T13:27:14.9569097+02:00" endTime="2026-10-14T13:27:15.2756610+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ee0d1cd6-9bcb-47a4-8f98-fcd37266cccc" />
<UnitTestResult executionId="b6e18dab-9522-4186-a898-89d0a0aedade" testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0174908" startTime="2026-10-14T13:27:14.9222015+02:00" endTime="2026-10-14T13:27:14.9426622+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b6e18dab-9522-4186-a898-89d0a0aedade" />
<UnitTestResult executionId="45c4bc07-6f10-4e98-a177-4bcb1e7ec4ca" testId="33c90384-f3c6-faca-dce1-d760ff21850a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0129871" startTime="2026-10-14T13:27:14.9089494+02:00" endTime="2026-10-14T13:27:14.9220563+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="45c4bc07-6f10-4e98-a177-4bcb1e7ec4ca" />
<UnitTestResult executionId="437c657a-7f86-45c8-a760-09c566719d90" testId="a70cdec8-9c14-82c1-b445-a929f0efa801" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0125431" startTime="2026-10-14T13:27:14.9428006+02:00" endTime="2026-10-14T13:27:14.9558503+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="437c657a-7f86-45c8-a760-09c566719d90" />
<UnitTestResult executionId="91ee7430-a62c-4fe6-b25d-1a03d906e830" testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0130086" startTime="2026-10-14T13:27:14.8961079+02:00" endTime="2026-10-14T13:27:14.9087887+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="91ee7430-a62c-4fe6-b25d-1a03d906e830" />
</Results>
<TestDefinitions>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="0bc3017d-a346-6f78-15f4-a592a7649d7d">
<Execution id="91ee7430-a62c-4fe6-b25d-1a03d906e830" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569">
<Execution id="b6e18dab-9522-4186-a898-89d0a0aedade" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="1138db71-91fe-4d3d-87aa-4d70e896e482">
<Execution id="ee0d1cd6-9bcb-47a4-8f98-fcd37266cccc" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Preparation_generates_scoped_protected_material_and_refuses_overwrite" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="a70cdec8-9c14-82c1-b445-a929f0efa801">
<Execution id="437c657a-7f86-45c8-a760-09c566719d90" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="33c90384-f3c6-faca-dce1-d760ff21850a">
<Execution id="45c4bc07-6f10-4e98-a177-4bcb1e7ec4ca" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d50eb471-4403-2ca0-c097-2d1409d5a29a">
<Execution id="456e9f43-bfdf-4005-ba75-9c0a71fb4599" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d6fb777f-1940-8a0e-ae1f-9246110dbf75">
<Execution id="8c72b7d8-68e9-479a-b4fb-3638dbf3438a" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" executionId="8c72b7d8-68e9-479a-b4fb-3638dbf3438a" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" executionId="456e9f43-bfdf-4005-ba75-9c0a71fb4599" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1138db71-91fe-4d3d-87aa-4d70e896e482" executionId="ee0d1cd6-9bcb-47a4-8f98-fcd37266cccc" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" executionId="b6e18dab-9522-4186-a898-89d0a0aedade" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="33c90384-f3c6-faca-dce1-d760ff21850a" executionId="45c4bc07-6f10-4e98-a177-4bcb1e7ec4ca" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a70cdec8-9c14-82c1-b445-a929f0efa801" executionId="437c657a-7f86-45c8-a760-09c566719d90" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" executionId="91ee7430-a62c-4fe6-b25d-1a03d906e830" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="7" executed="7" passed="7" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.DeploymentTests
[xUnit.net 00:00:00.07] Discovered: HealthApp.DeploymentTests
[xUnit.net 00:00:00.09] Starting: HealthApp.DeploymentTests
[xUnit.net 00:00:00.54] Finished: HealthApp.DeploymentTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="b0c4b14e-9eaf-441b-94bc-395dd6ef6a97" name="@Sil3ntDragon 2026-10-14 16:23:02" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T16:23:02.8806715+02:00" queuing="2026-10-14T16:23:02.8806716+02:00" start="2026-10-14T16:23:02.1249212+02:00" finish="2026-10-14T16:23:02.8845746+02:00" />
<TestSettings name="default" id="ed01096f-1cc8-4485-a369-85f68aa8352c">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_16_23_02" />
</TestSettings>
<Results>
<UnitTestResult executionId="020a7601-b912-4c05-a9d6-ba59a406bc74" testId="a70cdec8-9c14-82c1-b445-a929f0efa801" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0095899" startTime="2026-10-14T16:23:02.5256264+02:00" endTime="2026-10-14T16:23:02.5358198+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="020a7601-b912-4c05-a9d6-ba59a406bc74" />
<UnitTestResult executionId="777a5635-0cf9-4698-ab7e-4efd472b67a9" testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0084320" startTime="2026-10-14T16:23:02.5169445+02:00" endTime="2026-10-14T16:23:02.5255210+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="777a5635-0cf9-4698-ab7e-4efd472b67a9" />
<UnitTestResult executionId="7f476dad-24cf-471c-a2ba-5d12f53a6be1" testId="1138db71-91fe-4d3d-87aa-4d70e896e482" testName="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" computerName="Sil3ntDragon" duration="00:00:00.2662087" startTime="2026-10-14T16:23:02.5366266+02:00" endTime="2026-10-14T16:23:02.8025287+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="7f476dad-24cf-471c-a2ba-5d12f53a6be1" />
<UnitTestResult executionId="40487235-142b-447f-9ef6-22574770af7a" testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0115336" startTime="2026-10-14T16:23:02.4946112+02:00" endTime="2026-10-14T16:23:02.5058498+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="40487235-142b-447f-9ef6-22574770af7a" />
<UnitTestResult executionId="71df97b7-16eb-4a34-8d95-bc0bfb9202bf" testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" computerName="Sil3ntDragon" duration="00:00:00.0154230" startTime="2026-10-14T16:23:02.4557926+02:00" endTime="2026-10-14T16:23:02.4760720+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="71df97b7-16eb-4a34-8d95-bc0bfb9202bf" />
<UnitTestResult executionId="81d0cfeb-ed06-48a5-bc24-76f8e22b4400" testId="33c90384-f3c6-faca-dce1-d760ff21850a" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0106220" startTime="2026-10-14T16:23:02.5059619+02:00" endTime="2026-10-14T16:23:02.5168207+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="81d0cfeb-ed06-48a5-bc24-76f8e22b4400" />
<UnitTestResult executionId="c6eefd41-ff1a-4b0d-8c44-60faeecf2ba2" testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" testName="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" computerName="Sil3ntDragon" duration="00:00:00.0173967" startTime="2026-10-14T16:23:02.4807079+02:00" endTime="2026-10-14T16:23:02.4940941+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c6eefd41-ff1a-4b0d-8c44-60faeecf2ba2" />
</Results>
<TestDefinitions>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="0bc3017d-a346-6f78-15f4-a592a7649d7d">
<Execution id="40487235-142b-447f-9ef6-22574770af7a" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;manjaro&quot;, version: &quot;rolling&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569">
<Execution id="777a5635-0cf9-4698-ab7e-4efd472b67a9" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Preparation_generates_scoped_protected_material_and_refuses_overwrite" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="1138db71-91fe-4d3d-87aa-4d70e896e482">
<Execution id="7f476dad-24cf-471c-a2ba-5d12f53a6be1" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Preparation_generates_scoped_protected_material_and_refuses_overwrite" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="a70cdec8-9c14-82c1-b445-a929f0efa801">
<Execution id="020a7601-b912-4c05-a9d6-ba59a406bc74" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="33c90384-f3c6-faca-dce1-d760ff21850a">
<Execution id="81d0cfeb-ed06-48a5-bc24-76f8e22b4400" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;fedora&quot;, version: &quot;43&quot;, local: False)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d50eb471-4403-2ca0-c097-2d1409d5a29a">
<Execution id="71df97b7-16eb-4a34-8d95-bc0bfb9202bf" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
<UnitTest name="HealthApp.DeploymentTests.ProvisioningTests.Distribution_adapters_install_local_persistence_only_when_selected(distribution: &quot;debian&quot;, version: &quot;12&quot;, local: True)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.deploymenttests/bin/release/net10.0/healthapp.deploymenttests.dll" id="d6fb777f-1940-8a0e-ae1f-9246110dbf75">
<Execution id="c6eefd41-ff1a-4b0d-8c44-60faeecf2ba2" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.DeploymentTests/bin/Release/net10.0/HealthApp.DeploymentTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.DeploymentTests.ProvisioningTests" name="Distribution_adapters_install_local_persistence_only_when_selected" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="a70cdec8-9c14-82c1-b445-a929f0efa801" executionId="020a7601-b912-4c05-a9d6-ba59a406bc74" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5bb2c169-2dfa-1a5a-d38d-a3a65e0e9569" executionId="777a5635-0cf9-4698-ab7e-4efd472b67a9" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1138db71-91fe-4d3d-87aa-4d70e896e482" executionId="7f476dad-24cf-471c-a2ba-5d12f53a6be1" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0bc3017d-a346-6f78-15f4-a592a7649d7d" executionId="40487235-142b-447f-9ef6-22574770af7a" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d50eb471-4403-2ca0-c097-2d1409d5a29a" executionId="71df97b7-16eb-4a34-8d95-bc0bfb9202bf" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="33c90384-f3c6-faca-dce1-d760ff21850a" executionId="81d0cfeb-ed06-48a5-bc24-76f8e22b4400" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d6fb777f-1940-8a0e-ae1f-9246110dbf75" executionId="c6eefd41-ff1a-4b0d-8c44-60faeecf2ba2" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="7" executed="7" passed="7" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.DeploymentTests
[xUnit.net 00:00:00.06] Discovered: HealthApp.DeploymentTests
[xUnit.net 00:00:00.07] Starting: HealthApp.DeploymentTests
[xUnit.net 00:00:00.44] Finished: HealthApp.DeploymentTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,65 @@
[
{
"file": "_Sil3ntDragon_2026-10-14_10_57_42.trx",
"counters": {
"total": "236",
"executed": "236",
"passed": "236",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
}
},
{
"file": "_Sil3ntDragon_2026-10-14_10_57_42[1].trx",
"counters": {
"total": "34",
"executed": "34",
"passed": "34",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
}
},
{
"file": "_Sil3ntDragon_2026-10-14_10_57_43.trx",
"counters": {
"total": "29",
"executed": "29",
"passed": "29",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
}
}
]
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,232 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="2cc77a10-3e69-452c-8585-91274eb9a545" name="@Sil3ntDragon 2026-10-14 10:57:42" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T10:57:42.5815346+02:00" queuing="2026-10-14T10:57:42.5815346+02:00" start="2026-10-14T10:57:42.0877127+02:00" finish="2026-10-14T10:58:03.9806751+02:00" />
<TestSettings name="default" id="0b2265f0-7bd9-41d0-a73d-5c41b9bafb96">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_10_57_42" />
</TestSettings>
<Results>
<UnitTestResult executionId="46181fed-8621-4afa-9c21-942755abed72" testId="4640e2ce-31bd-4f9d-24bf-8b5c17611627" testName="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;observation&quot;)" computerName="Sil3ntDragon" duration="00:00:00.3709233" startTime="2026-10-14T10:57:50.2696075+02:00" endTime="2026-10-14T10:57:50.6403562+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="46181fed-8621-4afa-9c21-942755abed72" />
<UnitTestResult executionId="79592421-df61-412e-835b-7dc21c8a41d5" testId="5b28f781-e877-0dc7-e613-6d73785b3285" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;26.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: False, repositoryAvailable: True, expectedError: &quot;Required package postgresql is unavailable&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0060730" startTime="2026-10-14T10:57:42.5622940+02:00" endTime="2026-10-14T10:57:42.5685211+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="79592421-df61-412e-835b-7dc21c8a41d5" />
<UnitTestResult executionId="83680226-6066-44f6-9fce-180c00e04895" testId="dd125ed8-4a48-3694-174b-5aa353d2b56d" testName="Deployment.AcceptanceTests.InstallationTests.Dedicated_database_roles_cannot_access_each_others_data_or_administer_the_server" computerName="Sil3ntDragon" duration="00:00:00.2221079" startTime="2026-10-14T10:58:00.7277781+02:00" endTime="2026-10-14T10:58:00.9500621+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="83680226-6066-44f6-9fce-180c00e04895" />
<UnitTestResult executionId="8f69d4a0-5180-4166-ab46-c24c95add9a1" testId="49e92d38-34c3-c2dd-bb54-e10cc2d2e92f" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;13&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: False, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0215501" startTime="2026-10-14T10:57:42.4425799+02:00" endTime="2026-10-14T10:57:42.4689806+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="8f69d4a0-5180-4166-ab46-c24c95add9a1" />
<UnitTestResult executionId="9b2c05be-a3c1-4e0c-bc41-3ca956bbca9e" testId="3dd5403a-564f-ff5e-8687-a4937bac3d3a" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;12&quot;, runtimeAvailable: True, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0053808" startTime="2026-10-14T10:57:42.5267862+02:00" endTime="2026-10-14T10:57:42.5322704+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="9b2c05be-a3c1-4e0c-bc41-3ca956bbca9e" />
<UnitTestResult executionId="108a8ef2-3de4-49dc-8d62-7e7d483d5c32" testId="4d7a143d-e9ef-d882-2a89-74a5481f77dd" testName="Deployment.AcceptanceTests.InstallationTests.Configuration_and_certificates_are_generated_with_matching_credentials_and_private_permissions" computerName="Sil3ntDragon" duration="00:00:00.0257012" startTime="2026-10-14T10:57:59.4192138+02:00" endTime="2026-10-14T10:57:59.4448127+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="108a8ef2-3de4-49dc-8d62-7e7d483d5c32" />
<UnitTestResult executionId="21fa7237-3ad5-4a5e-a119-0c4b8c71340f" testId="37477219-1f65-86ac-4b2f-ed27273657ec" testName="Deployment.AcceptanceTests.InstallationTests.Invalid_topology_fails_before_generating_configuration_or_credentials" computerName="Sil3ntDragon" duration="00:00:00.0626768" startTime="2026-10-14T10:58:00.6648726+02:00" endTime="2026-10-14T10:58:00.7276879+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="21fa7237-3ad5-4a5e-a119-0c4b8c71340f" />
<UnitTestResult executionId="196536f8-288c-4e76-928d-3e43a17341a7" testId="662ba663-2c2f-bb83-95b9-168cf0c6aff4" testName="Deployment.AcceptanceTests.InstallationTests.Invalid_service_selection_is_rejected_without_creating_an_installation(selection: &quot;insights,&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0039206" startTime="2026-10-14T10:58:00.9594801+02:00" endTime="2026-10-14T10:58:00.9635316+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="196536f8-288c-4e76-928d-3e43a17341a7" />
<UnitTestResult executionId="dc17ac1f-9f3a-48a4-a59c-5eec8b500e81" testId="4c15943e-4e74-d722-d92e-56322aa32556" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;future&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0084939" startTime="2026-10-14T10:57:42.4989647+02:00" endTime="2026-10-14T10:57:42.5084048+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="dc17ac1f-9f3a-48a4-a59c-5eec8b500e81" />
<UnitTestResult executionId="993fd707-88a5-410d-a96b-30719a49e2f5" testId="f775a082-436f-999b-4374-5e1b14a63638" testName="Deployment.AcceptanceTests.InstallationTests.Installed_complete_system_runs_in_five_processes_and_preserves_network_and_persistence_boundaries" computerName="Sil3ntDragon" duration="00:00:07.3902019" startTime="2026-10-14T10:57:52.0284510+02:00" endTime="2026-10-14T10:57:59.4188087+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="993fd707-88a5-410d-a96b-30719a49e2f5" />
<UnitTestResult executionId="6ac18a11-3283-4ff6-a20c-8776879ee1e4" testId="109e1976-d51f-262f-c004-bcdd4347c4f9" testName="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;health-overview&quot;)" computerName="Sil3ntDragon" duration="00:00:00.3191990" startTime="2026-10-14T10:57:50.6405026+02:00" endTime="2026-10-14T10:57:50.9598363+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="6ac18a11-3283-4ff6-a20c-8776879ee1e4" />
<UnitTestResult executionId="5dcdbca4-bdeb-439c-8e3e-ead0a2bdfe75" testId="b57369c0-aff8-ca30-0851-77a4b98e9414" testName="Deployment.AcceptanceTests.InstallationTests.Only_selected_payloads_configuration_and_independent_units_are_installed(selection: &quot;patient-profile,observation&quot;, count: 2)" computerName="Sil3ntDragon" duration="00:00:00.1424447" startTime="2026-10-14T10:58:00.4461948+02:00" endTime="2026-10-14T10:58:00.5887954+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5dcdbca4-bdeb-439c-8e3e-ead0a2bdfe75" />
<UnitTestResult executionId="84a8f844-7465-4e69-83fc-7dd6ecbda84d" testId="e8d65d40-b0fe-4efb-2f6c-0db882baf9c1" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;26.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: True, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0055711" startTime="2026-10-14T10:57:42.5588864+02:00" endTime="2026-10-14T10:57:42.5589476+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="84a8f844-7465-4e69-83fc-7dd6ecbda84d" />
<UnitTestResult executionId="5eaad1c1-f602-41b3-924b-f8e7f4cb26ba" testId="dd405552-d5cd-6fa3-a3be-60d4bf8626a6" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;24.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0067979" startTime="2026-10-14T10:57:42.5197334+02:00" endTime="2026-10-14T10:57:42.5266484+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5eaad1c1-f602-41b3-924b-f8e7f4cb26ba" />
<UnitTestResult executionId="d25a6d77-fb74-4ab5-83f2-1fbf49cfdd28" testId="33677aaa-5894-ab2a-726c-5db2e5c62686" testName="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;patient-profile&quot;)" computerName="Sil3ntDragon" duration="00:00:00.3241800" startTime="2026-10-14T10:57:51.7039589+02:00" endTime="2026-10-14T10:57:52.0282783+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="d25a6d77-fb74-4ab5-83f2-1fbf49cfdd28" />
<UnitTestResult executionId="361a93f2-c046-4175-9d63-1cdc64e82f72" testId="f4534601-080e-bf00-133f-e83e729031be" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;13&quot;, runtimeAvailable: False, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0099588" startTime="2026-10-14T10:57:42.5591435+02:00" endTime="2026-10-14T10:57:42.5591813+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="361a93f2-c046-4175-9d63-1cdc64e82f72" />
<UnitTestResult executionId="6d9c11d9-8417-4924-8f37-0de6eb167316" testId="18e7d9c0-9882-cc39-8a68-1c42f8c0d513" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;24.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: True, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0062480" startTime="2026-10-14T10:57:42.4924457+02:00" endTime="2026-10-14T10:57:42.4988447+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="6d9c11d9-8417-4924-8f37-0de6eb167316" />
<UnitTestResult executionId="616eb20c-ddc7-4d0b-a7a4-d1a2ad7c1fd0" testId="32371ac6-0a82-8dff-900d-fa7df23b76f4" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;linuxmint&quot;, version: &quot;22&quot;, runtimeAvailable: False, databaseRequired: True, databaseAvailable: False, ancestry: &quot;ubuntu debian&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0108394" startTime="2026-10-14T10:57:42.5085488+02:00" endTime="2026-10-14T10:57:42.5196008+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="616eb20c-ddc7-4d0b-a7a4-d1a2ad7c1fd0" />
<UnitTestResult executionId="ab9f012a-ca71-49a0-95b4-6688d71e1cf0" testId="52ce641c-8315-95d6-0525-1f6ac8819b64" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;99&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: False, postgresPackage: True, repositoryAvailable: False, expectedError: &quot;No accessible Microsoft Debian 99 repository&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0191251" startTime="2026-10-14T10:57:42.4746050+02:00" endTime="2026-10-14T10:57:42.4888245+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ab9f012a-ca71-49a0-95b4-6688d71e1cf0" />
<UnitTestResult executionId="bfdfe87e-0395-4101-ae01-16b738d2c9cf" testId="d847bf0d-075c-fd1d-76a8-e51f4b85d339" testName="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;api-gateway&quot;)" computerName="Sil3ntDragon" duration="00:00:00.4235469" startTime="2026-10-14T10:57:51.2801701+02:00" endTime="2026-10-14T10:57:51.7038344+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="bfdfe87e-0395-4101-ae01-16b738d2c9cf" />
<UnitTestResult executionId="b7205ee6-3ed8-4757-ae7e-a469c86f7ab4" testId="939b5c71-8c68-02b2-b908-f031cac15992" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;fedora&quot;, version: &quot;44&quot;, runtimeAvailable: True, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;requires a Debian/Ubuntu-based distribution&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0033084" startTime="2026-10-14T10:57:42.4892955+02:00" endTime="2026-10-14T10:57:42.4923449+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b7205ee6-3ed8-4757-ae7e-a469c86f7ab4" />
<UnitTestResult executionId="a26aefc8-d56b-47db-b9f5-2994de202ce4" testId="ed977869-cd54-3b88-8ec7-531b3e893013" testName="Deployment.AcceptanceTests.InstallationTests.Only_selected_payloads_configuration_and_independent_units_are_installed(selection: &quot;all&quot;, count: 5)" computerName="Sil3ntDragon" duration="00:00:00.3207420" startTime="2026-10-14T10:58:00.1251196+02:00" endTime="2026-10-14T10:58:00.4460893+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="a26aefc8-d56b-47db-b9f5-2994de202ce4" />
<UnitTestResult executionId="c5408ed6-9312-4739-889f-1a577cd2e421" testId="1bb1a208-ce9d-81f4-358b-6075a723bb2e" testName="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;insights&quot;)" computerName="Sil3ntDragon" duration="00:00:00.3199606" startTime="2026-10-14T10:57:50.9600020+02:00" endTime="2026-10-14T10:57:51.2800517+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c5408ed6-9312-4739-889f-1a577cd2e421" />
<UnitTestResult executionId="23a24562-e460-4740-b8e1-b5f0fdc63c84" testId="652fddf1-c0c9-147a-067c-afddbc4512df" testName="Deployment.AcceptanceTests.InstallationTests.A_selected_service_release_can_be_built_into_a_relative_output_directory" computerName="Sil3ntDragon" duration="00:00:01.4551086" startTime="2026-10-14T10:58:02.4084588+02:00" endTime="2026-10-14T10:58:03.8637460+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="23a24562-e460-4740-b8e1-b5f0fdc63c84" />
<UnitTestResult executionId="08cf7c64-f183-4348-84aa-0fbe4230dd74" testId="982e6393-cee3-4cae-e31a-0c79aec636f5" testName="Deployment.AcceptanceTests.InstallationTests.Two_colocated_installed_services_run_with_independent_configuration_and_processes" computerName="Sil3ntDragon" duration="00:00:01.4445162" startTime="2026-10-14T10:58:00.9636001+02:00" endTime="2026-10-14T10:58:02.4083342+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="08cf7c64-f183-4348-84aa-0fbe4230dd74" />
<UnitTestResult executionId="9a5e4fd3-7d43-4fd8-b02b-c37005faa4c2" testId="9a14045a-b385-8661-95ec-0ea311e6fff2" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;linuxmint&quot;, version: &quot;22&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;ubuntu debian&quot;, runtimePackage: False, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;aspnetcore-runtime-10.0 is unavailable&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0059644" startTime="2026-10-14T10:57:42.5592541+02:00" endTime="2026-10-14T10:57:42.5621817+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="9a5e4fd3-7d43-4fd8-b02b-c37005faa4c2" />
<UnitTestResult executionId="ec836116-6a2e-4ed2-8f2b-8358b89e3fd5" testId="2e471597-3eb1-e16d-d083-6e3f4acad5b8" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;24.04&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0063903" startTime="2026-10-14T10:57:42.5772676+02:00" endTime="2026-10-14T10:57:42.5836998+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ec836116-6a2e-4ed2-8f2b-8358b89e3fd5" />
<UnitTestResult executionId="7049fb4d-bb65-4460-adcb-a44e10871ebf" testId="1dc46186-7cb0-ca9a-61cc-eeb606aaa29e" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;pop&quot;, version: &quot;future&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;ubuntu&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0072648" startTime="2026-10-14T10:57:42.5324946+02:00" endTime="2026-10-14T10:57:42.5397842+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="7049fb4d-bb65-4460-adcb-a44e10871ebf" />
<UnitTestResult executionId="3bbc5180-861c-4fd0-b3ab-7da620c1ac14" testId="f0535eb3-3bf7-b94f-9f0a-38ad155ab719" testName="Deployment.AcceptanceTests.InstallationTests.New_deployments_get_new_secrets_and_do_not_overwrite_existing_material" computerName="Sil3ntDragon" duration="00:00:00.5231030" startTime="2026-10-14T10:57:59.4449547+02:00" endTime="2026-10-14T10:57:59.9682231+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3bbc5180-861c-4fd0-b3ab-7da620c1ac14" />
<UnitTestResult executionId="48560e6a-f6e8-447a-8e04-df6a6b664899" testId="4f4cec63-1d94-3528-d070-a532c9ac6d23" testName="Deployment.AcceptanceTests.InstallationTests.Invalid_service_selection_is_rejected_without_creating_an_installation(selection: &quot;insights,insights&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0043199" startTime="2026-10-14T10:58:00.9549710+02:00" endTime="2026-10-14T10:58:00.9594090+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="48560e6a-f6e8-447a-8e04-df6a6b664899" />
<UnitTestResult executionId="0bb6e555-61c3-4d5d-9718-a97b514cc56f" testId="29a6c54f-ae20-7e13-6530-378a44cec26d" testName="Deployment.AcceptanceTests.InstallationTests.Native_configuration_adapters_use_the_same_service_values_and_independent_paths" computerName="Sil3ntDragon" duration="00:00:00.1565272" startTime="2026-10-14T10:57:59.9684318+02:00" endTime="2026-10-14T10:58:00.1250027+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="0bb6e555-61c3-4d5d-9718-a97b514cc56f" />
<UnitTestResult executionId="eca1d984-f78c-4a9a-8076-ab51bec7c4c3" testId="98c57e76-4192-6e99-333e-ff9ee626bebc" testName="Deployment.AcceptanceTests.InstallationTests.Invalid_service_selection_is_rejected_without_creating_an_installation(selection: &quot;unknown&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0045628" startTime="2026-10-14T10:58:00.9501962+02:00" endTime="2026-10-14T10:58:00.9548772+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="eca1d984-f78c-4a9a-8076-ab51bec7c4c3" />
<UnitTestResult executionId="131b89bb-c250-4822-a1b1-5d240f9af17f" testId="53eff610-0806-e899-42ec-0ac56b39a502" testName="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;26.04&quot;, runtimeAvailable: False, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0083535" startTime="2026-10-14T10:57:42.5687028+02:00" endTime="2026-10-14T10:57:42.5771097+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="131b89bb-c250-4822-a1b1-5d240f9af17f" />
<UnitTestResult executionId="c7ef149e-0b4d-4a35-b31f-525ba8d288c7" testId="88b21e9f-25a6-ec49-6651-2bda5d0d1dcb" testName="Deployment.AcceptanceTests.InstallationTests.Only_selected_payloads_configuration_and_independent_units_are_installed(selection: &quot;insights&quot;, count: 1)" computerName="Sil3ntDragon" duration="00:00:00.0757253" startTime="2026-10-14T10:58:00.5888767+02:00" endTime="2026-10-14T10:58:00.6647555+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c7ef149e-0b4d-4a35-b31f-525ba8d288c7" />
</Results>
<TestDefinitions>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;26.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: True, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="e8d65d40-b0fe-4efb-2f6c-0db882baf9c1">
<Execution id="84a8f844-7465-4e69-83fc-7dd6ecbda84d" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;13&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: False, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="49e92d38-34c3-c2dd-bb54-e10cc2d2e92f">
<Execution id="8f69d4a0-5180-4166-ab46-c24c95add9a1" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;12&quot;, runtimeAvailable: True, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="3dd5403a-564f-ff5e-8687-a4937bac3d3a">
<Execution id="9b2c05be-a3c1-4e0c-bc41-3ca956bbca9e" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Invalid_topology_fails_before_generating_configuration_or_credentials" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="37477219-1f65-86ac-4b2f-ed27273657ec">
<Execution id="21fa7237-3ad5-4a5e-a119-0c4b8c71340f" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Invalid_topology_fails_before_generating_configuration_or_credentials" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;api-gateway&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="d847bf0d-075c-fd1d-76a8-e51f4b85d339">
<Execution id="bfdfe87e-0395-4101-ae01-16b738d2c9cf" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="A_single_installed_service_starts_and_stops_without_other_local_service_processes" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.A_selected_service_release_can_be_built_into_a_relative_output_directory" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="652fddf1-c0c9-147a-067c-afddbc4512df">
<Execution id="23a24562-e460-4740-b8e1-b5f0fdc63c84" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="A_selected_service_release_can_be_built_into_a_relative_output_directory" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;pop&quot;, version: &quot;future&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;ubuntu&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="1dc46186-7cb0-ca9a-61cc-eeb606aaa29e">
<Execution id="7049fb4d-bb65-4460-adcb-a44e10871ebf" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.New_deployments_get_new_secrets_and_do_not_overwrite_existing_material" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="f0535eb3-3bf7-b94f-9f0a-38ad155ab719">
<Execution id="3bbc5180-861c-4fd0-b3ab-7da620c1ac14" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="New_deployments_get_new_secrets_and_do_not_overwrite_existing_material" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;health-overview&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="109e1976-d51f-262f-c004-bcdd4347c4f9">
<Execution id="6ac18a11-3283-4ff6-a20c-8776879ee1e4" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="A_single_installed_service_starts_and_stops_without_other_local_service_processes" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Only_selected_payloads_configuration_and_independent_units_are_installed(selection: &quot;all&quot;, count: 5)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="ed977869-cd54-3b88-8ec7-531b3e893013">
<Execution id="a26aefc8-d56b-47db-b9f5-2994de202ce4" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Only_selected_payloads_configuration_and_independent_units_are_installed" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;24.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: True, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="18e7d9c0-9882-cc39-8a68-1c42f8c0d513">
<Execution id="6d9c11d9-8417-4924-8f37-0de6eb167316" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Invalid_service_selection_is_rejected_without_creating_an_installation(selection: &quot;unknown&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="98c57e76-4192-6e99-333e-ff9ee626bebc">
<Execution id="eca1d984-f78c-4a9a-8076-ab51bec7c4c3" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Invalid_service_selection_is_rejected_without_creating_an_installation" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Dedicated_database_roles_cannot_access_each_others_data_or_administer_the_server" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="dd125ed8-4a48-3694-174b-5aa353d2b56d">
<Execution id="83680226-6066-44f6-9fce-180c00e04895" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Dedicated_database_roles_cannot_access_each_others_data_or_administer_the_server" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Configuration_and_certificates_are_generated_with_matching_credentials_and_private_permissions" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="4d7a143d-e9ef-d882-2a89-74a5481f77dd">
<Execution id="108a8ef2-3de4-49dc-8d62-7e7d483d5c32" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Configuration_and_certificates_are_generated_with_matching_credentials_and_private_permissions" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;fedora&quot;, version: &quot;44&quot;, runtimeAvailable: True, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;requires a Debian/Ubuntu-based distribution&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="939b5c71-8c68-02b2-b908-f031cac15992">
<Execution id="b7205ee6-3ed8-4757-ae7e-a469c86f7ab4" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Installed_complete_system_runs_in_five_processes_and_preserves_network_and_persistence_boundaries" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="f775a082-436f-999b-4374-5e1b14a63638">
<Execution id="993fd707-88a5-410d-a96b-30719a49e2f5" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Installed_complete_system_runs_in_five_processes_and_preserves_network_and_persistence_boundaries" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;patient-profile&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="33677aaa-5894-ab2a-726c-5db2e5c62686">
<Execution id="d25a6d77-fb74-4ab5-83f2-1fbf49cfdd28" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="A_single_installed_service_starts_and_stops_without_other_local_service_processes" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;insights&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="1bb1a208-ce9d-81f4-358b-6075a723bb2e">
<Execution id="c5408ed6-9312-4739-889f-1a577cd2e421" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="A_single_installed_service_starts_and_stops_without_other_local_service_processes" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;future&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="4c15943e-4e74-d722-d92e-56322aa32556">
<Execution id="dc17ac1f-9f3a-48a4-a59c-5eec8b500e81" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;linuxmint&quot;, version: &quot;22&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;ubuntu debian&quot;, runtimePackage: False, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;aspnetcore-runtime-10.0 is unavailable&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="9a14045a-b385-8661-95ec-0ea311e6fff2">
<Execution id="9a5e4fd3-7d43-4fd8-b02b-c37005faa4c2" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Only_selected_payloads_configuration_and_independent_units_are_installed(selection: &quot;insights&quot;, count: 1)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="88b21e9f-25a6-ec49-6651-2bda5d0d1dcb">
<Execution id="c7ef149e-0b4d-4a35-b31f-525ba8d288c7" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Only_selected_payloads_configuration_and_independent_units_are_installed" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;13&quot;, runtimeAvailable: False, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="f4534601-080e-bf00-133f-e83e729031be">
<Execution id="361a93f2-c046-4175-9d63-1cdc64e82f72" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;24.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="dd405552-d5cd-6fa3-a3be-60d4bf8626a6">
<Execution id="5eaad1c1-f602-41b3-924b-f8e7f4cb26ba" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Two_colocated_installed_services_run_with_independent_configuration_and_processes" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="982e6393-cee3-4cae-e31a-0c79aec636f5">
<Execution id="08cf7c64-f183-4348-84aa-0fbe4230dd74" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Two_colocated_installed_services_run_with_independent_configuration_and_processes" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;26.04&quot;, runtimeAvailable: False, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="53eff610-0806-e899-42ec-0ac56b39a502">
<Execution id="131b89bb-c250-4822-a1b1-5d240f9af17f" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Native_configuration_adapters_use_the_same_service_values_and_independent_paths" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="29a6c54f-ae20-7e13-6530-378a44cec26d">
<Execution id="0bb6e555-61c3-4d5d-9718-a97b514cc56f" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Native_configuration_adapters_use_the_same_service_values_and_independent_paths" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Only_selected_payloads_configuration_and_independent_units_are_installed(selection: &quot;patient-profile,observation&quot;, count: 2)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="b57369c0-aff8-ca30-0851-77a4b98e9414">
<Execution id="5dcdbca4-bdeb-439c-8e3e-ead0a2bdfe75" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Only_selected_payloads_configuration_and_independent_units_are_installed" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;debian&quot;, version: &quot;99&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: False, postgresPackage: True, repositoryAvailable: False, expectedError: &quot;No accessible Microsoft Debian 99 repository&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="52ce641c-8315-95d6-0525-1f6ac8819b64">
<Execution id="ab9f012a-ca71-49a0-95b4-6688d71e1cf0" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;26.04&quot;, runtimeAvailable: True, databaseRequired: True, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: False, repositoryAvailable: True, expectedError: &quot;Required package postgresql is unavailable&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="5b28f781-e877-0dc7-e613-6d73785b3285">
<Execution id="79592421-df61-412e-835b-7dc21c8a41d5" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;ubuntu&quot;, version: &quot;24.04&quot;, runtimeAvailable: False, databaseRequired: False, databaseAvailable: False, ancestry: &quot;&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="2e471597-3eb1-e16d-d083-6e3f4acad5b8">
<Execution id="ec836116-6a2e-4ed2-8f2b-8358b89e3fd5" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.A_single_installed_service_starts_and_stops_without_other_local_service_processes(service: &quot;observation&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="4640e2ce-31bd-4f9d-24bf-8b5c17611627">
<Execution id="46181fed-8621-4afa-9c21-942755abed72" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="A_single_installed_service_starts_and_stops_without_other_local_service_processes" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Invalid_service_selection_is_rejected_without_creating_an_installation(selection: &quot;insights,&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="662ba663-2c2f-bb83-95b9-168cf0c6aff4">
<Execution id="196536f8-288c-4e76-928d-3e43a17341a7" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Invalid_service_selection_is_rejected_without_creating_an_installation" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.BootstrapTests.Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(distribution: &quot;linuxmint&quot;, version: &quot;22&quot;, runtimeAvailable: False, databaseRequired: True, databaseAvailable: False, ancestry: &quot;ubuntu debian&quot;, runtimePackage: True, postgresPackage: True, repositoryAvailable: True, expectedError: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="32371ac6-0a82-8dff-900d-fa7df23b76f4">
<Execution id="616eb20c-ddc7-4d0b-a7a4-d1a2ad7c1fd0" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.BootstrapTests" name="Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies" />
</UnitTest>
<UnitTest name="Deployment.AcceptanceTests.InstallationTests.Invalid_service_selection_is_rejected_without_creating_an_installation(selection: &quot;insights,insights&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/deployment.acceptancetests/bin/release/net10.0/deployment.acceptancetests.dll" id="4f4cec63-1d94-3528-d070-a532c9ac6d23">
<Execution id="48560e6a-f6e8-447a-8e04-df6a6b664899" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/Deployment.AcceptanceTests/bin/Release/net10.0/Deployment.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="Deployment.AcceptanceTests.InstallationTests" name="Invalid_service_selection_is_rejected_without_creating_an_installation" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="4640e2ce-31bd-4f9d-24bf-8b5c17611627" executionId="46181fed-8621-4afa-9c21-942755abed72" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5b28f781-e877-0dc7-e613-6d73785b3285" executionId="79592421-df61-412e-835b-7dc21c8a41d5" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="dd125ed8-4a48-3694-174b-5aa353d2b56d" executionId="83680226-6066-44f6-9fce-180c00e04895" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="49e92d38-34c3-c2dd-bb54-e10cc2d2e92f" executionId="8f69d4a0-5180-4166-ab46-c24c95add9a1" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="3dd5403a-564f-ff5e-8687-a4937bac3d3a" executionId="9b2c05be-a3c1-4e0c-bc41-3ca956bbca9e" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="4d7a143d-e9ef-d882-2a89-74a5481f77dd" executionId="108a8ef2-3de4-49dc-8d62-7e7d483d5c32" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="37477219-1f65-86ac-4b2f-ed27273657ec" executionId="21fa7237-3ad5-4a5e-a119-0c4b8c71340f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="662ba663-2c2f-bb83-95b9-168cf0c6aff4" executionId="196536f8-288c-4e76-928d-3e43a17341a7" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="4c15943e-4e74-d722-d92e-56322aa32556" executionId="dc17ac1f-9f3a-48a4-a59c-5eec8b500e81" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="f775a082-436f-999b-4374-5e1b14a63638" executionId="993fd707-88a5-410d-a96b-30719a49e2f5" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="109e1976-d51f-262f-c004-bcdd4347c4f9" executionId="6ac18a11-3283-4ff6-a20c-8776879ee1e4" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="b57369c0-aff8-ca30-0851-77a4b98e9414" executionId="5dcdbca4-bdeb-439c-8e3e-ead0a2bdfe75" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="e8d65d40-b0fe-4efb-2f6c-0db882baf9c1" executionId="84a8f844-7465-4e69-83fc-7dd6ecbda84d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="dd405552-d5cd-6fa3-a3be-60d4bf8626a6" executionId="5eaad1c1-f602-41b3-924b-f8e7f4cb26ba" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="33677aaa-5894-ab2a-726c-5db2e5c62686" executionId="d25a6d77-fb74-4ab5-83f2-1fbf49cfdd28" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="f4534601-080e-bf00-133f-e83e729031be" executionId="361a93f2-c046-4175-9d63-1cdc64e82f72" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="18e7d9c0-9882-cc39-8a68-1c42f8c0d513" executionId="6d9c11d9-8417-4924-8f37-0de6eb167316" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="32371ac6-0a82-8dff-900d-fa7df23b76f4" executionId="616eb20c-ddc7-4d0b-a7a4-d1a2ad7c1fd0" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="52ce641c-8315-95d6-0525-1f6ac8819b64" executionId="ab9f012a-ca71-49a0-95b4-6688d71e1cf0" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d847bf0d-075c-fd1d-76a8-e51f4b85d339" executionId="bfdfe87e-0395-4101-ae01-16b738d2c9cf" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="939b5c71-8c68-02b2-b908-f031cac15992" executionId="b7205ee6-3ed8-4757-ae7e-a469c86f7ab4" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="ed977869-cd54-3b88-8ec7-531b3e893013" executionId="a26aefc8-d56b-47db-b9f5-2994de202ce4" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1bb1a208-ce9d-81f4-358b-6075a723bb2e" executionId="c5408ed6-9312-4739-889f-1a577cd2e421" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="652fddf1-c0c9-147a-067c-afddbc4512df" executionId="23a24562-e460-4740-b8e1-b5f0fdc63c84" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="982e6393-cee3-4cae-e31a-0c79aec636f5" executionId="08cf7c64-f183-4348-84aa-0fbe4230dd74" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="9a14045a-b385-8661-95ec-0ea311e6fff2" executionId="9a5e4fd3-7d43-4fd8-b02b-c37005faa4c2" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="2e471597-3eb1-e16d-d083-6e3f4acad5b8" executionId="ec836116-6a2e-4ed2-8f2b-8358b89e3fd5" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1dc46186-7cb0-ca9a-61cc-eeb606aaa29e" executionId="7049fb4d-bb65-4460-adcb-a44e10871ebf" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="f0535eb3-3bf7-b94f-9f0a-38ad155ab719" executionId="3bbc5180-861c-4fd0-b3ab-7da620c1ac14" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="4f4cec63-1d94-3528-d070-a532c9ac6d23" executionId="48560e6a-f6e8-447a-8e04-df6a6b664899" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="29a6c54f-ae20-7e13-6530-378a44cec26d" executionId="0bb6e555-61c3-4d5d-9718-a97b514cc56f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="98c57e76-4192-6e99-333e-ff9ee626bebc" executionId="eca1d984-f78c-4a9a-8076-ab51bec7c4c3" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="53eff610-0806-e899-42ec-0ac56b39a502" executionId="131b89bb-c250-4822-a1b1-5d240f9af17f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="88b21e9f-25a6-ec49-6651-2bda5d0d1dcb" executionId="c7ef149e-0b4d-4a35-b31f-525ba8d288c7" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="34" executed="34" passed="34" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: Deployment.AcceptanceTests
[xUnit.net 00:00:00.08] Discovered: Deployment.AcceptanceTests
[xUnit.net 00:00:00.10] Starting: Deployment.AcceptanceTests
[xUnit.net 00:00:21.62] Finished: Deployment.AcceptanceTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
@@ -0,0 +1,742 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="30a800ac-619c-4d50-a74f-b407b87553b2" name="@Sil3ntDragon 2026-10-14 10:57:43" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T10:57:43.3360977+02:00" queuing="2026-10-14T10:57:43.3360977+02:00" start="2026-10-14T10:57:42.1043069+02:00" finish="2026-10-14T10:57:47.7475386+02:00" />
<TestSettings name="default" id="ade4f2a4-c85f-480f-bce3-dafa34c911f3">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_10_57_43" />
</TestSettings>
<Results>
<UnitTestResult executionId="71ab7899-2776-4432-bcc3-192a7a0aee5d" testId="9c3580ad-a469-3dad-dbcf-bdedbe97eae9" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0998179" startTime="2026-10-14T10:57:43.1928237+02:00" endTime="2026-10-14T10:57:43.2927282+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="71ab7899-2776-4432-bcc3-192a7a0aee5d" />
<UnitTestResult executionId="df5477cf-daac-4142-9fa1-6afe7cf44c5c" testId="4a037958-c1b4-989a-c1ba-cf2232beecd6" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" computerName="Sil3ntDragon" duration="00:00:00.3431091" startTime="2026-10-14T10:57:42.4499707+02:00" endTime="2026-10-14T10:57:42.7996776+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="df5477cf-daac-4142-9fa1-6afe7cf44c5c" />
<UnitTestResult executionId="12fdac08-13dc-4497-91e9-926657c50e23" testId="7dd9417c-6f80-6d8d-da07-0fa8c2428b5b" testName="PatientProfile.AcceptanceTests.UpdatePatientTests.Invalid_name_is_rejected_without_changing_the_profile(name: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0509417" startTime="2026-10-14T10:57:44.1462020+02:00" endTime="2026-10-14T10:57:44.1972814+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="12fdac08-13dc-4497-91e9-926657c50e23" />
<UnitTestResult executionId="06a317de-4455-4f37-b567-62140ed7161a" testId="073bb803-b611-c4c4-6d39-1aed67fac0dd" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0869311" startTime="2026-10-14T10:57:43.0151913+02:00" endTime="2026-10-14T10:57:43.1022865+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="06a317de-4455-4f37-b567-62140ed7161a" />
<UnitTestResult executionId="c11a3a23-1074-420a-ba0f-f83ba0322659" testId="e4b4fb47-250b-507b-02f4-88e9bb354e19" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Malformed_information_is_rejected(json: &quot;{&quot;)" computerName="Sil3ntDragon" duration="00:00:00.2166426" startTime="2026-10-14T10:57:43.5746405+02:00" endTime="2026-10-14T10:57:43.7914560+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c11a3a23-1074-420a-ba0f-f83ba0322659" />
<UnitTestResult executionId="ad4789bb-aea3-4ae1-b759-7ff4098b72e0" testId="ae24eab6-81ed-abc5-8dfd-6d8f6015e0f9" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;,\&quot;dateOfBirth\&quot;:null&quot;···, field: &quot;DateOfBirth&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0472557" startTime="2026-10-14T10:57:44.1162145+02:00" endTime="2026-10-14T10:57:44.1635580+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ad4789bb-aea3-4ae1-b759-7ff4098b72e0" />
<UnitTestResult executionId="db8e4ade-9956-4a8a-9ce6-565877f31024" testId="3ff5b407-74bb-7abf-df16-d1be02503c77" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;}&quot;, field: &quot;DateOfBirth&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0420313" startTime="2026-10-14T10:57:44.1636749+02:00" endTime="2026-10-14T10:57:44.2059028+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="db8e4ade-9956-4a8a-9ce6-565877f31024" />
<UnitTestResult executionId="5752275d-6d31-45a7-a59c-c585609a2b4c" testId="49d38e94-d91a-6326-0280-b2e1359449b6" testName="PatientProfile.AcceptanceTests.UpdatePatientTests.Invalid_name_is_rejected_without_changing_the_profile(name: null)" computerName="Sil3ntDragon" duration="00:00:00.0402794" startTime="2026-10-14T10:57:44.1057392+02:00" endTime="2026-10-14T10:57:44.1460913+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5752275d-6d31-45a7-a59c-c585609a2b4c" />
<UnitTestResult executionId="c5e043d2-998c-49d9-99f2-fdc98d7aa69a" testId="55a9a876-10e1-25cf-8849-ddf30133574f" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0988784" startTime="2026-10-14T10:57:43.3818751+02:00" endTime="2026-10-14T10:57:43.4807966+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c5e043d2-998c-49d9-99f2-fdc98d7aa69a" />
<UnitTestResult executionId="029a338c-287c-4de1-9950-78b31ee1c398" testId="5118b0a7-0853-9255-3ef1-ecfcbdbb8d7d" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0884987" startTime="2026-10-14T10:57:43.3115874+02:00" endTime="2026-10-14T10:57:43.3815906+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="029a338c-287c-4de1-9950-78b31ee1c398" />
<UnitTestResult executionId="3ffe5da0-659d-4229-af16-b58097a5f1d5" testId="061369b9-9427-aa5e-cb25-1a8dfd921119" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0962547" startTime="2026-10-14T10:57:43.4809094+02:00" endTime="2026-10-14T10:57:43.5772458+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3ffe5da0-659d-4229-af16-b58097a5f1d5" />
<UnitTestResult executionId="35b4bead-9867-410e-9396-230bbbe6e13d" testId="1f68e6b0-e232-532b-2e4f-6ca184798881" testName="PatientProfile.AcceptanceTests.UpdatePatientTests.Updating_a_missing_patient_is_rejected_without_creating_a_profile" computerName="Sil3ntDragon" duration="00:00:00.0045524" startTime="2026-10-14T10:57:44.1974220+02:00" endTime="2026-10-14T10:57:44.2020739+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="35b4bead-9867-410e-9396-230bbbe6e13d" />
<UnitTestResult executionId="03fb3d7c-1156-46d5-81a2-0a4d480997fa" testId="32f3c3c7-de49-4693-0611-c3f39dd6bad9" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0901265" startTime="2026-10-14T10:57:43.1024056+02:00" endTime="2026-10-14T10:57:43.1926819+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="03fb3d7c-1156-46d5-81a2-0a4d480997fa" />
<UnitTestResult executionId="4cc8beea-fa31-41f6-bc5f-5885be2a4074" testId="d9097ae8-557b-efd5-e6be-c9b6956ec745" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:null,\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0559662" startTime="2026-10-14T10:57:44.0599750+02:00" endTime="2026-10-14T10:57:44.1161021+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="4cc8beea-fa31-41f6-bc5f-5885be2a4074" />
<UnitTestResult executionId="a4ccd69b-77bf-4491-8266-02a2ef3106b2" testId="48438867-623b-dadb-71cd-9f16d4e01744" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart" computerName="Sil3ntDragon" duration="00:00:00.1415437" startTime="2026-10-14T10:57:43.9181578+02:00" endTime="2026-10-14T10:57:44.0597952+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="a4ccd69b-77bf-4491-8266-02a2ef3106b2" />
<UnitTestResult executionId="f78e8985-027e-4042-b18b-e5f02806463f" testId="131aea63-e9da-9046-0e77-8e03c7926162" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" computerName="Sil3ntDragon" duration="00:00:00.1171761" startTime="2026-10-14T10:57:42.8976954+02:00" endTime="2026-10-14T10:57:43.0150946+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="f78e8985-027e-4042-b18b-e5f02806463f" />
<UnitTestResult executionId="c631c526-bccb-433a-8488-3f48081324ca" testId="780d4df6-423c-0be8-ff39-9a176dc3574f" testName="PatientProfile.AcceptanceTests.UpdatePatientTests.Updated_profile_preserves_identity_and_date_of_birth_and_survives_restart" computerName="Sil3ntDragon" duration="00:00:00.4347452" startTime="2026-10-14T10:57:43.5746862+02:00" endTime="2026-10-14T10:57:44.0095339+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c631c526-bccb-433a-8488-3f48081324ca" />
<UnitTestResult executionId="2f3f2e2c-9046-414c-80bd-0381e3eac930" testId="906134df-5894-d479-1f63-c1e78f0c067c" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Unknown_identifier_returns_not_found" computerName="Sil3ntDragon" duration="00:00:00.0385471" startTime="2026-10-14T10:57:43.8793006+02:00" endTime="2026-10-14T10:57:43.9179539+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="2f3f2e2c-9046-414c-80bd-0381e3eac930" />
<UnitTestResult executionId="0b3ae80e-b969-4c0b-b268-bbb758445d98" testId="a12e5bd2-8738-2cb6-10bf-cf091896bf7a" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Malformed_information_is_rejected(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;,\&quot;dateOfBirth\&quot;:\&quot;19&quot;···)" computerName="Sil3ntDragon" duration="00:00:00.0480608" startTime="2026-10-14T10:57:43.7915815+02:00" endTime="2026-10-14T10:57:43.8397718+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="0b3ae80e-b969-4c0b-b268-bbb758445d98" />
<UnitTestResult executionId="69077f9f-e2ed-4a75-a31b-71cc2379dacc" testId="64bb5f94-7407-96b6-4404-ca862e933264" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0980200" startTime="2026-10-14T10:57:42.8036300+02:00" endTime="2026-10-14T10:57:42.8962840+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="69077f9f-e2ed-4a75-a31b-71cc2379dacc" />
<UnitTestResult executionId="4a13ebe7-2272-4fec-a4c9-80be13d1c528" testId="d92e3fff-51f3-4abe-2ee4-3cd5891fcf99" testName="PatientProfile.AcceptanceTests.UpdatePatientTests.Invalid_name_is_rejected_without_changing_the_profile(name: &quot; &quot;)" computerName="Sil3ntDragon" duration="00:00:00.0958331" startTime="2026-10-14T10:57:44.0108289+02:00" endTime="2026-10-14T10:57:44.1056208+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="4a13ebe7-2272-4fec-a4c9-80be13d1c528" />
<UnitTestResult executionId="469528b1-3767-44f0-8875-a49e0617021c" testId="ef4fac3a-850f-b343-9515-254147ab2345" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Separate_creations_have_distinct_identifiers_and_contact_information_is_optional" computerName="Sil3ntDragon" duration="00:00:00.0838791" startTime="2026-10-14T10:57:44.3371910+02:00" endTime="2026-10-14T10:57:44.4212818+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="469528b1-3767-44f0-8875-a49e0617021c" />
<UnitTestResult executionId="9ad060e3-a7fe-4398-a009-0e7a012ae7a6" testId="be7af070-1f69-7d04-8112-58c7da57781f" testName="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests.Production_gateway_rejects_plain_http_even_for_login_and_public_guidance" computerName="Sil3ntDragon" duration="00:00:00.1054003" startTime="2026-10-14T10:57:42.9052968+02:00" endTime="2026-10-14T10:57:43.0106970+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="9ad060e3-a7fe-4398-a009-0e7a012ae7a6" />
<UnitTestResult executionId="d44234a8-6ea8-4524-87e7-f3ab98a34384" testId="e5cd3d36-7524-3811-829d-c1e390a0b3c4" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot; \&quot;,\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0432511" startTime="2026-10-14T10:57:44.2060473+02:00" endTime="2026-10-14T10:57:44.2494309+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="d44234a8-6ea8-4524-87e7-f3ab98a34384" />
<UnitTestResult executionId="13a65a83-c665-47ff-8f37-787ef0f17cd1" testId="834ce916-27e6-7326-5fad-30c5d94c7c6c" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Malformed_information_is_rejected(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;,\&quot;dateOfBirth\&quot;:\&quot;in&quot;···)" computerName="Sil3ntDragon" duration="00:00:00.0391321" startTime="2026-10-14T10:57:43.8398873+02:00" endTime="2026-10-14T10:57:43.8791496+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="13a65a83-c665-47ff-8f37-787ef0f17cd1" />
<UnitTestResult executionId="fe635af7-50f4-431a-8603-ef56ca4d0c48" testId="7a9b6840-d57a-2e1c-315f-ee3fb4e77cae" testName="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests.Standard_replacement_handler_with_same_identity_retains_ownership_policy(role: &quot;Patient&quot;, accountId: &quot;test-0&quot;)" computerName="Sil3ntDragon" duration="00:00:00.3432424" startTime="2026-10-14T10:57:42.4492071+02:00" endTime="2026-10-14T10:57:42.7976316+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="fe635af7-50f4-431a-8603-ef56ca4d0c48" />
<UnitTestResult executionId="02ed304f-37b9-4c88-93f3-05f6118f37ab" testId="caed26e1-b592-59d1-3c1a-ec9f220cc051" testName="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests.Standard_replacement_handler_with_same_identity_retains_ownership_policy(role: &quot;HealthcareProfessional&quot;, accountId: &quot;professional&quot;)" computerName="Sil3ntDragon" duration="00:00:00.1065277" startTime="2026-10-14T10:57:42.8036595+02:00" endTime="2026-10-14T10:57:42.9051625+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="02ed304f-37b9-4c88-93f3-05f6118f37ab" />
<UnitTestResult executionId="7c2861df-7408-4e34-b560-e592e050ee3f" testId="8dc0b90e-bfb8-c49b-acb0-992091dabfad" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot;\&quot;,\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0477034" startTime="2026-10-14T10:57:44.2502293+02:00" endTime="2026-10-14T10:57:44.2974533+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="7c2861df-7408-4e34-b560-e592e050ee3f" />
<UnitTestResult executionId="039b18f1-fa4c-4072-9b55-76b44fc285bc" testId="0621f5ab-7e26-2720-57a6-17daeee414d8" testName="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0392462" startTime="2026-10-14T10:57:44.2975801+02:00" endTime="2026-10-14T10:57:44.3370404+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="039b18f1-fa4c-4072-9b55-76b44fc285bc" />
</Results>
<TestDefinitions>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Separate_creations_have_distinct_identifiers_and_contact_information_is_optional" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="ef4fac3a-850f-b343-9515-254147ab2345">
<Execution id="469528b1-3767-44f0-8875-a49e0617021c" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Separate_creations_have_distinct_identifiers_and_contact_information_is_optional" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.UpdatePatientTests.Invalid_name_is_rejected_without_changing_the_profile(name: null)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="49d38e94-d91a-6326-0280-b2e1359449b6">
<Execution id="5752275d-6d31-45a7-a59c-c585609a2b4c" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.UpdatePatientTests" name="Invalid_name_is_rejected_without_changing_the_profile" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="55a9a876-10e1-25cf-8849-ddf30133574f">
<Execution id="c5e043d2-998c-49d9-99f2-fdc98d7aa69a" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;}&quot;, field: &quot;DateOfBirth&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="3ff5b407-74bb-7abf-df16-d1be02503c77">
<Execution id="db8e4ade-9956-4a8a-9ce6-565877f31024" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Missing_required_information_is_rejected_without_persisting" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:null,\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="d9097ae8-557b-efd5-e6be-c9b6956ec745">
<Execution id="4cc8beea-fa31-41f6-bc5f-5885be2a4074" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Missing_required_information_is_rejected_without_persisting" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="32f3c3c7-de49-4693-0611-c3f39dd6bad9">
<Execution id="03fb3d7c-1156-46d5-81a2-0a4d480997fa" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="64bb5f94-7407-96b6-4404-ca862e933264">
<Execution id="69077f9f-e2ed-4a75-a31b-71cc2379dacc" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot;\&quot;,\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="8dc0b90e-bfb8-c49b-acb0-992091dabfad">
<Execution id="7c2861df-7408-4e34-b560-e592e050ee3f" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Missing_required_information_is_rejected_without_persisting" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Unknown_identifier_returns_not_found" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="906134df-5894-d479-1f63-c1e78f0c067c">
<Execution id="2f3f2e2c-9046-414c-80bd-0381e3eac930" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Unknown_identifier_returns_not_found" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="4a037958-c1b4-989a-c1ba-cf2232beecd6">
<Execution id="df5477cf-daac-4142-9fa1-6afe7cf44c5c" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Malformed_information_is_rejected(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;,\&quot;dateOfBirth\&quot;:\&quot;19&quot;···)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="a12e5bd2-8738-2cb6-10bf-cf091896bf7a">
<Execution id="0b3ae80e-b969-4c0b-b268-bbb758445d98" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Malformed_information_is_rejected" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="0621f5ab-7e26-2720-57a6-17daeee414d8">
<Execution id="039b18f1-fa4c-4072-9b55-76b44fc285bc" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Missing_required_information_is_rejected_without_persisting" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests.Standard_replacement_handler_with_same_identity_retains_ownership_policy(role: &quot;Patient&quot;, accountId: &quot;test-0&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="7a9b6840-d57a-2e1c-315f-ee3fb4e77cae">
<Execution id="fe635af7-50f4-431a-8603-ef56ca4d0c48" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests" name="Standard_replacement_handler_with_same_identity_retains_ownership_policy" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.UpdatePatientTests.Updated_profile_preserves_identity_and_date_of_birth_and_survives_restart" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="780d4df6-423c-0be8-ff39-9a176dc3574f">
<Execution id="c631c526-bccb-433a-8488-3f48081324ca" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.UpdatePatientTests" name="Updated_profile_preserves_identity_and_date_of_birth_and_survives_restart" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.UpdatePatientTests.Invalid_name_is_rejected_without_changing_the_profile(name: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="7dd9417c-6f80-6d8d-da07-0fa8c2428b5b">
<Execution id="12fdac08-13dc-4497-91e9-926657c50e23" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.UpdatePatientTests" name="Invalid_name_is_rejected_without_changing_the_profile" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Malformed_information_is_rejected(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;,\&quot;dateOfBirth\&quot;:\&quot;in&quot;···)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="834ce916-27e6-7326-5fad-30c5d94c7c6c">
<Execution id="13a65a83-c665-47ff-8f37-787ef0f17cd1" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Malformed_information_is_rejected" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="9c3580ad-a469-3dad-dbcf-bdedbe97eae9">
<Execution id="71ab7899-2776-4432-bcc3-192a7a0aee5d" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests.Production_gateway_rejects_plain_http_even_for_login_and_public_guidance" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="be7af070-1f69-7d04-8112-58c7da57781f">
<Execution id="9ad060e3-a7fe-4398-a009-0e7a012ae7a6" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests" name="Production_gateway_rejects_plain_http_even_for_login_and_public_guidance" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.UpdatePatientTests.Updating_a_missing_patient_is_rejected_without_creating_a_profile" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="1f68e6b0-e232-532b-2e4f-6ca184798881">
<Execution id="35b4bead-9867-410e-9396-230bbbe6e13d" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.UpdatePatientTests" name="Updating_a_missing_patient_is_rejected_without_creating_a_profile" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests.Standard_replacement_handler_with_same_identity_retains_ownership_policy(role: &quot;HealthcareProfessional&quot;, accountId: &quot;professional&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="caed26e1-b592-59d1-3c1a-ec9f220cc051">
<Execution id="02ed304f-37b9-4c88-93f3-05f6118f37ab" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.AuthenticationIntegrationTests" name="Standard_replacement_handler_with_same_identity_retains_ownership_policy" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.UpdatePatientTests.Invalid_name_is_rejected_without_changing_the_profile(name: &quot; &quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="d92e3fff-51f3-4abe-2ee4-3cd5891fcf99">
<Execution id="4a13ebe7-2272-4fec-a4c9-80be13d1c528" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.UpdatePatientTests" name="Invalid_name_is_rejected_without_changing_the_profile" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="5118b0a7-0853-9255-3ef1-ecfcbdbb8d7d">
<Execution id="029a338c-287c-4de1-9950-78b31ee1c398" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="061369b9-9427-aa5e-cb25-1a8dfd921119">
<Execution id="3ffe5da0-659d-4229-af16-b58097a5f1d5" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Malformed_information_is_rejected(json: &quot;{&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="e4b4fb47-250b-507b-02f4-88e9bb354e19">
<Execution id="c11a3a23-1074-420a-ba0f-f83ba0322659" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Malformed_information_is_rejected" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot;Steffen Example\&quot;,\&quot;dateOfBirth\&quot;:null&quot;···, field: &quot;DateOfBirth&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="ae24eab6-81ed-abc5-8dfd-6d8f6015e0f9">
<Execution id="ad4789bb-aea3-4ae1-b759-7ff4098b72e0" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Missing_required_information_is_rejected_without_persisting" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="073bb803-b611-c4c4-6d39-1aed67fac0dd">
<Execution id="06a317de-4455-4f37-b567-62140ed7161a" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="131aea63-e9da-9046-0e77-8e03c7926162">
<Execution id="f78e8985-027e-4042-b18b-e5f02806463f" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Missing_required_information_is_rejected_without_persisting(json: &quot;{\&quot;name\&quot;:\&quot; \&quot;,\&quot;dateOfBirth\&quot;:\&quot;1980-01-01\&quot;}&quot;, field: &quot;Name&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="e5cd3d36-7524-3811-829d-c1e390a0b3c4">
<Execution id="d44234a8-6ea8-4524-87e7-f3ab98a34384" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Missing_required_information_is_rejected_without_persisting" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.CreatePatientTests.Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/reference/architecturea/tests/patientprofile.acceptancetests/bin/release/net10.0/patientprofile.acceptancetests.dll" id="48438867-623b-dadb-71cd-9f16d4e01744">
<Execution id="a4ccd69b-77bf-4491-8266-02a2ef3106b2" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/tests/PatientProfile.AcceptanceTests/bin/Release/net10.0/PatientProfile.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.CreatePatientTests" name="Valid_profile_is_assigned_an_identifier_and_can_be_retrieved_after_restart" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="9c3580ad-a469-3dad-dbcf-bdedbe97eae9" executionId="71ab7899-2776-4432-bcc3-192a7a0aee5d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="4a037958-c1b4-989a-c1ba-cf2232beecd6" executionId="df5477cf-daac-4142-9fa1-6afe7cf44c5c" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="7dd9417c-6f80-6d8d-da07-0fa8c2428b5b" executionId="12fdac08-13dc-4497-91e9-926657c50e23" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="073bb803-b611-c4c4-6d39-1aed67fac0dd" executionId="06a317de-4455-4f37-b567-62140ed7161a" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="e4b4fb47-250b-507b-02f4-88e9bb354e19" executionId="c11a3a23-1074-420a-ba0f-f83ba0322659" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="ae24eab6-81ed-abc5-8dfd-6d8f6015e0f9" executionId="ad4789bb-aea3-4ae1-b759-7ff4098b72e0" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="3ff5b407-74bb-7abf-df16-d1be02503c77" executionId="db8e4ade-9956-4a8a-9ce6-565877f31024" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="49d38e94-d91a-6326-0280-b2e1359449b6" executionId="5752275d-6d31-45a7-a59c-c585609a2b4c" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="55a9a876-10e1-25cf-8849-ddf30133574f" executionId="c5e043d2-998c-49d9-99f2-fdc98d7aa69a" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="5118b0a7-0853-9255-3ef1-ecfcbdbb8d7d" executionId="029a338c-287c-4de1-9950-78b31ee1c398" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="061369b9-9427-aa5e-cb25-1a8dfd921119" executionId="3ffe5da0-659d-4229-af16-b58097a5f1d5" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1f68e6b0-e232-532b-2e4f-6ca184798881" executionId="35b4bead-9867-410e-9396-230bbbe6e13d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="32f3c3c7-de49-4693-0611-c3f39dd6bad9" executionId="03fb3d7c-1156-46d5-81a2-0a4d480997fa" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d9097ae8-557b-efd5-e6be-c9b6956ec745" executionId="4cc8beea-fa31-41f6-bc5f-5885be2a4074" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="48438867-623b-dadb-71cd-9f16d4e01744" executionId="a4ccd69b-77bf-4491-8266-02a2ef3106b2" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="131aea63-e9da-9046-0e77-8e03c7926162" executionId="f78e8985-027e-4042-b18b-e5f02806463f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="780d4df6-423c-0be8-ff39-9a176dc3574f" executionId="c631c526-bccb-433a-8488-3f48081324ca" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="906134df-5894-d479-1f63-c1e78f0c067c" executionId="2f3f2e2c-9046-414c-80bd-0381e3eac930" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a12e5bd2-8738-2cb6-10bf-cf091896bf7a" executionId="0b3ae80e-b969-4c0b-b268-bbb758445d98" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="64bb5f94-7407-96b6-4404-ca862e933264" executionId="69077f9f-e2ed-4a75-a31b-71cc2379dacc" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d92e3fff-51f3-4abe-2ee4-3cd5891fcf99" executionId="4a13ebe7-2272-4fec-a4c9-80be13d1c528" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="ef4fac3a-850f-b343-9515-254147ab2345" executionId="469528b1-3767-44f0-8875-a49e0617021c" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="be7af070-1f69-7d04-8112-58c7da57781f" executionId="9ad060e3-a7fe-4398-a009-0e7a012ae7a6" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="e5cd3d36-7524-3811-829d-c1e390a0b3c4" executionId="d44234a8-6ea8-4524-87e7-f3ab98a34384" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="834ce916-27e6-7326-5fad-30c5d94c7c6c" executionId="13a65a83-c665-47ff-8f37-787ef0f17cd1" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="7a9b6840-d57a-2e1c-315f-ee3fb4e77cae" executionId="fe635af7-50f4-431a-8603-ef56ca4d0c48" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="caed26e1-b592-59d1-3c1a-ec9f220cc051" executionId="02ed304f-37b9-4c88-93f3-05f6118f37ab" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="8dc0b90e-bfb8-c49b-acb0-992091dabfad" executionId="7c2861df-7408-4e34-b560-e592e050ee3f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0621f5ab-7e26-2720-57a6-17daeee414d8" executionId="039b18f1-fa4c-4072-9b55-76b44fc285bc" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="29" executed="29" passed="29" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: PatientProfile.AcceptanceTests
[xUnit.net 00:00:00.07] Discovered: PatientProfile.AcceptanceTests
[xUnit.net 00:00:00.08] Starting: PatientProfile.AcceptanceTests
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {78d24170-4b31-4436-8026-5294967a5f10} may be persisted to storage in unencrypted form.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4143078b-a5d8-44d2-bfce-f9d3098e13c6} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://service.example.test/api/patients/by-account/test-0
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://service.example.test/api/patients/by-account/test-0
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.3224ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 12.0562ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://service.example.test/api/patients/380ab747-bc0b-4a3a-a7ac-f7727c21608a
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://service.example.test/api/patients/380ab747-bc0b-4a3a-a7ac-f7727c21608a
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.0132ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.0676ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://service.example.test/api/patients/by-account/test-0
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://service.example.test/api/patients/by-account/test-0
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.0055ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.0369ms - 200
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {2993e7a6-32eb-40f0-9578-789f6f9a174c} may be persisted to storage in unencrypted form.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {1a5c0dc3-0fbc-4631-a375-40ff79bd21ad} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://service.example.test/api/patients/f02f9791-135a-44b4-8a54-40fee82a14e7
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://service.example.test/api/patients/f02f9791-135a-44b4-8a54-40fee82a14e7
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.0058ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.0549ms - 200
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {dce91568-8bfd-482a-a744-28d8b54f21fd} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {80abd684-cc40-4817-985c-2d0c03bbf36d} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {e6ba352a-fd37-4c40-9de1-8221aaef8848} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {0fa2389e-6993-478b-b52a-ebac8dbf23fe} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {75f9fb43-7551-410f-b35f-3fc1283bb6f2} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {d652781f-d3d4-4082-a329-434a911b387c} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {67ded4bd-a64f-4ba7-a907-9bf3b63ca359} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:34773
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:42281
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {a878cca4-52e9-4e40-83fb-5556447bf766} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {bc704c33-2236-4005-b2c9-3a6f49c269b5} may be persisted to storage in unencrypted form.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {a8eeaca5-b3ae-4270-9353-f6599e9750cf} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:42281/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:42281/api/patients
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 14.2796ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 14.5747ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 197.0261ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 197.1019ms - 201
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 13.2637ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 13.3153ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:42281/api/patients/by-account/test-1
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:42281/api/patients/by-account/test-1
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 34.3281ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 34.3746ms - 200
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 2.9662ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 3.0116ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request PUT http://127.0.0.1:42281/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request PUT http://127.0.0.1:42281/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:34773/api/patients/by-account/test-0
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:34773/api/patients/by-account/test-0
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 5.4989ms - 404
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 5.5566ms - 404
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 32.662ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 32.7055ms - 200
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:45015
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:34773/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 4.993ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 5.0468ms - 201
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:37815
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/PatientProfileService
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-1
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-1
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 5.4778ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 5.5203ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/50ac7c13-f4bb-4fd7-9b03-9b46b5412c85
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 4.6997ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 4.7492ms - 200
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/Reference/ArchitectureA/src/ApiGateway
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 5.5994ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 5.6422ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:37815/api/patients/7ee48590-ebd3-454f-a77f-bccddf9d27cd
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:37815/api/patients/7ee48590-ebd3-454f-a77f-bccddf9d27cd
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 4.13ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 4.1768ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:45015/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:45015/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 11.1454ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 11.1996ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.9814ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 1.0116ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request PUT http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request PUT http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 4.8344ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 4.8999ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-2
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 1.5526ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 1.6092ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/3867fcbe-fd93-4b55-b303-8d65789763e6
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.9242ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.9548ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 6.7951ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 6.8354ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:45015/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:45015/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 2.8691ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 2.9128ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.8179ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.8546ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request PUT http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request PUT http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.3558ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.3771ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-3
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.6804ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.7011ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/26caf08d-f3b6-47fd-8560-fbad79fa0a6e
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.6239ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.6461ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.5271ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.565ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:45015/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:45015/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 3.0033ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 3.0485ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.8287ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.8533ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request PUT http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request PUT http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.3536ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.3727ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.7324ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.7546ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/e8af3556-281c-45c9-94c9-71f7dab96662
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.7838ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.8114ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.9343ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.9639ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:45015/api/patients/by-account/test-4
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.8119ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.8381ms - 200
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.4376ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.4761ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.5692ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.6097ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.7275ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.7752ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 0.6281ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 0.6817ms - 400
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 4.0462ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 4.0914ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request POST http://127.0.0.1:37815/api/patients
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 3.6372ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 3.6997ms - 201
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-11
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:37815/api/patients/by-account/test-11
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 1.3455ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 1.3939ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[100]
Start processing HTTP request GET http://127.0.0.1:37815/api/patients/2d7576fd-b297-4d15-b62c-9f5eb8d33797
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[100]
Sending HTTP request GET http://127.0.0.1:37815/api/patients/2d7576fd-b297-4d15-b62c-9f5eb8d33797
info: System.Net.Http.HttpClient.PatientProfile.ClientHandler[101]
Received HTTP response headers after 1.078ms - 200
info: System.Net.Http.HttpClient.PatientProfile.LogicalHandler[101]
End processing HTTP request after 1.1027ms - 200
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
[xUnit.net 00:00:05.36] Finished: PatientProfile.AcceptanceTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
@@ -0,0 +1,250 @@
{
"date": "2026-10-14",
"sourceRevision": "2117236366130775214d9fd2611984d4348f2b79",
"targetRevision": "3426236c6cfcece36e94642ae84d1843288f86d5",
"approvalRevision": "20ab461c0194b3098504eabc96e9852a61356953",
"implementedCodeRevision": "36740d249225898df1b3be720c453b365ffb9fa7",
"baselineTests": {
"passed": 299,
"failed": 0,
"skipped": 0
},
"finalBuild": {
"configuration": "Release",
"warnings": 0,
"errors": 0
},
"finalTests": [
{
"file": "ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_16_23_02.trx",
"counters": {
"total": "7",
"executed": "7",
"passed": "7",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
}
},
{
"file": "ImplementationPlan/evidence/b-trx/_Sil3ntDragon_2026-10-14_16_23_02[1].trx",
"counters": {
"total": "276",
"executed": "276",
"passed": "276",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
}
}
],
"finalTotalPassed": 283,
"acceptanceEntries": {
"mapped": 146,
"functionalVerified": 140,
"clinicalPartiallyVerified": 6
},
"nativeLocal": {
"environment": "PRETTY_NAME=\"Debian GNU/Linux 12 (bookworm)\"\nNAME=\"Debian GNU/Linux\"\nVERSION_ID=\"12\"\nVERSION=\"12 (bookworm)\"\nVERSION_CODENAME=bookworm\nID=debian\nHOME_URL=\"https://www.debian.org/\"\nSUPPORT_URL=\"https://www.debian.org/support\"\nBUG_REPORT_URL=\"https://bugs.debian.org/\"\n",
"runtime": "Microsoft.AspNetCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]\nMicrosoft.NETCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]\n",
"applicationPID": "3282",
"databaseStatus": "/var/run/postgresql:5432 - accepting connections",
"result": "passed",
"overwriteRejected": true,
"runtimeConfigMode": "640 root healthapp-b",
"isolation": "Disposable privileged systemd Linux container; native installer/unit/services executed; not physical-host or measurement evidence"
},
"nativeRemote": {
"environment": "PRETTY_NAME=\"Debian GNU/Linux 12 (bookworm)\"\nNAME=\"Debian GNU/Linux\"\nVERSION_ID=\"12\"\nVERSION=\"12 (bookworm)\"\nVERSION_CODENAME=bookworm\nID=debian\nHOME_URL=\"https://www.debian.org/\"\nSUPPORT_URL=\"https://www.debian.org/support\"\nBUG_REPORT_URL=\"https://bugs.debian.org/\"\n",
"runtime": "Microsoft.AspNetCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]\nMicrosoft.NETCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]\n",
"database": "PostgreSQL 18.6 separate container/host namespace; TLS certificate SAN b-database",
"sslMode": "VerifyFull",
"wrongHostnameRejected": true,
"localPostgresInstalled": false,
"result": "passed",
"runtimeConfigMode": "640 root healthapp-b",
"isolation": "Separate disposable systemd app and TLS DB containers; no Architecture A database access; not measurement-host evidence"
},
"preservation": {
"inputHashesMatch": true,
"instructionHashesMatch": true,
"referenceFilesMatch": 142,
"originalWorkingTreeClean": true,
"architectureADataAccessed": false
},
"sourceFileSha256": {
"src/HealthApp/Controllers/AuthenticationController.cs": "2f1c58f0c91dd9b3600f8ff6b38f029b55963a0fe8b8cb10aee590afbfe7d191",
"src/HealthApp/Controllers/HealthOverviewController.cs": "f57c824acf2d40ebea350d4f841cbb20fa423fb4b94a73e5faf688f8e84c4a40",
"src/HealthApp/Controllers/InsightsController.cs": "2938aefa87b21c2bb49ab98420654e2452149339154c5df439b000b5706f0fdb",
"src/HealthApp/Controllers/MeasurementGuidanceController.cs": "05cb4eab5b1c5f6fccd3fbc9a3012a7c359a7c2f8912d745a2afed0c21f00923",
"src/HealthApp/Controllers/ObservationController.cs": "f473c8ea4a83f70ee9acde12335ab6ede1ce5b81407959da2f9c5be349242cc6",
"src/HealthApp/Controllers/PatientController.cs": "c411429e4a4f0ccd915ab3c464f3e969f635f165d2ee6ec9941cfa9dda1e31f4",
"src/HealthApp/Controllers/ProfessionalController.cs": "2b73ec65320436d5b898b13a462fe24eb6adb1e25b3233b294aa748b03155fad",
"src/HealthApp/HealthApp.csproj": "4ecc63649e1732047ad6231cc9e9bf60ba7612093bf54b62019aa01ffd7158df",
"src/HealthApp/Program.cs": "4ca7c9432644e8e13db2a64c4de930bc919421dab86c16c4000d3fa606e20d45",
"src/HealthApp/Security/AccessPolicy.cs": "f9572d457ce960ac958cc14f912d947ce6f182fbcf679a03e822164cf9215e22",
"src/HealthApp/Security/ProfessionalAssignments.cs": "4afa06b7498e0e9c8028c7858cddca0b29caed6b60b7aea3db4e50ee911efa53",
"src/HealthApp/Security/PrototypeAccounts.cs": "ebeb71b3955db41e05389cdad20a6dfda2ac394ab5d1d77164987e7a71028622",
"src/HealthApp/Security/RequestBoundaryMiddleware.cs": "21ad8bab3d282dae34ca466a2efad25d88a89a4425c12eb9b0a72009e09fee7c",
"src/HealthApp.Contracts/AnalyticsFacades.cs": "c18e5b06eed9433f68dc4b05d84542d08001385e56e24745424f3a463c48f483",
"src/HealthApp.Contracts/AuthorizedPatientContext.cs": "76730b1f40f2a47d4354f9882f6e07bd05b0fa293af375db1763b308d7de8010",
"src/HealthApp.Contracts/ClinicalRuleProvenance.cs": "788de4b769cd03288c03c693f1870c377974b1a1c64f6cfd047e88e8036404f5",
"src/HealthApp.Contracts/ContextSelection.cs": "6368c56eeb81a38c47e61fb75f4316d51d92f3796779673413447267cf21f067",
"src/HealthApp.Contracts/CreatePatientRequest.cs": "8189ef656a915e678ef5fbb6eb3d7270b086cbc66f04d893c6dba6b692cf4d43",
"src/HealthApp.Contracts/HealthApp.Contracts.csproj": "b7412db9b99568e8c78143b2ef1aca5af0b1686d98d2c7fd1ff8b7b2564b8a9d",
"src/HealthApp.Contracts/HealthInsight.cs": "131b66c4b8b80222b9b081dd5add45e1849000127151ca7feb15a7f1805a25c5",
"src/HealthApp.Contracts/HealthOverviewDto.cs": "0b8fab13249ab8588fe441ac010a10a9dac794de1135f6226ad9435b67622303",
"src/HealthApp.Contracts/MeasurementContext.cs": "02a6ba328661ffb271891808a353d9d87791dabd0f8e56eb9445f7420cb334b0",
"src/HealthApp.Contracts/MeasurementContextPatch.cs": "1aff952166ad851d6a538d35442242ba5e2b5e6bad215b9975624b0b46e03b5b",
"src/HealthApp.Contracts/ObservationDto.cs": "cf71b5ff3e7fef9cdcec0d76422c7ad1ab68f3d8821e82f2ccb902ded06b17e0",
"src/HealthApp.Contracts/ObservationFacades.cs": "2dac8fcc37f55556ccc9272275454e498755bbbdfb799dcfda60f640dc82ff25",
"src/HealthApp.Contracts/PatchObservationRequest.cs": "5f212133cbd6b4b8408bcc57255c6439d7b272c82768902b985c088f9a8344e1",
"src/HealthApp.Contracts/PatientDto.cs": "391a3cb88505aee002b001ff8bba534d508626d9038cd9600ae088bd2f62e178",
"src/HealthApp.Contracts/RecordObservationRequest.cs": "85008ac86b29ec4d7b24abff8b8f15adad4e3b24d6a92023789a969bc49ecc37",
"src/HealthApp.Contracts/TrendAssessment.cs": "5525c317690091ffd62292a64b5efaa269f3a53276353ab7e0d99374d782888f",
"src/HealthApp.Contracts/UpdateObservationRequest.cs": "f873acbc47ae7660aed06b83552a28ee4c38f805451cadfebf0d2b91de73bfbd",
"src/HealthApp.Contracts/UpdatePatientRequest.cs": "a6ac1c72ecac6290f22fd065a91c6adc795c4d6f1e33d6d27be41a0ff0cee713",
"src/HealthApp.Infrastructure/HealthApp.Infrastructure.csproj": "0928f24c1d6ba2a34c882e089de26f55f35858f7edf15afacf30a416afeb70da",
"src/HealthApp.Infrastructure/RequestTransaction.cs": "e6a85512c1bdfe7fc5381f954cbe8b6740501207e6ad24ba705db766faca7994",
"src/Modules/Analytics/Analytics.csproj": "6b98f81ea2730f93d778d9e544faf85a4219dc596cb30caaa13253acb9217d5e",
"src/Modules/Analytics/AnalyticsFacade.cs": "45f75df083cf0bbf9d75d45b297a8ff218a0de71c6e78def833b658ba4f67e57",
"src/Modules/Analytics/AssemblyInfo.cs": "ebce47e2dbe8b618bf608f974211697db2f9ed4cdb74d2fefaeb9342f19d2978",
"src/Modules/Analytics/ClinicalPolicy.cs": "0579e379d9a314edfdab4bdeac6ebe230401046f835100052d9c574fda3cf040",
"src/Modules/Analytics/SummaryPolicy.cs": "b6720517c4487022bb90ea35ac3c5c393e6925812722e06ab1d2af58d0fc2562",
"src/Modules/Analytics/TrendPolicy.cs": "b38fffa1e9410c961d9f033f499f957ec35b8c873aad693b0e4a93991ba39e5f",
"src/Modules/Guidance/Guidance.csproj": "861ea2e0a59fcdb91ca297e2743c569b8154898a3f21fda9c764debc63fcfa41",
"src/Modules/Guidance/GuidanceQueries.cs": "de16f581d9924a7aaf39761158dfde7ccc95070eeb3861ebcc63d0c952a8bb17",
"src/Modules/Guidance/ReviewedReferenceCatalog.cs": "d8527b459c7ad0f3856afb91cb25587299927c8e4bdcbcb0b14679a0d93794e9",
"src/Modules/Observations/AssemblyInfo.cs": "ebce47e2dbe8b618bf608f974211697db2f9ed4cdb74d2fefaeb9342f19d2978",
"src/Modules/Observations/Domain/BloodPressureObservation.cs": "5147ce1785f754359a6b23529ca02db40266768ae1c4d4ba86fd47dde0fea8da",
"src/Modules/Observations/Migrations/001-observations.sql": "f0b77fe9d3e374557cc2c1edca7dcfdb388a8fa9454dbe69e50a1e6ce4651817",
"src/Modules/Observations/ObservationFacade.cs": "3adfb1de8f9ba8d0b8bc562cf9b766f1ef270039a341f9e7cafc3208f1edeb85",
"src/Modules/Observations/Observations.csproj": "6b98f81ea2730f93d778d9e544faf85a4219dc596cb30caaa13253acb9217d5e",
"src/Modules/Observations/Persistence/ObservationDbContext.cs": "a3d01ed387b343767121c2a8b911fe2dbfd4da5ad1cde0692b585c901fc81155",
"src/Modules/Overview/Overview.csproj": "861ea2e0a59fcdb91ca297e2743c569b8154898a3f21fda9c764debc63fcfa41",
"src/Modules/Overview/OverviewFacade.cs": "69925884c4d8e487408b446496e3e243032e51e27704981ea89ac821731bcbb2",
"src/Modules/Profile/AssemblyInfo.cs": "ebce47e2dbe8b618bf608f974211697db2f9ed4cdb74d2fefaeb9342f19d2978",
"src/Modules/Profile/Domain/Patient.cs": "0aceabc7e269ff3f00a617987790cd71ae5ac7716751fc6a82224fe1ddef737d",
"src/Modules/Profile/Migrations/001-profile.sql": "fc2cac4c965d2a1e28f3a837bbce78b889ac65d56468e52524cb14b672662660",
"src/Modules/Profile/Persistence/PatientDbContext.cs": "5919d5faa0f223650d4ec16a6c3c5a54458cfdf70e2b4a7efa2d6cc21c76a690",
"src/Modules/Profile/Profile.csproj": "6b98f81ea2730f93d778d9e544faf85a4219dc596cb30caaa13253acb9217d5e",
"src/Modules/Profile/ProfileFacade.cs": "c3d46a921f1861abbc77f60cef1f34cda7e82fe83ef64ff8c628859ebe5330c3",
"src/TRENDS.md": "7b987403073ad4d4894287c7cac7fc542d6251e7241445d559e9c24ec27cf809",
"deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj": "23ee60031a40d85fdfd7d9af08b316012daf399f9f5788c7bd6a9078c12a32bc",
"deploy/HealthApp.Provisioning/Installation.cs": "14e0f6fc539f1796cde395cdca112d36062810e54e638e20681f4eaaf3f76a34",
"deploy/HealthApp.Provisioning/Program.cs": "1f7c6493b4916d3887a1b6f59625685c5e6904def311a0a98c3112791d3b40a9",
"deploy/INSTALLATION.md": "43e381629f4591c49853da91e8c43454b9068836c637a9c2652022b3d4c71391",
"deploy/appsettings.example.json": "63352e440f873cbe2414f459eaed39ede2f6343ef694643671a660993af5c815",
"deploy/build-release.sh": "62ce01b4cf1dbf97db2346a24617e219f7c2803afb2e3ce6a03509acfab1b117",
"deploy/installer/bootstrap.sh": "ff77323066e0e08bb1aeb059da69a8da1aa9414d5eeb93db37fd3f195c8656a1",
"deploy/installer/install.sh": "d1ecf7f7aba14744422891ebd622a0bd6462e8f067851ee599e5ac824d0b56df",
"deploy/systemd/healthapp-b.service": "41dcdfa953d35710367fe84c3c43cba2bf72ced681c989eede9de12fe4b18adc",
"tests/HealthApp.AcceptanceTests/AuthenticationIntegrationTests.cs": "e7af7779d24981f86d82c1fb7fa2bc3c9cc78d0c36a48cb9e67e3f691d1bbe44",
"tests/HealthApp.AcceptanceTests/ConformanceTests.cs": "3823f83f25e1cca1f06c27485e166504fe443c1feb17b0655a5b7cbf65c5f699",
"tests/HealthApp.AcceptanceTests/ContextFilteredHistoryTests.cs": "3eadcb8473e0cd1f0df6a367dc490798ac551bb2ffa4af82b53c9981624c8db9",
"tests/HealthApp.AcceptanceTests/ContextSelectedInsightTests.cs": "ff67d93991202661155b1676ee19b3258cd15c510aaddd940f81ee2e3c8a9229",
"tests/HealthApp.AcceptanceTests/CreatePatientTests.cs": "8fffa446a01959731289799fa1e14ffb25248915089ad1b3b9f25fb687fded52",
"tests/HealthApp.AcceptanceTests/DeleteContextualisedObservationTests.cs": "1c3bbfab934d41428001b6d1d181cf7f08c90eb99ebcc9933ba48c334299c0d7",
"tests/HealthApp.AcceptanceTests/DeleteObservationTests.cs": "a3eaaf6bf14fe18e07f6e75fc0b414d906b37d1ba636e231d8218a58027b38fe",
"tests/HealthApp.AcceptanceTests/FoundationTests.cs": "71df3c6ef3bdc165a717d0e4cd0af024dfe4e55b5adb5eeda1fc41c24725d897",
"tests/HealthApp.AcceptanceTests/GlobalUsings.cs": "48b09638b804452944adcd5e70c9381670b6af24fdc681b7532624e6dfdc15b5",
"tests/HealthApp.AcceptanceTests/HealthApp.AcceptanceTests.csproj": "15c8581595bb7c477c528f7b2a6c7671491a11f526e260c78efbbe3eb5dbc20f",
"tests/HealthApp.AcceptanceTests/HealthInsightTests.cs": "aa1f3ec51f1072b6c165517b9510149666449c494ea8527b66fc95e047be7815",
"tests/HealthApp.AcceptanceTests/HealthOverviewTests.cs": "df772f0d79b8ec7331b113d1d43b15e23e137dfa05c138bbbbe97f69d48e87b9",
"tests/HealthApp.AcceptanceTests/HealthTrendTests.cs": "cb9f62039ff099551e20ae75969a9eb5d7c4f96a9d702033e319c719ce982e09",
"tests/HealthApp.AcceptanceTests/LatestObservationTests.cs": "9d815836f94d74a85c6764d23a4f7ef7b840290af18be88918bd39ac01223c7e",
"tests/HealthApp.AcceptanceTests/MeasurementContextMigrationTests.cs": "d401a2c9ace967412cc55b3f482333e6d521739b59cf1f8efba8273a11209be9",
"tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs": "80e527e632891f63e54288ba1d420beec7f2cdff08e03f0558cb76f5687bd2b2",
"tests/HealthApp.AcceptanceTests/ObservationApiFixture.cs": "c61f837d0a930027bede1e67d4792d9e7d7e408466e18fab8a7b726175685ca4",
"tests/HealthApp.AcceptanceTests/ObservationConcurrencyTests.cs": "09d516babae8ef2685babb1a5f16019d033ac1dcdfebc7c12f4d6201bc622f62",
"tests/HealthApp.AcceptanceTests/ObservationHistoryTests.cs": "73e11a578e9a9e34489cdf38840692e239c5013e0903f14852524236828e3d70",
"tests/HealthApp.AcceptanceTests/OperationalTests.cs": "799e0c1c1b18d51efac2e6ff16c0ee68b10594dfeb1dd5376e4f1481d481aff7",
"tests/HealthApp.AcceptanceTests/PatchObservationTests.cs": "a4096b2d3c5046b948e96dc79e40c302c46c8e64704e2f77069fb8ea984e6d48",
"tests/HealthApp.AcceptanceTests/PatientApiFixture.cs": "665d2b1955dd3c03a5d11330bd9dafae3942cfde1f4e9d413c5dbd4b970b3e2d",
"tests/HealthApp.AcceptanceTests/PatientAuthenticationTests.cs": "b6130edc59e800312b9a8e4a2f3b084c36fe4230b36a9e8ee9159791c1ecdf30",
"tests/HealthApp.AcceptanceTests/ProfessionalAccessTests.cs": "9fbeff0cc2a02cbb2587f9f9bec08dc6e623b3d59a833f8be7d5e7823807d743",
"tests/HealthApp.AcceptanceTests/ProfileLifecycleTests.cs": "3f00b214300a44930ba5707b52cdd7f2f335b155cf131ccb65ef2b4baa4ad647",
"tests/HealthApp.AcceptanceTests/RecordMeasurementContextTests.cs": "bde451e9aee2a9097f0bd41622f967e2b8fccc3db5809c29d261995114931165",
"tests/HealthApp.AcceptanceTests/RecordObservationTests.cs": "1cd5f551712a4f592dadbe2cbf772c9f1fdb7953d938971771af74c0760be90f",
"tests/HealthApp.AcceptanceTests/SnapshotTests.cs": "287e96f3ec808dbc9831a17243660fd611251521939a2f1f42d46f076810db1c",
"tests/HealthApp.AcceptanceTests/Support/AuthenticatedTestClient.cs": "be81a81d5264ac8b06ec4ccf66b8d9653c3249c0f5db2abd894e035c6a0d4c97",
"tests/HealthApp.AcceptanceTests/UpdateObservationTests.cs": "7ff2a356e9ac385237a9043d56659ba3ae819c6710e1aaa4f5945a243ac1a736",
"tests/HealthApp.AcceptanceTests/UpdatePatientTests.cs": "a5f3765146a0a28fbb26ee08caceec7722358dec01659399736b227653fdab10",
"tests/HealthApp.AcceptanceTests/ViewObservationContextTests.cs": "e356b4b34c078edf3902cb38796ac4ac6597eca026a423b16e7e754bfaf5e104",
"tests/HealthApp.DeploymentTests/HealthApp.DeploymentTests.csproj": "4f5ff1a801773f09dc10a37e1a4ef55096ec2a5c3823976a08643bf5a7ed5330",
"tests/HealthApp.DeploymentTests/ProvisioningTests.cs": "ebc5d2247693863f05122bb15255d82bdcc56267cd4573b6c0c5cc766831eef8",
"tools/comparison/dataset.json": "240b2d19292dcc6178a94e7c60bb4e0a6f3df9441abf147ea10308b19fcf5686",
"tools/comparison/initialize.py": "b45ba8defb1cf1ddeb290b34c123fbf30a37db8b2180c9b0f7877ca99c76faf4",
"tools/native-install-test/Dockerfile": "1420907951a8b74dca7fb55483d9f9a554d84e203f6f7f3c565580e0e4aba952",
"tools/native-install-test/README.md": "7e3f15bfb3873924818f6e503aca2be3eea68e2230c15fb55ac3ae655840a080",
"tools/native-install-test/local.py": "326ba644a9867226f7111fce7ea07475a8871a74fe96bb67a89b1f74f72f3cf1",
"tools/native-install-test/remote.py": "d56114b60eb4f62558ee82f65c49246240861631de0f8cedce714db7726e24f1",
"tools/run-disposable-tests.py": "7b43367af34772e1bd2c8ea6d86bf434822547d7e5e7af591d7465072165fe51"
},
"publishedBundleSha256": {
"INSTALLATION.md": "43e381629f4591c49853da91e8c43454b9068836c637a9c2652022b3d4c71391",
"app/Analytics.dll": "9ba3dcc112fecf1ff8a87d4aa0e48d9815811f8d5fa562119743fa96c4b1c144",
"app/Analytics.pdb": "9ae30993b4df39772fc069dc6347d7b4ab06e7e4e7bdb4ce7473976bd4828986",
"app/Guidance.dll": "adbe0085ee522d9aaf3a507c3151a4dfdd567818489884f4cb206afdf63b8cca",
"app/Guidance.pdb": "15f79f862123d686c0df0ef836a3ddd02de8bbbff30f5f47f810bca98a959949",
"app/HealthApp": "dc854c961a474ae8e6d00a2953f23952c34359b0ec2a3b1b7cebc833b29df1f0",
"app/HealthApp.Contracts.dll": "c653b5650c4b5785a8c0d4bfeefd7964f0e7543d0d0fbbb737e16757455159ea",
"app/HealthApp.Contracts.pdb": "09a4ae52a7c220e653c010c57bed4fbbb749f9d1ee56fd6c9df40c8ea24ad5b2",
"app/HealthApp.Infrastructure.dll": "df72ab62d595aef3ef28fbe0a65810980ce10ed26b4e731e66a98ab4ff63c918",
"app/HealthApp.Infrastructure.pdb": "782286cb66b8650e64c1f2674636df5858038eb95ae866d8e716436e53e69a16",
"app/HealthApp.deps.json": "4374d4c98e7f7676910f95268c2092c45af2759fcb68063f00c3f618c33aa97d",
"app/HealthApp.dll": "a81dab8f6ab9e692af7bd1773604672da5cad93f817e65e76c29901efc0239a8",
"app/HealthApp.pdb": "0182041f06a453e72fdf8dfad475606a0acd5b54b7041985981363ed22ddab07",
"app/HealthApp.runtimeconfig.json": "eff38a9750f7cca2407b1d639a963d56ffea92088e6da971bbbfa74e3dcd7224",
"app/HealthApp.staticwebassets.endpoints.json": "c1686417e8d5c31bba969f12b6f3d2b35e6609adb5ca42f212261a3a02771aac",
"app/Microsoft.EntityFrameworkCore.Abstractions.dll": "74bc17c936d66ea090b6a5b4cc4307d2154c9692e57edd4c55d68dd4a99c11b6",
"app/Microsoft.EntityFrameworkCore.Relational.dll": "a1e4f36208650b15b75a4b01a5821d61d5be417ac2e86ec3c65e2560a87e0d7d",
"app/Microsoft.EntityFrameworkCore.dll": "f5b1703d608e241314952b2ede8dcdd1b8d8adda8c91a13cb7e6b1007414cef4",
"app/Npgsql.EntityFrameworkCore.PostgreSQL.dll": "94fcf66e8e953fdb02c40c72ca89821dd5eed5324d4c0f12a7219ea8cd3d5a5e",
"app/Npgsql.dll": "e2bcafe1660fe4543fe9dfcabed972ec8d32259e5ea8009462ce1de23c7034c2",
"app/Observations.dll": "66fb464bbb8a881aad7305a5d0f386e6a033de58c2e53bc32cce3634f279d62b",
"app/Observations.pdb": "2a43670ee91c8f441d5cd08e53a687bfad648f6f78bec6e51df2babaac274f83",
"app/Overview.dll": "a4cad3efd6a06234869b315c3dbe18000b286318b602f50f573c710a2a2250a1",
"app/Overview.pdb": "74480ee95fdc9e7196097f88392f1d4f0338523483fd1bb3acd04c4a14445764",
"app/Profile.dll": "420c55582b28ba3e9af272db40901844c8022beccf66fa7fc64ea527918c8d7d",
"app/Profile.pdb": "b1db8ff0bab13b4ed7dcfca3867604f8eb42bd9981934b85766271abbf05ea24",
"app/web.config": "aab3b9908e70dcec7c084d99e2a03759183731a781f17f7c8d0971ea1fa27f76",
"bootstrap.sh": "ff77323066e0e08bb1aeb059da69a8da1aa9414d5eeb93db37fd3f195c8656a1",
"healthapp-b.service": "41dcdfa953d35710367fe84c3c43cba2bf72ced681c989eede9de12fe4b18adc",
"install.sh": "d1ecf7f7aba14744422891ebd622a0bd6462e8f067851ee599e5ac824d0b56df",
"migrations/Observations/001-observations.sql": "f0b77fe9d3e374557cc2c1edca7dcfdb388a8fa9454dbe69e50a1e6ce4651817",
"migrations/Profile/001-profile.sql": "fc2cac4c965d2a1e28f3a837bbce78b889ac65d56468e52524cb14b672662660",
"provisioner/HealthApp.Provisioning": "b14ae66e100af269d58de56f715576969f47b1bc800162f10b8be7ee60f9cdfe",
"provisioner/HealthApp.Provisioning.deps.json": "a9d67943244c2cfb7c597e2f9c9ad403d3950c12ecd80194d501af2382b25479",
"provisioner/HealthApp.Provisioning.dll": "bb45d13e9264b859605c72d354b2da87655f73ed032b0bd42442d059a4757700",
"provisioner/HealthApp.Provisioning.pdb": "cb0170760d28f2332e37ac72cb91fdef70f32566354a1f43904d7b60f9e5ed81",
"provisioner/HealthApp.Provisioning.runtimeconfig.json": "f8bd1713a3691d58eb332a71675f129385b91e852b66e7b6761cae1f34d4efd2",
"provisioner/Npgsql.dll": "e2bcafe1660fe4543fe9dfcabed972ec8d32259e5ea8009462ce1de23c7034c2"
},
"limits": [
"Other intended distributions not natively verified",
"Independent clinical validity not established; outputs preserved under Q3",
"Native Linux environments isolated/containerized, not measurement-host evidence",
"No A import or energy measurement"
]
}
@@ -0,0 +1,11 @@
{
"environment": "PRETTY_NAME=\"Debian GNU/Linux 12 (bookworm)\"\nNAME=\"Debian GNU/Linux\"\nVERSION_ID=\"12\"\nVERSION=\"12 (bookworm)\"\nVERSION_CODENAME=bookworm\nID=debian\nHOME_URL=\"https://www.debian.org/\"\nSUPPORT_URL=\"https://www.debian.org/support\"\nBUG_REPORT_URL=\"https://bugs.debian.org/\"\n",
"runtime": "Microsoft.AspNetCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]\nMicrosoft.NETCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]\n",
"database": "PostgreSQL 18.6 separate container/host namespace; TLS certificate SAN b-database",
"sslMode": "VerifyFull",
"wrongHostnameRejected": true,
"localPostgresInstalled": false,
"result": "passed",
"runtimeConfigMode": "640 root healthapp-b",
"isolation": "Separate disposable systemd app and TLS DB containers; no Architecture A database access; not measurement-host evidence"
}
@@ -0,0 +1,10 @@
{
"environment": "PRETTY_NAME=\"Debian GNU/Linux 12 (bookworm)\"\nNAME=\"Debian GNU/Linux\"\nVERSION_ID=\"12\"\nVERSION=\"12 (bookworm)\"\nVERSION_CODENAME=bookworm\nID=debian\nHOME_URL=\"https://www.debian.org/\"\nSUPPORT_URL=\"https://www.debian.org/support\"\nBUG_REPORT_URL=\"https://bugs.debian.org/\"\n",
"runtime": "Microsoft.AspNetCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]\nMicrosoft.NETCore.App 10.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]\n",
"applicationPID": "3282",
"databaseStatus": "/var/run/postgresql:5432 - accepting connections",
"result": "passed",
"overwriteRejected": true,
"runtimeConfigMode": "640 root healthapp-b",
"isolation": "Disposable privileged systemd Linux container; native installer/unit/services executed; not physical-host or measurement evidence"
}
@@ -0,0 +1,507 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="26f9509c-ea75-4bb6-aab0-ef6ed67a24c9" name="@Sil3ntDragon 2026-10-14 11:01:02" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T11:01:02.1488679+02:00" queuing="2026-10-14T11:01:02.1488679+02:00" start="2026-10-14T11:01:01.4098433+02:00" finish="2026-10-14T11:01:02.1526156+02:00" />
<TestSettings name="default" id="875d8470-71a4-4d6d-a447-5df7fff625b0">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_11_01_02" />
</TestSettings>
<Results>
<UnitTestResult executionId="1fec749e-dc56-49c9-8b0e-bdc491b7ff66" testId="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.7321134+02:00" endTime="2026-10-14T11:01:01.8156416+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="1fec749e-dc56-49c9-8b0e-bdc491b7ff66">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="5c84e08f-be37-41ac-85ea-31af20df1404" testId="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.9680260+02:00" endTime="2026-10-14T11:01:01.9981027+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5c84e08f-be37-41ac-85ea-31af20df1404">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="5f167055-e782-4282-bc99-acbd67b7bfe0" testId="a3f3e686-78b7-fec4-b744-2d4a92c76794" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.9377058+02:00" endTime="2026-10-14T11:01:01.9673058+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5f167055-e782-4282-bc99-acbd67b7bfe0">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="1d0d3079-701b-4640-9950-ca232f235695" testId="1385a556-026d-b655-7b21-e6c996464aec" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.8491653+02:00" endTime="2026-10-14T11:01:01.8775667+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="1d0d3079-701b-4640-9950-ca232f235695">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="e5a2ee9d-a7f2-43a0-9abc-2c68f9a631d1" testId="d151b1e9-61ac-90a1-6c02-76c88e3da824" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.9986027+02:00" endTime="2026-10-14T11:01:02.0275628+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="e5a2ee9d-a7f2-43a0-9abc-2c68f9a631d1">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="f3213aed-aebb-40f8-8754-085e9a37d057" testId="c7be57a9-b108-a6a4-0846-d6e8009a96cb" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.9084955+02:00" endTime="2026-10-14T11:01:01.9370735+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="f3213aed-aebb-40f8-8754-085e9a37d057">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="b0151109-6496-4cc9-b26a-5770cfd2a627" testId="0ccbe890-e433-3285-4e9d-d0315ac5ec1b" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:02.0280422+02:00" endTime="2026-10-14T11:01:02.0573848+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b0151109-6496-4cc9-b26a-5770cfd2a627">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="c13b31ef-ba9f-40c0-9fe4-835b48a5f397" testId="460e355f-b922-f479-a62a-92fef41bf55f" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.8782015+02:00" endTime="2026-10-14T11:01:01.9078292+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c13b31ef-ba9f-40c0-9fe4-835b48a5f397">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
<UnitTestResult executionId="e6aae738-dd4e-4b84-9b81-070598f88806" testId="999b97b7-dc66-a8b8-de5d-03f15582b2b0" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0010000" startTime="2026-10-14T11:01:01.8243568+02:00" endTime="2026-10-14T11:01:01.8480054+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="e6aae738-dd4e-4b84-9b81-070598f88806">
<Output>
<ErrorInfo>
<Message>System.InvalidOperationException : Authentication:KeyDirectory is required.</Message>
<StackTrace> at HealthApp.Program.Main(String[] args) in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs:line 20
at HealthApp.Program.&lt;Main&gt;(String[] args)
at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor() in /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs:line 38
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)</StackTrace>
</ErrorInfo>
</Output>
</UnitTestResult>
</Results>
<TestDefinitions>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="a3f3e686-78b7-fec4-b744-2d4a92c76794">
<Execution id="5f167055-e782-4282-bc99-acbd67b7bfe0" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="d151b1e9-61ac-90a1-6c02-76c88e3da824">
<Execution id="e5a2ee9d-a7f2-43a0-9abc-2c68f9a631d1" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="999b97b7-dc66-a8b8-de5d-03f15582b2b0">
<Execution id="e6aae738-dd4e-4b84-9b81-070598f88806" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="0ccbe890-e433-3285-4e9d-d0315ac5ec1b">
<Execution id="b0151109-6496-4cc9-b26a-5770cfd2a627" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="c7be57a9-b108-a6a4-0846-d6e8009a96cb">
<Execution id="f3213aed-aebb-40f8-8754-085e9a37d057" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa">
<Execution id="1fec749e-dc56-49c9-8b0e-bdc491b7ff66" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8">
<Execution id="5c84e08f-be37-41ac-85ea-31af20df1404" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="460e355f-b922-f479-a62a-92fef41bf55f">
<Execution id="c13b31ef-ba9f-40c0-9fe4-835b48a5f397" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="1385a556-026d-b655-7b21-e6c996464aec">
<Execution id="1d0d3079-701b-4640-9950-ca232f235695" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa" executionId="1fec749e-dc56-49c9-8b0e-bdc491b7ff66" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8" executionId="5c84e08f-be37-41ac-85ea-31af20df1404" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a3f3e686-78b7-fec4-b744-2d4a92c76794" executionId="5f167055-e782-4282-bc99-acbd67b7bfe0" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1385a556-026d-b655-7b21-e6c996464aec" executionId="1d0d3079-701b-4640-9950-ca232f235695" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d151b1e9-61ac-90a1-6c02-76c88e3da824" executionId="e5a2ee9d-a7f2-43a0-9abc-2c68f9a631d1" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="c7be57a9-b108-a6a4-0846-d6e8009a96cb" executionId="f3213aed-aebb-40f8-8754-085e9a37d057" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0ccbe890-e433-3285-4e9d-d0315ac5ec1b" executionId="b0151109-6496-4cc9-b26a-5770cfd2a627" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="460e355f-b922-f479-a62a-92fef41bf55f" executionId="c13b31ef-ba9f-40c0-9fe4-835b48a5f397" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="999b97b7-dc66-a8b8-de5d-03f15582b2b0" executionId="e6aae738-dd4e-4b84-9b81-070598f88806" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Failed">
<Counters total="9" executed="9" passed="0" failed="9" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.07] Discovered: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.08] Starting: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.18] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.18] Stack Trace:
[xUnit.net 00:00:00.18] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.18] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.18] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:00:00.18] at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
[xUnit.net 00:00:00.18] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.18] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.18] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.18] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.18] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.18] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.21] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.21] Stack Trace:
[xUnit.net 00:00:00.21] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.21] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.21] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.21] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.21] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.21] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.21] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.21] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.21] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.21] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.24] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.24] Stack Trace:
[xUnit.net 00:00:00.24] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.24] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.24] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.24] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.24] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.24] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.24] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.24] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.24] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.24] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.27] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.27] Stack Trace:
[xUnit.net 00:00:00.27] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.27] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.27] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.27] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.27] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.27] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.27] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.27] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.27] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.27] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.30] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.30] Stack Trace:
[xUnit.net 00:00:00.30] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.30] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.30] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.30] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.30] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.30] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.30] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.30] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.30] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.30] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.33] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.33] Stack Trace:
[xUnit.net 00:00:00.33] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.33] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.33] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.33] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.33] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.33] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.33] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.33] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.33] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.33] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.36] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.36] Stack Trace:
[xUnit.net 00:00:00.36] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.36] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.36] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.36] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.36] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.36] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.36] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.36] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.36] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.36] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.39] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.39] Stack Trace:
[xUnit.net 00:00:00.39] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.39] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.39] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.39] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.39] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.39] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.39] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.39] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.39] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.39] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.42] System.InvalidOperationException : Authentication:KeyDirectory is required.
[xUnit.net 00:00:00.42] Stack Trace:
[xUnit.net 00:00:00.42] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/src/HealthApp/Program.cs(20,0): at HealthApp.Program.Main(String[] args)
[xUnit.net 00:00:00.42] at HealthApp.Program.&lt;Main&gt;(String[] args)
[xUnit.net 00:00:00.42] at InvokeStub_Program.&lt;Main&gt;(Object, Span`1)
[xUnit.net 00:00:00.42] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[xUnit.net 00:00:00.42] --- End of stack trace from previous location ---
[xUnit.net 00:00:00.42] at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
[xUnit.net 00:00:00.42] at Microsoft.Extensions.Hosting.HostFactoryResolver.&lt;&gt;c__DisplayClass10_0.&lt;ResolveHostFactory&gt;b__0(String[] args)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.StartServer()
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
[xUnit.net 00:00:00.42] at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
[xUnit.net 00:00:00.42] /home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/MeasurementGuidanceTests.cs(38,0): at PatientProfile.AcceptanceTests.MeasurementGuidanceTests..ctor()
[xUnit.net 00:00:00.42] at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
[xUnit.net 00:00:00.42] Finished: HealthApp.AcceptanceTests
</StdOut>
</Output>
<RunInfos>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.8174650+02:00">
<Text>[xUnit.net 00:00:00.18] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: "activityCondition=Unsupported") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.8483232+02:00">
<Text>[xUnit.net 00:00:00.21] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: "setting=Unsupported") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.8778752+02:00">
<Text>[xUnit.net 00:00:00.24] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: "DuringActivity") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.9081195+02:00">
<Text>[xUnit.net 00:00:00.27] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: "AfterActivity") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.9373571+02:00">
<Text>[xUnit.net 00:00:00.30] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: "") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.9675788+02:00">
<Text>[xUnit.net 00:00:00.33] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: "?setting=Home") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:01.9983837+02:00">
<Text>[xUnit.net 00:00:00.36] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: "?setting=Unknown") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:02.0278599+02:00">
<Text>[xUnit.net 00:00:00.39] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: "Other") [FAIL]</Text>
</RunInfo>
<RunInfo computerName="Sil3ntDragon" outcome="Error" timestamp="2026-10-14T11:01:02.0577124+02:00">
<Text>[xUnit.net 00:00:00.42] PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: "Clinic") [FAIL]</Text>
</RunInfo>
</RunInfos>
</ResultSummary>
</TestRun>
@@ -0,0 +1,334 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="c4ee3036-075b-44ac-90d2-30942232c9c5" name="@Sil3ntDragon 2026-10-14 11:16:31" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T11:16:31.9345335+02:00" queuing="2026-10-14T11:16:31.9345335+02:00" start="2026-10-14T11:16:30.5473810+02:00" finish="2026-10-14T11:16:31.9385768+02:00" />
<TestSettings name="default" id="cb865b8a-861d-4322-b509-ebb504264520">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_11_16_31" />
</TestSettings>
<Results>
<UnitTestResult executionId="b8e0e7fb-2da4-4910-9ae6-ec31b24e7703" testId="1385a556-026d-b655-7b21-e6c996464aec" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0810011" startTime="2026-10-14T11:16:31.2464930+02:00" endTime="2026-10-14T11:16:31.3275362+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b8e0e7fb-2da4-4910-9ae6-ec31b24e7703" />
<UnitTestResult executionId="70fd8c2a-e2e2-47e6-bfa0-ae10973efd92" testId="a3f3e686-78b7-fec4-b744-2d4a92c76794" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0749991" startTime="2026-10-14T11:16:31.4949078+02:00" endTime="2026-10-14T11:16:31.5700243+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="70fd8c2a-e2e2-47e6-bfa0-ae10973efd92" />
<UnitTestResult executionId="5336a114-2a6e-4040-b394-883d5f1d8a7b" testId="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.2503628" startTime="2026-10-14T11:16:30.8921629+02:00" endTime="2026-10-14T11:16:31.1472014+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5336a114-2a6e-4040-b394-883d5f1d8a7b" />
<UnitTestResult executionId="87d1549d-b101-47af-8d83-71ac2de6ab9d" testId="999b97b7-dc66-a8b8-de5d-03f15582b2b0" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0977297" startTime="2026-10-14T11:16:31.1519067+02:00" endTime="2026-10-14T11:16:31.2455344+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="87d1549d-b101-47af-8d83-71ac2de6ab9d" />
<UnitTestResult executionId="465a4f24-1d8f-45f8-a65e-70debc1317ff" testId="0ccbe890-e433-3285-4e9d-d0315ac5ec1b" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" computerName="Sil3ntDragon" duration="00:00:00.1080704" startTime="2026-10-14T11:16:31.7463680+02:00" endTime="2026-10-14T11:16:31.8545454+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="465a4f24-1d8f-45f8-a65e-70debc1317ff" />
<UnitTestResult executionId="cba9e407-85d5-42a3-90df-a8a1fa0ea635" testId="d151b1e9-61ac-90a1-6c02-76c88e3da824" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0986547" startTime="2026-10-14T11:16:31.6473069+02:00" endTime="2026-10-14T11:16:31.7462455+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="cba9e407-85d5-42a3-90df-a8a1fa0ea635" />
<UnitTestResult executionId="c35db20b-d487-4799-941b-f4e3d610cd17" testId="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0767459" startTime="2026-10-14T11:16:31.5701004+02:00" endTime="2026-10-14T11:16:31.6471973+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c35db20b-d487-4799-941b-f4e3d610cd17" />
<UnitTestResult executionId="cb398e6c-ec91-4ba0-ae80-5fb1328f423a" testId="c7be57a9-b108-a6a4-0846-d6e8009a96cb" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0861596" startTime="2026-10-14T11:16:31.4084826+02:00" endTime="2026-10-14T11:16:31.4948128+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="cb398e6c-ec91-4ba0-ae80-5fb1328f423a" />
<UnitTestResult executionId="5a4b3249-0efa-48cd-919c-0839c1432642" testId="460e355f-b922-f479-a62a-92fef41bf55f" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0806245" startTime="2026-10-14T11:16:31.3276423+02:00" endTime="2026-10-14T11:16:31.4083564+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5a4b3249-0efa-48cd-919c-0839c1432642" />
</Results>
<TestDefinitions>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="a3f3e686-78b7-fec4-b744-2d4a92c76794">
<Execution id="70fd8c2a-e2e2-47e6-bfa0-ae10973efd92" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="d151b1e9-61ac-90a1-6c02-76c88e3da824">
<Execution id="cba9e407-85d5-42a3-90df-a8a1fa0ea635" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="999b97b7-dc66-a8b8-de5d-03f15582b2b0">
<Execution id="87d1549d-b101-47af-8d83-71ac2de6ab9d" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="0ccbe890-e433-3285-4e9d-d0315ac5ec1b">
<Execution id="465a4f24-1d8f-45f8-a65e-70debc1317ff" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="c7be57a9-b108-a6a4-0846-d6e8009a96cb">
<Execution id="cb398e6c-ec91-4ba0-ae80-5fb1328f423a" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa">
<Execution id="5336a114-2a6e-4040-b394-883d5f1d8a7b" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8">
<Execution id="c35db20b-d487-4799-941b-f4e3d610cd17" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="460e355f-b922-f479-a62a-92fef41bf55f">
<Execution id="5a4b3249-0efa-48cd-919c-0839c1432642" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="1385a556-026d-b655-7b21-e6c996464aec">
<Execution id="b8e0e7fb-2da4-4910-9ae6-ec31b24e7703" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="1385a556-026d-b655-7b21-e6c996464aec" executionId="b8e0e7fb-2da4-4910-9ae6-ec31b24e7703" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a3f3e686-78b7-fec4-b744-2d4a92c76794" executionId="70fd8c2a-e2e2-47e6-bfa0-ae10973efd92" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa" executionId="5336a114-2a6e-4040-b394-883d5f1d8a7b" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="999b97b7-dc66-a8b8-de5d-03f15582b2b0" executionId="87d1549d-b101-47af-8d83-71ac2de6ab9d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0ccbe890-e433-3285-4e9d-d0315ac5ec1b" executionId="465a4f24-1d8f-45f8-a65e-70debc1317ff" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d151b1e9-61ac-90a1-6c02-76c88e3da824" executionId="cba9e407-85d5-42a3-90df-a8a1fa0ea635" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8" executionId="c35db20b-d487-4799-941b-f4e3d610cd17" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="c7be57a9-b108-a6a4-0846-d6e8009a96cb" executionId="cb398e6c-ec91-4ba0-ae80-5fb1328f423a" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="460e355f-b922-f479-a62a-92fef41bf55f" executionId="5a4b3249-0efa-48cd-919c-0839c1432642" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="9" executed="9" passed="9" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.07] Discovered: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.08] Starting: HealthApp.AcceptanceTests
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {c2cf000e-5c65-4cb3-88d0-b7181ad9d702} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {c2cf000e-5c65-4cb3-88d0-b7181ad9d702} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-9f604413-fae6-4ee0-aa38-f907a5b78fbb/key-c2cf000e-5c65-4cb3-88d0-b7181ad9d702.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?activityCondition=Unsupported - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 24.2726ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?activityCondition=Unsupported - 400 - application/problem+json;+charset=utf-8 53.6183ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {75c21c96-1a37-4c73-9f38-ccb8e4fb1517} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {75c21c96-1a37-4c73-9f38-ccb8e4fb1517} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-90123cb4-1219-4447-9f0c-b4404cc5a6bc/key-75c21c96-1a37-4c73-9f38-ccb8e4fb1517.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unsupported - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 1.8316ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unsupported - 400 - application/problem+json;+charset=utf-8 6.5063ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {7808f6b1-0101-40da-8f10-7006b5da4a5f} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {7808f6b1-0101-40da-8f10-7006b5da4a5f} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-f8afc6a9-a029-411a-b24b-11bb1fb3076d/key-7808f6b1-0101-40da-8f10-7006b5da4a5f.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=DuringActivity - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 4.9928ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=DuringActivity - 200 - application/json;+charset=utf-8 6.3453ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {0d6aaa8e-447f-4529-ab84-ac8d5c719e69} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {0d6aaa8e-447f-4529-ab84-ac8d5c719e69} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-1dfde0ba-4842-45c0-bf12-d0b2ff95ebdc/key-0d6aaa8e-447f-4529-ab84-ac8d5c719e69.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=AfterActivity - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.679ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=AfterActivity - 200 - application/json;+charset=utf-8 1.7156ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {efe8ae81-98af-45cc-a63a-957208e8c96e} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {efe8ae81-98af-45cc-a63a-957208e8c96e} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-e2a49c50-112a-43c7-b591-f1decd21c427/key-efe8ae81-98af-45cc-a63a-957208e8c96e.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.9749ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance - 200 - application/json;+charset=utf-8 1.9312ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {3ce6aaad-e03d-4b73-bac8-8d19f9df6efd} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {3ce6aaad-e03d-4b73-bac8-8d19f9df6efd} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-09de9be8-ee4e-4201-8665-7f74e13c7c3c/key-3ce6aaad-e03d-4b73-bac8-8d19f9df6efd.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.5815ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home - 200 - application/json;+charset=utf-8 1.5157ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {e208e7ca-a97b-4bec-bb20-74b9d6a009fc} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {e208e7ca-a97b-4bec-bb20-74b9d6a009fc} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-4c8a1a0a-1dfd-475e-9f66-6254c8b0613b/key-e208e7ca-a97b-4bec-bb20-74b9d6a009fc.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unknown - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.6609ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unknown - 200 - application/json;+charset=utf-8 1.9444ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {ac1057b1-45f9-4fc2-8ed2-c7036314981b} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {ac1057b1-45f9-4fc2-8ed2-c7036314981b} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-f4436cdb-c68c-4218-880d-c46704d56473/key-ac1057b1-45f9-4fc2-8ed2-c7036314981b.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Other - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 10.6828ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Other - 200 - application/json;+charset=utf-8 11.8828ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {9a725a96-e97b-4c36-87c1-558987c959ba} with creation date 2026-10-14 09:16:31Z, activation date 2026-10-14 09:16:31Z, and expiration date 2027-01-12 09:16:31Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {9a725a96-e97b-4c36-87c1-558987c959ba} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-002224bb-9d84-4977-ab20-1ac552813585/key-9a725a96-e97b-4c36-87c1-558987c959ba.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Clinic - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.7003ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Clinic - 200 - application/json;+charset=utf-8 2.0689ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
[xUnit.net 00:00:01.06] Finished: HealthApp.AcceptanceTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
@@ -0,0 +1,406 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRun id="9f7d8a90-1031-40dd-9fdb-d387147b9c91" name="@Sil3ntDragon 2026-10-14 11:19:11" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Times creation="2026-10-14T11:19:11.7610389+02:00" queuing="2026-10-14T11:19:11.7610390+02:00" start="2026-10-14T11:19:10.5354661+02:00" finish="2026-10-14T11:19:11.8427296+02:00" />
<TestSettings name="default" id="ec1489b2-96c0-4684-b1f0-ad9e3b2a47f3">
<Deployment runDeploymentRoot="_Sil3ntDragon_2026-10-14_11_19_11" />
</TestSettings>
<Results>
<UnitTestResult executionId="68f731bc-9a49-4f32-b174-42b1005a3b7c" testId="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" computerName="Sil3ntDragon" duration="00:00:00.1056718" startTime="2026-10-14T11:19:11.5362093+02:00" endTime="2026-10-14T11:19:11.6421451+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="68f731bc-9a49-4f32-b174-42b1005a3b7c" />
<UnitTestResult executionId="f4b05358-39f7-4e93-8afa-051c20e6cfec" testId="1385a556-026d-b655-7b21-e6c996464aec" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0744663" startTime="2026-10-14T11:19:11.2119225+02:00" endTime="2026-10-14T11:19:11.2863302+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="f4b05358-39f7-4e93-8afa-051c20e6cfec" />
<UnitTestResult executionId="0cf6c265-b895-47ba-8e75-f0be88c37489" testId="bfe21a36-22df-1329-34cc-2d964e39c592" testName="HealthApp.AcceptanceTests.FoundationTests.Framework_login_retains_identity_generic_failures_and_no_service_key_bypass" computerName="Sil3ntDragon" duration="00:00:00.3265506" startTime="2026-10-14T11:19:10.8640835+02:00" endTime="2026-10-14T11:19:11.1938935+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="0cf6c265-b895-47ba-8e75-f0be88c37489" />
<UnitTestResult executionId="2d5705a8-0105-4253-87cf-8a86cb3e4151" testId="c7be57a9-b108-a6a4-0846-d6e8009a96cb" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0917517" startTime="2026-10-14T11:19:11.3668829+02:00" endTime="2026-10-14T11:19:11.4588128+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="2d5705a8-0105-4253-87cf-8a86cb3e4151" />
<UnitTestResult executionId="9b5b5479-2ca9-4f04-99d3-486d0624883b" testId="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.2566433" startTime="2026-10-14T11:19:10.8648616+02:00" endTime="2026-10-14T11:19:11.1241517+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="9b5b5479-2ca9-4f04-99d3-486d0624883b" />
<UnitTestResult executionId="f900c754-85c3-4e8b-858c-6dbfe4906553" testId="0ccbe890-e433-3285-4e9d-d0315ac5ec1b" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0769088" startTime="2026-10-14T11:19:11.7393101+02:00" endTime="2026-10-14T11:19:11.7983312+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="f900c754-85c3-4e8b-858c-6dbfe4906553" />
<UnitTestResult executionId="951a89c5-16c6-4461-a67f-4a9dfe5319fd" testId="a3f3e686-78b7-fec4-b744-2d4a92c76794" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0769831" startTime="2026-10-14T11:19:11.4589123+02:00" endTime="2026-10-14T11:19:11.5360490+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="951a89c5-16c6-4461-a67f-4a9dfe5319fd" />
<UnitTestResult executionId="b70443ce-7dc2-4310-bd90-efaa0f020207" testId="d151b1e9-61ac-90a1-6c02-76c88e3da824" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0787553" startTime="2026-10-14T11:19:11.6424153+02:00" endTime="2026-10-14T11:19:11.7211847+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b70443ce-7dc2-4310-bd90-efaa0f020207" />
<UnitTestResult executionId="eca53316-211f-4bbc-b467-3bbe21413c2f" testId="460e355f-b922-f479-a62a-92fef41bf55f" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0802165" startTime="2026-10-14T11:19:11.2864241+02:00" endTime="2026-10-14T11:19:11.3667587+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="eca53316-211f-4bbc-b467-3bbe21413c2f" />
<UnitTestResult executionId="ffc7e57c-f4de-4f33-abbb-8252ec2c5629" testId="999b97b7-dc66-a8b8-de5d-03f15582b2b0" testName="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" computerName="Sil3ntDragon" duration="00:00:00.0869384" startTime="2026-10-14T11:19:11.1291366+02:00" endTime="2026-10-14T11:19:11.2116175+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ffc7e57c-f4de-4f33-abbb-8252ec2c5629" />
</Results>
<TestDefinitions>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Home&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="a3f3e686-78b7-fec4-b744-2d4a92c76794">
<Execution id="951a89c5-16c6-4461-a67f-4a9dfe5319fd" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Other&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="d151b1e9-61ac-90a1-6c02-76c88e3da824">
<Execution id="b70443ce-7dc2-4310-bd90-efaa0f020207" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;setting=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="999b97b7-dc66-a8b8-de5d-03f15582b2b0">
<Execution id="ffc7e57c-f4de-4f33-abbb-8252ec2c5629" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions(setting: &quot;Clinic&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="0ccbe890-e433-3285-4e9d-d0315ac5ec1b">
<Execution id="f900c754-85c3-4e8b-858c-6dbfe4906553" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Unsupported_guidance_is_explicitly_unavailable_without_unverified_instructions" />
</UnitTest>
<UnitTest name="HealthApp.AcceptanceTests.FoundationTests.Framework_login_retains_identity_generic_failures_and_no_service_key_bypass" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="bfe21a36-22df-1329-34cc-2d964e39c592">
<Execution id="0cf6c265-b895-47ba-8e75-f0be88c37489" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="HealthApp.AcceptanceTests.FoundationTests" name="Framework_login_retains_identity_generic_failures_and_no_service_key_bypass" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="c7be57a9-b108-a6a4-0846-d6e8009a96cb">
<Execution id="2d5705a8-0105-4253-87cf-8a86cb3e4151" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Invalid_categories_return_explained_rejections(query: &quot;activityCondition=Unsupported&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa">
<Execution id="9b5b5479-2ca9-4f04-99d3-486d0624883b" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Invalid_categories_return_explained_rejections" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions(query: &quot;?setting=Unknown&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8">
<Execution id="68f731bc-9a49-4f32-b174-42b1005a3b7c" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Public_guidance_without_patient_records_is_labelled_and_has_ordered_sourced_instructions" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;AfterActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="460e355f-b922-f479-a62a-92fef41bf55f">
<Execution id="eca53316-211f-4bbc-b467-3bbe21413c2f" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
<UnitTest name="PatientProfile.AcceptanceTests.MeasurementGuidanceTests.Activity_is_not_relabelled_as_rest_or_certified(activity: &quot;DuringActivity&quot;)" storage="/home/steffen/nextcloud/documents/master thesis/healthapprepositoryb/tests/healthapp.acceptancetests/bin/release/net10.0/healthapp.acceptancetests.dll" id="1385a556-026d-b655-7b21-e6c996464aec">
<Execution id="f4b05358-39f7-4e93-8afa-051c20e6cfec" />
<TestMethod codeBase="/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepositoryB/tests/HealthApp.AcceptanceTests/bin/Release/net10.0/HealthApp.AcceptanceTests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="PatientProfile.AcceptanceTests.MeasurementGuidanceTests" name="Activity_is_not_relabelled_as_rest_or_certified" />
</UnitTest>
</TestDefinitions>
<TestEntries>
<TestEntry testId="ce23effe-bf5b-5160-5cc4-38cc9c3a6da8" executionId="68f731bc-9a49-4f32-b174-42b1005a3b7c" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="1385a556-026d-b655-7b21-e6c996464aec" executionId="f4b05358-39f7-4e93-8afa-051c20e6cfec" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="bfe21a36-22df-1329-34cc-2d964e39c592" executionId="0cf6c265-b895-47ba-8e75-f0be88c37489" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="c7be57a9-b108-a6a4-0846-d6e8009a96cb" executionId="2d5705a8-0105-4253-87cf-8a86cb3e4151" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="43ac7d4e-ea0b-9ae7-6848-a0ab13f166aa" executionId="9b5b5479-2ca9-4f04-99d3-486d0624883b" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="0ccbe890-e433-3285-4e9d-d0315ac5ec1b" executionId="f900c754-85c3-4e8b-858c-6dbfe4906553" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="a3f3e686-78b7-fec4-b744-2d4a92c76794" executionId="951a89c5-16c6-4461-a67f-4a9dfe5319fd" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="d151b1e9-61ac-90a1-6c02-76c88e3da824" executionId="b70443ce-7dc2-4310-bd90-efaa0f020207" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="460e355f-b922-f479-a62a-92fef41bf55f" executionId="eca53316-211f-4bbc-b467-3bbe21413c2f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestEntry testId="999b97b7-dc66-a8b8-de5d-03f15582b2b0" executionId="ffc7e57c-f4de-4f33-abbb-8252ec2c5629" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<ResultSummary outcome="Completed">
<Counters total="10" executed="10" passed="10" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
<Output>
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.5+1b188a7b0a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.04] Discovering: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.07] Discovered: HealthApp.AcceptanceTests
[xUnit.net 00:00:00.08] Starting: HealthApp.AcceptanceTests
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {c3aec058-bf6f-476d-8fc7-78dd270edba4} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {8e212ea2-4bf7-4ce6-a79a-1e588e647b72} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {c3aec058-bf6f-476d-8fc7-78dd270edba4} may be persisted to storage in unencrypted form.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {8e212ea2-4bf7-4ce6-a79a-1e588e647b72} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-fa5a3ab0-87e0-4182-b30a-f8d2923d1130/key-8e212ea2-4bf7-4ce6-a79a-1e588e647b72.xml'.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-1a75320f-a0b8-4645-8bc9-c10aa7e0986a/key-c3aec058-bf6f-476d-8fc7-78dd270edba4.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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 started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?activityCondition=Unsupported - - -
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://localhost/api/authentication/login - application/json;+charset=utf-8 65
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.AuthenticationController.Login (HealthApp)'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Login", controller = "Authentication"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Login(LoginRequest) on controller HealthApp.Controllers.AuthenticationController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 19.7029ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?activityCondition=Unsupported - 400 - application/problem+json;+charset=utf-8 48.1084ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType1`5[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int64, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.AuthenticationController.Login (HealthApp) in 43.2507ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.AuthenticationController.Login (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://localhost/api/authentication/login - 200 - application/json;+charset=utf-8 59.8164ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://localhost/api/authentication/login - application/json;+charset=utf-8 60
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.AuthenticationController.Login (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Login", controller = "Authentication"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Login(LoginRequest) on controller HealthApp.Controllers.AuthenticationController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing UnauthorizedObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.AuthenticationController.Login (HealthApp) in 28.4653ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.AuthenticationController.Login (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://localhost/api/authentication/login - 401 - application/json;+charset=utf-8 29.4385ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://localhost/api/authentication/login - application/json;+charset=utf-8 41
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.AuthenticationController.Login (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Login", controller = "Authentication"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Login(LoginRequest) on controller HealthApp.Controllers.AuthenticationController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing UnauthorizedObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.AuthenticationController.Login (HealthApp) in 27.8326ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.AuthenticationController.Login (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://localhost/api/authentication/login - 401 - application/json;+charset=utf-8 29.4322ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/professionals/me/patients - - -
info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]
Authorization failed. These requirements were not met:
RolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles: (HealthcareProfessional)
ClaimsAuthorizationRequirement:Claim.Type=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier
info: Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenHandler[12]
AuthenticationScheme: Bearer was challenged.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/professionals/me/patients - 401 - - 2.3668ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {f25614a5-6bac-4f35-b7a9-8bb74d768a7f} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {f25614a5-6bac-4f35-b7a9-8bb74d768a7f} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-487c734e-7aab-4d19-ac81-acf8ece13ae2/key-f25614a5-6bac-4f35-b7a9-8bb74d768a7f.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unsupported - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 1.0718ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unsupported - 400 - application/problem+json;+charset=utf-8 2.6086ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {b41cc0e4-5a73-43de-9057-3c97e8aedaf5} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {b41cc0e4-5a73-43de-9057-3c97e8aedaf5} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-fb39beea-b60d-479d-b013-9b5b953f0722/key-b41cc0e4-5a73-43de-9057-3c97e8aedaf5.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=DuringActivity - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 3.1896ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=DuringActivity - 200 - application/json;+charset=utf-8 4.0928ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {3ab516ba-4dc2-4d8f-a0ae-28b16674c140} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {3ab516ba-4dc2-4d8f-a0ae-28b16674c140} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-2e66b0ff-817b-4605-8ae9-86d57b3fb063/key-3ab516ba-4dc2-4d8f-a0ae-28b16674c140.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=AfterActivity - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 1.3471ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home&amp;activityCondition=AfterActivity - 200 - application/json;+charset=utf-8 2.3713ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {d367c65f-801e-40a0-b92d-1f5aea2c325e} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {d367c65f-801e-40a0-b92d-1f5aea2c325e} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-8ea7b768-9dee-4936-9d2e-abc870eb29ff/key-d367c65f-801e-40a0-b92d-1f5aea2c325e.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.7463ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance - 200 - application/json;+charset=utf-8 2.0559ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {8da336e3-2e4a-4e25-89dd-b8a406a66725} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {8da336e3-2e4a-4e25-89dd-b8a406a66725} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-631cd989-135f-46f0-b4b7-747bb07a77d3/key-8da336e3-2e4a-4e25-89dd-b8a406a66725.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.6688ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Home - 200 - application/json;+charset=utf-8 1.7717ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {169ec021-cda7-409b-a57d-492096f69cf7} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {169ec021-cda7-409b-a57d-492096f69cf7} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-c2bd7a26-ae5c-48ec-809d-bd4a0b838708/key-169ec021-cda7-409b-a57d-492096f69cf7.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unknown - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.9975ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Unknown - 200 - application/json;+charset=utf-8 2.4104ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {968cecfb-ea28-442f-af14-2aaca14e399e} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {968cecfb-ea28-442f-af14-2aaca14e399e} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-fd062b1d-12e2-4cd6-b7c7-26e91fc30c96/key-968cecfb-ea28-442f-af14-2aaca14e399e.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Other - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.7313ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Other - 200 - application/json;+charset=utf-8 1.9246ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Creating key {2fd39ed7-a881-4fb6-9e62-4483e0803dc7} with creation date 2026-10-14 09:19:11Z, activation date 2026-10-14 09:19:11Z, and expiration date 2027-01-12 09:19:11Z.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {2fd39ed7-a881-4fb6-9e62-4483e0803dc7} may be persisted to storage in unencrypted form.
info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
Writing data to file '/tmp/healthapp-keys-fd526616-33b3-424b-bdeb-54593da27a06/key-2fd39ed7-a881-4fb6-9e62-4483e0803dc7.xml'.
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut 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.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Clinic - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[102]
Route matched with {action = "Get", controller = "MeasurementGuidance"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, System.String) on controller HealthApp.Controllers.MeasurementGuidanceController (HealthApp).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing OkObjectResult, writing value of type '&lt;&gt;f__AnonymousType0`12[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceStep[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[HealthApp.Guidance.GuidanceQueries+GuidanceSource[], Guidance, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp) in 0.9546ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'HealthApp.Controllers.MeasurementGuidanceController.Get (HealthApp)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://localhost/api/measurement-guidance?setting=Clinic - 200 - application/json;+charset=utf-8 2.9135ms
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
[xUnit.net 00:00:01.03] Finished: HealthApp.AcceptanceTests
</StdOut>
</Output>
</ResultSummary>
</TestRun>
@@ -0,0 +1,65 @@
# Functional preservation and verification plan
Prepared 2026-10-14. **Architecture A baseline: 299 automated cases passed. Architecture B final solution: 283 cases passed, no failures/skips, plus actual native local/remote installation evidence.** This establishes reference evidence, not clinical validation. This register records the implemented preservation and its verification limits. [Acceptance register](acceptance-register.md) carries all 146 common/US-01–US-15 criterion IDs/outcomes from the target traceability table; outline cases are retained. Each entry now links concrete executed methods; theory expansions are recorded in TRX.
| Requirement | Original suites / evidence | Preserve and verify |
| --- | --- | --- |
| Common | History, context-filtered history, insight, trend and overview tests | Inclusive/equal/reversed periods for all four operations; UTC offset-free semantics independent of machine timezone; AND/Unknown selections; complete history; role/ownership restrictions across all operations |
| US-01 | `CreatePatientTests`, `PatientAuthenticationTests` | Required fields, generated distinct IDs, trusted account, initial/duplicate/retry/concurrent creation, interrupted rollback, durable unique association and `/me` recovery |
| US-02 | `CreatePatientTests`, professional access tests | Saved ID/name/birth/contact; permitted missing-data and non-disclosing unauthorized result |
| US-03 | `UpdatePatientTests` | Correct contact/name, preserve ID/birth/association/original time, no insertion for missing row, atomic rejection and restart |
| US-04 | `RecordObservationTests`, `RecordMeasurementContextTests` | Timestamp/positive values, existing authorized profile, IDs/restart, full/partial/absent context, valid after-activity, invalid category rejection, original narrative preservation |
| US-05 | `ViewObservationContextTests`, recording/auth/professional tests | Actual owner and complete current saved context/values/timestamp; Unknown and historical prose; missing/forbidden without disclosure |
| US-06 | `LatestObservationTests` | Measurement/original-recording/greatest UUID-byte precedence, immutable original time after edit, current context, no substitution for suitability and no-observation result |
| US-07 | `ObservationHistoryTests`, `ContextFilteredHistoryTests` | Ascending patient-only inclusive history; independent/combined/Unknown selections and applied headers; empty array; invalid periods/categories; restart |
| US-08 | `UpdateObservationTests`, `PatchObservationTests` | Full numerical PUT and partial PATCH; omitted/set/null/clear distinction, preserved identity/time/unmentioned fields; empty/unsupported/invalid input atomically rejected; current selection membership |
| US-09 | `DeleteObservationTests`, `DeleteContextualisedObservationTests` | 204 success, missing/repeated 404, row/context removal from all later reads/results, unaffected other observations/profile; denied deletion no writes |
| US-10 | `HealthInsightTests`, `ContextSelectedInsightTests` | Exact decimal means/final half-up/no intermediate rounding, BP extrema, one/zero results, count/basis/context explanations, current corrections/deletions and selection/period/patient scope |
| US-11 | `HealthTrendTests` | Three distinct metric/unit results; unchanged full-period formula, equal-time grouping, reversals/raw excursions, insufficiency and order independence; current selection/data/context; reviewed metric-specific reference/claims and narrative limits |
| US-12 | `HealthOverviewTests` | Profile plus latest overall plus selected-period insight only; separate bases/context/count/absence explanations; nullable parts and no trend; current data/authorization; coherent target snapshot |
| US-13 | `PatientAuthenticationTests`, `AuthenticationIntegrationTests` | Generic credential failures, no-profile login/create, all endpoint authentication/access failures, expiry/tampering/restart, caller identity spoof rejection and normalized replacement provider |
| US-14 | `ProfessionalAccessTests`, story-specific professional cases | Many-to-many predefined assignments, own empty/populated list, assigned reads and missing data, unassigned denial, every write forbidden, patient professional-only denial; fresh configuration after restart |
| US-15 | `MeasurementGuidanceTests`, record tests | Public sourced ordered existing guidance, home applicability/unknown label, clinic/other unavailable, pulse/context limits, no writes/certification/submission gate, DB-independent public endpoint |
| Revised US-16 | `InstallationTests`, `BootstrapTests`; proposal revision | Approval needed for changed topology. New app PID/unit/HTTPS/config/DB/roles/dependency install/certificate trust/no-overwrite and stop/restart/workflow proof; remote verified DB TLS, no local PostgreSQL installation |
## Test preservation and adaptation rules
Preserve unchanged original tests as pinned baseline evidence in B after approval; do not execute them from the source repository. In final test projects replace only architecture-dependent fixture/wiring and explicitly approved topology/status assertions. Fixture uses one real HTTP application host and isolated PostgreSQL database with both module-owned schemas. Independent response contracts, functional assertions and failure/no-write intent remain. Test internals may seed state through explicitly scoped test support without exporting production repositories.
Original fixtures create random separate databases, migrate twice, start Kestrel hosts and support stopping individual services. Their service-stop, direct-backend/service-key and five-unit assertions cannot apply literally to B. Record replacements per method: internal key/header bypass tests become rejection of forged identity headers and absence of internal routes; upstream-stop tests become DB/transaction/deadline failure injection with non-disclosure/no-write/no-false-absence; independent feature installation tests become approved single-app/local-or-remote DB verification. These changes need Q1 approval and must not be hidden as ordinary rewiring.
Baseline schema-upgrade context tests become explicit old-row/snapshot migration tests: preserve unknown defaults and legacy text, do not infer categories. Legacy profiles with null accounts cannot be automatically inserted into the stricter target; Q4 determines import scope/mapping. Preserve baseline deployment assertions as historical evidence even where target supersedes them.
Additional necessary architecture checks: transaction/owner consistency, concurrent disjoint and same-field patches, rollback and ambiguous commit, selected series captured once, transaction closed before computation/JSON, controlled FK/check constraints, runtime DDL denial, private module persistence/dependencies, protected response caching/log redaction, public guidance during DB outage, persistent tokens across restart, bounded pool/admission/deadlines and full untruncated results. Prefer deterministic interleaving/barriers over timing-dependent concurrency tests.
## Verification execution and limits
Run isolated baseline reference tests first after SDK/DB provisioning, then affected suites at each stage and full Release build/tests/publish at completion. Store command, environment prerequisites, expanded test counts, failures and reasoned coverage for each criterion. Native deployment on the supported Linux host and verified remote PostgreSQL is separate evidence from loopback process tests or mocked package managers. No test PostgreSQL administrator connection is assumed available; never use a production DB.
Clinical reference/content review is separate from numerical/API tests; a passing string assertion does not prove clinical support. Existing sources/review dates are provenance, not a new review performed here. Finite conflict detection does not prove arbitrary text comprehension. Seek approval before necessary clinical classification changes. No source behavioural mismatch is silently accepted over authoritative requirements.
Final outcome classifications: **verified** (executed supporting checks and criterion assertions), **partially verified** (some evidence but explicit gaps, such as native/clinical review), **not verified** (unexecuted/no adequate evidence). No current test-pass, deployment-pass, strict-equivalence or energy-efficiency claim.
## Final outcomes
Release build/publish passed without warnings/errors. Functional/conformance suite: 276 passed; provisioning/adapter suite: 7 passed. Original source assertions remain, with architecture-dependent fixture/status replacements precisely recorded in test-adaptations.md. Both native Debian 12 local and verified-TLS remote placements passed representative workflows and independent app restart. Final command/artifact/hash evidence is in evidence/final-verification.json.
All 146 common/US-01–US-15 entries have concrete method mappings: 140 verified functional entries and 6 partially verified entries whose deterministic outputs/provenance pass but independent clinical support is not established. This distinction implements Q3; no clinical classification was silently disabled or changed. General narrative understanding, universal platform support, production/clinical certification, live historical import and strict byte-for-byte response equivalence are not claimed. Revised US-16 is verified at its approved app/database granularity on the identified native environment.
## 2026-10-20 operational correction
The owner superseded admission-generated 503s and the blanket deadline. The six
adopted failure tests in HealthInsightTests, HealthTrendTests, HealthOverviewTests,
RecordObservationTests, PatientAuthenticationTests and ProfessionalAccessTests now
assert the original BadGateway (502), retaining no-write/no-false-absence checks.
The two B-only tests that encoded deadline/rejection policy were replaced, not
original A assertions: cancellation still rolls back writes; 5/26/40 held requests
all enter and succeed; guidance/login remain available; a full provider pool waits
and cancellation/recovery does not leak connections. Installer regression prevents
reintroduction of these defaults. Results: 282 acceptance + 7 deployment cases.
A copied old implementation fails the new five-request regression. Native HTTPS
verified 639 successful requests across insights/trends/overview at 5, 26 and 40
concurrency, with obsolete installed keys retained to verify they are inert.
Retired internal HTTP transport faults do not literally exist in B; the tests
verify the preserved public contracts, not every possible environmental failure.
The testserver still needs the newly published release deployed.
@@ -0,0 +1,110 @@
# Architecture A versus current B: idle implementation audit
Date: 2026-10-22. Scope: pinned A source at
2117236366130775214d9fd2611984d4348f2b79 and corrected B, deployed application hash
1f476847095b1b6b20a436a7f3c6848910f3d500af2c8b660f1f95255ae2c0ae.
This audit inspected local source, retained releases and recorded results only.
It did not send diagnostic traffic to the NUC or change the ongoing USB-off test.
## Conclusion
There are real implementation differences, particularly A's disabled database
pooling versus B's shared enabled pool. They must be distinguished from process
consolidation when interpreting the measurements. However, source inspection
has not identified a mechanism that establishes the residual idle-power offset
as an architectural consequence or an implementation defect. The reference
source contains no architectural requirement for B to consume more power idle.
It also does not guarantee exactly equal idle watts: framework/provider/process
maintenance and wakeup scheduling are implementation-dependent.
The measured whole-outlet difference is a real observation in these runs, not
an attribution. The completed A idle average was 4.4502 W. B with USB attached
was 5.1762 W; the most recently checked USB-off B interval was approximately
4.7884 W (first 20.6 measured minutes, not a completed four-hour mean). The
residual A-versus-B difference at that point was approximately 0.338 W. These
runs are not paired repetitions under identical captured host conditions.
## Findings
| Item | A source/default deployment | Corrected B source/default deployment | Meaning for idle |
|---|---|---|---|
| Application processes | Five web services/runtimes/listeners | One web host with typed in-process modules | Genuine architectural difference. Removes duplicated hosts; does not introduce a new application task. Fewer processes alone is not a wattage model. |
| Application background work | No application hosted background worker, polling loop or scheduled assessment found | None found | No evidence of an added B background workload explaining the offset. Framework background activity is separate. |
| Persistence | Separate profile and observation databases, same PostgreSQL installation model | One database with separate owned schemas | Genuine architecture difference. Both still have PostgreSQL background maintenance; no additional B custom periodic DB job was found. |
| Database connections | Installer sets Pooling=false | Shared NpgsqlDataSource with Pooling=true | Concrete, important implementation difference, explicitly selected by B specification section 7. Pool maintenance and temporarily retained backend connections can differ after activity. It is not an unnoticed stock default. |
| Pool steady state | No pool | Default minimum 0, idle lifetime 300 s, pruning interval 10 s, keepalive disabled | With no new requests, the provider can shrink to zero and disables pruning when the minimum is reached. This makes an indefinitely active pruning loop a weak explanation after a 30-minute warmup; actual historical session counts were not recorded. |
| Local DB transport | Installer sets SslMode=Prefer, Timeout=10 | Installer sets SslMode=Disable for loopback; remote VerifyFull | Concrete configuration difference. Prefer negotiates TLS when supported; it does not prove TLS was used in A's recorded deployment. Handshake/encryption differences matter under traffic. No periodic TLS traffic is configured to explain steady idle. |
| Transactions | Per-service EF query/write lifetimes | Explicit shared snapshot or write transaction per protected request | Necessary B snapshot implementation. Begins only on requests, closes/disposes in request cleanup. No scheduled transaction or calculation was found. Historical server transaction state was not captured. |
| Authentication/token keys | Bearer tokens and file-backed Data Protection in gateway | Same mechanism in consolidated host | No new token-refresh worker found. Token renewal is client activity; idle JMeter sends no login/API requests. |
| Logging | Information default; ASP.NET Warning | ASP.NET Warning and EF logging disabled | Real implementation difference; primarily changes request-time logs. No B periodic logging loop was found. Does not explain more sustained idle I/O by itself. |
| Runtime/provider versions in source | .NET 10, EF Core 10.0.12, Npgsql EF provider 10.0.3 | Same target/core provider versions | No explicit B-only GC mode/timer tuning found. Source equality does not prove the exact installed runtime patch/environment was identical during A's older measurement. |
| Installer lifetime | Administrative provisioner/migration/verification commands exit | Same administrative lifetime | B provisioner is not a continuously running extra service during experiments. |
| Measurement instrumentation | PerfMon and Shelly at 1 s; direct remote PerfMon access | Same nine metrics and meter interval, PerfMon through SSH | Transport differs outside the application architecture. Its contribution has not been isolated. |
## Pooling: what was verified and what was not
A: Reference/ArchitectureA/deploy/HealthApp.Provisioning/Deployment.cs:149-153
explicitly constructs the generated application connection strings with
Pooling=false. ConfigurationWriter carries those values into installed service
configuration. B: src/HealthApp/Program.cs:29-38 constructs the shared pooled
source, and deploy/HealthApp.Provisioning/Installation.cs:67 emits the local
pooled connection string. ArchitectureProposal/software-architecture.md:105
explicitly selects shared bounded pooling for B. This differs from A's reference
installer; my earlier description of normal pooling as a shared A/B behavior
was incomplete. The historical A installed protected config was not retained
with the result, so this is a source/default-deployment finding, not a fresh
read of that deleted installation.
Npgsql 10.0.3's PoolingDataSource starts a disabled pruning timer when the count
exceeds the configured minimum and disables it when that count returns to the
minimum. Creating a maximum-size-100 pool does not open 100 connections. The
provider has no configured nonzero minimum or query keepalive in B's generated
local settings. Do not claim that an idle pool necessarily keeps PostgreSQL
connections or pruning callbacks active throughout the measured four hours.
Primary provider references:
- https://raw.githubusercontent.com/npgsql/npgsql/v10.0.3/src/Npgsql/PoolingDataSource.cs
(constructor and UpdatePruningTimer/CloseConnector)
- https://www.npgsql.org/doc/connection-string-parameters.html
(pooling/timeouts/keepalive defaults)
- https://raw.githubusercontent.com/npgsql/npgsql/v10.0.3/src/Npgsql/NpgsqlDataSource.cs
(password refresh is conditional, not configured by B)
## The correction did not introduce a new architecture
Retained old-B and corrected-B release comparison found 24 app files identical;
only HealthApp.dll and its debug symbols differ. Feature-module DLLs, EF/Npgsql
binaries, runtimeconfig and deps are identical. Installer dependency adapter,
install script and systemd unit are identical. Provisioner DLL changed to stop
emitting the removed resource defaults. The application change removes request
admission gates/deadline and restores adopted error mapping; these paths are
invoked by requests, not by a zero-request idle workload. The maximum pool
setting changed from 32 to provider default 100; minimum/keepalive/pruning were
not changed. Both B versions already used pooling.
Old B's completed idle average was 4.5259 W, close to A's 4.4502 W. The same
consolidated architecture existed then. This is evidence against asserting that
B's architecture inherently requires the entire current positive idle offset.
It does not prove the cause of the remaining difference after USB removal.
## What can be concluded now
1. A and B are not internally identical and are not required to have identical
idle runtime behavior. The concrete differences above must be reported.
2. No added application background computation, polling, broker, projection
worker, permanent transaction or mandatory keepalive was found in current B.
3. Pooling is the strongest specific implementation candidate identified for
post-activity state, but the provider's zero-minimum/pruning behavior weakens
it as an explanation of a four-hour steady offset after 30 minutes warmup.
4. Neither a source audit nor aggregate CPU/power identifies which process or
wakeup pattern causes approximately 0.34 W. Low CPU alone cannot settle it.
5. No basis was found to declare a new unauthorized idle implementation feature
the demonstrated cause. Equally, there is no basis to declare the remaining
difference harmless variance or an unavoidable architecture cost.
After the already running USB-off idle/load pair finishes, causal attribution
needs matched A/B observations of per-process CPU/wakeups, database session and
transaction lifetimes, and package idle-state residency. No power settings,
services, source or software should be changed during the current pair. Any
future controlled isolation experiment must be separately identified and must
not overwrite or relabel the completed runs.
+106
View File
@@ -0,0 +1,106 @@
# Implementation log
## 2026-10-14 — Preparation
- Read complete current `AGENT.md`; inspected functional requirements, target specification/ADRs, editable diagram labels/relationships, as-built descriptions and original source/tests/deployment. Classified documentation authority; inventoried historical images/backups without elevating superseded structure.
- Verified original repository identity and clean status at `2117236366130775214d9fd2611984d4348f2b79`. B and target revision are `3426236c6cfcece36e94642ae84d1843288f86d5`.
- Recorded pre-existing modified `AGENT.md` and untracked `AGENTOldOutdated.md`; did not modify them.
- Created preparation documentation only in `ImplementationPlan/`: plan, inventories, SHA-256 input manifest, approval questions, provisional conformance/functional registers and this log.
- Identified .NET 10 requirement versus locally installed .NET 9, and unavailable default PostgreSQL socket. No application build/test/installer or live migration executed. No empirical energy claims.
- Approval status: pending. Implementation commits: none. No application code copied or changed. Original inputs/source remain unchanged.
After approval, each entry must record stage/story/ADR, reused source paths and original hash, changed files, necessary architectural reason, test adaptations and preserved assertions, executed commands/results, commit ID where applicable, remaining risks and approved deviations.
## 2026-10-14 — Approval and Stage 0 start
Read authoritative approval completely. Q1–Q5 resolved; Q5 overrides Ubuntu-only proposal with portable distribution-aware systemd installation. Q3 requires preserving clinical classifications and thresholds, not silently replacing unsupported labels. Q4 excludes any A database access/import. Current B HEAD at approval: `20ab461c0194b3098504eabc96e9852a61356953`; pinned source unchanged/clean. No new architecture approval needed for authorized stages.
### Stage 0 checkpoint — passed
- Downloaded official pinned .NET SDK 10.0.100 into `/tmp/healthapp-b-dotnet`; restored dependencies into `/tmp/healthapp-b-nuget`.
- Git archive copied 142 tracked reference files to `Reference/ArchitectureA`; manifest hashes in `reference-files.json`. No original repository writes.
- `dotnet build HealthApp.slnx -c Release --no-restore` in B-local reference: passed, zero warnings/errors.
- `dotnet test HealthApp.slnx -c Release --no-build --logger trx`: 299 passed, 0 failed/skipped (Profile 29; Observation 236; Deployment 34). TRX evidence in `ImplementationPlan/evidence/baseline-trx/`.
- Tests used a newly created disposable PostgreSQL 18.6 container, generated secret and random loopback port; removed after tests. No Architecture A database accessed. Container is test infrastructure only, not the application's native deployment.
- Environment: Manjaro Linux x86_64, SDK 10.0.100; package/network/socket operations required sandbox escalation. Stage 0 establishes executable behavioural evidence, not clinical validity or native systemd proof.
### Stage 1 checkpoint — passed
Single ASP.NET host, Contracts and Guidance projects; framework login/accounts/assignments and identical guidance content relocated. No business HTTP clients, service-key authentication or extra listeners. Original guidance suite: only host namespace changed; functional assertions unchanged, existing upstream traps still prove zero calls. Added framework login/generic failure/no-store/service-key rejection check. 10/10 cases passed; TRX `stage1-trx` records initial configuration timing failure followed by successful correction. Commit Stage 0: `cee98e7`.
### Stage 2 — Profile checkpoint
Profile facade/owned schema/immutable DTOs; account unique/non-null, durable atomic insert and locked updates. Shared request transaction uses repeatable-read for reads and read-committed for locked writes. Runtime DB role restricted to DML, no runtime migration. Module-owned versioned SQL migration (applied twice) implements schema lifecycle; EF Core retains data access. Original create/update tests copied with namespace adaptation only; relative Location regression fixed in production controller, not assertions. Added concurrent create/retry/restart/persistent-ticket and runtime DDL-denial tests. 29/29 cases passed. Remaining all-endpoint authorization and Observation schema checks proceed with Stage 3. Stage 1 commit `523cfbf`.
### Stage 3 checkpoint — passed
Observation module owns its private EF context/entities and versioned schema SQL; patient FK restricted, positive/category/rest checks, patient/time/original/UUID index. Typed Profile existence query inside write transaction. API resolves actual observation owner, authorizes, and uses owner-scoped read/locked patch/delete. Original patch application retained; omitted/clear semantics unchanged. Original US-04–09 suites run with one HTTP host/one DB and namespaces updated. Q1 lookup failure test uses DB outage and 503 instead of service stop/502; no-write assertion unchanged. Empty-404 regression fixed in production adapters. 138/138 tests passed including controlled two-patch row-lock barrier and orphan FK rejection; zero build warnings/errors. Private types exposed only to test assembly via InternalsVisibleTo. Stage 2 commit `bfe6ebf`.
### Stage 4 checkpoint — passed
SummaryPolicy, TrendPolicy, ClinicalPolicy and Guidance-owned versioned ReferenceCatalog extracted without changing formulas/rounding/thresholds/labels/explanations. Analytics captures one immutable series and releases the shared snapshot before calculation. All original numerical/trend tests retained, with shared namespaces and explicit catalog constructor injection; HTTP dependency failure expectations alone changed 502→503 under Q1. 207/207 tests passed, zero build warnings/errors. `src/TRENDS.md` preserves reproducible method details; `clinical-provenance.md` records unverified cautious inferences and narrative limits without altering outputs.
### 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.
### Stage 7 — portable installer checkpoint
Independent release app/provisioner/schema scripts and native systemd unit. APT/DNF/pacman adapters, local/remote persistence separation, generated protected accounts/certificates/config/keys, separate NOLOGIN migration owners and DML runtime role, explicit native lifecycle verification and no-overwrite. Tested actual Debian 12 systemd local and separate verified-TLS PostgreSQL deployment, wrong-host rejection and absence of local PostgreSQL in remote mode. Runtime 10.0.13, local PG 15.19 / remote PG 18.6; test container environments are not measurement/physical-host evidence. 283 solution tests pass (276 functional/conformance; 7 provisioning/adapter), zero warnings/errors. Final audit strengthens database constraints, records ticket issue instant, scoped local SCRAM authentication and source/content provenance; final verification follows. Stage 6 commit `f451b55`.
### Stage 8 — concluding verification
Final Release build: zero warnings/errors; final solution suites: 283 passed, 0 failed/skipped. Independent final release published to `/tmp/healthapp-b-final-release`. Both actual native Debian 12 local/remote installations passed with final scoped SCRAM provisioning, protected runtime config mode `640 root healthapp-b`, app/DB independent stop/restart, no-overwrite rejection, VerifyFull/wrong hostname rejection and no local PostgreSQL in remote mode. Native evidence summaries and reproducible test harnesses retained.
All 146 acceptance entries link concrete executable methods; clinical support is explicitly partial for six entries while deterministic output/provenance assertions pass. No unapproved architecture, numerical or clinical-output deviation. No A data access/import. Read-only input/instruction SHA-256 checks passed, all 142 pinned reference files equal original source, original Git HEAD/status unchanged. Formatting applied only to newly implemented B projects; originals preserved. Added exact single-observation extrema assertions, without relaxing originals. Final package/source/test evidence recorded in final-verification.json; source code revision recorded after commit.
Final implemented code revision: `36740d249225898df1b3be720c453b365ffb9fa7`. Subsequent verification-record commit changes evidence only; application/deployment/test source hashes match the tested revision. Original repository remains at `2117236366130775214d9fd2611984d4348f2b79` with clean status. Preserved pre-existing AGENT.md modification and AGENTOldOutdated.md are excluded from implementation commits.
## 2026-10-16 — Architecture B JMeter tooling
User authorized copying and adapting the workload tools. Copied only tracked tools/energy-jmeter and PasswordHash source from pinned read-only A revision 2117236366130775214d9fd2611984d4348f2b79, with hashes retained. Generated JMX plans are identical: public APIs are compatible. Adapted account generation for B flat/nested JSON, configuration/service instructions and architecture metadata. Added verified Python TLS compatibility for the installer certificate profile (missing AKI under Python 3.14 strict mode); CA/hostname validation retained and negative checks pass. No product code or architecture changed. Historical A calibration remains labelled; private inputs/raw results/binaries excluded. See tools/energy-jmeter/ARCHITECTURE-B.md and verification-b.json for verification scope/results. No energy/capacity conclusion.
## 2026-10-20 — owner-directed admission/failure correction
Removed new four-assessment and 32-request immediate-rejection gates and blanket
30-second deadline. Removed installer pool/admission/deadline defaults; Npgsql
default pooling or explicit connection/deployment settings apply. Preserved
request cancellation, transactional snapshots and cleanup. Restored six adopted
A dependency-outage assertions/statuses from 503 to original 502. Original A
repository remains read-only/clean at 2117236366130775214d9fd2611984d4348f2b79.
Pre-existing unrelated B changes retained. Latest owner instruction supersedes
historical Q1 permission; no architecture/input documents edited.
Final Release build: zero warnings/errors. Full disposable PostgreSQL 18.6 suite:
282 acceptance + 7 deployment = 289 passed, zero failures/skips. New deterministic
held-request regression at 5/26/40 concurrency, client-cancel/write rollback and
pool-wait cancellation/recovery tests; corrected installer test. Isolated old
implementation fails new five-request regression (expected failure evidence
retained). Published native HTTPS build: 639/639 requests passed across insights,
trends and overview with synchronized bursts at 5/26/40 concurrency, despite
legacy gate/deadline settings. A first harness attempt exposed a test-container
startup race; readiness corrected to the final TCP listener, successful rerun
retained. tools/verify-admission-correction.py reproduces native regression.
Evidence saved separately under evidence/admission-correction; historical failed
four-hour measurement and earlier stage tests were not relabelled. New package
published under /tmp/healthapp-b-admission-correction-release. Testserver still
runs the previous release pending protected deployment/restart. No claim of
universal failure equivalence or a completed new four-hour measurement.
### Fresh-install USB delivery — owner direction, 2026-10-20
Owner requires a full server reinstall for the next experiment and rejected
testserver patching. Prepared a full installer from the exact native-tested
release (app SHA-256 1f476847095b1b6b20a436a7f3c6848910f3d500af2c8b660f1f95255ae2c0ae),
including app, provisioner, migrations, dependency adapter and systemd unit.
No patch/update script included. Removed only Ventoy/HealthApp-B-2026-10-19 after
copying and verifying the new Ventoy/HealthApp-B-2026-10-20 payload. All 42 files
including manifest verified; all 20 unrelated root entries retained unchanged.
Old folder retained locally under /tmp for recovery, not on USB. USB writes synced.
Fresh-install instructions explain that reinstalling creates a new CA/accounts
and requires monitoring/comparison-fixture preparation again. Testserver software
was not patched or restarted. Fresh Ubuntu installation/new experiment pending.
+144
View File
@@ -0,0 +1,144 @@
# Architecture B implementation plan
Prepared: 2026-10-14. **Status: approved with conditions on 2026-10-14. Implementation authorized by `Docs/ApprovalRequirements/architecture-b-implementation-approval.md`; Stage 0 begins under its Q1–Q5 decisions.**
## 1. Authority, baseline and preservation
Follow the complete current working-tree `AGENT.md`. Functional requirements in `Docs/Requirements/` and security intent in `Docs/Design/` govern behaviour. `ArchitectureProposal/software-architecture.md`, ADR-01–ADR-08 and the seven target diagrams govern structure, subject to this approval gate. Existing baseline service design is superseded only where the target expressly replaces it. `ArchitectureSuggestions/` contains alternatives, not the selected contract. Root README describes the earlier design-only phase and will need an implementation update after approval.
| Reference | Recorded state |
| --- | --- |
| Original repository | `/home/steffen/Nextcloud/Documents/Master Thesis/HealthAppRepository`; verified distinct Git working tree; strictly read-only |
| Original baseline | `2117236366130775214d9fd2611984d4348f2b79`; clean working tree at inspection |
| B preparation baseline | `3426236c6cfcece36e94642ae84d1843288f86d5` |
| Target proposal revision | `3426236c6cfcece36e94642ae84d1843288f86d5`, last commit affecting `ArchitectureProposal/` |
| Existing B changes | Modified `AGENT.md`; untracked `AGENTOldOutdated.md`. Preserve without staging, reverting or including in implementation commits; approval requested |
| As-built documentation snapshot | Describes `5d9371388c15066eeb2bc124ed227659c644dab5`, not the current source HEAD. Source HEAD adds documentation; use pinned HEAD as implementation reference |
Supporting records: [documentation inventory](documentation-inventory.md), [baseline manifest](baseline-manifest.json), [original test inventory](source-test-inventory.md), [open questions](open-questions.md), [functional preservation](functional-equivalence.md), [conformance](architecture-conformance.md), [log](implementation-log.md).
Inventory covers all 63 files in `Docs/` and 18 target-proposal files, including 24 editable Draw.io files across both trees. Target diagrams have 16 pages: context, components, domain, conceptual classes, data ownership, local/remote deployment and four interaction sequences. Their labels/relationships were inspected as XML; GUI rendering was not tested. Historical JPEGs/backups are inventoried; current diagrams and explicit supersession govern. Hashes preserve inputs, including both existing instruction files.
Never build, restore, migrate, test, stage or commit inside the original repository: such operations can write generated files. After approval, copy only required tracked inputs from the pinned revision into B. Do not import its operating instructions, experiment outputs, generated binaries, credentials or unrelated tools. Preserve reused source identifiers and annotate their provenance in this log. Keep original tests available as unchanged baseline evidence before adapting the executable suite.
## 2. Existing system and observed differences
The original solution has five `net10.0` ASP.NET Core applications, a transient C# provisioning utility and three xUnit acceptance projects. `global.json` selects SDK `10.0.100` with `latestFeature` roll-forward. Persistence uses Npgsql EF Core `10.0.3`, EF Core Relational/Design `10.0.12`; ASP.NET testing/Windows service hosting uses `10.0.12`. Test SDK is `17.14.1`, xUnit `2.9.3`, runner `3.1.5`. Retain these versions initially; no technology migration is proposed.
| Concern | Observed source | Necessary Architecture B change |
| --- | --- | --- |
| Runtime | Gateway, Profile, Observation, Insights, Overview separately hosted | One HTTPS host with API/access, Profile, Observations, Analytics, Overview, Guidance modules |
| Communication | Gateway forwards requests; downstream clients call back through gateway with service keys | Typed acyclic in-process interfaces; remove business HTTP clients, callback routing and service authentication |
| Public contracts | Controllers, REST/JSON DTOs, validation and history selection headers | Reuse route/JSON vocabulary and success/absence/access behaviour; explicit dependency-error reconciliation below |
| Authentication | Framework opaque bearer token, 30-minute default, persistent data-protection keys, framework password hashing | Reuse; keep normalized account/role identity, persistent key scope, provider replaceability; no service identity path |
| Authorization | Middleware resolves profile and full observation via HTTP | Trusted request-scoped authorized patient/action context; narrow owner/association lookups; authorize before external serialization, then owner-scoped operation |
| Profile lifecycle | Unique nullable account column; account and new profile saved in one row; uniqueness race handled | Reuse atomic lifecycle; require non-null unique association in target schema; reconcile historical null associations before import |
| Persistence | Two databases/public schemas; independent DbContexts; no cross-database FK | One database, owned `profile`/`observations` schemas, per-module migration history/owners, restricted FK and runtime DML role |
| Context | EF owned value already flattened into observation row | Reuse fields, unknown/null/omission semantics; no separate context entity or inference |
| Writes | EF patch loads/saves row without explicit row locking; deletes by observation ID | Transaction with actual-owner recheck and row lock; validate proposed changes atomically; preserve concurrent disjoint patches |
| Reads | Independently timed ownership and source reads; overview sequential HTTP composition | Shared repeatable-read snapshot from ownership lookup through capture; release before calculation and transmission |
| Ordering/time | Latest measurement/creation/UUID; history measurement/UUID; UTC clock encoding in timestamp without timezone | Preserve UTC encoding/wire behaviour; verify PostgreSQL unsigned UUID-byte ordering explicitly, rather than sort raw platform-endian GUID bytes |
| Analytics | Fresh summaries/trends; compiled combined numerical/context/clinical implementation | Reuse numerical formulas; separate SummaryPolicy, TrendPolicy, ClinicalPolicy and reference catalog; no result store/cache |
| Guidance | Static home guidance in gateway controller; clinic/other explained unavailable | Move existing content to versioned Guidance-owned bundle/catalog; preserve applicability and public availability during DB outages |
| Resources/failures | No shared bounded request policy; upstream HTTP failures 502/504 | Shared bounded pool, configurable admission/deadline/cancellation; 503 dependency/overload, 504 deadline, 500 unexpected failure |
| Deployment | Five units, separate databases/credentials/certificates, Linux and optional Windows/macOS/distribution adapters | One systemd app unit; local or verified-TLS remote DB; generated protected settings/roles/API certificate; administrative tool exits |
| Tests | Two/four/five HTTP hosts and separate DB fixtures; independent-service installer assertions | One real HTTP host/isolated database with owned schemas; retain functional assertions; approved replacement of obsolete topology tests |
Concrete reuse sources include Profile `Application/PatientApplicationService.cs`, `Domain/Patient.cs`, request/response contracts and persistence mapping; Observation `Application/ObservationApplicationService.cs`, domains, patch presence/validation contracts and repositories; Insights `Domain/InsightCalculator.cs`, `InsightCalculator.Trends.cs` and result records; Overview composition and DTO vocabulary; Gateway credential/assignment/token logic and guidance content. Reuse is selective: mutable entities, repositories and HTTP clients are not exported as module contracts.
## 3. Proposed implementation layout and dependencies
Use one Web SDK project `src/HealthApp/HealthApp.csproj`, class-library module projects under `src/Modules/{Profile,Observations,Analytics,Overview,Guidance}/`, a small `src/HealthApp.Contracts/` for immutable module contracts and patient/action authorization scope, and `src/HealthApp.Infrastructure/` for transaction/pool coordination. API/access belongs to the host. This is a proposed implementation organization, not additional runtime services; exact filenames can change without changing boundaries.
Private domain entities, EF contexts and repositories remain internal to each owning module. Only query/command facades, registration and immutable return values are exposed. Infrastructure knows transaction mechanics, not clinical tables or access policy. Contracts contain no repositories, EF entities, SQL or configuration secrets. Architecture tests enforce project dependencies and private persistence types.
Allowed dependency graph: API/access → Profile, Observations, Analytics, Overview, Guidance; Observations → Profile query interface; Analytics → Observation query interface and Guidance reference interface; Overview → Profile, Observation, Analytics query interfaces. Facades depend on contracts, with implementations wired at composition. No module depends on the host or calls public routing. Profile and Observations adapters participate in the same scoped infrastructure transaction without accessing each other's tables. Analytics, Overview and Guidance have no health persistence adapter.
Infrastructure supplies a single bounded Npgsql data source/pool and a scoped coordinator. Participating EF contexts use the same connection/transaction and module-owned mappings. Protected read workflows begin repeatable-read before the first ownership lookup, materialize immutable values, and finish capture before calculations/JSON. Write workflows use an explicit transaction and owner-scoped row locking/recheck. Do not commit a read snapshot while deferred EF enumeration remains outstanding. Dispose/rollback on failures and cancellation; no automatic mutation retry after ambiguous commit.
## 4. ADR-to-task mapping
| Decision / specification | Source affected | Planned target tasks and verification |
| --- | --- | --- |
| ADR-01; §§1–2; component/classes diagrams | Five `Program.cs` files, gateway forwarding controllers, downstream `Clients/`, solution | Create host/module projects and typed facades; adapt controllers to facades; remove internal HTTP and service-key endpoints. Build all; dependency tests and runtime one-process check |
| ADR-02; §7; ownership diagram | Profile/Observation contexts, SQL repositories, migrations; provisioning DB code | Owned schemas/history, restricted FK, non-null account uniqueness, positive/category/time constraints, patient/time/original/UUID index, separate migration owners and DML role. Test twice-applied migrations, runtime DDL denial, ownership and referential integrity |
| ADR-03; §§3–5; creation sequence | Profile application/repository, account migration; create/authentication tests | Preserve trusted account derivation and durable single-row insert; translate uniqueness violation to 409; failure recovery and `/me`. Test simultaneous creation, lost response, rollback, restart and spoofed identities |
| ADR-04; §§4–5,8; context/access model | Gateway Program/security/login/professional controllers; token support | Keep framework ticket protection and password hashing, trusted role policies and key persistence; remove Service role/key selector; introduce owner resolver and non-forgeable request scope. Test full US-13/14 matrix, expired/tampered tokens, restart, replacement handler and absent internal routes |
| ADR-05; §5,7; snapshot sequence | Observation/Insights/Overview reads and middleware | Capture authorized source values in shared repeatable-read transaction; fetch selected series once; close before evaluation. Deterministic interleaving tests demonstrate coherent overview, observation owner/read consistency and next-request freshness after commits |
| ADR-06; §6; Analytics/Guidance class/domain pages | Calculator partials/result types, guidance controller, `TRENDS.md`, trend/guidance tests | Extract policies and versioned reference/guidance catalog; retain current numerical algorithm; document reproducible fixtures, claim-specific prerequisites, evidence and unresolved narrative meaning. Run original numerical/interpretation tests; require content review and escalate unsupported rules |
| ADR-07; §§3–4; observation classes | Observation context/domain/contracts, EF owned mapping, PATCH | Retain flattened optional context, original text/note, independent selection AND/Unknown and omitted/set/clear semantics. Lock row, validate whole mutation and preserve omissions. Context migration/patch/deletion tests plus concurrent disjoint patches |
| ADR-08; §9; deployment/install sequence | `deploy/HealthApp.Provisioning/`, build-release, installer scripts, systemd, examples, CI | Reuse appropriate certificate/config/bootstrap logic; replace service inventory with whole app/local-or-remote DB; one service identity and unit; generated roles/config/secrets, migrations, stage errors, no overwrite, readiness and restart/workflow proof. Separate process-level tests from native systemd installation evidence |
Additional specification obligations: no-store on protected/login responses; sanitized failures/logging with correlation IDs and no identifying route values; public guidance during DB failure; readiness without health data; configurable pool/admission/deadlines with separate assessment budget; complete history with no silent truncation; verified remote DB TLS and hostname checking. Each gets a conformance/test entry; no production SLA or invented capacity guarantee.
## 5. Public compatibility and functional preservation
Preserve all 18 documented route/method combinations in target §4, including `/patients/me`, public login/guidance and own professional assignment list. Preserve DTO field names, enum tokens, camel-case JSON, optional text/null shape, request validation, Location paths, and history `X-Measurement-Setting`/`X-Activity-Condition`. Internal `/by-account` becomes an interface only. Observation DTO currently omits creation/update timestamps: preserve that omission even though internal snapshots retain original recording time. Patient response likewise does not expose account association or internal timestamps.
Ordinary HTTP semantics: create 201, successful reads/updates/patch 200, delete 204; validation 400; generic missing/invalid/expired auth 401; prohibited role operations 403; unauthorized resources uniform non-disclosing 404; duplicates 409; no latest/profile/observation 404; empty history 200 array; no insight 404 with existing title; empty trend 200 with explicit unavailable parts; overview retains profile and nullable parts/absence explanations. Keep missing-data and dependency failures distinct.
Explicit approval is required for structural incompatibilities: independent-service installation disappears under the proposed US-16 revision; 502 internal-upstream failures no longer exist and are replaced by §8's 503 DB/dependency/overload and 504 deadline behaviour. Preserve fail-closed, no disclosure/no write and failure-versus-absence assertions. Do not silently alter old tests to assert different codes.
[Functional-equivalence.md](functional-equivalence.md) maps every story to source suites and planned checks. [Acceptance register](acceptance-register.md) retains the proposal's 146 individually identified common/US-01–US-15 entries and required outcomes, with planned suite allocation and unverified status. Expand theory examples and map exact test methods/results during implementation; suite allocation alone is not proof of coverage. Original tests are evidence, not authority to override a requirement.
Trend method proposal: **retain the baseline mathematics**. Raw means/minima/maxima/range use every selected observation; final means half-up two decimals. Group tied measurement instants by decimal mean; distinct instants have equal weight. Preserve all successive nonzero changes/reversals, total absolute successive change, full-period normalized-time ordinary least-squares slope and six-decimal output slope. Direction requires at least two distinct instants; identifier/recording order does not participate. Separate numerical and clinical policy structurally, add a method version and reproducible examples in implementation docs without gratuitous wire additions. No smoothing, replacement formula or arbitrary clinical variation cutoff.
Clinical catalog extraction must preserve existing source URLs/review metadata and allowed results pending verification. The baseline's favourable/concerning rules are explicitly described as cautious inferences, not independently reviewed clinical decision rules. Document each claim/prerequisite and review support; do not invent new medical rules. If evidence requires changing externally visible classifications, stop the affected step and request approval. Finite English/Danish conflict phrases remain limited detection; preserve text, known conflicts and explicit unresolved narrative limits rather than claim universal language understanding. Clinic guidance stays explained unavailable unless approved reviewed content is supplied.
## 6. Persistence and migration arrangements
Fresh installation: one dedicated PostgreSQL database; `profile.patient` and `observations.observation` (physical name aligned with proposal). Preserve public identifiers and values regardless of table rename. Account association unique, non-null and immutable via module commands. Restricted patient FK; flattened context; positive numerical/category/rest checks and required timestamps. Profile owner creates only Profile objects; Observation owner creates only Observation objects, with the narrowly necessary REFERENCES grant. Runtime role has needed SELECT/INSERT/UPDATE and Observation DELETE, schema USAGE, no DDL/admin/role membership. Module migration histories stay owned separately. No generated insight/trend/overview tables. Runtime never invokes migrations.
Keep legacy UTC-clock timestamp encoding if needed for byte-compatible public timestamps; normalize all input instants consistently. Document UUID network-byte tie order and test fixed UUIDs that distinguish network-byte ordering from little-endian byte-array sorting. Retain existing decimal means and optional rest-duration unit (minutes).
Approved Q4 scope is independently provisioned fresh B databases and equivalent reproducible synthetic datasets, **no import or live migration required or authorized**. A future migration procedure remains documentation only. No source database access or source repository mutation is authorized. If import is required, add an offline administrative import step from administrator-provided snapshots, with separate approval of dataset and account mappings. Preflight missing/duplicate accounts, orphan observations, unsupported categories/non-positive values and timestamp interpretation; reject ambiguous input without silently discarding/reassigning data. Preserve IDs, account IDs, original/update/measurement instants, raw values, complete/partial/unknown context, text/notes and predefined assignments. Validate counts and fields against snapshots. Retain source snapshots and take backups; never run an automatic destructive conversion in place.
Protect compatible token keys when migrating installations; reuse baseline application discriminator if valid tickets must survive cutover. Key export/import is administrative, no keys enter Git. Fresh installations get their own key state. No claims of live upgrade continuity until verified.
## 7. Configuration and deployment
Retain .NET 10 / ASP.NET Core controllers / EF Core / PostgreSQL / xUnit. One `ConnectionStrings:HealthDatabase`; protected accounts and assignments; persistent key directory and application scope; 30-minute configurable token lifetime; HTTPS listener/certificate; reviewed content/method versions; bounded pool, request and assessment admission limits and deadlines. Provide safe examples without secrets. Remove backend URLs, callback keys and per-feature listeners from active configuration.
Approved portability requirement: portable Linux installation for explicitly documented systemd-based distributions, with distribution-specific dependency adapters. Intended families: Debian/Ubuntu (apt), Fedora/RHEL (dnf), and Arch/Manjaro (pacman), conditional on compatible .NET 10/PostgreSQL packages and systemd. Perform a real end-to-end native installation on at least one identified distribution; record verified versus intended support separately. Do not restrict design to Ubuntu or claim universal Linux support. Linux is required; do not port old Windows/macOS/SSH feature-service distribution adapters as required deliverables. Preserve their provenance rather than import obsolete deployment modes into B. Broader platform support requires separate evidence/scope.
Build bundle contains one app, transient provisioner, systemd unit and installer. Normal installer provisions dependencies, local database if selected, migration owners/runtime role, generated credentials/accounts, certificate/trust, restricted paths, persistent keys, configuration, migrations, service enable/start and verification. For remote DB accept protected admin connection/CA and network prerequisites; create app DB/schemas/roles remotely with verified TLS, do not install local PostgreSQL. Client trust is established; no certificate-validation bypass.
Installation verifier checks single app PID/HTTPS/configured DB, synthetic login/profile/observation/history/insight/overview, and app stop/restart while PostgreSQL remains running. Existing generated empty professional is valid; assigned reads require a predefined fixture, not a new assignment API. Ensure verification reports any synthetic data it creates and does not masquerade as a production-cleanup workflow. Refuse overwrite, identify failed stage and retain protected diagnostics; no transactional installer rollback promise. Document upgrade backup/key retention/schema coordination and certificate replacement with evidence limits.
## 8. Incremental sequence and checkpoints
Each approved stage is a small cohesive change with relevant tests and updated conformance/equivalence/log evidence. Do not mark or commit a stage as complete with known broken checks. Use focused commits if authorized by plan approval; never include pre-existing instruction changes. Obtain deviations approval before affected implementation.
| Stage | Concrete deliverable | Required checkpoint |
| --- | --- | --- |
| 0 — Approval and executable reference | Q1–Q5 approved; reference/SDK/disposable PostgreSQL established; baseline 299 tests passed; preserve baseline tests and selective inputs with source hashes; run baseline in a B-local reference checkout outside final solution | Record actual reference build/test results, failures and test expansions; original repo stays clean |
| 1 — Module foundation | Solution, one host and immutable contracts, private module registration/persistence boundaries; port public guidance and framework login | Build independent B projects; login/guidance contract fixtures, one host, project dependencies, no service-key trust path |
| 2 — Profile/data foundation (US-01–03,13–14) | Profile schema/migrations/roles, atomic profile association, access facade and profile endpoints; prepared Observation schema/FK migration ordering | Profile/auth/assignment tests; race/rollback/lost-response/restart; runtime cannot migrate/create/drop schemas; repeated migrations |
| 3 — Observation lifecycle (US-04–09) | Observation facades/mapping/constraints, actual-owner policy, record/get/latest/history/PUT/PATCH/delete; transaction locking | Original observation/context/selection tests; UUID ties/timezones; atomic invalid patch; concurrent disjoint/same-field writes and delete interactions; no unauthorized writes |
| 4 — Analytics (US-10–11) | In-process current-series capture; reused summary/trend formulas; separate clinical policy/reference catalog and method docs | Summary rounding, every US-11 criterion, temporal ties/storage order/reversals/excursions/context conflicts; claim review; DB failure never means empty result |
| 5 — Overview/snapshot composition (US-12) | Shared authorization/profile/latest/series snapshot; calculate after capture; preserve latest/insight bases and absence | Original overview assertions; deterministic concurrent-update tests; source series queried once; transaction released before calculation/response |
| 6 — Operational boundary | Readiness/liveness, sanitized failure/no-store handling, pool/admission/deadline/cancellation and remote DB transport configuration | DB outage/timeout/rollback/overload; guidance/login independence as applicable; no silent truncation; config/key/TLS failure tests |
| 7 — Native release/installer (revised US-16) | One app/systemd unit and local/remote DB automation, certificate/config/roles, no-overwrite/staged diagnostics, restart verifier | Publish bundle; installer/process tests; real Ubuntu systemd local install and verified remote-DB placement; preserve DB while app restarts |
| 8 — Final audit | Accurate build/run/deployment README, all required evidence and limitations, approved deviations only | Full solution Release build/tests/publish; criterion-level coverage review, architectural dependency/schema/process inspection, input hashes and original Git status |
No HTTP upstream simulations are carried into runtime code merely to satisfy obsolete tests. Before adapting each affected test, record original scenario/assertions and replacement proof in the log. Preserve unaffected assertions. Keep unchanged original test sources as reference evidence, separate from final executable test projects.
## 9. Build/start/test preparation and evidence limits
Original documented commands (run only on approved B-local reference/final files): `dotnet build HealthApp.slnx -c Release`; `TEST_POSTGRES_CONNECTION=... dotnet test HealthApp.slnx -c Release`; original service migration mode `--migrate`; original release `bash deploy/build-release.sh --output NEW_DIRECTORY`. Reference tests create/drop isolated random databases; use an explicit non-production administrator connection. Final test fixture uses one isolated DB per fixture and applies both schemas twice, with runtime access separately tested from migration/admin credentials.
Preparation environment: `dotnet` absent from PATH; `/home/steffen/.dotnet/dotnet` provides SDK 9.0.200/runtime 9.0.2, incompatible with source target. `psql` exists; default `/run/postgresql:5432` has no response. No usable configured test server has been established. Do not downgrade source to .NET 9. Provision .NET 10 and isolated PostgreSQL after approval, with tool escalation where required. Native installation needs an administrator-controlled supported systemd host; process tests/mock package tests alone do not prove it.
No restore, build, application test, installer, live import, clinical publisher verification or energy measurement was performed during preparation. Source/doc inspection is not passing verification. Clinical review and real native deployment remain acceptance dependencies. Final evidence must distinguish verified, partially verified and not verified per criterion; count passing tests only from executed results.
## 10. Risks and approval gate
Main risks: combined process/role blast radius; shared connection/EF transaction enlistment errors; snapshot lifetime/large-series memory; concurrency/lost-update regressions; legacy null accounts/orphans; obsolete topology assertions and error-code mismatch; clinical claims/narrative ambiguity; SDK/test DB/systemd availability; remote TLS/certificate/key preservation; partial installer failure/upgrade recovery.
Mitigation is explicit ownership and transaction tests, unchanged functional assertion intent, import preflight/no live conversion, preserved formulas/content provenance, focused review before any changed classification, native verification and candid limits. No workload/HA/backup SLA is invented. No energy-efficiency benefit is claimed.
Approval received: Q1 revised US-16/dependency errors; Q2 preserved instruction files; Q3 unchanged mathematics, thresholds and clinical outputs with uncertainty disclosure; Q4 fresh provisioning only; Q5 portable distribution-aware Linux installer and actual native verification. See [approval register](open-questions.md). Further approval is required only for material actions outside these boundaries.
## Execution outcome — 2026-10-14
Approved stages 0–8 implemented and engineering verification completed. Baseline 299/299 tests; B 283/283 tests; Release build/publish clean; actual native Debian 12 systemd local/remote installation and independent restart passed. All 146 acceptance entries mapped to concrete executed methods; six retain explicitly partial independent clinical support under Q3. Other intended distributions have adapter tests but no native execution claim. No unapproved deviation, A database access/import, source/input/instruction mutation, or energy-efficiency claim. See final-verification.json and the conformance/equivalence registers for exact evidence and limits.
+14
View File
@@ -0,0 +1,14 @@
# Verification environments versus measurement environment
No energy measurements were performed. Test/deployment execution establishes engineering evidence only.
| Run | Recorded environment |
| --- | --- |
| Architecture A pinned baseline | B-local reference, SDK 10.0.100 / runtime 10.0.0, fresh disposable PostgreSQL 18.6, Manjaro x86_64 host |
| Architecture B automated suites | Same SDK/runtime and disposable PostgreSQL 18.6; original story fixtures adapted to one application/schema topology |
| Local native B installation | Debian 12 bookworm userspace with actual systemd, shared Manjaro kernel 7.1.13-2-MANJARO, .NET/ASP.NET 10.0.13 installed from feed, PostgreSQL 15.19 installed locally; isolated privileged Linux test container, no host data mounts |
| Remote native B installation | Separate Debian 12 systemd app environment and PostgreSQL 18.6 instance, verified TLS/hostname, .NET/ASP.NET 10.0.13; local PostgreSQL absent; wrong hostname rejected |
Native test environments are not physical-host or measurement-host evidence. A and B energy comparison must separately control hosting/kernel/runtime/database versions, equivalent data, workload/selection/account-role mix, assignments, HTTPS and token lifetime/login frequency, concurrency, active/idle periods and background processes. Runtime/DB differences above are disclosed and cannot be treated as a controlled energy comparison.
`tools/comparison/dataset.json` provides equivalent deterministic logical profile/measurement/context inputs. `initialize.py` initializes only fresh independently provisioned comparison instances through verified HTTPS and records dataset hash/assigned IDs. It is not an importer, was not run against Architecture A, and refuses an existing output manifest. Generated UUIDs and original recording times differ; measurement instants are distinct so those differences do not determine latest/trend outcomes in this dataset. Complete timestamp-tie behaviour is tested separately with fixed IDs/times. Larger workloads and assignment fixtures require explicit reproducible experiment setup. Secrets/keys never enter manifests.
+18
View File
@@ -0,0 +1,18 @@
# Architecture B approval register
Approved with conditions 2026-10-14. Authority: [full approval](../Docs/ApprovalRequirements/architecture-b-implementation-approval.md), read in its entirety. Target `3426236c6cfcece36e94642ae84d1843288f86d5`; reference `2117236366130775214d9fd2611984d4348f2b79`.
| Decision | Approved resolution | Status |
| --- | --- | --- |
| Q1 | One application and revised US-16; internal-upstream errors may become target 503 dependency/overload and 504 deadlines. Preserve failure/absence, non-disclosure and no unauthorized writes; preserve original topology tests and trace replacements | Approved |
| Q2 | Preserve AGENT.md and AGENTOldOutdated.md byte-identically; exclude pre-existing changes from implementation commits | Approved |
| Q3 | Preserve numerical formulas, rounding, ordering/ties, thresholds, clinical content/classifications and observable results. Responsibility separation allowed; record uncertain claims/provenance. Clinical output changes require further approval | Approved with restrictions |
| Q4 | Independently provision fresh B DB, schemas/roles/credentials/config automatically. No A database access, import or live migration. Equivalent reproducible logical datasets for comparisons | Approved |
| Q5 | Portable systemd Linux installer with documented distribution-specific dependencies; local and verified-TLS/hostname remote PostgreSQL; no unnecessary local DB in remote mode. At least one actual identified native installation; intended versus verified support distinguished | Approved with modification |
No unresolved architectural decision currently blocks Stage 0. Execution prerequisites are established: SDK 10.0.100, fresh disposable PostgreSQL, and isolated Debian 12 native systemd local/remote verification environments. Other native distribution executions and independent clinical validity remain evidence limits, not unresolved architecture choices. No universal Linux, clinical-validation, production-readiness or energy-saving claims are authorized. Further approval only for material architectural/functional/clinical deviations, algorithm replacements or live migrations.
2026-10-20 owner correction: historical Q1 permission for admission 503s and a
blanket deadline is superseded by the explicit request to preserve A behavior.
Implementation and executable evidence are in admission-correction.md and
evidence/admission-correction/. No original approval/input document was edited.
+147
View File
@@ -0,0 +1,147 @@
{
"commit": "2117236366130775214d9fd2611984d4348f2b79",
"files": {
".github/workflows/prototype-native-install.yml": "de4240167653b10bbbadbfa869e20324739025ea3949a8e7af55557355c99b38",
".gitignore": "5ff2245aafc37c2774885459e02ed3f3ae9129e9984ff9b3108f053cd78e2f3d",
"HealthApp.slnx": "3b070ed1a967e90031e8041ea1e90d37d7e03b53ac18600e8fd8b932d07da0df",
"deploy/HealthApp.Provisioning/ConfigurationWriter.cs": "702f4a646eac3dd6fda32823f6e88c7066eaa1919b185ae9f034e3263c433fff",
"deploy/HealthApp.Provisioning/DatabaseProvisioning.cs": "e1c8e252642b12f871874899e39c9419ffe4e06ad304509a07942e6cdf455cfc",
"deploy/HealthApp.Provisioning/Deployment.cs": "8f3e6fc3761fe731c1770b62041652e6aefb5a0afbaa51bbb38423d68fb34c47",
"deploy/HealthApp.Provisioning/Distribution.cs": "d9b7c467172e3156881233a1ef9091ea43d109e6bbe5bcc69010e665f99bfaf1",
"deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj": "5f18785a17f78d0158c2613d615cd91e956cecc7208bca06a279c40b479cd50a",
"deploy/HealthApp.Provisioning/InstallationVerification.cs": "094877cb5e6ff6e80f3beeafd455f592cba6e3ace0fae4e90837c918a23c8b98",
"deploy/HealthApp.Provisioning/LaunchdWriter.cs": "b1d9b620ade4b525ab426d688a4d2cbd89572c9c11cca3d223ecec1859f2efdc",
"deploy/HealthApp.Provisioning/Program.cs": "e42034fedec2c3c1f9f64bff466e20298b11c92cd1a0b320af3b2527c0160171",
"deploy/INSTALLATION.md": "94e8e3b7a7bcdf6f087d740dd2f1fe7c2d8e8c988ba692c1c9fc64d94b61fc7b",
"deploy/api-gateway.env.example": "e8137593d47109530e360981ebcdc6891b6a107cb2c5867564301c2925fa952c",
"deploy/build-release.ps1": "d85375f5a7392fe31aa77886b5dd37063a32d2dbe8fdc8e0822febe90bb620fb",
"deploy/build-release.sh": "7de7fb0ffe963671caae814b71d30a7f90ba9cf587556199d13a34010037b4f1",
"deploy/health-overview.env.example": "b7883d73a34da16abb49dc6537455352d2d77916ba541024f94e4cbb80be02ba",
"deploy/insights.env.example": "8fff870eede50c4f36ff2439eeb0ceb628d41d254f2ea24d38bdd731a09489c9",
"deploy/installer/bootstrap.sh": "db52696d484fe72875f3d580d568515d7d397997159dadefd581c84f6c634123",
"deploy/installer/distribute.sh": "bda6aa53146a3d4dc12a6f5ec0d7a0ecd9abcc710b5d74c75fb7e1660d7c511d",
"deploy/installer/install-macos.sh": "bd78d0ec3be482ce29b3b0e381118276dba14a5d98124d4205574320c00e50e8",
"deploy/installer/install.ps1": "4c1bbaac58c99539226a9f492b459697ae38b6b3fafe4aa0bc87023964515c37",
"deploy/installer/install.sh": "ccc35b5764e96a7d446a9931f555f33333013ba255b4fb47b6b5651ee7e41121",
"deploy/installer/services.sh": "6a21a5c213fbe7b2b14ec379d861b7306cdfd872a13b6cb4948749148160d25a",
"deploy/installer/verify.sh": "62d50b2bcd40b04ada7ba32bbeede99dbd068fc51d4e04a4485485197a63bb5f",
"deploy/observation.env.example": "c18f0f6abb1f32e92791fc3fb51772a1c30e4e60686d65eeeec9ed954f7d95d0",
"deploy/patient-profile.env.example": "f01a3ba42d22dbcf3005586f5f03defcf5030c1a4a31cea4562f060410603ea0",
"deploy/systemd/healthapp-api-gateway.service": "15a9b7bc43a729409a161aab3d203c9e20ee966a0993e2f10cddedef4a96bee7",
"deploy/systemd/healthapp-health-overview.service": "d8841c4b04c74f3bc026035bcaa2c83d7cdd3011340102ff2b53e26cfd07bb91",
"deploy/systemd/healthapp-insights.service": "8ec5dbfa6e1a9fbd9703652ee4c23656e5f91bc95ef341605cfcf4ac5d231355",
"deploy/systemd/healthapp-observation.service": "a61518322838ca148e8d3b3a779d6e78d16f0a19805a40cb48d40ec47fad8d17",
"deploy/systemd/healthapp-patient-profile.service": "262b269a997923aafa98ad750c7698823725d3b7b556334302fb0e61a3112a44",
"global.json": "b48d6da8fa62c0da7cc8a2da4ea036ac55836660a448ba533135abb5b8451b73",
"src/AUTHENTICATION.md": "38e4a3580e1cc8aaa2037f5b39ed0e8ae5bcf968047e8b8936361b92855c620c",
"src/ApiGateway/ApiGateway.csproj": "6e81c32841f12d915e47691d0954f91b2d915b8dc7dc8a2c6b80895dd9a4d43e",
"src/ApiGateway/Controllers/AuthenticationController.cs": "f76ec4f393c55ee6d3b222633f0bd2ce3716c6acc4c3d8021df99f7cdf98453a",
"src/ApiGateway/Controllers/HealthOverviewController.cs": "0a05ccd0dd9b763e1e3f573d06823602a0e0d0240c9e8f606006cc6d38a61943",
"src/ApiGateway/Controllers/InsightsController.cs": "810c906f771ce01eae3b6ad271d73d32921b6872b213983153cac13e640c22b1",
"src/ApiGateway/Controllers/MeasurementGuidanceController.cs": "1be2c32f56a5cda6771cb803ba7de6e9ccb52c3611106ab0835cec82b0508727",
"src/ApiGateway/Controllers/ObservationController.cs": "2a33302f8d8158e2f8b3ec1348155696f700df9899285cb94615bf50aea1142e",
"src/ApiGateway/Controllers/PatientController.cs": "2b416bb49e98c4009aee15727933c79809a0b21d5b1f1fcfb45f10c5ba7c84e7",
"src/ApiGateway/Controllers/ProfessionalController.cs": "87f7c5830215673a2574059a0c881cebd00175b29ca0837c164041a9e9c270d0",
"src/ApiGateway/Program.cs": "9e6ba8e51c837719f44b7832c31b098cbf521b948ede85b6d02fff98f364c748",
"src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs": "985ee505d8e38d152687b71adde0229f12c1e354c8f3ffa24867240328894448",
"src/ApiGateway/Security/PatientAccessMiddleware.cs": "497c7f69c179fa048df6118ff1955bebcee132f9d5ea05152836d3e050524812",
"src/ApiGateway/Security/ProfessionalAssignments.cs": "7883c801dcdec8df64c7108ff84660e342f26b271407874aea9bc9b5a637c7ab",
"src/ApiGateway/Security/PrototypeAccounts.cs": "a4cbcaa6db514439a84f6a1eb249317fb718ee57122ba4e6a93e907065d18abf",
"src/ApiGateway/appsettings.json": "817db0bf2ecca78364c41dbaf7949bf2504cf47a1c3d0d54f3be8178fefc030b",
"src/HealthOverviewService/Application/HealthOverviewApplicationService.cs": "234190b299f0487c45c9a942b85659da0445e020ad8945f47072c04777bffba4",
"src/HealthOverviewService/Clients/InsightsServiceClient.cs": "1087c1ac57605ae7e869e798b4d1b0ff26250f8ce9267eac8939e16089a3f924",
"src/HealthOverviewService/Clients/ObservationServiceClient.cs": "f6cef0c6f78e04ea693b5d9bb272aedf7ea16c2934bdee7c4dca2a2078ce4efc",
"src/HealthOverviewService/Clients/PatientProfileServiceClient.cs": "7bba92bc1b382c3d08a7036b89df0669ddf9c344211370efb30f2b91f894fd19",
"src/HealthOverviewService/Contracts/HealthOverviewDto.cs": "d95e27f230cfeeb10c20b28c53e13acebdf626a3a7e9566e395b35122e9c75ae",
"src/HealthOverviewService/Controllers/HealthOverviewController.cs": "c3e9bc2e646527a422c99470381723d8b11288768c9c1b73cbf304b73e1c6e41",
"src/HealthOverviewService/HealthOverviewService.csproj": "6e81c32841f12d915e47691d0954f91b2d915b8dc7dc8a2c6b80895dd9a4d43e",
"src/HealthOverviewService/Program.cs": "63a799d09cdeaf1ea97c1646aa9b57b525007255d63a6bec41754fb61a01533c",
"src/HealthOverviewService/appsettings.json": "817db0bf2ecca78364c41dbaf7949bf2504cf47a1c3d0d54f3be8178fefc030b",
"src/InsightsService/Application/InsightsApplicationService.cs": "7319a7f8057b1906afb7797a474672ca2ee20dfe0c814cceeb3dbec61488573e",
"src/InsightsService/Clients/HttpObservationServiceClient.cs": "91677b578eddbd12932ab9c7889647bfd9b5619d15178fca00c60786b39dd716",
"src/InsightsService/Clients/ObservationServiceClient.cs": "802b8cc66f58441d20163ea81acd07ba1347438b8f0891375831959e3e1e30e4",
"src/InsightsService/Contracts/HealthInsightDto.cs": "001d24e7d2b0dedf6c51949893274104e9f8372cc4cc609b83780161df88ace7",
"src/InsightsService/Contracts/ObservationDto.cs": "fd37572e721ba288e0bdd4279ff953fed1fe19ed8a91840e9fba38b9d20c6e77",
"src/InsightsService/Controllers/InsightsController.cs": "0304dc102bb192ab8358117597f1033194764b96a20be5e4734e0c3f5607c723",
"src/InsightsService/Domain/ContextSelection.cs": "82b9acd07e6b4de0450890395d073a4acf1b172782f1e698e18b61db02d3e92d",
"src/InsightsService/Domain/HealthInsight.cs": "fc634cb3b99905c33ba42dd0caa5ab31e01a06b9e319a2e312e0579aa6e0b272",
"src/InsightsService/Domain/InsightCalculator.Trends.cs": "ef196331aad4cf12899ce2de65fc2ac739059fbb8fc69216c495abaa4a087744",
"src/InsightsService/Domain/InsightCalculator.cs": "2575a8f7641f6f232bf924484a29e9a28d8c41eb25700844fc9c2577fbe2237c",
"src/InsightsService/Domain/TrendAssessment.cs": "5ba75fba606fa7ca05e3607edc0b7985e69b097f15f9872d525a72189f049fe0",
"src/InsightsService/InsightsService.csproj": "6e81c32841f12d915e47691d0954f91b2d915b8dc7dc8a2c6b80895dd9a4d43e",
"src/InsightsService/Program.cs": "3aceaf19cc216790319389dfaf9b82238ab153cc46dc6b02e3414fa8eb855961",
"src/InsightsService/appsettings.json": "817db0bf2ecca78364c41dbaf7949bf2504cf47a1c3d0d54f3be8178fefc030b",
"src/OVERVIEW.md": "aa7f4ca1ffca79de533ed34ba06e8e1ea4967dba0cfc54884c48877aaaf794b6",
"src/ObservationService/Application/ObservationApplicationService.cs": "4ceaa7d67b391b0a28df737cb8e60cbcedf73aa47e254025f5344e671acee97a",
"src/ObservationService/Application/ObservationRepository.cs": "a1c21ef7e0700b4f62364e5e4bbd2ad03e98cf2f1b0ca93b4e0288444a656098",
"src/ObservationService/Contracts/MeasurementContextPatch.cs": "fae0cad81e9bec85a20a88d320f9c812e2655b84fa484e0e233744c9f0052a57",
"src/ObservationService/Contracts/ObservationDto.cs": "989312e16eaa4306387ea7cb01d2e8079a8c596741b94e8e0bb7376585a4d42d",
"src/ObservationService/Contracts/PatchObservationRequest.cs": "3be4db307b24e5c88cb2f93b00bc7f5bcebd1920112a928ffb5001abf3203bd6",
"src/ObservationService/Contracts/RecordObservationRequest.cs": "7430845925f6ae9c1cf590ae9af769891e5cb414345b37a76061265aea7c6f5a",
"src/ObservationService/Contracts/UpdateObservationRequest.cs": "f1d987f3d0d996ce0c018922c9d0d096f72705722e73b58ab0eb90eb7457d658",
"src/ObservationService/Controllers/ObservationController.cs": "68fe89a643bf1ff03d8c022fdc715f9f58cfa554675d5a5f1331b8857e1663d9",
"src/ObservationService/Domain/BloodPressureObservation.cs": "a968856d9d9a7e8d9e202658cc3273ce0c0cf39356129e4db62504a31aa053be",
"src/ObservationService/Domain/ContextSelection.cs": "1d7eeba19330a191673153be07ff124765f420b80589858bcfb54f470d2ec3df",
"src/ObservationService/Domain/MeasurementContext.cs": "500c7e2c02213fc1752a4533f3ea875eaefe24f39744291491e9fa51a8e8a50d",
"src/ObservationService/ObservationService.csproj": "2a14c125f601d5fa3b4d5b9a1995ca23805a80635bceadd1834acc8132c14d44",
"src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs": "9f24f074d1c4934359d606311882f9ad13508e9903b974b3b240441689c70897",
"src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs": "1a44e09a08a6045ff23621936b8b626b5eb2dc4b6839076a3d07d78c13376dcb",
"src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs": "1cb88c86e7a13a5cb25ef9c9f7d39f51cd20cebfc75199d8effd3cdf8a890cf4",
"src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs": "da719484aab8eff24123a2fa99411b85a5f3e21d0fc21d0bcbaa56d6c1d03960",
"src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs": "fb9c5c7d874f4b23fe57472520790b68a7e06ed30d2867c98cc2813d736b9fbb",
"src/ObservationService/Persistence/ObservationDbContext.cs": "6d9f0c6106db8b2f4852d5e0a4a13047016035f34a4c04b68b6b2cc1832d414d",
"src/ObservationService/Persistence/SqlObservationRepository.cs": "f77e38151d481cc3a3957a3bd3dd0bf547352f78ab2aa359827a93656a5342ae",
"src/ObservationService/Program.cs": "7ad86451a63a7b49223f6cd5105a073d57519fd5021ea788a89fb4f1f8827d9a",
"src/ObservationService/appsettings.json": "8cd0df652a9a49668856ccc8c9dd65b3e1469cdf74c7165248a20e1acde61b28",
"src/PatientProfileService/Application/PatientApplicationService.cs": "8f673a37101bd11a6c991be2a8b3103b18cee1f85262d40add6bdb8fee89d5a7",
"src/PatientProfileService/Application/PatientRepository.cs": "4d9d0ee890f2ce9eec3d4839cf998ee4299603a6a58ce2043a3e7f9d4214bfcf",
"src/PatientProfileService/Application/ProfileAlreadyExistsException.cs": "96ee280d51c6996f36e3721a9bff41d6bbcc94bac63f018ff07fd7b9bc0f402b",
"src/PatientProfileService/Contracts/CreatePatientRequest.cs": "dd75326c9d723b9ada8612371854ee1ba57289577579c45f52695c92c74441f8",
"src/PatientProfileService/Contracts/PatientDto.cs": "2886340d45231135b70cb1e345c67e5e2eb647bbe61302eec74dabd05609ef41",
"src/PatientProfileService/Contracts/UpdatePatientRequest.cs": "27528295eccdb708fa23f2538ed1a7599456e23596872472c90500b48859f0a2",
"src/PatientProfileService/Controllers/PatientController.cs": "ac2c59bf16c70ea713516db1e304d924027dae316d9e6781ebf0e759550c2d87",
"src/PatientProfileService/Domain/Patient.cs": "7eaeee54560d975475b0a3f0c8cf33978fafe9536d66027caba03c5c68e2aeb4",
"src/PatientProfileService/PatientProfileService.csproj": "2a14c125f601d5fa3b4d5b9a1995ca23805a80635bceadd1834acc8132c14d44",
"src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs": "721fdc07915da2fa99fcf15f889a434eb5eb4f56f6fef8f56fa77de35e141985",
"src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs": "715e32ae82b3133a77583f835f21ea63d171daa5314e6ee449a7a72c378b98a4",
"src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs": "7d58aae8acc9e4e1976e1bb551fd8f408683a8bf56f026bb8f7e5cac7d5ccc7e",
"src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs": "d61827e78358064411ef1f0f8507d1cf339637233fd178d32d25e0be11c853a9",
"src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs": "4137f40f98d3de0d16e1258ae839fbac6f0a21ff29d49433156d2667ed396d9e",
"src/PatientProfileService/Persistence/PatientDbContext.cs": "c3ae81375a6973bb510df1a598afaf6badd3e45e1d25f0fd480e574d97c51814",
"src/PatientProfileService/Persistence/SqlPatientRepository.cs": "637d9a788b95ced04ad7e9b28d1691c38246b0ae0f9087f2bde35c3fb707c0d7",
"src/PatientProfileService/Program.cs": "087178aa8c556e972b1a2f58d0c9b21b3bca9d84ba0b5eb14a80a5f54320f4ba",
"src/PatientProfileService/appsettings.json": "8cd0df652a9a49668856ccc8c9dd65b3e1469cdf74c7165248a20e1acde61b28",
"src/README.md": "8779152d2a416c51cca344bee69d6480d87189c6b047e53dc10c5b258d665681",
"src/TRENDS.md": "0506cb4fef1e36e80829b7b32afb246be32551ddddf58a19bf74535f8d943399",
"tests/Deployment.AcceptanceTests/BootstrapTests.cs": "fe3dc46f5c127bb37d59d8928a0f98b9736896325be1cf5554b0c7628dde31a4",
"tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj": "aa3bee15a11bd295be35c7fe3bad7f5525b3d314a6ac4a5c8d08df060900805c",
"tests/Deployment.AcceptanceTests/DeploymentFixture.cs": "7138d67f1ab0def4986798568f88d9b9ce0ad7b40aef714c9a9766ce78e855ee",
"tests/Deployment.AcceptanceTests/InstallationTests.cs": "b771a4ffdd667eb1cf0307cebf54ca7709041aa55d3d0442f1d738adf2806605",
"tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs": "0995b4980a55c1cdc667ab40f8acad27bb37678b0a9c95fbe129d33d8cb7bcd6",
"tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs": "ce8e908a3ff10c01e4f3984e6523159fc45f4f2c3fdcf3106343addd11cc66bc",
"tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs": "2709163cd782fee2844f463d8042d62023548cec2b10faf85d46c9cd551141c5",
"tests/Observation.AcceptanceTests/DeleteObservationTests.cs": "916ebbcc0f5d3737e63db752a49f5b1b667ddc2eec6feb11f75ff7357465f8c3",
"tests/Observation.AcceptanceTests/HealthInsightTests.cs": "b6e1cfac712455f344493a3eea5cc697a05936e09e31c8010d68eba44fda4947",
"tests/Observation.AcceptanceTests/HealthOverviewTests.cs": "0e7874fde9943828bd1a8551a69012055a5b36c6912d3c9fd01fe3eef23fad98",
"tests/Observation.AcceptanceTests/HealthTrendTests.cs": "48266f7b71838fe90bdbeeea1eed562508a0735266f32e7d2ab28e861fbd9306",
"tests/Observation.AcceptanceTests/LatestObservationTests.cs": "d4cb653d7fc0999b6dee2da540b9a2b69cd59029c7394332a1a752c3daa8a4d8",
"tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs": "7cf4d025ac906cceaf0026aefd38ab2cf518b6656eebc4b194186c24d8ae9e26",
"tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj": "68f9427df8b24b7041660d461551b9628f1cc80725599b0e4673813d891821ca",
"tests/Observation.AcceptanceTests/ObservationApiFixture.cs": "a26195b246a37547b22d5c096dd748cdc6daee1aa6c94a8264293e5099f7d1d7",
"tests/Observation.AcceptanceTests/ObservationHistoryTests.cs": "17299fb041080f2ae198e139b80694aaff563c1f82d3d2ae40d2696f3a325698",
"tests/Observation.AcceptanceTests/PatchObservationTests.cs": "84cbd448712e3b32c49ad4191e816dd5b34f8bf58badbb5c5565f23f0f8bb8ea",
"tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs": "466ae0a234bb5deba3c3e6f10ab7dcf8e85898467c23e7fa6bf141b527f0a28a",
"tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs": "1e3c87b0666c6a8760f50a9b9a71a667978693e0fb2a4fe14a128f8d2eb4a8e8",
"tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs": "d582410cd6b277a7731f39235419d3160dd743f75d3b980e761e8687d4a18956",
"tests/Observation.AcceptanceTests/RecordObservationTests.cs": "2cb26f6bed1d3c8e1b1545cf8574b710da72c3ecbc5edcfb92f7b82ef1be9901",
"tests/Observation.AcceptanceTests/UpdateObservationTests.cs": "ad18354dc70dbe42867cf8ea88a71f2a636d6fdd18d0d1f9232fb5f017a0a9ab",
"tests/Observation.AcceptanceTests/ViewObservationContextTests.cs": "3b25fb13e3582bdf63a02d018c6dd7e1f411ca8acb8c9b7d30c24ab8308ecc82",
"tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs": "60dbf89fd22f9e75459d566c2b5ed57d6bf77b2bbdf5de877aea659fb1b0cdea",
"tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs": "2b0bb2b9b727a1781cb5c04bc016d6498b9eccefd79e5dab425cff7c50977151",
"tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs": "b4de9f53f067bf7d2db54f74f92242a916eaf294533641b98fd6fd3348a06619",
"tests/PatientProfile.AcceptanceTests/PatientApiFixture.cs": "e54c213453683996b2c0be427df06c8491b9a73861b61779df5e0b479e278664",
"tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj": "d224cf5a084478bf7495c4458ce15b7f0139201d0cb0f9eda4041459aed87a1a",
"tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs": "2bfebdf5fceaf2fccd24103f653a21ba8b0d44216a4283f74400b98a2631f911",
"tests/Support/AuthenticatedTestClient.cs": "112bb94396a6272b3819d049386711e326ce2dbbd37d1415692f2199605ef948"
}
}
@@ -0,0 +1,29 @@
# Original automated-test inventory
Source commit: `2117236366130775214d9fd2611984d4348f2b79`. Declaration counts are not executed test-case counts; theories expand into multiple cases. No tests were executed during preparation.
| Source test file | Facts | Theories |
| --- | --- | --- |
| `tests/Deployment.AcceptanceTests/BootstrapTests.cs` | 0 | 1 |
| `tests/Deployment.AcceptanceTests/InstallationTests.cs` | 8 | 3 |
| `tests/Observation.AcceptanceTests/ContextFilteredHistoryTests.cs` | 4 | 3 |
| `tests/Observation.AcceptanceTests/ContextSelectedInsightTests.cs` | 4 | 4 |
| `tests/Observation.AcceptanceTests/DeleteContextualisedObservationTests.cs` | 4 | 0 |
| `tests/Observation.AcceptanceTests/DeleteObservationTests.cs` | 3 | 0 |
| `tests/Observation.AcceptanceTests/HealthInsightTests.cs` | 6 | 1 |
| `tests/Observation.AcceptanceTests/HealthOverviewTests.cs` | 7 | 4 |
| `tests/Observation.AcceptanceTests/HealthTrendTests.cs` | 20 | 5 |
| `tests/Observation.AcceptanceTests/LatestObservationTests.cs` | 6 | 0 |
| `tests/Observation.AcceptanceTests/MeasurementContextMigrationTests.cs` | 1 | 0 |
| `tests/Observation.AcceptanceTests/ObservationHistoryTests.cs` | 4 | 1 |
| `tests/Observation.AcceptanceTests/PatchObservationTests.cs` | 8 | 1 |
| `tests/Observation.AcceptanceTests/PatientAuthenticationTests.cs` | 12 | 1 |
| `tests/Observation.AcceptanceTests/ProfessionalAccessTests.cs` | 10 | 1 |
| `tests/Observation.AcceptanceTests/RecordMeasurementContextTests.cs` | 5 | 2 |
| `tests/Observation.AcceptanceTests/RecordObservationTests.cs` | 5 | 2 |
| `tests/Observation.AcceptanceTests/UpdateObservationTests.cs` | 3 | 2 |
| `tests/Observation.AcceptanceTests/ViewObservationContextTests.cs` | 6 | 0 |
| `tests/PatientProfile.AcceptanceTests/AuthenticationIntegrationTests.cs` | 1 | 1 |
| `tests/PatientProfile.AcceptanceTests/CreatePatientTests.cs` | 3 | 2 |
| `tests/PatientProfile.AcceptanceTests/MeasurementGuidanceTests.cs` | 0 | 4 |
| `tests/PatientProfile.AcceptanceTests/UpdatePatientTests.cs` | 2 | 1 |
+25
View File
@@ -0,0 +1,25 @@
# Architecture-dependent test adaptations
Authority: approval Q1. Unmodified originals remain under Reference/ArchitectureA. Functional assertions stay intact except explicitly approved architecture-dependent conditions below.
| Original scenario / infrastructure | B replacement / reason |
| --- | --- |
| PatientApiFixture / ObservationApiFixture: multiple hosts/two databases | One real Kestrel host and one isolated database, module-owned schemas. Test-admin contexts remain available solely to establish Given and inspect persistence. Runtime uses restricted DML role |
| All adopted suites: service namespaces | Module/shared immutable value namespaces; JSON expectation vocabulary preserved |
| RecordObservationTests.Failed_patient_lookup_is_rejected_without_saving | StopPatientService helper now configures unusable shared DB endpoint; 502 assertion becomes approved 503; persisted count assertion unchanged |
| Guidance tests: ApiGateway host | HealthApp host; all original instructions/source/applicability/side-effect assertions and upstream traps unchanged |
| ViewObservationContextTests / filtered access | Empty denied 404 preserved, corrected implementation after tests caught accidental Problem Details |
| New concurrency checks | Hold row lock, prove both patches wait, release, verify both disjoint changes and unchanged owner/time/note; new architecture obligation |
Insight/context/trend/deletion-derived tests: service-stop helpers represent DB outage, expected 503 replaces 502; current data, no-write, no-false-insufficiency assertions unchanged. Pure calculation tests instantiate the identical mathematical implementation through its internal test-compatible entry and explicit Guidance reference catalog. No clinical assertion changed.
| Additional original scenario | B replacement / preserved obligations |
| --- | --- |
| HealthOverviewTests.Overview_service_credential_is_restricted_to_required_reads | Sole edge rejects service-only headers with 401, replacing 403 from obsolete Service role. No protected data returned |
| HealthOverviewTests.Unavailable_source_or_overview_is_a_failure_not_absent_insight | Each old service-stop example injects shared DB unavailability; 503 replaces 502. No false nullable-insight success |
| 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 |
+26 -29
View File
@@ -1,45 +1,42 @@
# HealthAppRepositoryB # Health App Architecture B
## Project Purpose Architecture B implements the approved modular monolith: one ASP.NET Core HTTPS application, typed Profile/Observations/Analytics/Overview/Guidance modules, and one PostgreSQL database with owned schemas. API/access enforces normalized patient/professional identity and actual resource ownership. Numerical calculations, clinical content and public REST/JSON semantics are preserved from the pinned Architecture A reference, with the approved US-16 and dependency-failure revisions.
HealthAppRepositoryB is part of a Master's thesis in IT investigating the use of Large Language Models (LLMs) for software architecture design and energy efficiency. Approval and implementation evidence are in [ImplementationPlan](ImplementationPlan/implementation-plan.md); the authoritative target remains [ArchitectureProposal](ArchitectureProposal/software-architecture.md). [Approval decisions](Docs/ApprovalRequirements/architecture-b-implementation-approval.md) include portable Linux installation. Input requirements/diagrams and the original repository remain unchanged. No frontend, identity server, background worker, broker or clinical-result store was introduced.
The research question is: ## Build and test
> To what extent can Large Language Models be used to identify and suggest changes to an existing software architecture that result in measurable improvements in the energy efficiency of the implemented system? Use the .NET 10 SDK selected by `global.json`:
## Project Objective ```bash
dotnet restore HealthApp.slnx
dotnet build HealthApp.slnx -c Release
TEST_POSTGRES_CONNECTION='Host=127.0.0.1;Database=postgres;Username=TEST_ADMIN;Password=YOUR_TEST_PASSWORD' \
dotnet test HealthApp.slnx -c Release
```
The purpose of this repository is to develop a software architecture for the Health App based on its documented functional requirements, domain concepts, and relevant constraints. Optional automatic disposable-server harness: `HEALTHAPP_DOTNET=/path/to/dotnet python3 tools/run-disposable-tests.py` (requires administrative Docker access for test infrastructure only).
An LLM-based architecture agent is tasked with evaluating architectural alternatives and designing an architecture that satisfies the application's requirements while considering energy efficiency as an important design objective. Use only a disposable test PostgreSQL server with create/drop database and role permissions. Fixtures create isolated databases and DML-only runtime roles, apply module schema scripts twice, exercise real Kestrel HTTP, and remove their own resources. Do not point tests at Architecture A or production databases. Framework/provider/EF/xUnit versions remain pinned; no algorithm replacement or technology migration is included.
The resulting architecture may resemble or differ from the original Health App architecture. Architectural decisions must be justified by their suitability rather than by novelty. The unchanged executable source/test baseline lives under [Reference/ArchitectureA](Reference/README.md), copied from `2117236366130775214d9fd2611984d4348f2b79`. It is excluded from the final B solution and preserves original architecture-specific tests. Never build/test in `../HealthAppRepository/`.
## Research Context ## Deploy and run
This repository represents the architecture-design work associated with the thesis. ```bash
bash deploy/build-release.sh --output NEW_RELEASE_DIRECTORY
# In the new bundle on a supported systemd Linux host:
sudo bash install.sh --host YOUR_DNS_OR_IP
```
The original Health App serves as the reference system. The proposed architecture will be evaluated for its feasibility and potential energy-related consequences, with the intention of supporting a later empirical comparison. The installer supplies dependencies, fresh database/roles/schemas, protected secrets/configuration, generated or supplied HTTPS certificate, persistent token keys, migrations and `healthapp-b.service`. It verifies representative operations and application stop/restart without stopping PostgreSQL. Remote database mode requires verified TLS/hostname and installs no local PostgreSQL. See [installation guide](deploy/INSTALLATION.md).
Energy-efficiency benefits suggested during architecture design are hypotheses, not established measurements. For an already provisioned B development database, supply external accounts/assignments, connection, key directory and HTTPS settings through `HEALTHAPP_CONFIGURATION_FILE=/absolute/protected/appsettings.json` or normal .NET configuration. [Configuration example](deploy/appsettings.example.json) is illustrative, not a prepared credential file. Production rejects plain HTTP. Use `dotnet run --project src/HealthApp -c Release`; the app never applies migrations itself.
## Repository Structure [Trend methods](src/TRENDS.md) describe unchanged formulas, timestamp ties, full-period direction/variation and clinical limits. [Conformance](ImplementationPlan/architecture-conformance.md), [functional verification](ImplementationPlan/functional-equivalence.md) and [test adaptations](ImplementationPlan/test-adaptations.md) distinguish executed evidence from limitations. Native Debian 12 systemd local/remote installation was exercised in isolated Linux environments; other distribution adapters are intended support with explicit prerequisites.
- `AGENT.md` — Instructions and constraints for the architecture-design agent. This repository remains part of the thesis research. Installation/testing is not an energy experiment or clinical certification. [Measurement context](ImplementationPlan/measurement-context.md) records environment differences and equivalent reproducible synthetic dataset setup. Clinical classifications are preserved for comparison; uncertain provenance is documented without asserting new clinical validity.
- `Docs/` — Functional requirements, domain information, existing design documentation, and relevant constraints.
- `ArchitectureProposal/` — Architecture specifications, editable Draw.io diagrams, architectural decisions, requirements traceability, and supporting documentation produced by the agent.
## Scope ## JMeter workloads
The architecture-design work focuses on software architecture and system-level decisions, including component boundaries, communication, data management, persistence, deployment, and architectural patterns. [Architecture B JMeter tooling](tools/energy-jmeter/README.md) preserves the public-API scenarios and 30-minute warmup/four-hour measurement defaults. Account preparation uses B JSON configuration. See [compatibility findings and verification](tools/energy-jmeter/ARCHITECTURE-B.md) before preparing a disposable test installation.
Code-level optimization, algorithm replacement, and LLM training or inference energy consumption are outside the research scope.
The architecture-design agent does not implement application code. Its responsibility is to produce a coherent, justified, and sufficiently detailed software architecture.
## Research Status
**Current phase:** Architecture design.
The repository preserves the documentation and agent instructions used as input to the architectural design process.
@@ -0,0 +1,38 @@
name: Prototype native installation
on:
workflow_dispatch:
permissions:
contents: read
jobs:
native-install:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-latest, macos-14]
runs-on: ${{ matrix.os }}
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Build portable release on Unix
if: runner.os != 'Windows'
shell: bash
run: bash deploy/build-release.sh --output "$RUNNER_TEMP/healthapp-release"
- name: Build portable release on Windows
if: runner.os == 'Windows'
shell: pwsh
run: ./deploy/build-release.ps1 -Output "$env:RUNNER_TEMP/healthapp-release"
- name: Provision and verify Ubuntu/systemd
if: runner.os == 'Linux'
shell: bash
run: sudo bash "$RUNNER_TEMP/healthapp-release/install.sh" --services all --host localhost --dotnet "$(command -v dotnet)"
- name: Provision and verify Windows Services
if: runner.os == 'Windows'
shell: pwsh
run: '& "$env:RUNNER_TEMP/healthapp-release/install.ps1" -Services all -HostName localhost'
- name: Provision and verify macOS/launchd
if: runner.os == 'macOS'
shell: bash
run: sudo bash "$RUNNER_TEMP/healthapp-release/install.sh" --services all --host localhost
+15
View File
@@ -0,0 +1,15 @@
**/bin/
**/obj/
TestResults/
.env
*.user
# Draw.io backup files
Docs/Architecture/.*.bkp
# Private workload credentials and generated measurement results
tools/energy-jmeter/.private/
tools/energy-jmeter/results/
tools/energy-jmeter/hash-tool/
jmeter.log
__pycache__/
+17
View File
@@ -0,0 +1,17 @@
<Solution>
<Folder Name="/deploy/">
<Project Path="deploy/HealthApp.Provisioning/HealthApp.Provisioning.csproj" />
</Folder>
<Folder Name="/src/">
<Project Path="src/HealthOverviewService/HealthOverviewService.csproj" />
<Project Path="src/InsightsService/InsightsService.csproj" />
<Project Path="src/ApiGateway/ApiGateway.csproj" />
<Project Path="src/PatientProfileService/PatientProfileService.csproj" />
<Project Path="src/ObservationService/ObservationService.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/Deployment.AcceptanceTests/Deployment.AcceptanceTests.csproj" />
<Project Path="tests/Observation.AcceptanceTests/Observation.AcceptanceTests.csproj" />
<Project Path="tests/PatientProfile.AcceptanceTests/PatientProfile.AcceptanceTests.csproj" />
</Folder>
</Solution>
@@ -0,0 +1,41 @@
using System.Text.Json;
namespace HealthApp.Provisioning;
public static class ConfigurationWriter
{
public static void Configure(string serviceDirectory, string root, string platform)
{
if (platform is not ("linux" or "windows" or "macos")) throw new InvalidOperationException("Unknown configuration platform.");
var service = Deployment.ReadService(serviceDirectory);
var directory = platform == "linux" ? Path.Combine(root, "etc", "healthapp", service.Name) : Path.Combine(root, "config", service.Name);
Directory.CreateDirectory(directory);
var destination = Path.Combine(directory, platform == "windows" ? "appsettings.Production.json" : "service.env");
if (File.Exists(destination)) throw new InvalidOperationException("Service configuration already exists; it was not overwritten.");
var env = new Dictionary<string, string>(service.Environment);
env["Kestrel__Certificates__Default__Path"] = Path.Combine(directory, "service.pfx");
if (service.Name == "api-gateway") env["Authentication__KeyDirectory"] = platform == "linux" ?
Path.Combine(root, "var", "lib", "healthapp-api-gateway", "keys") : Path.Combine(root, "state", "api-gateway", "keys");
File.Copy(Path.Combine(serviceDirectory, "service.pfx"), Path.Combine(directory, "service.pfx"));
if (platform == "windows")
{
var json = new Dictionary<string, object>();
foreach (var (key, value) in env)
{
if (key == "ASPNETCORE_ENVIRONMENT") continue; // Native service command line explicitly selects Production.
var parts = (key == "ASPNETCORE_URLS" ? "urls" : key).Split("__");
var current = json;
foreach (var part in parts[..^1])
{
if (!current.TryGetValue(part, out var child)) current[part] = child = new Dictionary<string, object>();
current = (Dictionary<string, object>)child;
}
current[parts[^1]] = value;
}
File.WriteAllText(destination, JsonSerializer.Serialize(json, Deployment.Json));
}
else File.WriteAllLines(destination, env.Select(p => p.Key + "=\"" + p.Value.Replace("\\", "\\\\").Replace("\"", "\\\"") + "\""));
if (OperatingSystem.IsLinux() || OperatingSystem.IsMacOS())
foreach (var file in Directory.GetFiles(directory)) File.SetUnixFileMode(file, UnixFileMode.UserRead | UnixFileMode.UserWrite);
}
}
@@ -0,0 +1,72 @@
using System.Diagnostics;
using System.Text.RegularExpressions;
using Npgsql;
namespace HealthApp.Provisioning;
public static class DatabaseProvisioning
{
public static async Task Create(string serviceDirectory, string? adminFile)
{
var service = Deployment.ReadService(serviceDirectory);
var database = service.Database ?? throw new InvalidOperationException("This service owns no database.");
if (!Regex.IsMatch(database.Name, "^[a-z][a-z0-9_]{1,62}$") || !Regex.IsMatch(database.User, "^[a-z][a-z0-9_]{1,62}$") ||
!Regex.IsMatch(database.Password, "^[A-F0-9]{64}$")) throw new InvalidOperationException("Generated database settings are invalid.");
var adminConnection = adminFile is null ? null : File.ReadAllText(adminFile).Trim();
async Task<string> Sql(string sql, string target = "postgres")
{
if (adminConnection is not null)
{
var settings = new NpgsqlConnectionStringBuilder(adminConnection) { Database = target, Pooling = false };
await using var connection = new NpgsqlConnection(settings.ConnectionString);
await connection.OpenAsync();
await using var command = new NpgsqlCommand(sql, connection);
var result = await command.ExecuteScalarAsync();
return result?.ToString() ?? "";
}
var start = new ProcessStartInfo("runuser") { RedirectStandardInput = true, RedirectStandardOutput = true,
RedirectStandardError = true, UseShellExecute = false };
foreach (var argument in new[] { "-u", "postgres", "--", "psql", "--no-psqlrc", "--set=ON_ERROR_STOP=1", "--tuples-only", "--no-align", "--dbname", target })
start.ArgumentList.Add(argument);
using var process = Process.Start(start) ?? throw new InvalidOperationException("Could not run PostgreSQL administration.");
var stdout = process.StandardOutput.ReadToEndAsync();
var stderr = process.StandardError.ReadToEndAsync();
await process.StandardInput.WriteAsync(sql);
process.StandardInput.Close();
using var timeout = new CancellationTokenSource(TimeSpan.FromSeconds(30));
try { await process.WaitForExitAsync(timeout.Token); }
catch (OperationCanceledException) { process.Kill(true); throw; }
await stderr; // Never print SQL or passwords, including PostgreSQL error echoes.
if (process.ExitCode != 0) throw new InvalidOperationException("PostgreSQL administration failed; existing data was retained.");
return (await stdout).Trim();
}
static bool True(string value) => value is "t" or "True";
var userExists = True(await Sql($"SELECT EXISTS(SELECT FROM pg_roles WHERE rolname='{database.User}');"));
if (!userExists)
await Sql($"CREATE ROLE {database.User} LOGIN PASSWORD '{database.Password}' NOSUPERUSER NOCREATEDB NOCREATEROLE NOREPLICATION;");
var exists = True(await Sql($"SELECT EXISTS(SELECT FROM pg_database WHERE datname='{database.Name}');"));
if (exists && !True(await Sql($"SELECT pg_get_userbyid(datdba)='{database.User}' FROM pg_database WHERE datname='{database.Name}';")))
throw new InvalidOperationException("Existing database has another owner; it was not changed.");
if (!exists) await Sql($"CREATE DATABASE {database.Name} OWNER {database.User};");
await Sql($"REVOKE ALL ON DATABASE {database.Name} FROM PUBLIC;");
await Sql($"REVOKE ALL ON SCHEMA public FROM PUBLIC; ALTER SCHEMA public OWNER TO {database.User}; GRANT USAGE, CREATE ON SCHEMA public TO {database.User};", database.Name);
// With an external PostgreSQL admin connection, preserve that endpoint in generated application config.
if (adminConnection is not null)
{
var admin = new NpgsqlConnectionStringBuilder(adminConnection);
database = database with { Host = admin.Host!, Port = admin.Port };
service = service with { Database = database };
var key = service.Name == "patient-profile" ? "ConnectionStrings__PatientDatabase" : "ConnectionStrings__ObservationDatabase";
service.Environment[key] = Deployment.ConnectionString(database);
File.WriteAllText(Path.Combine(serviceDirectory, "service.json"), System.Text.Json.JsonSerializer.Serialize(service, Deployment.Json));
}
await Check(database);
}
public static async Task Check(DatabaseSettings database)
{
await using var connection = new NpgsqlConnection(Deployment.ConnectionString(database));
await connection.OpenAsync();
await using var command = new NpgsqlCommand("SELECT current_user", connection);
if ((string?)await command.ExecuteScalarAsync() != database.User) throw new InvalidOperationException("Database service identity does not match.");
}
}
@@ -0,0 +1,157 @@
using System.Net;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text.Json;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Identity;
using Npgsql;
namespace HealthApp.Provisioning;
public sealed class Topology
{
public Dictionary<string, string> Hosts { get; set; } = new();
public Dictionary<string, int> Ports { get; set; } = new();
public Dictionary<string, string> Platforms { get; set; } = new();
}
public sealed record DatabaseSettings(string Name, string User, string Password, string Host = "localhost", int Port = 5432);
public sealed record Account(string AccountId, string Role, string Password);
public sealed record ServiceSettings(string Name, string Host, int Port, string IncomingKey, string? OutgoingKey,
string CertificatePassword, DatabaseSettings? Database, Dictionary<string, string> Environment, string Platform = "linux");
public sealed record Deployment(string Id, Dictionary<string, ServiceSettings> Services, List<Account> Accounts)
{
public static readonly string[] Names = ["api-gateway", "patient-profile", "observation", "insights", "health-overview"];
public static readonly Dictionary<string, string> ContractNames = new()
{
["patient-profile"] = "PatientProfile", ["observation"] = "Observation",
["insights"] = "Insights", ["health-overview"] = "HealthOverview"
};
public static readonly JsonSerializerOptions Json = new() { PropertyNameCaseInsensitive = true, WriteIndented = true };
public static string Secret() => Convert.ToHexString(RandomNumberGenerator.GetBytes(32));
public static string Url(ServiceSettings service) => new UriBuilder("https", service.Host, service.Port).Uri.ToString();
public static Deployment Load(string directory) => JsonSerializer.Deserialize<Deployment>(
File.ReadAllText(Path.Combine(directory, "deployment.json")), Json) ?? throw new InvalidOperationException("Deployment is invalid.");
public static void Prepare(string output, string host, string? topologyFile, string? certificates)
{
if (Directory.Exists(output) || File.Exists(output)) throw new InvalidOperationException("Deployment output already exists; existing credentials were not changed.");
var topology = topologyFile is null ? new Topology() : JsonSerializer.Deserialize<Topology>(File.ReadAllText(topologyFile), Json)
?? throw new InvalidOperationException("Topology is invalid.");
foreach (var name in topology.Hosts.Keys.Concat(topology.Ports.Keys).Concat(topology.Platforms.Keys))
if (!Names.Contains(name)) throw new InvalidOperationException("Topology has an unknown service.");
var id = Guid.NewGuid().ToString("N")[..12];
var services = new Dictionary<string, ServiceSettings>();
var defaults = new Dictionary<string, int> { ["api-gateway"] = 5443, ["patient-profile"] = 5081,
["observation"] = 5082, ["insights"] = 5083, ["health-overview"] = 5084 };
foreach (var name in Names)
{
var hostname = topology.Hosts.GetValueOrDefault(name, host);
if (Uri.CheckHostName(hostname) == UriHostNameType.Unknown || hostname.Contains('%'))
throw new InvalidOperationException("Provide a valid DNS name or IP address for each service host.");
var port = topology.Ports.GetValueOrDefault(name, defaults[name]);
if (port < 1024 || port > 65535) throw new InvalidOperationException("HTTPS ports must be between 1024 and 65535.");
DatabaseSettings? database = name switch
{
"patient-profile" => new("healthapp_" + id + "_profile", "healthapp_" + id + "_profile", Secret()),
"observation" => new("healthapp_" + id + "_observation", "healthapp_" + id + "_observation", Secret()), _ => null
};
var platform = topology.Platforms.GetValueOrDefault(name, OperatingSystem.IsWindows() ? "windows" : OperatingSystem.IsMacOS() ? "macos" : "linux");
if (platform is not ("linux" or "windows" or "macos")) throw new InvalidOperationException("Unsupported node platform.");
services[name] = new(name, hostname, port, Secret(), name is "api-gateway" or "patient-profile" ? null : Secret(),
Secret(), database, new(), platform);
}
if (services.Values.GroupBy(s => (s.Host.ToLowerInvariant(), s.Port)).Any(g => g.Count() > 1))
throw new InvalidOperationException("Colocated services need distinct HTTPS ports.");
var accounts = new List<Account> { new("prototype-patient", "Patient", Secret()),
new("prototype-professional", "HealthcareProfessional", Secret()), new("installation-check", "Patient", Secret()) };
var deployment = new Deployment(id, services, accounts);
foreach (var service in services.Values)
{
var env = service.Environment;
env["ASPNETCORE_ENVIRONMENT"] = "Production";
env["ASPNETCORE_URLS"] = "https://0.0.0.0:" + service.Port;
env["InternalAccess__GatewayKey"] = service.IncomingKey;
env["Kestrel__Certificates__Default__Path"] = $"/etc/healthapp/{service.Name}/service.pfx";
env["Kestrel__Certificates__Default__Password"] = service.CertificatePassword;
if (service.Name == "api-gateway")
{
env["Authentication__KeyDirectory"] = "/var/lib/healthapp-api-gateway/keys";
foreach (var (name, contract) in ContractNames)
{
env[$"Services__{contract}__BaseUrl"] = Url(services[name]);
env[$"Services__{contract}__Key"] = services[name].IncomingKey;
if (services[name].OutgoingKey is { } key) env[$"InternalAccess__{contract}__Key"] = key;
}
for (var index = 0; index < accounts.Count; index++)
{
var account = accounts[index];
env[$"Authentication__Accounts__{index}__AccountId"] = account.AccountId;
env[$"Authentication__Accounts__{index}__Role"] = account.Role;
env[$"Authentication__Accounts__{index}__PasswordHash"] = new PasswordHasher<Account>().HashPassword(account, account.Password);
}
}
else if (service.OutgoingKey is not null)
{
env["Services__ApiGateway__BaseUrl"] = Url(services["api-gateway"]);
env["Services__ApiGateway__Key"] = service.OutgoingKey;
}
if (service.Database is { } db)
env[service.Name == "patient-profile" ? "ConnectionStrings__PatientDatabase" : "ConnectionStrings__ObservationDatabase"] = ConnectionString(db);
}
Directory.CreateDirectory(output);
if ((OperatingSystem.IsLinux() || OperatingSystem.IsMacOS())) File.SetUnixFileMode(output, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute);
using var caKey = RSA.Create(3072);
var caRequest = new CertificateRequest("CN=HealthApp prototype " + id, caKey, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
caRequest.CertificateExtensions.Add(new X509BasicConstraintsExtension(true, false, 0, true));
caRequest.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.KeyCertSign | X509KeyUsageFlags.CrlSign, true));
caRequest.CertificateExtensions.Add(new X509SubjectKeyIdentifierExtension(caRequest.PublicKey, false));
using var ca = caRequest.CreateSelfSigned(DateTimeOffset.UtcNow.AddMinutes(-5), DateTimeOffset.UtcNow.AddYears(2));
// Only the public CA is needed on installed nodes; no signing key is retained.
File.WriteAllText(Path.Combine(output, "healthapp-ca.crt"), certificates is null ? ca.ExportCertificatePem() :
File.ReadAllText(Path.Combine(certificates, "healthapp-ca.crt")));
foreach (var service in services.Values)
{
var directory = Path.Combine(output, service.Name);
Directory.CreateDirectory(directory);
File.WriteAllText(Path.Combine(directory, "service.json"), JsonSerializer.Serialize(service, Json));
File.WriteAllLines(Path.Combine(directory, "service.env"), service.Environment.Select(e => e.Key + "=" + Quote(e.Value)));
byte[] pfx;
if (certificates is not null)
{
var password = File.ReadAllText(Path.Combine(certificates, service.Name + ".password")).TrimEnd('\r', '\n');
var supplied = X509CertificateLoader.LoadPkcs12CollectionFromFile(Path.Combine(certificates, service.Name + ".pfx"), password);
if (!supplied.Cast<X509Certificate2>().Any(c => c.HasPrivateKey)) throw new InvalidOperationException("Supplied certificate has no private key.");
pfx = supplied.Export(X509ContentType.Pfx, service.CertificatePassword)!;
foreach (var certificate in supplied) certificate.Dispose();
}
else
{
using var key = RSA.Create(2048);
var request = new CertificateRequest("CN=" + service.Host, key, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
request.CertificateExtensions.Add(new X509BasicConstraintsExtension(false, false, 0, true));
request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DigitalSignature | X509KeyUsageFlags.KeyEncipherment, true));
request.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension(new System.Security.Cryptography.OidCollection { new("1.3.6.1.5.5.7.3.1") }, true));
var san = new SubjectAlternativeNameBuilder();
if (IPAddress.TryParse(service.Host, out var ip)) san.AddIpAddress(ip); else san.AddDnsName(service.Host);
request.CertificateExtensions.Add(san.Build());
using var leaf = request.Create(ca, DateTimeOffset.UtcNow.AddMinutes(-2), DateTimeOffset.UtcNow.AddYears(1), RandomNumberGenerator.GetBytes(16));
using var withKey = leaf.CopyWithPrivateKey(key);
pfx = withKey.Export(X509ContentType.Pfx, service.CertificatePassword);
}
File.WriteAllBytes(Path.Combine(directory, "service.pfx"), pfx);
}
File.WriteAllText(Path.Combine(output, "deployment.json"), JsonSerializer.Serialize(deployment, Json));
File.WriteAllText(Path.Combine(output, "accounts.json"), JsonSerializer.Serialize(accounts, Json));
if ((OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()))
foreach (var file in Directory.EnumerateFiles(output, "*", SearchOption.AllDirectories))
File.SetUnixFileMode(file, UnixFileMode.UserRead | UnixFileMode.UserWrite);
}
public static string ConnectionString(DatabaseSettings db) => new NpgsqlConnectionStringBuilder
{
Host = db.Host, Port = db.Port, Database = db.Name, Username = db.User, Password = db.Password,
SslMode = SslMode.Prefer, Timeout = 10, Pooling = false
}.ConnectionString;
private static string Quote(string value) => "\"" + value.Replace("\\", "\\\\").Replace("\"", "\\\"") + "\"";
public static ServiceSettings ReadService(string directory) => JsonSerializer.Deserialize<ServiceSettings>(
File.ReadAllText(Path.Combine(directory, "service.json")), Json) ?? throw new InvalidOperationException("Service configuration is invalid.");
}
@@ -0,0 +1,93 @@
using System.Diagnostics;
using System.Text.Json;
using System.Text.RegularExpressions;
namespace HealthApp.Provisioning;
public static class Distribution
{
public static async Task Deploy(string bundle, string directory, string user, string[] selected)
{
if (!Regex.IsMatch(user, "^[a-zA-Z_][a-zA-Z0-9_-]*$")) throw new InvalidOperationException("SSH user is invalid.");
var deployment = Deployment.Load(directory);
async Task Run(string command, params string[] args)
{
var start = new ProcessStartInfo(command) { UseShellExecute = false, RedirectStandardOutput = true, RedirectStandardError = true };
foreach (var argument in args) start.ArgumentList.Add(argument);
using var process = Process.Start(start) ?? throw new InvalidOperationException("Could not run deployment transport.");
var stdout = process.StandardOutput.ReadToEndAsync();
var stderr = process.StandardError.ReadToEndAsync();
using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(20));
try { await process.WaitForExitAsync(timeout.Token); }
catch (OperationCanceledException) { process.Kill(true); throw; }
await stdout;
var errors = await stderr;
if (process.ExitCode != 0)
{
var reportedStep = errors.Split('\n').LastOrDefault(line => line.StartsWith("Installation failed at ", StringComparison.Ordinal));
throw new InvalidOperationException(reportedStep ?? "SSH deployment transport failed; check administrative SSH access and node installation logs.");
}
}
var temporary = Path.Combine(Path.GetTempPath(), "healthapp-distribution-" + Guid.NewGuid().ToString("N"));
Directory.CreateDirectory(temporary);
if (OperatingSystem.IsLinux()) File.SetUnixFileMode(temporary, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute);
try
{
foreach (var group in selected.GroupBy(n => deployment.Services[n].Host, StringComparer.OrdinalIgnoreCase))
{
var names = group.ToArray();
var node = Path.Combine(temporary, "node-" + Guid.NewGuid().ToString("N"));
Directory.CreateDirectory(node);
var material = Path.Combine(node, "deployment");
Directory.CreateDirectory(material);
foreach (var script in Directory.GetFiles(bundle).Where(p => p.EndsWith(".sh") || p.EndsWith(".ps1"))) File.Copy(script, Path.Combine(node, Path.GetFileName(script)));
CopyDirectory(Path.Combine(bundle, "provisioner"), Path.Combine(node, "provisioner"));
Directory.CreateDirectory(Path.Combine(node, "services"));
Directory.CreateDirectory(Path.Combine(node, "systemd"));
foreach (var name in names)
{
CopyDirectory(Path.Combine(bundle, "services", name), Path.Combine(node, "services", name));
CopyDirectory(Path.Combine(directory, name), Path.Combine(material, name));
File.Copy(Path.Combine(bundle, "systemd", "healthapp-" + name + ".service"), Path.Combine(node, "systemd", "healthapp-" + name + ".service"));
}
// Retain remote origins, but do not give a node unrelated service/database/private-key credentials.
var scoped = deployment with
{
Services = deployment.Services.ToDictionary(p => p.Key, p => names.Contains(p.Key) ? p.Value :
p.Value with { IncomingKey = "", OutgoingKey = null, CertificatePassword = "", Database = null, Environment = new() }),
Accounts = names.Contains("api-gateway") ? deployment.Accounts : []
};
File.WriteAllText(Path.Combine(material, "deployment.json"), JsonSerializer.Serialize(scoped, Deployment.Json));
if (names.Contains("api-gateway")) File.Copy(Path.Combine(directory, "accounts.json"), Path.Combine(material, "accounts.json"));
File.Copy(Path.Combine(directory, "healthapp-ca.crt"), Path.Combine(material, "healthapp-ca.crt"));
var target = user + "@" + group.Key;
var windows = names.All(n => deployment.Services[n].Platform == "windows");
if (names.Any(n => deployment.Services[n].Platform == "windows") && !windows)
throw new InvalidOperationException("One host cannot use two native service managers.");
var remote = windows ? "C:/ProgramData/healthapp-install-" + deployment.Id : "/var/tmp/healthapp-install-" + deployment.Id;
Console.WriteLine("Install selected node: " + group.Key);
if (windows)
await Run("ssh", target, "powershell", "-NoProfile", "-NonInteractive", "-Command",
"New-Item -ItemType Directory -Path '" + remote + "' | Out-Null");
else await Run("ssh", target, "mkdir", "-m", "0700", remote);
var scpHost = group.Key.Contains(':') ? user + "@[" + group.Key + "]" : target;
await Run("scp", "-r", node + "/.", scpHost + ":" + remote + "/");
if (windows)
await Run("ssh", target, "powershell", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-File", remote + "/install.ps1", "-Services", string.Join(',', names),
"-Deployment", remote + "/deployment", "-DeferTopologyCheck");
else await Run("ssh", target, "sudo", "-n", "bash", remote + "/install.sh", "--services", string.Join(',', names),
"--deployment", remote + "/deployment", "--defer-topology-check");
}
// Services communicate through the actual HTTPS origins on their installed hosts.
await InstallationVerification.Verify(directory, selected, selected.Length == Deployment.Names.Length);
Console.WriteLine("Distributed topology verification passed.");
}
finally { Directory.Delete(temporary, true); }
}
private static void CopyDirectory(string source, string destination)
{
Directory.CreateDirectory(destination);
foreach (var file in Directory.GetFiles(source)) File.Copy(file, Path.Combine(destination, Path.GetFileName(file)));
foreach (var child in Directory.GetDirectories(source)) CopyDirectory(child, Path.Combine(destination, Path.GetFileName(child)));
}
}
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType><TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable><ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Npgsql" Version="10.0.3" />
</ItemGroup>
</Project>
@@ -0,0 +1,126 @@
using System.Net;
using System.Security.Cryptography;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text.Json;
namespace HealthApp.Provisioning;
public static class InstallationVerification
{
public static async Task Verify(string deploymentDirectory, string[] selected, bool complete, bool startupOnly = false)
{
var deployment = Deployment.Load(deploymentDirectory);
using var root = X509CertificateLoader.LoadCertificateFromFile(Path.Combine(deploymentDirectory, "healthapp-ca.crt"));
using var handler = new HttpClientHandler
{
ServerCertificateCustomValidationCallback = (_, certificate, _, errors) =>
{
if (certificate is null || (errors & (SslPolicyErrors.RemoteCertificateNameMismatch | SslPolicyErrors.RemoteCertificateNotAvailable)) != 0) return false;
using var chain = new X509Chain();
chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
chain.ChainPolicy.CustomTrustStore.Add(root);
chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
chain.ChainPolicy.ApplicationPolicy.Add(new Oid("1.3.6.1.5.5.7.3.1"));
return chain.Build(certificate);
}
};
using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(15), BaseAddress = new Uri(Deployment.Url(deployment.Services["api-gateway"])) };
async Task<HttpResponseMessage> Probe(Func<HttpRequestMessage> create, string name)
{
using var deadline = new CancellationTokenSource(TimeSpan.FromSeconds(30));
while (true)
{
try
{
using var request = create();
var response = await client.SendAsync(request, deadline.Token);
if (response.StatusCode is not (HttpStatusCode.BadGateway or HttpStatusCode.ServiceUnavailable or HttpStatusCode.GatewayTimeout)) return response;
response.Dispose();
}
catch (HttpRequestException) { }
catch (OperationCanceledException) when (!deadline.IsCancellationRequested) { }
try { await Task.Delay(500, deadline.Token); }
catch (OperationCanceledException) { throw new InvalidOperationException("HTTPS startup/dependency probe timed out for " + name + "."); }
}
}
foreach (var name in selected)
{
var service = deployment.Services[name];
if (Deployment.ReadService(Path.Combine(deploymentDirectory, name)).Database is { } database)
{
try { await DatabaseProvisioning.Check(database); }
catch { throw new InvalidOperationException("Dedicated database reachability verification failed for " + name + "."); }
}
// Correct incoming credentials prove network/TLS and the configured service trust boundary.
var path = Deployment.Url(service) +
(name == "api-gateway" ? "api/measurement-guidance" : startupOnly ? "" : "api/patients/00000000-0000-0000-0000-000000000001" +
(name == "insights" ? "/insights?from=2026-01-01&to=2026-01-02" :
name == "health-overview" ? "/overview?from=2026-01-01&to=2026-01-02" :
name == "observation" ? "/observations?from=2026-01-01&to=2026-01-02" : ""));
using var response = await Probe(() =>
{
var request = new HttpRequestMessage(HttpMethod.Get, path);
if (name != "api-gateway") request.Headers.Add("X-Gateway-Key", service.IncomingKey);
return request;
}, name);
if (response.StatusCode is not (HttpStatusCode.OK or HttpStatusCode.NotFound))
throw new InvalidOperationException("HTTPS/dependency verification failed for " + name + " (HTTP " + (int)response.StatusCode + ").");
}
if (startupOnly) return;
// Exercise each installed service's configured outgoing gateway credentials using its actual network API.
foreach (var name in selected.Where(n => n is "observation" or "insights" or "health-overview"))
{
var service = deployment.Services[name];
using var request = new HttpRequestMessage(HttpMethod.Get, Deployment.Url(deployment.Services["api-gateway"]) +
"api/patients/00000000-0000-0000-0000-000000000001" + (name == "insights" ? "/observations?from=2026-01-01&to=2026-01-02" : ""));
request.Headers.Add("X-Service-Key", service.OutgoingKey);
using var response = await client.SendAsync(request);
if (response.StatusCode is not (HttpStatusCode.OK or HttpStatusCode.NotFound))
throw new InvalidOperationException("Gateway service-credential verification failed for " + name + ".");
}
if (!complete) return;
var account = deployment.Accounts.Single(a => a.AccountId == "installation-check");
using var login = await client.PostAsJsonAsync("api/authentication/login", new { accountId = account.AccountId, password = account.Password });
login.EnsureSuccessStatusCode();
using var token = JsonDocument.Parse(await login.Content.ReadAsStringAsync());
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.RootElement.GetProperty("accessToken").GetString());
using var current = await client.GetAsync("api/patients/me");
Guid patient;
if (current.StatusCode == HttpStatusCode.NotFound)
{
using var created = await client.PostAsJsonAsync("api/patients", new { name = "Installer verification (synthetic)", dateOfBirth = "1980-01-01" });
created.EnsureSuccessStatusCode();
using var profile = JsonDocument.Parse(await created.Content.ReadAsStringAsync());
patient = profile.RootElement.GetProperty("patientId").GetGuid();
}
else
{
current.EnsureSuccessStatusCode();
using var profile = JsonDocument.Parse(await current.Content.ReadAsStringAsync());
patient = profile.RootElement.GetProperty("patientId").GetGuid();
}
using var latest = await client.GetAsync($"api/patients/{patient}/observations/latest");
if (latest.StatusCode == HttpStatusCode.NotFound)
{
using var record = await client.PostAsJsonAsync($"api/patients/{patient}/observations", new
{
measuredAt = DateTime.UtcNow, systolic = 120, diastolic = 80, pulse = 60,
note = "Installer verification; synthetic data", measurementContext = new { setting = "Home", activityCondition = "AtRest" }
});
record.EnsureSuccessStatusCode();
}
else latest.EnsureSuccessStatusCode();
var bounds = $"from=2000-01-01&to={Uri.EscapeDataString(DateTime.UtcNow.AddDays(1).ToString("O"))}&setting=Home&activityCondition=AtRest";
using var overview = await client.GetAsync($"api/patients/{patient}/overview?{bounds}");
overview.EnsureSuccessStatusCode();
using var result = JsonDocument.Parse(await overview.Content.ReadAsStringAsync());
if (result.RootElement.GetProperty("patient").GetProperty("patientId").GetGuid() != patient ||
result.RootElement.GetProperty("latestObservation").ValueKind != JsonValueKind.Object ||
result.RootElement.GetProperty("insight").ValueKind != JsonValueKind.Object ||
result.RootElement.GetProperty("insightContributingCount").GetInt32() < 1)
throw new InvalidOperationException("Representative complete-system workflow did not return profile, latest observation and insight.");
}
}
@@ -0,0 +1,32 @@
using System.Text.Json;
using System.Xml.Linq;
namespace HealthApp.Provisioning;
public static class LaunchdWriter
{
public static void Write(string service, string root, string dotnet, string output)
{
if (!Deployment.Names.Contains(service)) throw new InvalidOperationException("Unknown service.");
var directory = Path.Combine(root, "services", service);
var assembly = service switch { "api-gateway" => "ApiGateway", "patient-profile" => "PatientProfileService",
"observation" => "ObservationService", "insights" => "InsightsService", _ => "HealthOverviewService" };
var environment = new XElement("dict");
foreach (var line in File.ReadAllLines(Path.Combine(root, "config", service, "service.env")))
{
var position = line.IndexOf('=');
environment.Add(new XElement("key", line[..position]), new XElement("string", JsonSerializer.Deserialize<string>(line[(position + 1)..])));
}
var document = new XDocument(new XDeclaration("1.0", "utf-8", null),
new XDocumentType("plist", "-//Apple//DTD PLIST 1.0//EN", "http://www.apple.com/DTDs/PropertyList-1.0.dtd", null),
new XElement("plist", new XAttribute("version", "1.0"), new XElement("dict",
new XElement("key", "Label"), new XElement("string", "healthapp-" + service),
new XElement("key", "ProgramArguments"), new XElement("array", new XElement("string", dotnet), new XElement("string", Path.Combine(directory, assembly + ".dll"))),
new XElement("key", "WorkingDirectory"), new XElement("string", directory),
new XElement("key", "UserName"), new XElement("string", "_healthapp_" + service.Replace('-', '_')),
new XElement("key", "EnvironmentVariables"), environment,
new XElement("key", "RunAtLoad"), new XElement("true"), new XElement("key", "KeepAlive"), new XElement("true"))));
document.Save(output);
if (!OperatingSystem.IsWindows()) File.SetUnixFileMode(output, UnixFileMode.UserRead | UnixFileMode.UserWrite);
}
}
@@ -0,0 +1,83 @@
using System.Text.Json;
namespace HealthApp.Provisioning;
public static class Program
{
public static async Task<int> Main(string[] args)
{
var command = args.FirstOrDefault() ?? "";
try
{
var options = new Dictionary<string, string>();
for (var index = 1; index < args.Length; index += 2)
{
if (index + 1 >= args.Length || !args[index].StartsWith("--") || !options.TryAdd(args[index][2..], args[index + 1]))
throw new InvalidOperationException("Invalid provisioning arguments.");
}
string Required(string key) => options.GetValueOrDefault(key) ?? throw new InvalidOperationException("Missing argument: " + key);
switch (command)
{
case "launchd":
LaunchdWriter.Write(Required("service"), Required("root"), Required("dotnet"), Required("output"));
break;
case "secret":
File.WriteAllText(Required("output"), Deployment.Secret());
if (!OperatingSystem.IsWindows()) File.SetUnixFileMode(Required("output"), UnixFileMode.UserRead | UnixFileMode.UserWrite);
break;
case "admin-connection":
var admin = new Npgsql.NpgsqlConnectionStringBuilder { Host = "localhost", Port = int.Parse(Required("port")),
Username = "postgres", Database = "postgres", Password = File.ReadAllText(Required("password-file")).Trim(), Pooling = false };
File.WriteAllText(Required("output"), admin.ConnectionString);
if (!OperatingSystem.IsWindows()) File.SetUnixFileMode(Required("output"), UnixFileMode.UserRead | UnixFileMode.UserWrite);
break;
case "execute":
var native = options.GetValueOrDefault("platform", "macos");
var serviceName = Required("service");
if (!Deployment.Names.Contains(serviceName)) throw new InvalidOperationException("Unknown selected service.");
var rootPath = Required("root");
var config = Path.Combine(rootPath, "config", serviceName, "service.env");
var start = new System.Diagnostics.ProcessStartInfo(Required("dotnet")) { UseShellExecute = false,
WorkingDirectory = Path.Combine(rootPath, "services", serviceName) };
start.ArgumentList.Add(Required("assembly"));
start.ArgumentList.Add("--migrate");
foreach (var line in File.ReadAllLines(config))
start.Environment[line[..line.IndexOf('=')]] = JsonSerializer.Deserialize<string>(line[(line.IndexOf('=') + 1)..])!;
using (var process = System.Diagnostics.Process.Start(start)!)
{
await process.WaitForExitAsync();
if (process.ExitCode != 0) throw new InvalidOperationException("Selected service migration failed.");
}
break;
case "prepare":
Deployment.Prepare(Required("output"), options.GetValueOrDefault("host", "localhost"), options.GetValueOrDefault("topology"), options.GetValueOrDefault("certificates"));
break;
case "database":
await DatabaseProvisioning.Create(Required("service-dir"), options.GetValueOrDefault("admin-file"));
break;
case "configure":
ConfigurationWriter.Configure(Required("service-dir"), Required("root"), options.GetValueOrDefault("platform", "linux"));
break;
case "distribute":
var names = Required("services").Split(',');
if (names.Any(n => !Deployment.Names.Contains(n))) throw new InvalidOperationException("Unknown distribution service.");
await Distribution.Deploy(Required("bundle"), Required("deployment"), Required("ssh-user"), names);
break;
case "verify-startup":
case "verify":
var selected = Required("services").Split(',');
if (selected.Any(n => !Deployment.Names.Contains(n))) throw new InvalidOperationException("Unknown verification service.");
await InstallationVerification.Verify(Required("deployment"), selected, options.GetValueOrDefault("complete") == "true", command == "verify-startup");
break;
default: throw new InvalidOperationException("Unknown provisioning command.");
}
return 0;
}
catch (Exception error)
{
Console.Error.WriteLine($"Provisioning step '{command}' failed: " + (error is InvalidOperationException ? error.Message : error.GetType().Name) +
" No credentials are printed; inspect the relevant service logs.");
return 1;
}
}
}
@@ -0,0 +1,258 @@
# US-16 — Provision and install HealthApp
The installer provisions a working prototype topology. A normal installation no longer
requires prepared application configuration, database roles/passwords, service keys,
or HTTPS certificates. Select one service, a comma-separated subset, or `all`.
The application DLLs and shared C# provisioning utility are portable. OS adapters
perform package installation and native service registration: systemd on supported
Linux hosts, Windows Services on Windows, and launchd on macOS. Deployment location
and OS do not combine services, introduce shared persistence or change gateway-routed
communication. There is no container/orchestration requirement.
## Build the release
A build machine needs the .NET 10 SDK and package access. It is distinct from a target
machine, where the installer supplies missing runtime/dependencies.
```bash
bash deploy/build-release.sh --output /tmp/healthapp-release
# Optional: build just a selected application's payload plus the provisioning utility.
bash deploy/build-release.sh --output /tmp/healthapp-insights --services insights
```
On a Windows build machine, use `deploy/build-release.ps1 -Output NEW_DIRECTORY`
from PowerShell with the same optional `-Services` selection.
The bundle includes the application DLLs, provisioning utility, OS installers, units,
examples and this guide. Windows services invoke `dotnet Application.dll`, so they do
not depend on a Linux-generated apphost executable. The small Microsoft WindowsServices
hosting dependency lets the same ASP.NET Core applications respond to Windows service
control; it is inactive on Linux/macOS. No production service references another service.
Transfer the release by normal administrative deployment transport. Public release
files contain no generated secrets. Build output must be a new directory.
## Normal Ubuntu/Debian installation
Automatic Linux provisioning accepts Debian/Ubuntu ancestry (`ID` or `ID_LIKE`),
with apt, a running systemd manager and administrative access. It checks actual package
availability rather than a fixed distribution/version list. Internet access to configured
package feeds is needed when dependencies are absent. Existing .NET 10 ASP.NET Core
runtime and PostgreSQL installations are reused where available.
The installer prefers configured distribution feeds. On Debian itself, if the runtime
package is absent, it attempts Microsoft's repository for that Debian VERSION_ID.
Derivatives use their own configured feeds; their version numbers are never passed to
an upstream repository. If no compatible runtime source or PostgreSQL package is
available, installation stops with a specific dependency error. Debian ancestry alone
does not guarantee .NET/CPU compatibility; startup and topology verification still apply.
From the release directory:
```bash
sudo bash install.sh --services all --host 192.168.1.20
```
Use the target's reachable DNS name/IP for `--host`. The default `localhost` is useful
for a wholly local prototype; use a reachable address for another computer to access
it. No later application-file editing is required.
For an individual service, use its name and an existing matching generated deployment
from the overall topology, which already specifies its remote dependencies/keys:
```bash
sudo bash install.sh --services insights --deployment /secure/generated-deployment
```
Names: `api-gateway`, `patient-profile`, `observation`, `insights`, `health-overview`.
The installer:
1. Detects .NET 10 ASP.NET Core runtime and local PostgreSQL availability; installs
missing dependencies from supported package feeds. PostgreSQL is provisioned only
when Patient/Profile or Observation is selected.
2. Generates a private deployment plan, independent service keys and synthetic
prototype accounts. No hard-coded passwords or hand-written password hashes are used.
3. Creates a private prototype CA and separate service certificates, installs the
public CA into OS trust, and configures Production HTTPS endpoints.
4. Creates separate PostgreSQL databases and login roles for the selected persistent
services. Roles cannot administer the server/create roles/databases or connect to
the other service's database. Schema ownership supports that service's migrations.
5. Creates independent service identities, application/configuration directories and
service registrations. Runs the selected persistent services' migrations, enables
and starts every selected application, then verifies startup and topology.
Linux application/configuration paths are `/opt/healthapp/NAME` and
`/etc/healthapp/NAME/service.env`. Env files are root-only; systemd passes their values
to the owning process. Certificate private keys are readable only by root and the
respective service identity. Units use `healthapp-NAME` users/groups, not a shared
application identity. Gateway key state remains gateway-owned.
Generated material normally resides at `/var/lib/healthapp-installation/deployment`
with a private directory and private files. `accounts.json` contains generated
`prototype-patient`, `prototype-professional` and `installation-check` passwords.
The professional starts without assignments. Do not put generated material in Git.
Only the CA's public certificate is installed/exported publicly; its signing private
key is not retained. Certificates expire after one year; the prototype CA after two.
## Topology and distributed installation
A topology specifies addresses, ports and native platforms, not credentials. Defaults
are HTTPS ports 5443/5081/5082/5083/5084. Colocated applications need different ports.
For example:
```json
{
"hosts": {
"api-gateway": "192.168.1.20",
"patient-profile": "192.168.1.21",
"observation": "192.168.1.22",
"insights": "192.168.1.23",
"health-overview": "192.168.1.24"
},
"platforms": {
"api-gateway": "linux",
"patient-profile": "linux",
"observation": "linux",
"insights": "macos",
"health-overview": "windows"
}
}
```
Optional `ports` uses the same service keys and integer values. Hostnames/IPs must
resolve/reach the corresponding target. Supply existing administrative SSH access;
Unix hosts need passwordless sudo for the installer, Windows SSH sessions must be
elevated administrators. Host administration credentials are distinct from generated
HealthApp/database credentials and are not invented by the application installer.
Generate one consistent deployment and automatically distribute matching, scoped
material to each host:
```bash
sudo bash install.sh --services all --prepare-only --topology topology.json \
--deployment /secure/healthapp-deployment --dotnet /path/to/available/dotnet
bash distribute.sh --deployment /secure/healthapp-deployment --ssh-user administrator
```
Use an administrative session able to read the protected deployment material. The
preparation machine needs an available .NET 10 runtime/SDK for the C# utility.
Distribution uses SSH/SCP, installs only selected applications per host, and exports
only their private material plus necessary remote origins. It starts nodes first,
then verifies the complete topology over its real HTTPS endpoints. No credentials
are manually invented, copied into application files or distributed individually.
Services never depend on a shared runtime directory/file across machines.
A node started with the orchestrator's `--defer-topology-check` has verified local
process/HTTPS/database readiness but pending cross-node verification. It is not
reported as a verified complete topology until the orchestrator's final check passes.
For incremental installation, reuse the same deployment; independently generated
plans deliberately have different keys and cannot authenticate to each other.
## Windows and macOS adapters
On Windows, from an elevated PowerShell session in the release:
```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -Services all -HostName 192.168.1.20
```
The adapter installs the .NET runtime automatically, resolves and checksum-verifies
an EDB PostgreSQL installer from Microsoft's package manifest, creates an owned
PostgreSQL service when needed, and generates its administrator secret in protected
files. Existing application/data files are not overwritten. An existing externally
managed PostgreSQL server can instead be used with `-PostgresAdminFile`; the installer
still generates application database roles/passwords automatically.
Applications have separate native Windows Services and virtual service identities,
protected per-service JSON configuration, state and certificate ACLs. Their Production
configuration is installed automatically; certificates are trusted in LocalMachine
Root. HTTPS firewall rules cover only selected application ports. No IIS is required.
Windows uses `-Deployment`, `-Topology`, `-Certificates` for the same shared material.
Default application root is `%ProgramData%\HealthApp`.
On macOS, from a sudo administrator session:
```bash
sudo bash install.sh --services all --host 192.168.1.20
```
The Darwin adapter installs the ASP.NET Core runtime, provisions Homebrew/PostgreSQL
and required Apple build tools where available through softwareupdate, initializes
an installer-owned PostgreSQL cluster with SCRAM passwords, and creates separate
hidden service identities and launchd daemons. It configures system-keychain CA trust,
private environment/launchd files and selected migrations automatically. Default root
is `/Library/Application Support/HealthApp`. macOS package/tool installation requires
an administrator user session, network access, and acceptance of OS/vendor licensing.
The adapters target supported .NET desktop/server operating systems. Portability does
not claim support for every OS/kernel/version/CPU where .NET itself is unavailable.
The live Windows/macOS registration paths need native-host validation; see evidence
limits below. The Linux execution environment cannot run Windows SCM or macOS launchd.
## Verification and management
Installation verifies distinct native processes, configured HTTPS endpoints, selected
databases using their dedicated credentials, actual service keys and outgoing gateway
access. The complete-system check logs in with the generated `installation-check`
account and exercises profile/observation/Overview through all deployed services.
It creates at most one clearly labelled synthetic check profile/observation if absent.
This is prototype test data, not a clinical reading; repeated verification reuses it.
The verifier trusts the generated public CA, validates certificate chains/server names,
and never disables TLS validation. Existing HTTPS trust is retained. All step failures
identify the failed operation/service and retain existing data/material for inspection.
Sensitive SQL/credentials are not printed. Existing applications/configuration cause
refusal rather than silent replacement; this remains a first-install mechanism,
not an upgrade/uninstall/data-removal tool. Deployment is not a cross-service transaction.
Linux may rerun `sudo bash verify.sh --services all --deployment DIRECTORY` from the
bundle. Manage selected units with `systemctl start/stop/restart healthapp-NAME`.
Windows uses `Start-Service`, `Stop-Service`, `Restart-Service`; macOS uses
`launchctl bootstrap`, `bootout`, `kickstart` on `healthapp-NAME` labels. Stopping a
service does not directly stop peer processes; requests needing it may fail.
External trusted certificates can be supplied during preparation with `--certificates`
or `-Certificates`. The directory supplies `NAME.pfx`, `NAME.password` for all five
planned services and `healthapp-ca.crt`. Supplied PFX certificate chains are retained;
private keys/passwords are protected and configured automatically. Prototype browser
clients may import the exported public CA for trust; server-side service trust is
configured automatically by installation.
`--root DIRECTORY` on Linux is explicitly offline staging: it generates the same
settings/material but cannot install host packages or register/start systemd. It is
not reported as a live verified installation. `--postgres-admin-file` allows automated
DB provisioning against an externally managed/test server, not manual application
DB/user preparation. Normal Linux installation administers local PostgreSQL through
its OS postgres identity without inventing a PostgreSQL administrator password.
## Evidence and dependencies
The xUnit deployment suite builds the release, calls the actual provisioner/installer,
creates database roles/databases in an isolated PostgreSQL server and runs all five
installed services in separate Production-mode HTTPS processes. Tests cover generated
key matching/uniqueness, certificate private-key output, private configuration, database
isolation/permissions, migrations, native-format configuration, independent restart,
representative functionality and repeated non-destructive verification. Package command
contracts are tested with controlled command doubles; no host package installation
is performed by the tests. The ordinary application tests remain unchanged.
Linux HTTPS/interservice/database execution is verified here. Live systemd package/
registration behaviour needs a supported Linux host; Windows/macOS service registration
needs those native hosts. Native configuration formats are exercised by the shared
utility tests; shell/PowerShell syntax validation is separate from a native end-to-end
run. The manual `.github/workflows/prototype-native-install.yml` workflow provisions
and verifies fresh Ubuntu, Windows and macOS runners; it is supplied for native
validation and has not been executed remotely in this session. These limits must not be described as verified production deployment on every OS.
The provisioning tool uses standard .NET X.509/password hashing and Npgsql for creating
and checking databases. Its dependency is not a shared service runtime library.
Microsoft.Extensions.Hosting.WindowsServices is added to the five services solely for
native Windows service lifetime integration; Linux/macOS responsibilities are unchanged.
Package/lifetime references reviewed during implementation:
[Ubuntu runtime installation](https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-install),
[Debian runtime installation](https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian),
[Windows service hosting](https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/windows-service?view=aspnetcore-10.0),
[EDB unattended installer parameters](https://www.enterprisedb.com/docs/supported-open-source/postgresql/installing/command_line_parameters/).
@@ -0,0 +1,33 @@
ASPNETCORE_ENVIRONMENT=Production
Services__PatientProfile__BaseUrl=https://patient-profile.example.test:5081/
ASPNETCORE_URLS=https://0.0.0.0:5443
Kestrel__Certificates__Default__Path=/etc/healthapp/gateway.pfx
Kestrel__Certificates__Default__Password=REPLACE_ME
Services__Observation__BaseUrl=https://observation.example.test:5082/
Services__Insights__BaseUrl=https://insights.example.test:5083/
Authentication__KeyDirectory=/var/lib/healthapp-api-gateway/keys
Authentication__TokenLifetimeMinutes=30
# Account identifiers support ASCII letters, digits, hyphen and underscore.
Authentication__Accounts__0__AccountId=example-patient
Authentication__Accounts__0__Role=Patient
Authentication__Accounts__0__PasswordHash=REPLACE_WITH_ASPNET_CORE_PASSWORD_HASH
# Use distinct randomly generated credentials of at least 32 characters.
Services__PatientProfile__Key=REPLACE_ME
Services__Observation__Key=REPLACE_ME
Services__Insights__Key=REPLACE_ME
InternalAccess__Observation__Key=REPLACE_ME
InternalAccess__Insights__Key=REPLACE_ME
# Pre-created professional credentials and read-only patient assignments.
Authentication__Accounts__1__AccountId=example_professional
Authentication__Accounts__1__Role=HealthcareProfessional
Authentication__Accounts__1__PasswordHash=REPLACE_WITH_ASPNET_CORE_PASSWORD_HASH
# Replace the synthetic identifier below with a created patient's identifier.
# Restart the gateway after changing assignments. Omit assignments for an empty list.
Access__ProfessionalAssignments__example_professional__0=00000000-0000-0000-0000-000000000001
Services__HealthOverview__BaseUrl=https://health-overview.example.test:5084/
Services__HealthOverview__Key=REPLACE_ME
InternalAccess__HealthOverview__Key=REPLACE_ME
@@ -0,0 +1,22 @@
[CmdletBinding()]
param([Parameter(Mandatory=$true)][string]$Output, [string]$Services='all')
$ErrorActionPreference='Stop'
$assemblies=@{ 'api-gateway'='ApiGateway'; 'patient-profile'='PatientProfileService'; 'observation'='ObservationService'; 'insights'='InsightsService'; 'health-overview'='HealthOverviewService' }
$selected=if ($Services -eq 'all') { @('api-gateway','patient-profile','observation','insights','health-overview') } else { @($Services.Split(',')) }
if ((Test-Path $Output) -or @($selected | Select-Object -Unique).Count -ne $selected.Count) { throw 'Use a new output directory and unique service names.' }
foreach ($name in $selected) { if (-not $assemblies.ContainsKey($name)) { throw "Unknown service: $name" } }
New-Item -ItemType Directory -Path $Output | Out-Null
$destination=(Resolve-Path $Output).Path
$repository=Split-Path $PSScriptRoot -Parent
foreach ($directory in @('services','systemd','examples')) { New-Item -ItemType Directory -Path "$destination\$directory" | Out-Null }
Copy-Item "$PSScriptRoot\installer\*.sh","$PSScriptRoot\installer\*.ps1","$PSScriptRoot\INSTALLATION.md" $destination
foreach ($name in $selected) {
& dotnet publish "$repository\src\$($assemblies[$name])\$($assemblies[$name]).csproj" --configuration Release --self-contained false '-p:UseAppHost=false' --output "$destination\services\$name"
if ($LASTEXITCODE -ne 0) { throw "Publish failed: $name" }
Copy-Item "$PSScriptRoot\systemd\healthapp-$name.service" "$destination\systemd"
Copy-Item "$PSScriptRoot\$name.env.example" "$destination\examples"
}
& dotnet publish "$PSScriptRoot\HealthApp.Provisioning\HealthApp.Provisioning.csproj" --configuration Release --self-contained false '-p:UseAppHost=false' --output "$destination\provisioner"
if ($LASTEXITCODE -ne 0) { throw 'Publish failed: provisioning utility' }
$selected | Set-Content "$destination\services.list"
Write-Host "Portable release created: $destination"
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
set -euo pipefail
fail() { printf 'Error: %s\n' "$*" >&2; exit 1; }
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
repo_dir=$(cd -- "$script_dir/.." && pwd)
source "$script_dir/installer/services.sh"
requested=all
output=
while [[ $# -gt 0 ]]; do
case "$1" in
--output) [[ $# -gt 1 ]] || fail 'Missing output directory.'; output=$2; shift 2;;
--services) [[ $# -gt 1 ]] || fail 'Missing services.'; requested=$2; shift 2;;
--help) printf '%s\n' 'Usage: bash deploy/build-release.sh --output NEW_DIRECTORY [--services all|api-gateway,patient-profile,observation,insights,health-overview]' 'Requires .NET 10 SDK. HEALTHAPP_DOTNET may select its executable.'; exit 0;;
*) fail "Unknown argument: $1";;
esac
done
select_services "$requested"
[[ -n "$output" && ! -e "$output" ]] || fail 'Provide a new, non-existing output directory.'
dotnet_command=${HEALTHAPP_DOTNET:-dotnet}
command -v "$dotnet_command" >/dev/null || fail '.NET 10 SDK is required to build a release.'
mkdir -p -- "$output/services" "$output/systemd" "$output/examples"
output=$(cd -- "$output" && pwd)
cp -- "$script_dir/installer/"*.sh "$output/"
cp -- "$script_dir/installer/"*.ps1 "$output/"
cp -- "$script_dir/INSTALLATION.md" "$output/"
for service in "${selected_services[@]}"; do
assembly=$(assembly_for "$service")
"$dotnet_command" publish "$repo_dir/src/$assembly/$assembly.csproj" --configuration Release --self-contained false -p:UseAppHost=false --output "$output/services/$service"
cp -- "$script_dir/systemd/healthapp-$service.service" "$output/systemd/"
cp -- "$script_dir/$service.env.example" "$output/examples/"
done
"$dotnet_command" publish "$script_dir/HealthApp.Provisioning/HealthApp.Provisioning.csproj" --configuration Release --self-contained false -p:UseAppHost=false --output "$output/provisioner"
printf '%s\n' "${selected_services[@]}" > "$output/services.list"
printf 'Release created: %s\n' "$output"
@@ -0,0 +1,8 @@
ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_URLS=https://0.0.0.0:5084
Services__ApiGateway__BaseUrl=https://gateway.example.test:5443/
InternalAccess__GatewayKey=REPLACE_ME
Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx
Kestrel__Certificates__Default__Password=REPLACE_ME
Services__ApiGateway__Key=REPLACE_ME
@@ -0,0 +1,8 @@
ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_URLS=https://0.0.0.0:5083
Services__ApiGateway__BaseUrl=https://gateway.example.test:5443/
InternalAccess__GatewayKey=REPLACE_ME
Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx
Kestrel__Certificates__Default__Password=REPLACE_ME
Services__ApiGateway__Key=REPLACE_ME
@@ -0,0 +1,56 @@
#!/usr/bin/env bash
# Source from install.sh. Package commands use the supported distribution's signed feeds.
package_available() {
local policy
policy=$(LC_ALL=C apt-cache policy "$1") || return 1
[[ "$policy" =~ Candidate:[[:space:]]+([^[:space:]]+) && "${BASH_REMATCH[1]}" != '(none)' ]]
}
ensure_dependencies() {
local distribution=$1 version=$2 runtime=$3 persistence=$4 ancestry=${5:-}
case " $distribution $ancestry " in
*" debian "*|*" ubuntu "*) ;;
*) fail 'Automatic Linux provisioning requires a Debian/Ubuntu-based distribution (ID or ID_LIKE).';;
esac
command -v apt-get >/dev/null && command -v apt-cache >/dev/null || fail 'Debian/Ubuntu provisioning requires apt-get and apt-cache.'
step='refresh dependency package availability'
apt-get update || fail 'Could not refresh package feeds; check network access and configured repositories.'
step='install base dependencies'
if ! command -v curl >/dev/null || ! command -v update-ca-certificates >/dev/null; then
DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates curl
fi
if [[ ! -x "$runtime" ]] || ! "$runtime" --list-runtimes | grep -q 'Microsoft.AspNetCore.App 10\.'; then
step='install .NET 10 ASP.NET Core runtime'
if ! package_available aspnetcore-runtime-10.0 && [[ "$distribution" == debian ]]; then
[[ "$version" =~ ^[0-9]+$ ]] || fail 'Cannot identify a compatible Microsoft Debian package repository from VERSION_ID.'
local package_dir
package_dir=$(mktemp -d)
if ! curl --fail --silent --show-error --location "https://packages.microsoft.com/config/debian/$version/packages-microsoft-prod.deb" -o "$package_dir/microsoft.deb"; then
rm -f -- "$package_dir/microsoft.deb"
rmdir -- "$package_dir"
fail "No accessible Microsoft Debian $version repository; aspnetcore-runtime-10.0 is unavailable in configured feeds."
fi
dpkg -i "$package_dir/microsoft.deb"
rm -f -- "$package_dir/microsoft.deb"
rmdir -- "$package_dir"
apt-get update
fi
package_available aspnetcore-runtime-10.0 || fail "Required package aspnetcore-runtime-10.0 is unavailable for $distribution $version in configured feeds; no compatible runtime repository could be identified automatically."
DEBIAN_FRONTEND=noninteractive apt-get install -y aspnetcore-runtime-10.0 || fail 'Failed to install aspnetcore-runtime-10.0 from configured feeds.'
fi
[[ -x "$runtime" ]] && "$runtime" --list-runtimes | grep -q 'Microsoft.AspNetCore.App 10\.' || fail 'The .NET 10 ASP.NET Core runtime could not be provisioned.'
if [[ "$persistence" == true ]]; then
step='provision PostgreSQL server'
if ! command -v pg_isready >/dev/null || ! pg_isready -q -h localhost -p 5432; then
package_available postgresql || fail "Required package postgresql is unavailable for $distribution $version in configured feeds."
DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql || fail 'Failed to install PostgreSQL from configured feeds.'
systemctl enable --now postgresql
fi
local ready=false attempt
for attempt in {1..30}; do
if pg_isready -q -h localhost -p 5432; then ready=true; break; fi
sleep 1
done
[[ "$ready" == true ]] || fail 'PostgreSQL did not become available on localhost:5432.'
fi
}
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
fail() { printf 'Distribution failed: %s\n' "$*" >&2; exit 1; }
source "$script_dir/services.sh"
deployment=
requested=all
ssh_user=
dotnet_path=/usr/bin/dotnet
while [[ $# -gt 0 ]]; do
case "$1" in
--deployment|--services|--ssh-user|--dotnet)
[[ $# -gt 1 ]] || fail 'Missing argument.'
case "$1" in --deployment) deployment=$2;; --services) requested=$2;; --ssh-user) ssh_user=$2;; --dotnet) dotnet_path=$2;; esac
shift 2;;
--help) printf '%s\n' 'Usage: bash distribute.sh --deployment GENERATED_DIRECTORY --ssh-user ADMIN_USER [--services all|NAME[,NAME]] [--dotnet PATH]' 'Uses configured SSH access and passwordless sudo on the topology hosts. Generates no new credentials; installs matching scoped material and verifies the topology.'; exit 0;;
*) fail "Unknown argument: $1";;
esac
done
select_services "$requested"
[[ -n "$deployment" && -n "$ssh_user" ]] || fail 'Deployment directory and SSH administrator are required.'
"$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll" distribute --bundle "$script_dir" \
--deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")" --ssh-user "$ssh_user"
@@ -0,0 +1,156 @@
#!/usr/bin/env bash
set -euo pipefail
umask 077
step=arguments
fail() { printf 'Installation failed at %s: %s\n' "$step" "$*" >&2; exit 1; }
trap 'printf "Installation failed at %s (line %s). Existing data was retained.\n" "$step" "$LINENO" >&2' ERR
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
source "$script_dir/services.sh"
requested=
root='/Library/Application Support/HealthApp'
host=localhost
topology=
deployment=
external_certificates=
admin_file=
prepare_only=false
defer=false
while [[ $# -gt 0 ]]; do
case "$1" in
--services|--host|--topology|--deployment|--certificates|--root|--postgres-admin-file)
[[ $# -gt 1 ]] || fail 'Missing value.'
case "$1" in --services) requested=$2;; --host) host=$2;; --topology) topology=$2;; --deployment) deployment=$2;;
--certificates) external_certificates=$2;; --root) root=$2;; --postgres-admin-file) admin_file=$2;; esac
shift 2;;
--prepare-only) prepare_only=true; shift;;
--defer-topology-check) defer=true; shift;;
--help) printf '%s\n' 'Usage: sudo bash install.sh --services all|NAME[,NAME] [--host DNS_OR_IP] [--topology FILE] [--deployment GENERATED_DIRECTORY]' 'macOS installs the runtime/PostgreSQL and independent launchd daemons using the same application DLLs and provisioning utility.'; exit 0;;
*) fail "Unknown argument: $1";;
esac
done
[[ $(uname -s) == Darwin && $EUID -eq 0 ]] || fail 'Run under sudo on macOS.'
select_services "$requested"
for service in "${selected_services[@]}"; do
[[ ! -e "$root/services/$service" && ! -e "/Library/LaunchDaemons/healthapp-$service.plist" ]] || fail "Already installed: $service."
done
mkdir -p "$root"
chmod 0711 "$root"
step='install .NET 10 ASP.NET Core runtime'
dotnet_path="$root/runtime/dotnet"
if command -v dotnet >/dev/null && dotnet --list-runtimes | grep -q 'Microsoft.AspNetCore.App 10\.'; then dotnet_path=$(command -v dotnet); fi
if [[ ! -x "$dotnet_path" ]]; then
curl --fail --silent --show-error https://dot.net/v1/dotnet-install.sh -o "$root/dotnet-install.sh"
bash "$root/dotnet-install.sh" --channel 10.0 --runtime aspnetcore --install-dir "$root/runtime" --no-path
chmod -R a+rX "$root/runtime"
fi
provision=("$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll")
step='generate credentials and HTTPS certificates'
[[ -n "$deployment" ]] || deployment="$root/deployment"
if [[ ! -f "$deployment/deployment.json" ]]; then
args=(prepare --output "$deployment" --host "$host")
[[ -z "$topology" ]] || args+=(--topology "$topology")
[[ -z "$external_certificates" ]] || args+=(--certificates "$external_certificates")
"${provision[@]}" "${args[@]}"
fi
[[ "$prepare_only" == false ]] || { printf 'Generated deployment in %s\n' "$deployment"; exit 0; }
step='configure HTTPS trust'
security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain "$deployment/healthapp-ca.crt"
create_identity() {
local name=$1 uid=300
if id "$name" >/dev/null 2>&1; then return; fi
while dscl . -search /Users UniqueID "$uid" | grep -q . || dscl . -search /Groups PrimaryGroupID "$uid" | grep -q .; do uid=$((uid+1)); done
dscl . -create "/Groups/$name"
dscl . -create "/Groups/$name" PrimaryGroupID "$uid"
dscl . -create "/Users/$name"
dscl . -create "/Users/$name" UniqueID "$uid"
dscl . -create "/Users/$name" PrimaryGroupID "$uid"
dscl . -create "/Users/$name" UserShell /usr/bin/false
dscl . -create "/Users/$name" NFSHomeDirectory /var/empty
dscl . -create "/Users/$name" IsHidden 1
}
persistence=false
for service in "${selected_services[@]}"; do case "$service" in patient-profile|observation) persistence=true;; esac; done
if [[ "$persistence" == true && -z "$admin_file" ]]; then
step='install PostgreSQL binaries'
brew_user=${SUDO_USER:-}
[[ -n "$brew_user" && "$brew_user" != root ]] || fail 'Run sudo from an administrator account so Homebrew can run as that user.'
if ! xcode-select -p >/dev/null 2>&1; then
touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
label=$(softwareupdate --list 2>&1 | sed -n 's/^.*Label: \(Command Line Tools.*\)/\1/p' | tail -n 1)
[[ -n "$label" ]] || fail 'Apple did not offer Command Line Tools through softwareupdate.'
softwareupdate --install "$label" --agree-to-license
rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
fi
brew_path=/opt/homebrew/bin/brew
[[ -x "$brew_path" ]] || brew_path=/usr/local/bin/brew
if [[ ! -x "$brew_path" ]]; then
curl --fail --silent --show-error https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh -o "$root/homebrew-install.sh"
chmod 0644 "$root/homebrew-install.sh"
sudo -u "$brew_user" env NONINTERACTIVE=1 bash "$root/homebrew-install.sh"
[[ -x /opt/homebrew/bin/brew ]] && brew_path=/opt/homebrew/bin/brew || brew_path=/usr/local/bin/brew
fi
sudo -u "$brew_user" "$brew_path" install postgresql@17
pg_prefix=$(sudo -u "$brew_user" "$brew_path" --prefix postgresql@17)
step='create installer-owned PostgreSQL cluster'
pg_identity=_healthapp_postgres
create_identity "$pg_identity"
admin_file="$root/postgres-admin.connection"
if [[ ! -f "$admin_file" ]]; then
port=5432
while nc -z localhost "$port" >/dev/null 2>&1; do port=$((port+1)); done
"${provision[@]}" secret --output "$root/postgres.password"
mkdir -p "$root/postgresql-data"
chown "$pg_identity:$pg_identity" "$root/postgresql-data" "$root/postgres.password"
sudo -u "$pg_identity" "$pg_prefix/bin/initdb" -D "$root/postgresql-data" -U postgres --auth-local=scram-sha-256 --auth-host=scram-sha-256 --pwfile "$root/postgres.password"
printf '\nport = %s\n' "$port" >> "$root/postgresql-data/postgresql.conf"
"${provision[@]}" admin-connection --password-file "$root/postgres.password" --port "$port" --output "$admin_file"
pg_plist=/Library/LaunchDaemons/healthapp-postgresql.plist
cat > "$pg_plist" <<PLIST
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict><key>Label</key><string>healthapp-postgresql</string><key>ProgramArguments</key><array><string>$pg_prefix/bin/postgres</string><string>-D</string><string>$root/postgresql-data</string></array><key>UserName</key><string>$pg_identity</string><key>RunAtLoad</key><true/><key>KeepAlive</key><true/></dict></plist>
PLIST
chmod 0644 "$pg_plist"
launchctl bootstrap system "$pg_plist"
fi
port=$(sed -n 's/.*Port=\([0-9]*\).*/\1/p' "$admin_file")
[[ -n "$port" ]] || port=5432
for attempt in {1..30}; do if "$pg_prefix/bin/pg_isready" -q -p "$port"; then break; fi; sleep 1; done
fi
for service in "${selected_services[@]}"; do
step="configure $service"
identity="_healthapp_${service//-/_}"
create_identity "$identity"
case "$service" in patient-profile|observation)
"${provision[@]}" database --service-dir "$deployment/$service" --admin-file "$admin_file";;
esac
"${provision[@]}" configure --service-dir "$deployment/$service" --root "$root" --platform macos
mkdir -p "$root/services" "$root/config" "$root/state"
chmod 0711 "$root/services" "$root/config" "$root/state"
cp -R "$script_dir/services/$service" "$root/services/$service"
chmod -R a+rX "$root/services/$service"
chgrp -R "$identity" "$root/config/$service"
chmod 0750 "$root/config/$service"
chmod 0640 "$root/config/$service/"*
if [[ "$service" == api-gateway ]]; then
mkdir -p "$root/state/api-gateway/keys"
chown -R "$identity:$identity" "$root/state/api-gateway"
chmod 0700 "$root/state/api-gateway"
fi
case "$service" in patient-profile|observation)
"${provision[@]}" execute --service "$service" --assembly "$root/services/$service/$(assembly_for "$service").dll" --dotnet "$dotnet_path" --root "$root";;
esac
# plutil converts the JSON object to an XML plist without treating configuration as shell code.
"$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll" launchd --service "$service" --root "$root" --dotnet "$dotnet_path" --output "/Library/LaunchDaemons/healthapp-$service.plist"
chmod 0600 "/Library/LaunchDaemons/healthapp-$service.plist"
launchctl bootstrap system "/Library/LaunchDaemons/healthapp-$service.plist"
done
step='verify startup and HTTPS'
for service in "${selected_services[@]}"; do launchctl print "system/healthapp-$service" >/dev/null; done
"${provision[@]}" verify-startup --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")"
if [[ "$defer" == false ]]; then
args=(verify --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")")
[[ "$requested" != all ]] || args+=(--complete true)
"${provision[@]}" "${args[@]}"
fi
printf 'Installation completed. Account credentials: %s/accounts.json\n' "$deployment"
@@ -0,0 +1,159 @@
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)][string]$Services,
[string]$HostName = 'localhost',
[string]$Topology,
[string]$Deployment,
[string]$Certificates,
[string]$PostgresAdminFile,
[string]$Root = "$env:ProgramData\HealthApp",
[switch]$PrepareOnly,
[switch]$DeferTopologyCheck
)
$ErrorActionPreference = 'Stop'
$step = 'arguments'
function Check-Exit([string]$Operation) { if ($LASTEXITCODE -ne 0) { throw "$Operation failed (exit $LASTEXITCODE)." } }
function Protect-Private([string]$Path) {
& icacls.exe $Path /inheritance:r /grant:r '*S-1-5-18:(OI)(CI)F' '*S-1-5-32-544:(OI)(CI)F' | Out-Null
Check-Exit 'Protect private deployment files'
}
try {
$identity = [Security.Principal.WindowsIdentity]::GetCurrent()
$principal = New-Object Security.Principal.WindowsPrincipal($identity)
if (-not $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { throw 'Run from an elevated PowerShell session.' }
$assemblies = @{ 'api-gateway'='ApiGateway'; 'patient-profile'='PatientProfileService'; 'observation'='ObservationService'; 'insights'='InsightsService'; 'health-overview'='HealthOverviewService' }
$selected = if ($Services -eq 'all') { @('api-gateway','patient-profile','observation','insights','health-overview') } else { @($Services.Split(',')) }
if (@($selected | Select-Object -Unique).Count -ne $selected.Count) { throw 'Repeated service selection.' }
foreach ($name in $selected) {
if (-not $assemblies.ContainsKey($name)) { throw "Unknown service: $name" }
if (-not (Test-Path "$PSScriptRoot\services\$name\$($assemblies[$name]).dll")) { throw "Missing release: $name" }
if ((Test-Path "$Root\services\$name") -or (Get-Service "healthapp-$name" -ErrorAction SilentlyContinue)) { throw "Already installed: $name. Existing files were not changed." }
}
New-Item -ItemType Directory -Force $Root | Out-Null
Protect-Private $Root
$step = 'install .NET 10 ASP.NET Core runtime'
$dotnet = "$Root\runtime\dotnet.exe"
if (Get-Command dotnet.exe -ErrorAction SilentlyContinue) {
$candidate = (Get-Command dotnet.exe).Source
if ((& $candidate --list-runtimes) -match 'Microsoft.AspNetCore.App 10\.') { $dotnet = $candidate }
}
if (-not (Test-Path $dotnet)) {
$script = "$Root\dotnet-install.ps1"
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile $script -UseBasicParsing
& $script -Channel '10.0' -Runtime 'aspnetcore' -InstallDir "$Root\runtime" -NoPath
if (-not (Test-Path $dotnet)) { throw 'Runtime installation did not produce dotnet.exe.' }
}
$utility = "$PSScriptRoot\provisioner\HealthApp.Provisioning.dll"
$step = 'generate deployment material'
if (-not $Deployment) { $Deployment = "$Root\deployment" }
if (-not (Test-Path "$Deployment\deployment.json")) {
$prepare = @($utility,'prepare','--output',$Deployment,'--host',$HostName)
if ($Topology) { $prepare += @('--topology',$Topology) }
if ($Certificates) { $prepare += @('--certificates',$Certificates) }
& $dotnet @prepare
Check-Exit 'Generate credentials and HTTPS certificates'
}
Protect-Private $Deployment
if ($PrepareOnly) { Write-Host "Generated protected deployment material in $Deployment"; return }
$step = 'install prototype HTTPS trust'
Import-Certificate -FilePath "$Deployment\healthapp-ca.crt" -CertStoreLocation Cert:\LocalMachine\Root | Out-Null
$needsPostgres = ($selected -contains 'patient-profile') -or ($selected -contains 'observation')
if ($needsPostgres -and -not $PostgresAdminFile) {
$PostgresAdminFile = "$Root\postgres-admin.connection"
if (-not (Test-Path $PostgresAdminFile)) {
$step = 'install PostgreSQL'
# Resolve the maintained Microsoft package manifest, verify the vendor binary checksum,
# and pass the generated administrator secret through a protected options file.
$headers = @{ 'User-Agent'='HealthApp-Prototype-Installer' }
$manifestBase = 'https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/p/PostgreSQL/PostgreSQL/17'
$versions = Invoke-RestMethod $manifestBase -Headers $headers
$latest = $versions | Sort-Object @{Expression={[version]($_.name.Split('-')[0])}}, @{Expression={[int]($_.name.Split('-')[-1])}} -Descending | Select-Object -First 1
$files = Invoke-RestMethod $latest.url -Headers $headers
$manifest = $files | Where-Object { $_.name -like '*.installer.yaml' } | Select-Object -First 1
$yaml = (Invoke-WebRequest $manifest.download_url -UseBasicParsing).Content
$download = [regex]::Match($yaml,'(?m)^\s*InstallerUrl:\s*(\S+)').Groups[1].Value
$checksum = [regex]::Match($yaml,'(?m)^\s*InstallerSha256:\s*([A-Fa-f0-9]{64})').Groups[1].Value
if (-not $download.StartsWith('https://get.enterprisedb.com/') -or -not $checksum) { throw 'PostgreSQL package manifest is invalid.' }
$installer = "$Root\postgresql-installer.exe"
Invoke-WebRequest $download -OutFile $installer -UseBasicParsing
if ((Get-FileHash $installer -Algorithm SHA256).Hash -ne $checksum) { throw 'PostgreSQL installer checksum does not match.' }
$random = New-Object byte[] 32
$rng = [Security.Cryptography.RandomNumberGenerator]::Create()
$rng.GetBytes($random); $rng.Dispose()
$adminPassword = [BitConverter]::ToString($random).Replace('-','') + 'a!'
$port = 5432
$listener = New-Object Net.Sockets.TcpListener([Net.IPAddress]::Loopback,$port)
try { $listener.Start() } catch { $listener = New-Object Net.Sockets.TcpListener([Net.IPAddress]::Loopback,0); $listener.Start(); $port = $listener.LocalEndpoint.Port }
finally { $listener.Stop() }
$options = "$Root\postgresql.options"
@('mode=unattended','unattendedmodeui=none','debuglevel=0','enable-components=server,commandlinetools',
"prefix=$Root\postgresql","datadir=$Root\postgresql-data","serverport=$port",'servicename=healthapp-postgresql',
'serviceaccount=NT AUTHORITY\NetworkService',"superpassword=$adminPassword") | Set-Content $options -Encoding UTF8
Protect-Private $options
$installed = Start-Process $installer -ArgumentList @('--optionfile',('"'+$options+'"')) -Wait -PassThru
if ($installed.ExitCode -ne 0) { throw 'PostgreSQL unattended installation failed.' }
"Host=localhost;Port=$port;Database=postgres;Username=postgres;Password=$adminPassword" | Set-Content $PostgresAdminFile -Encoding UTF8
Protect-Private $PostgresAdminFile
Remove-Item $options
}
Start-Service 'healthapp-postgresql'
}
foreach ($name in $selected) {
$step = "configure $name"
if ($name -eq 'patient-profile' -or $name -eq 'observation') {
& $dotnet $utility database --service-dir "$Deployment\$name" --admin-file $PostgresAdminFile
Check-Exit "Create dedicated $name database and credentials"
}
& $dotnet $utility configure --service-dir "$Deployment\$name" --root $Root --platform windows
Check-Exit "Configure $name"
New-Item -ItemType Directory -Force "$Root\services" | Out-Null
$application = "$Root\services\$name"
Copy-Item "$PSScriptRoot\services\$name" $application -Recurse
Copy-Item "$Root\config\$name\appsettings.Production.json" "$application\appsettings.Production.json"
$dll = "$application\$($assemblies[$name]).dll"
if ($name -eq 'patient-profile' -or $name -eq 'observation') {
& $dotnet $dll --migrate --contentRoot $application --environment Production
Check-Exit "Migrate $name database"
}
$serviceName = "healthapp-$name"
$binary = '"'+$dotnet+'" "'+$dll+'" --contentRoot "'+$application+'" --environment Production'
New-Service -Name $serviceName -BinaryPathName $binary -StartupType Automatic -Description "HealthApp $name" | Out-Null
& sc.exe config $serviceName obj= "NT SERVICE\$serviceName" | Out-Null
Check-Exit "Configure independent $name virtual service account"
& icacls.exe $application /grant "NT SERVICE\${serviceName}:(OI)(CI)RX" /T | Out-Null
& icacls.exe "$Root\config\$name" /grant "NT SERVICE\${serviceName}:(OI)(CI)RX" /T | Out-Null
if ($name -eq 'api-gateway') {
New-Item -ItemType Directory -Force "$Root\state\api-gateway\keys" | Out-Null
& icacls.exe "$Root\state\api-gateway" /grant "NT SERVICE\${serviceName}:(OI)(CI)M" /T | Out-Null
}
# Service identities need traversal/runtime access, not other services' private configuration.
foreach ($parent in @("$Root\services","$Root\config","$Root\state")) {
if (Test-Path $parent) { & icacls.exe $parent /grant "NT SERVICE\${serviceName}:RX" | Out-Null }
}
& icacls.exe $Root /grant "NT SERVICE\${serviceName}:RX" | Out-Null
if ($dotnet.StartsWith($Root)) { & icacls.exe "$Root\runtime" /grant "NT SERVICE\${serviceName}:(OI)(CI)RX" /T | Out-Null }
& sc.exe failure $serviceName reset= 86400 actions= restart/5000 | Out-Null
$settings = Get-Content "$Deployment\$name\service.json" -Raw | ConvertFrom-Json
New-NetFirewallRule -DisplayName "HealthApp $name HTTPS" -Direction Inbound -Action Allow -Protocol TCP -LocalPort $settings.Port -Program $dotnet | Out-Null
Start-Service $serviceName
}
$step = 'verify running processes and HTTPS'
$processIds = @()
foreach ($name in $selected) {
$native = Get-CimInstance Win32_Service -Filter "Name='healthapp-$name'"
if ($native.State -ne 'Running' -or $native.ProcessId -eq 0 -or ($processIds -contains $native.ProcessId)) { throw "$name is not an independent running service." }
$processIds += $native.ProcessId
}
& $dotnet $utility verify-startup --deployment $Deployment --services ($selected -join ',')
Check-Exit 'HTTPS startup verification'
if (-not $DeferTopologyCheck) {
$verify = @($utility,'verify','--deployment',$Deployment,'--services',($selected -join ','))
if ($Services -eq 'all') { $verify += @('--complete','true') }
& $dotnet @verify
Check-Exit 'Dependency and representative workflow verification'
}
Write-Host "Installation completed. Generated account credentials are protected in $Deployment\accounts.json"
} catch {
Write-Error "Installation failed at ${step}: $($_.Exception.Message). Existing data and deployment material were retained."
exit 1
}
@@ -0,0 +1,150 @@
#!/usr/bin/env bash
set -euo pipefail
umask 077
step=arguments
fail() { printf 'Installation failed at %s: %s\n' "$step" "$*" >&2; exit 1; }
trap 'printf "Installation failed at %s (line %s). Existing data and generated material were retained.\n" "$step" "$LINENO" >&2' ERR
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
if [[ $(uname -s) == Darwin ]]; then exec bash "$script_dir/install-macos.sh" "$@"; fi
source "$script_dir/services.sh"
source "$script_dir/bootstrap.sh"
bundle=$script_dir
requested=
target_root=/
dotnet_path=/usr/bin/dotnet
host=localhost
topology=
deployment=
external_certificates=
admin_file=
prepare_only=false
defer_verification=false
while [[ $# -gt 0 ]]; do
case "$1" in
--bundle|--services|--root|--dotnet|--host|--topology|--deployment|--certificates|--postgres-admin-file)
[[ $# -gt 1 ]] || fail "Missing value for $1."
case "$1" in --bundle) bundle=$2;; --services) requested=$2;; --root) target_root=$2;; --dotnet) dotnet_path=$2;;
--host) host=$2;; --topology) topology=$2;; --deployment) deployment=$2;; --certificates) external_certificates=$2;;
--postgres-admin-file) admin_file=$2;; esac
shift 2;;
--prepare-only) prepare_only=true; shift;;
--defer-topology-check) defer_verification=true; shift;;
--help) printf '%s\n' 'Usage: bash install.sh --services all|NAME[,NAME] [--host DNS_OR_IP] [--topology topology.json] [--deployment generated-directory]' 'Provisioning installs runtime/PostgreSQL as needed and generates credentials, HTTPS, configuration, migrations and running systemd services.' 'Optional --root DIRECTORY stages generated files offline; --dotnet PATH selects the available runtime.' '--prepare-only generates a deployment for automatic distribution with distribute.sh. --certificates DIR accepts external certificates.'; exit 0;;
*) fail "Unknown argument: $1";;
esac
done
select_services "$requested"
[[ $(uname -s) == Linux ]] || fail 'Only Linux is supported.'
[[ "$target_root" == /* && "$target_root" != *$'\n'* ]] || fail 'Root must be an absolute path.'
[[ "$dotnet_path" =~ ^/[A-Za-z0-9_./+-]+$ ]] || fail 'Runtime path is invalid.'
target_root=$(realpath -m -- "$target_root")
step=preflight
for service in "${selected_services[@]}"; do
assembly=$(assembly_for "$service")
[[ -f "$bundle/services/$service/$assembly.dll" && -f "$bundle/systemd/healthapp-$service.service" ]] || fail "Missing release payload: $service"
[[ ! -e "$target_root/opt/healthapp/$service" && ! -e "$target_root/etc/healthapp/$service" && ! -e "$target_root/etc/systemd/system/healthapp-$service.service" ]] || fail "Already installed: $service; existing configuration was not changed."
done
[[ -f "$bundle/provisioner/HealthApp.Provisioning.dll" ]] || fail 'Missing release provisioning utility.'
persistence=false
for service in "${selected_services[@]}"; do case "$service" in patient-profile|observation) persistence=true;; esac; done
if [[ "$target_root" == / && "$prepare_only" == false ]]; then
[[ $EUID -eq 0 && -d /run/systemd/system ]] || fail 'Live installation requires root and a running systemd manager.'
source /etc/os-release
ensure_dependencies "$ID" "${VERSION_ID:-}" "$dotnet_path" "$persistence" "${ID_LIKE:-}"
else
[[ -x "$dotnet_path" ]] || fail 'Offline preparation needs an available .NET 10 runtime.'
fi
provision=("$dotnet_path" "$bundle/provisioner/HealthApp.Provisioning.dll")
step='generate deployment credentials and HTTPS certificates'
if [[ -z "$deployment" || ! -f "$deployment/deployment.json" ]]; then
[[ -n "$deployment" ]] || deployment="$target_root/var/lib/healthapp-installation/deployment"
arguments=(prepare --output "$deployment" --host "$host")
[[ -z "$topology" ]] || arguments+=(--topology "$topology")
[[ -z "$external_certificates" ]] || arguments+=(--certificates "$external_certificates")
"${provision[@]}" "${arguments[@]}"
fi
if [[ "$prepare_only" == true ]]; then
printf 'Deployment material generated in %s. It contains secrets; distribute.sh installs the scoped material on each host.\n' "$deployment"
exit 0
fi
install -d -m 0755 "$target_root/opt/healthapp" "$target_root/etc/systemd/system"
install -d -m 0711 "$target_root/etc/healthapp"
install -d -m 0755 "$target_root/usr/local/share/ca-certificates"
ca_id=$(sha256sum "$deployment/healthapp-ca.crt" | cut -c1-16)
install -m 0644 "$deployment/healthapp-ca.crt" "$target_root/usr/local/share/ca-certificates/healthapp-prototype-$ca_id.crt"
if [[ "$target_root" == / ]]; then
step='install local HTTPS trust'
update-ca-certificates
fi
for service in "${selected_services[@]}"; do
step="configure $service"
if [[ "$target_root" == / ]]; then
user="healthapp-$service"
getent group "$user" >/dev/null || groupadd --system "$user"
id "$user" >/dev/null 2>&1 || useradd --system --gid "$user" --home-dir /nonexistent --shell /usr/sbin/nologin "$user"
fi
if [[ "$service" == patient-profile || "$service" == observation ]]; then
if [[ "$target_root" == / || -n "$admin_file" ]]; then
step="create dedicated database and role for $service"
args=(database --service-dir "$deployment/$service")
[[ -z "$admin_file" ]] || args+=(--admin-file "$admin_file")
"${provision[@]}" "${args[@]}"
fi
fi
"${provision[@]}" configure --service-dir "$deployment/$service" --root "$target_root"
install -d -m 0755 "$target_root/opt/healthapp/$service"
cp -R "$bundle/services/$service/." "$target_root/opt/healthapp/$service/"
chmod -R a+rX,go-w "$target_root/opt/healthapp/$service"
sed -e "s|ExecStart=/usr/bin/dotnet |ExecStart=$dotnet_path |" \
-e "s|EnvironmentFile=/etc/healthapp/$service.env|EnvironmentFile=/etc/healthapp/$service/service.env|" \
-e "s/^User=healthapp$/User=healthapp-$service/" -e "s/^Group=healthapp$/Group=healthapp-$service/" \
"$bundle/systemd/healthapp-$service.service" > "$target_root/etc/systemd/system/healthapp-$service.service"
chmod 0644 "$target_root/etc/systemd/system/healthapp-$service.service"
if [[ "$target_root" == / ]]; then
chmod 0750 "/etc/healthapp/$service"
chgrp "$user" "/etc/healthapp/$service" "/etc/healthapp/$service/service.pfx"
chmod 0640 "/etc/healthapp/$service/service.pfx"
fi
printf 'Installed selected application: %s\n' "$service"
done
if [[ "$target_root" != / ]]; then
printf 'Offline deployment staged in %s. Package installation, systemd startup and live verification were not performed.\n' "$target_root"
exit 0
fi
step='register independent systemd services'
systemctl daemon-reload
for service in "${selected_services[@]}"; do
case "$service" in patient-profile|observation)
step="migrate $service database"
assembly=$(assembly_for "$service")
systemd-run --quiet --wait --pipe --collect --unit="healthapp-$service-migrate" \
--property="User=healthapp-$service" --property="Group=healthapp-$service" \
--property="EnvironmentFile=/etc/healthapp/$service/service.env" --property="WorkingDirectory=/opt/healthapp/$service" \
"$dotnet_path" "/opt/healthapp/$service/$assembly.dll" --migrate;;
esac
done
systemctl daemon-reload
for service in "${selected_services[@]}"; do
step="enable/start $service"
systemctl enable --now "healthapp-$service.service"
done
step='verify startup and HTTPS listening'
pids=()
for service in "${selected_services[@]}"; do
systemctl is-active --quiet "healthapp-$service.service" || fail "$service is not running."
pid=$(systemctl show --property MainPID --value "healthapp-$service.service")
[[ "$pid" =~ ^[1-9][0-9]*$ && -d "/proc/$pid" ]] || fail "$service has no running process."
for peer in "${pids[@]}"; do [[ "$pid" != "$peer" ]] || fail 'Selected services share a process.'; done
pids+=("$pid")
done
"${provision[@]}" verify-startup --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")"
if [[ "$defer_verification" == true ]]; then
printf '%s\n' 'Node started. Distributed topology verification is pending until all nodes have started.'
else
step='verify configured dependencies and representative functionality'
arguments=(verify --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")")
[[ "$requested" != all ]] || arguments+=(--complete true)
"${provision[@]}" "${arguments[@]}"
printf 'Installation and topology verification completed. Account credentials: %s/accounts.json\n' "$deployment"
fi
@@ -0,0 +1,28 @@
#!/usr/bin/env bash
# Deployment metadata only; each application remains independently published and configured.
all_services=(api-gateway patient-profile observation insights health-overview)
select_services() {
local requested="$1" item
selected_services=()
if [[ "$requested" == all ]]; then
selected_services=("${all_services[@]}")
return
fi
IFS=',' read -r -a selected_services <<< "$requested"
[[ ${#selected_services[@]} -gt 0 && "$requested" != *, ]] || fail "Select services by comma-separated name or all."
local seen=,
for item in "${selected_services[@]}"; do
case "$item" in api-gateway|patient-profile|observation|insights|health-overview) ;; *) fail "Unknown service: $item" ;; esac
case "$seen" in *,$item,*) fail "Repeated service: $item";; esac
seen+="$item,"
done
}
assembly_for() {
case "$1" in
api-gateway) printf '%s' ApiGateway;;
patient-profile) printf '%s' PatientProfileService;;
observation) printf '%s' ObservationService;;
insights) printf '%s' InsightsService;;
health-overview) printf '%s' HealthOverviewService;;
esac
}
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
set -euo pipefail
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
fail() { printf 'Verification failed: %s\n' "$*" >&2; exit 1; }
source "$script_dir/services.sh"
requested=
deployment=/var/lib/healthapp-installation/deployment
dotnet_path=/usr/bin/dotnet
while [[ $# -gt 0 ]]; do
case "$1" in
--services|--deployment|--dotnet)
[[ $# -gt 1 ]] || fail 'Missing argument.'
case "$1" in --services) requested=$2;; --deployment) deployment=$2;; --dotnet) dotnet_path=$2;; esac
shift 2;;
--help) printf '%s\n' 'Usage: bash verify.sh --services all|NAME[,NAME] [--deployment GENERATED_DIRECTORY] [--dotnet PATH]' 'Checks systemd processes, HTTPS, dedicated databases, service credentials and the complete-system synthetic workflow.'; exit 0;;
*) fail "Unknown argument: $1";;
esac
done
select_services "$requested"
pids=()
for service in "${selected_services[@]}"; do
systemctl is-active --quiet "healthapp-$service.service" || fail "$service is not running."
pid=$(systemctl show --property MainPID --value "healthapp-$service.service")
[[ "$pid" =~ ^[1-9][0-9]*$ && -d "/proc/$pid" ]] || fail "$service has no process."
for peer in "${pids[@]}"; do [[ "$pid" != "$peer" ]] || fail 'Services share a process.'; done
pids+=("$pid")
done
args=(verify --deployment "$deployment" --services "$(IFS=,; echo "${selected_services[*]}")")
[[ "$requested" != all ]] || args+=(--complete true)
"$dotnet_path" "$script_dir/provisioner/HealthApp.Provisioning.dll" "${args[@]}"
printf '%s\n' 'Installation verification passed.'
@@ -0,0 +1,9 @@
ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_URLS=https://0.0.0.0:5082
ConnectionStrings__ObservationDatabase="Host=database.example.test;Port=5432;Database=observations;Username=observations;Password=REPLACE_ME"
Services__ApiGateway__BaseUrl=https://gateway.example.test:5443/
InternalAccess__GatewayKey=REPLACE_ME
Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx
Kestrel__Certificates__Default__Password=REPLACE_ME
Services__ApiGateway__Key=REPLACE_ME
@@ -0,0 +1,7 @@
ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_URLS=https://0.0.0.0:5081
ConnectionStrings__PatientDatabase="Host=database.example.test;Port=5432;Database=patient_profile;Username=patient_profile;Password=REPLACE_ME"
InternalAccess__GatewayKey=REPLACE_ME
Kestrel__Certificates__Default__Path=/etc/healthapp/service.pfx
Kestrel__Certificates__Default__Password=REPLACE_ME
@@ -0,0 +1,22 @@
[Unit]
Description=HealthApp API gateway
Wants=network-online.target
After=network-online.target
[Service]
StateDirectory=healthapp-api-gateway
StateDirectoryMode=0700
Type=simple
User=healthapp
Group=healthapp
WorkingDirectory=/opt/healthapp/api-gateway
ExecStart=/usr/bin/dotnet /opt/healthapp/api-gateway/ApiGateway.dll
EnvironmentFile=/etc/healthapp/api-gateway.env
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30
SyslogIdentifier=healthapp-api-gateway
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,20 @@
[Unit]
Description=HealthApp Health Overview service
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=healthapp
Group=healthapp
WorkingDirectory=/opt/healthapp/health-overview
ExecStart=/usr/bin/dotnet /opt/healthapp/health-overview/HealthOverviewService.dll
EnvironmentFile=/etc/healthapp/health-overview.env
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30
SyslogIdentifier=healthapp-health-overview
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,20 @@
[Unit]
Description=HealthApp Insights service
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=healthapp
Group=healthapp
WorkingDirectory=/opt/healthapp/insights
ExecStart=/usr/bin/dotnet /opt/healthapp/insights/InsightsService.dll
EnvironmentFile=/etc/healthapp/insights.env
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30
SyslogIdentifier=healthapp-insights
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,20 @@
[Unit]
Description=HealthApp Observation service
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=healthapp
Group=healthapp
WorkingDirectory=/opt/healthapp/observation
ExecStart=/usr/bin/dotnet /opt/healthapp/observation/ObservationService.dll
EnvironmentFile=/etc/healthapp/observation.env
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30
SyslogIdentifier=healthapp-observation
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,20 @@
[Unit]
Description=HealthApp Patient/Profile service
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=healthapp
Group=healthapp
WorkingDirectory=/opt/healthapp/patient-profile
ExecStart=/usr/bin/dotnet /opt/healthapp/patient-profile/PatientProfileService.dll
EnvironmentFile=/etc/healthapp/patient-profile.env
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30
SyslogIdentifier=healthapp-patient-profile
[Install]
WantedBy=multi-user.target
+6
View File
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "10.0.100",
"rollForward": "latestFeature"
}
}
@@ -0,0 +1,200 @@
# US-13 prototype authentication
The API gateway authenticates pre-created externally configured accounts. Login is
`POST /api/authentication/login` with `accountId` and `password`. A successful JSON
response contains `accessToken`, `tokenType: Bearer`, `expiresIn`, `accountId` and
trusted `role`; it contains no patient data or refresh token. Send the access token
as `Authorization: Bearer <token>` on subsequent patient-data requests. Invalid
credentials return the same `401` response for unknown accounts and wrong passwords.
Login responses cannot be cached. General measurement guidance remains public.
## Mechanism and configuration
Use ASP.NET Core's built-in bearer authentication and ticket protection, with
Data Protection's application name `HealthApp.ApiGateway` and the bearer purpose.
Tokens are opaque protected authentication tickets, not JWTs. The configured key
ring and framework purpose enforce the gateway trust boundary; only account ID,
role and authentication properties are protected inside a token. Do not share the
key ring with other applications/services. No custom cryptography, identity
microservice, account database or refresh-token mechanism is introduced.
The gateway verifies passwords with ASP.NET Core `PasswordHasher` against
`Authentication:Accounts:<index>:{AccountId,Role,PasswordHash}`. Roles are `Patient`
or `HealthcareProfessional`, from trusted configuration. IDs support ASCII letters,
digits, hyphen and underscore, up to 128 characters. This keeps the internal account
lookup contract unambiguous. Provision credentials externally; no registration or
administration API is exposed. For provisioning, `tools/PasswordHash` reads a
password from standard input and emits its ASP.NET Core hash. Supply input securely
(e.g. redirect a permission-restricted temporary file), and protect the resulting
hash/configuration; neither belongs in Git. The tool needs no NuGet dependency.
`Authentication:TokenLifetimeMinutes` defaults to 30; supported range is 1–1440.
`Authentication:KeyDirectory` is required. Keep its contents persistent through
restart/deployment and readable only by the gateway service account. The systemd
unit provides a mode-0700 state directory; example configuration points into it.
Keys are protected by filesystem permissions in this Linux prototype. Removing
keys invalidates tokens; preserve them for restart continuity. Accounts and
configuration are loaded at startup; after disabling accounts or changing roles,
old tokens can remain valid until their expiry. Immediate revocation is outside
this story. Missing/invalid/expired tokens return `401`; authenticate again after
expiry. Credential validation is not repeated for each operation.
Before thesis measurement, record the lifetime, account/role mix, key persistence,
login frequency and expiry handling. Normally obtain tokens during workload setup
and reuse them; state explicitly whether login is measured. If tokens expire,
re-authentication is required. Keep these choices identical across variants. The
automated test helper logs in using real password verification and caches tokens;
its account-per-resource setup is not a prescribed measurement workload.
## Ownership and profile creation
The patient service owns the account association as `patient.account_id` with a
unique index. It remains application access data, outside tokens. The gateway
queries its protected `GET /api/patients/by-account/{accountId}` service API on each
request; that API is not forwarded as a public account-lookup route. An account
without a profile may log in and create one; its other own-data requests return
`404`. Patient operations are subject to the standard Patient authorization policy.
`GET /api/patients/me` retrieves the caller’s own associated profile without needing
to know its generated identifier, including after a creation response was lost.
It returns `404` before profile creation.
Profile creation derives `X-Account-Id` from the authenticated principal. The
gateway overwrites client input; the service accepts it only behind its gateway
credential. The profile and association are inserted in one atomic database save,
so failure rolls both back. The unique index arbitrates concurrent creation. A
completed creation, a retry after a lost response and a competing request cannot
create another profile; later attempts receive `409`. A retry after a failed
transaction may create the first profile. Profile identity remains persistent
through restarts. US-01's authenticated creation is included because US-13 depends
on a persistent, recoverable association.
Apply the new patient migration before startup. Existing profiles retain a null
account association rather than being assigned to an arbitrary account. They are
not accessible to patient accounts until a trusted deployment operator explicitly
associates them with pre-created accounts. For synthetic experiments, provision a
fresh database via the authenticated creation flow. Do not infer ownership from
caller-supplied IDs or automatically assign historical profiles.
For observation-ID requests, the gateway reads the observation through its service
API to obtain the actual patient, then compares that owner with the account's
profile. Requests for another patient's information receive an empty `404`, the
same as missing data, without forwarding writes or revealing existence. Failed
ownership lookups fail closed with `502`/`504`. Tokens do not cache ownership.
Healthcare-professional logins establish a trusted role. US-14 now permits reads
of assigned patients and the caller’s own assignment list; all professional writes
are rejected before forwarding. Trend/overview endpoints remain unimplemented; the
gateway's default authentication policy also protects future patient endpoints,
which must retain ownership checks when added.
## Service and transport protection
Use HTTPS for client and service traffic. Outside Development, gateway and service
requests over HTTP are rejected and outgoing service endpoints must be HTTPS.
Certificates use ordinary Kestrel configuration and normal platform validation;
no insecure certificate handler is provided. Configure DNS names/certificates for
separate machines. Development permits plain HTTP for local automated tests only.
Use network firewall rules to restrict service ports to trusted hosts as an
additional deployment control; the application credential checks still enforce
protection if a client reaches a service directly.
Each service requires `InternalAccess:GatewayKey`, a random credential of at least
32 characters, matched by the gateway's `Services:<service>:Key`. Services reject
missing/wrong keys and client bearer tokens. Use distinct per-service gateway keys
in deployment. The gateway forwards only its own configured key; arbitrary client
identity headers are not propagated. Do not log these headers or tokens.
Observation and Insights each have a separate `Services:ApiGateway:Key`, matched
by the gateway's `InternalAccess:Observation:Key` or `InternalAccess:Insights:Key`.
Their `X-Service-Key` authenticates an internal principal using an ASP.NET Core
handler. The Observation principal can only GET a patient profile by patient ID;
the Insights principal can only GET observation history by patient ID. Neither
can create/update/delete profiles or observations, query account associations or
call other protected routes. Both internal read paths still pass through the
gateway. Service credentials are separate from patient tokens and token keys.
Use independent random values, restrictive configuration-file permissions and
HTTPS; placeholder values in deployment examples deliberately fail validation.
## Verification
The acceptance suite exercises real HTTP hosts and PostgreSQL migrations. It covers
US-13's login, own access, missing/invalid/expired tokens, no-profile behaviour,
cross-patient reads/writes and observation ownership. Additional checks cover
caller-supplied account spoofing, persistent tokens/associations after restart,
duplicate/concurrent creation, unavailable-service recovery, direct service bypass,
internal-credential route restrictions, professional creation rejection and public
US-15 guidance. Existing functional assertions run through real token login rather
than a production authentication bypass.
Framework reference:
https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.bearertoken.bearertokenoptions?view=aspnetcore-10.0
## US-14 professional assignments
Predefine assignments in the gateway's external `Access:ProfessionalAssignments`
configuration, keyed by the stable professional account identifier. For example:
```json
{
"Access": {
"ProfessionalAssignments": {
"example_professional": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000002"
]
}
}
}
```
Use actual patient identifiers returned by authenticated profile creation. The
example UUIDs are placeholders. A professional can have several patients, and
several professionals can share a patient. Duplicate identifiers are treated as
one assignment. Empty identifiers are rejected at startup. An omitted account
entry means no assignments. Configure that account's role and password hash
separately under `Authentication:Accounts`; assignments never grant a role.
`GET /api/professionals/me/patients` requires the HealthcareProfessional policy and
returns an array of `{ "patientId": "..." }` entries, in deterministic identifier
order. It lists only the caller's configured assignments, without fetching patient
records. No assignments returns `[]`. Missing profiles remain assigned identifiers;
retrieving their data follows the existing missing-resource behaviour. Caller
query parameters or identity headers cannot select another professional's list.
Patient accounts cannot use this endpoint.
Professional GET requests to existing patient profiles, observations (including
recorded legacy context), history, latest observations and numerical insight
require membership in the caller's assignment set. Observation-ID requests resolve
the actual owning patient via the protected Observation API; a supplied patient ID
is not evidence of assignment. Unassigned reads return an empty `404`, preserving
the same non-disclosure convention as patient access. Assigned missing data follows
the existing retrieval contracts. All professional POST/PUT/PATCH/DELETE requests
are rejected with `403` before ownership lookups or forwarding. There is no
assignment-management API or additional database/service.
Assignments are loaded at gateway startup, outside tokens and credential
validation. Restart the gateway after changing its external configuration. Existing
valid tokens then use the new assignment data. Empty lists need no upstream service;
observation-owner lookup failures fail closed with `502`/`504`.
The US-14 tests exercise actual login, multiple and shared assignments, empty lists,
assigned/unassigned reads, preserved context, missing resources, every existing
write route, invalid and expired credentials, patient-role rejection, assignment
changes across restart and unavailable ownership lookup. Trend and overview
endpoints now have equivalent owner/assignment routing and integration tests under
US-11/US-12. Structured observation context is included in authorized reads.
## US-12 Overview service access
The gateway requires `Services:HealthOverview:BaseUrl` and `Services:HealthOverview:Key`.
The latter matches Overview's `InternalAccess:GatewayKey` and protects direct access.
Overview's outgoing `Services:ApiGateway:Key` matches `InternalAccess:HealthOverview:Key`
on the gateway. Use distinct randomly generated credentials of at least 32 characters
for each direction and service; load them externally. Production endpoints use HTTPS.
The HealthOverview service identity is restricted to GET patient profiles, GET latest
overall observations and GET numerical insights. It cannot retrieve history, trends or
another overview, or perform writes. It establishes no client identity. The gateway
checks client ownership/professional assignment before forwarding the outer request.
Internal credentials are trusted service credentials and must remain inaccessible to clients.
Overview adds no authentication framework, shared runtime library or persistence.
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="10.0.12" />
</ItemGroup>
</Project>
@@ -0,0 +1,39 @@
using System.ComponentModel.DataAnnotations;
using System.Security.Claims;
using ApiGateway.Security;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.BearerToken;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
namespace ApiGateway.Controllers;
[ApiController]
[Route("api/authentication")]
public sealed class AuthenticationController(PrototypeAccounts accounts,
IOptionsMonitor<BearerTokenOptions> options) : ControllerBase
{
[AllowAnonymous]
[HttpPost("login")]
public IActionResult Login(LoginRequest request)
{
var account = accounts.Verify(request.AccountId, request.Password);
if (account is null) return Unauthorized(new { title = "Invalid credentials." });
var principal = new ClaimsPrincipal(new ClaimsIdentity(new[]
{
new Claim(ClaimTypes.NameIdentifier, account.AccountId),
new Claim(ClaimTypes.Role, account.Role)
}, "Bearer"));
var settings = options.Get("Bearer");
var expiry = settings.TimeProvider!.GetUtcNow().Add(settings.BearerTokenExpiration);
// Use the framework's ticket protector and bearer validation. No refresh endpoint/token.
var ticket = new AuthenticationTicket(principal, new AuthenticationProperties { ExpiresUtc = expiry }, "Bearer");
Response.Headers.CacheControl = "no-store";
Response.Headers.Pragma = "no-cache";
return Ok(new { accessToken = settings.BearerTokenProtector.Protect(ticket), tokenType = "Bearer",
expiresIn = (long)settings.BearerTokenExpiration.TotalSeconds, accountId = account.AccountId, role = account.Role });
}
public sealed record LoginRequest([Required] string AccountId, [Required] string Password);
}
@@ -0,0 +1,48 @@
using Microsoft.AspNetCore.Mvc;
namespace ApiGateway.Controllers;
[ApiController]
[Route("api")]
public sealed class HealthOverviewController(IHttpClientFactory clients) : ControllerBase
{
[HttpGet("patients/{patientId:guid}/overview")]
public Task GetOverview(Guid patientId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/overview{Request.QueryString}", cancellationToken);
private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken)
{
using var request = new HttpRequestMessage(method, path);
try
{
using var upstream = await clients.CreateClient("HealthOverview")
.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken);
Response.StatusCode = (int)upstream.StatusCode;
Response.ContentType = upstream.Content.Headers.ContentType?.ToString();
if (upstream.Headers.Location is { } location)
Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString();
await upstream.Content.CopyToAsync(Response.Body, cancellationToken);
}
catch (HttpRequestException)
{
await WriteFailureAsync(StatusCodes.Status502BadGateway);
}
catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested)
{
await WriteFailureAsync(StatusCodes.Status504GatewayTimeout);
}
}
private Task WriteFailureAsync(int status)
{
if (Response.HasStarted)
{
HttpContext.Abort();
return Task.CompletedTask;
}
Response.Clear();
return Results.Problem(statusCode: status, title: "Health overview service is unavailable.")
.ExecuteAsync(HttpContext);
}
}
@@ -0,0 +1,52 @@
using Microsoft.AspNetCore.Mvc;
namespace ApiGateway.Controllers;
[ApiController]
[Route("api")]
public sealed class InsightsController(IHttpClientFactory clients) : ControllerBase
{
[HttpGet("patients/{patientId:guid}/insights")]
public Task GetSummary(Guid patientId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/insights{Request.QueryString}", cancellationToken);
[HttpGet("patients/{patientId:guid}/trends")]
public Task GetTrend(Guid patientId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/trends{Request.QueryString}", cancellationToken);
private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken)
{
using var request = new HttpRequestMessage(method, path);
try
{
using var upstream = await clients.CreateClient("Insights")
.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken);
Response.StatusCode = (int)upstream.StatusCode;
Response.ContentType = upstream.Content.Headers.ContentType?.ToString();
if (upstream.Headers.Location is { } location)
Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString();
await upstream.Content.CopyToAsync(Response.Body, cancellationToken);
}
catch (HttpRequestException)
{
await WriteFailureAsync(StatusCodes.Status502BadGateway);
}
catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested)
{
await WriteFailureAsync(StatusCodes.Status504GatewayTimeout);
}
}
private Task WriteFailureAsync(int status)
{
if (Response.HasStarted)
{
HttpContext.Abort();
return Task.CompletedTask;
}
Response.Clear();
return Results.Problem(statusCode: status, title: "Insights service is unavailable.")
.ExecuteAsync(HttpContext);
}
}
@@ -0,0 +1,62 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace ApiGateway.Controllers;
[ApiController]
[AllowAnonymous]
[Route("api/measurement-guidance")]
public sealed class MeasurementGuidanceController : ControllerBase
{
[HttpGet]
public IActionResult Get([FromQuery] string? setting, [FromQuery] string? activityCondition)
{
var requestedSetting = string.IsNullOrWhiteSpace(setting) ? "Unknown" : setting.Trim();
var requestedActivity = string.IsNullOrWhiteSpace(activityCondition) ? "Unknown" : activityCondition.Trim();
if (!new[] { "Home", "Clinic", "Other", "Unknown" }.Contains(requestedSetting, StringComparer.OrdinalIgnoreCase))
return Problem(statusCode: 400, title: "Unsupported measurement setting.");
if (!new[] { "AtRest", "DuringActivity", "AfterActivity", "Unknown" }.Contains(requestedActivity, StringComparer.OrdinalIgnoreCase))
return Problem(statusCode: 400, title: "Unsupported activity condition.");
var available = requestedSetting.Equals("Home", StringComparison.OrdinalIgnoreCase)
|| requestedSetting.Equals("Unknown", StringComparison.OrdinalIgnoreCase);
return Ok(new
{
available,
requestedSetting,
requestedActivityCondition = requestedActivity,
applicableSetting = available ? "Home" : null,
applicableActivityCondition = available ? "AtRest" : null,
reviewedOn = available ? "2026-10-04" : null,
explanation = available
? "These instructions apply to resting home self-measurement, not a clinical measurement protocol. Unknown conditions remain unknown; requesting guidance does not record a setting or certify compliance."
: "Verified guidance is unavailable for the requested setting. Home instructions have not been substituted for clinical or other-setting instructions.",
steps = available ? new[]
{
new GuidanceStep(1, "Equipment", "Use a validated upper-arm device with a cuff suited to your arm. Follow its instructions for placement and maintenance; incorrect cuff size can distort readings."),
new GuidanceStep(2, "Preparation", "Choose a quiet place. Avoid smoking for 30 minutes beforehand and rest seated for five minutes."),
new GuidanceStep(3, "Position", "Sit with back and arm supported and legs uncrossed. Put the cuff on bare skin, clear of tight clothing, and keep the arm relaxed and still during measurement."),
new GuidanceStep(4, "Measure", "Use the device as instructed. Reproduce your setting, posture and preparation when possible to help later comparisons."),
new GuidanceStep(5, "Planned monitoring", "The cited Danish home protocol uses three readings in the morning before breakfast and three in the evening before dinner, over three consecutive days. This planned series differs from saving one observation; follow individually supplied clinical instructions."),
new GuidanceStep(6, "Record", "Save actual blood-pressure values in mmHg, device-reported pulse in beats/minute, and measurement time. Record setting, activity and preparation where known, including departures from routine. Do not discard, change or invent values to fit guidance.")
} : Array.Empty<GuidanceStep>(),
pulseExplanation = available
? "Rest and activity affect the context of pulse readings. One device-reported pulse value does not assess rhythm regularity."
: null,
activityExplanation = available
? "During-activity and after-activity measurements differ from resting measurements. Record the actual conditions; do not relabel them as resting. Such observations remain valid to record."
: null,
limitations = available
? "Guidance does not guarantee accuracy or replace device or individual clinical instructions. It does not recommend medication changes. Viewing or declining it does not save or alter observations, certify a procedure, or prevent a valid submission."
: null,
sources = available ? new[]
{
new GuidanceSource("Sundhed.dk — Højt blodtryk", "https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/hjerte-kar/symptomer-og-tegn/hoejt-blodtryk/", "2024-09-25"),
new GuidanceSource("Sundhed.dk — Blodtryksmåling", "https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/undersoegelser-og-proever/kliniske-procedurer/hjertekar/blodtryksmaaling/", "2025-03-13")
} : Array.Empty<GuidanceSource>()
});
}
private sealed record GuidanceStep(int Order, string Topic, string Instruction);
private sealed record GuidanceSource(string Title, string Url, string UpdatedOn);
}
@@ -0,0 +1,81 @@
using Microsoft.AspNetCore.Mvc;
namespace ApiGateway.Controllers;
[ApiController]
[Route("api")]
public sealed class ObservationController(IHttpClientFactory clients) : ControllerBase
{
[HttpPost("patients/{patientId:guid}/observations")]
public Task RecordObservation(Guid patientId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Post, $"api/patients/{patientId}/observations", cancellationToken);
[HttpDelete("observations/{observationId:guid}")]
public Task DeleteObservation(Guid observationId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Delete, $"api/observations/{observationId}", cancellationToken);
[HttpPut("observations/{observationId:guid}")]
public Task UpdateObservation(Guid observationId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Put, $"api/observations/{observationId}", cancellationToken);
[HttpPatch("observations/{observationId:guid}")]
public Task PatchObservation(Guid observationId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Patch, $"api/observations/{observationId}", cancellationToken);
[HttpGet("observations/{observationId:guid}")]
public Task GetObservation(Guid observationId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Get, $"api/observations/{observationId}", cancellationToken);
[HttpGet("patients/{patientId:guid}/observations/latest")]
public Task GetLatest(Guid patientId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/observations/latest", cancellationToken);
[HttpGet("patients/{patientId:guid}/observations")]
public Task GetByPeriod(Guid patientId, CancellationToken cancellationToken) =>
ForwardAsync(HttpMethod.Get, $"api/patients/{patientId}/observations{Request.QueryString}", cancellationToken);
private async Task ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken)
{
using var request = new HttpRequestMessage(method, path);
if (method == HttpMethod.Post || method == HttpMethod.Put || method == HttpMethod.Patch)
{
request.Content = new StreamContent(Request.Body);
if (Request.ContentType is not null)
request.Content.Headers.TryAddWithoutValidation("Content-Type", Request.ContentType);
}
try
{
using var upstream = await clients.CreateClient("Observation")
.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken);
Response.StatusCode = (int)upstream.StatusCode;
Response.ContentType = upstream.Content.Headers.ContentType?.ToString();
foreach (var header in new[] { "X-Measurement-Setting", "X-Activity-Condition" })
if (upstream.Headers.TryGetValues(header, out var values))
Response.Headers[header] = values.ToArray();
if (upstream.Headers.Location is { } location)
Response.Headers.Location = location.IsAbsoluteUri ? location.PathAndQuery : location.ToString();
await upstream.Content.CopyToAsync(Response.Body, cancellationToken);
}
catch (HttpRequestException)
{
await WriteFailureAsync(StatusCodes.Status502BadGateway);
}
catch (OperationCanceledException) when (!cancellationToken.IsCancellationRequested)
{
await WriteFailureAsync(StatusCodes.Status504GatewayTimeout);
}
}
private Task WriteFailureAsync(int status)
{
if (Response.HasStarted)
{
HttpContext.Abort();
return Task.CompletedTask;
}
Response.Clear();
return Results.Problem(statusCode: status, title: "Observation service is unavailable.")
.ExecuteAsync(HttpContext);
}
}
Loaded 100 of 382 files, more files were not shown because too many files have changed in this diff. Show more