documented the architecture and design as is
This commit is contained in:
1 parent
5d9371388c
commit
2117236366
20 files changed
+6449
No files matched your search
@@ -0,0 +1,374 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<mxfile host="app.diagrams.net" version="24.7.17" compressed="false">
|
||||
<diagram name="ApiGateway — implementation classes" id="ApiGateway---implementation-classes">
|
||||
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="2476" pageScale="1">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="n1" value="ApiGateway — implementation classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="n2" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
||||
</mxCell>
|
||||
<mxCell id="n3" value="«class» AuthenticationController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.AuthenticationController" sourceFiles="src/ApiGateway/Controllers/AuthenticationController.cs" link="../../src/ApiGateway/Controllers/AuthenticationController.cs">
|
||||
<mxGeometry as="geometry" x="70" y="210" width="520" height="190" />
|
||||
</mxCell>
|
||||
<mxCell id="n4" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n3">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n5" value="+ AuthenticationController(PrototypeAccounts accounts, IOptionsMonitor<BearerTokenOptions> options) + Login(LoginRequest request): IActionResult" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n3">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n3-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n3">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n6" value="«record» LoginRequest ApiGateway.Controllers.AuthenticationController" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.AuthenticationController.LoginRequest" sourceFiles="src/ApiGateway/Controllers/AuthenticationController.cs" link="../../src/ApiGateway/Controllers/AuthenticationController.cs">
|
||||
<mxGeometry as="geometry" x="730" y="210" width="520" height="172" />
|
||||
</mxCell>
|
||||
<mxCell id="n7" value="+ AccountId: string {get, init} + Password: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n6">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n8" value="+ LoginRequest(string AccountId, string Password)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n6">
|
||||
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n6-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n6">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="136" />
|
||||
<mxPoint as="targetPoint" x="520" y="136" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n9" value="«class» HealthOverviewController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.HealthOverviewController" sourceFiles="src/ApiGateway/Controllers/HealthOverviewController.cs" link="../../src/ApiGateway/Controllers/HealthOverviewController.cs">
|
||||
<mxGeometry as="geometry" x="1390" y="210" width="520" height="226" />
|
||||
</mxCell>
|
||||
<mxCell id="n10" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n9">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n11" value="+ HealthOverviewController(IHttpClientFactory clients) + GetOverview(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n9">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="108" />
|
||||
</mxCell>
|
||||
<mxCell id="n9-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n9">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n12" value="«class» InsightsController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.InsightsController" sourceFiles="src/ApiGateway/Controllers/InsightsController.cs" link="../../src/ApiGateway/Controllers/InsightsController.cs">
|
||||
<mxGeometry as="geometry" x="2050" y="210" width="520" height="244" />
|
||||
</mxCell>
|
||||
<mxCell id="n13" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n12">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n14" value="+ InsightsController(IHttpClientFactory clients) + GetSummary(Guid patientId, CancellationToken cancellationToken): Task + GetTrend(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n12">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="126" />
|
||||
</mxCell>
|
||||
<mxCell id="n12-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n12">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n15" value="«class» MeasurementGuidanceController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.MeasurementGuidanceController" sourceFiles="src/ApiGateway/Controllers/MeasurementGuidanceController.cs" link="../../src/ApiGateway/Controllers/MeasurementGuidanceController.cs">
|
||||
<mxGeometry as="geometry" x="70" y="634" width="520" height="154" />
|
||||
</mxCell>
|
||||
<mxCell id="n16" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n15">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n17" value="+ Get(string? setting, string? activityCondition): IActionResult" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n15">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n15-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n15">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n18" value="«record» GuidanceSource ApiGateway.Controllers.MeasurementGuidanceController" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.MeasurementGuidanceController.GuidanceSource" sourceFiles="src/ApiGateway/Controllers/MeasurementGuidanceController.cs" link="../../src/ApiGateway/Controllers/MeasurementGuidanceController.cs">
|
||||
<mxGeometry as="geometry" x="730" y="634" width="520" height="190" />
|
||||
</mxCell>
|
||||
<mxCell id="n19" value="+ Title: string {get, init} + Url: string {get, init} + UpdatedOn: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n18">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n20" value="+ GuidanceSource(string Title, string Url, string UpdatedOn)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n18">
|
||||
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n18-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n18">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="154" />
|
||||
<mxPoint as="targetPoint" x="520" y="154" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n21" value="«record» GuidanceStep ApiGateway.Controllers.MeasurementGuidanceController" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.MeasurementGuidanceController.GuidanceStep" sourceFiles="src/ApiGateway/Controllers/MeasurementGuidanceController.cs" link="../../src/ApiGateway/Controllers/MeasurementGuidanceController.cs">
|
||||
<mxGeometry as="geometry" x="1390" y="634" width="520" height="190" />
|
||||
</mxCell>
|
||||
<mxCell id="n22" value="+ Order: int {get, init} + Topic: string {get, init} + Instruction: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n21">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n23" value="+ GuidanceStep(int Order, string Topic, string Instruction)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n21">
|
||||
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n21-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n21">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="154" />
|
||||
<mxPoint as="targetPoint" x="520" y="154" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n24" value="«class» ObservationController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.ObservationController" sourceFiles="src/ApiGateway/Controllers/ObservationController.cs" link="../../src/ApiGateway/Controllers/ObservationController.cs">
|
||||
<mxGeometry as="geometry" x="2050" y="634" width="520" height="424" />
|
||||
</mxCell>
|
||||
<mxCell id="n25" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n24">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n26" value="+ ObservationController(IHttpClientFactory clients) + RecordObservation(Guid patientId, CancellationToken cancellationToken): Task + DeleteObservation(Guid observationId, CancellationToken cancellationToken): Task + UpdateObservation(Guid observationId, CancellationToken cancellationToken): Task + PatchObservation(Guid observationId, CancellationToken cancellationToken): Task + GetObservation(Guid observationId, CancellationToken cancellationToken): Task + GetLatest(Guid patientId, CancellationToken cancellationToken): Task + GetByPeriod(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n24">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="306" />
|
||||
</mxCell>
|
||||
<mxCell id="n24-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n24">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n27" value="«class» PatientController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.PatientController" sourceFiles="src/ApiGateway/Controllers/PatientController.cs" link="../../src/ApiGateway/Controllers/PatientController.cs">
|
||||
<mxGeometry as="geometry" x="70" y="1238" width="520" height="280" />
|
||||
</mxCell>
|
||||
<mxCell id="n28" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n27">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n29" value="+ PatientController(IHttpClientFactory clients) + CreatePatient(CancellationToken cancellationToken): Task + GetOwnPatient(CancellationToken cancellationToken): Task + GetPatient(Guid patientId, CancellationToken cancellationToken): Task + UpdatePatient(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n27">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="162" />
|
||||
</mxCell>
|
||||
<mxCell id="n27-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n27">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n30" value="«class» ProfessionalController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.ProfessionalController" sourceFiles="src/ApiGateway/Controllers/ProfessionalController.cs" link="../../src/ApiGateway/Controllers/ProfessionalController.cs">
|
||||
<mxGeometry as="geometry" x="730" y="1238" width="520" height="172" />
|
||||
</mxCell>
|
||||
<mxCell id="n31" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n30">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n32" value="+ ProfessionalController(ProfessionalAssignments assignments) + GetAssignedPatients(): IActionResult" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n30">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n30-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n30">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n33" value="«class» InternalServiceAuthenticationHandler ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.InternalServiceAuthenticationHandler" sourceFiles="src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs" link="../../src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs">
|
||||
<mxGeometry as="geometry" x="1390" y="1238" width="520" height="226" />
|
||||
</mxCell>
|
||||
<mxCell id="n34" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n33">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n35" value="+ InternalServiceAuthenticationHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, IConfiguration configuration) # HandleAuthenticateAsync(): Task<AuthenticateResult>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n33">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="108" />
|
||||
</mxCell>
|
||||
<mxCell id="n33-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n33">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n36" value="«class» PatientAccessMiddleware ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.PatientAccessMiddleware" sourceFiles="src/ApiGateway/Security/PatientAccessMiddleware.cs" link="../../src/ApiGateway/Security/PatientAccessMiddleware.cs">
|
||||
<mxGeometry as="geometry" x="2050" y="1238" width="520" height="208" />
|
||||
</mxCell>
|
||||
<mxCell id="n37" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n36">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n38" value="+ PatientAccessMiddleware(RequestDelegate next) + InvokeAsync(HttpContext context, IHttpClientFactory clients, IAuthorizationService authorization, ProfessionalAssignments assignments): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n36">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
|
||||
</mxCell>
|
||||
<mxCell id="n36-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n36">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n39" value="«class» ProfessionalAssignments ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.ProfessionalAssignments" sourceFiles="src/ApiGateway/Security/ProfessionalAssignments.cs" link="../../src/ApiGateway/Security/ProfessionalAssignments.cs">
|
||||
<mxGeometry as="geometry" x="70" y="1698" width="520" height="190" />
|
||||
</mxCell>
|
||||
<mxCell id="n40" value="- assignments: Dictionary<string, Guid[]> {readonly}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n39">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n41" value="+ ProfessionalAssignments(IConfiguration configuration) + GetPatients(string accountId): IReadOnlyList<Guid> + IsAssigned(string accountId, Guid patientId): bool" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n39">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n39-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n39">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n42" value="«class» PrototypeAccount ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.PrototypeAccount" sourceFiles="src/ApiGateway/Security/PrototypeAccounts.cs" link="../../src/ApiGateway/Security/PrototypeAccounts.cs">
|
||||
<mxGeometry as="geometry" x="730" y="1698" width="520" height="190" />
|
||||
</mxCell>
|
||||
<mxCell id="n43" value="+ AccountId: string {get, set} + Role: string {get, set} + PasswordHash: string {get, set}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n42">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n44" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n42">
|
||||
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n42-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n42">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="154" />
|
||||
<mxPoint as="targetPoint" x="520" y="154" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n45" value="«class» PrototypeAccounts ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.PrototypeAccounts" sourceFiles="src/ApiGateway/Security/PrototypeAccounts.cs" link="../../src/ApiGateway/Security/PrototypeAccounts.cs">
|
||||
<mxGeometry as="geometry" x="1390" y="1698" width="520" height="208" />
|
||||
</mxCell>
|
||||
<mxCell id="n46" value="- accounts: Dictionary<string, PrototypeAccount> {readonly} - hasher: PasswordHasher<PrototypeAccount> {readonly} - dummy: PrototypeAccount {readonly}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n45">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n47" value="+ PrototypeAccounts(IConfiguration configuration) + Verify(string accountId, string password): PrototypeAccount?" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n45">
|
||||
<mxGeometry as="geometry" x="0" y="154" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n45-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n45">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="154" />
|
||||
<mxPoint as="targetPoint" x="520" y="154" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n48" value="«class» Program ApiGateway" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f5f5f5;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Program" sourceFiles="src/ApiGateway/Program.cs" link="../../src/ApiGateway/Program.cs">
|
||||
<mxGeometry as="geometry" x="2050" y="1698" width="520" height="172" />
|
||||
</mxCell>
|
||||
<mxCell id="n49" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n48">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n50" value="+ Main(string[] args): void {static} - GetBaseUri(IConfiguration configuration, string service): Uri {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n48">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n48-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n48">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n51" value="«framework reference» ControllerBase" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="70" y="2086" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="n52" value="«framework reference» AuthenticationHandler<AuthenticationSchemeOptions>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="730" y="2086" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="n53" value="«framework reference» IHttpClientFactory" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1390" y="2086" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="n54" value="«framework reference» IConfiguration" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="2050" y="2086" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="n55" value="«framework reference» ILoggerFactory" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="70" y="2196" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="n56" value="«framework reference» UrlEncoder" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="730" y="2196" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="n57" value="«framework reference» RequestDelegate" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1390" y="2196" width="520" height="80" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-0" value="nested classifier" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n3" target="n6" relationship="nested">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-1" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n3" target="n45" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-2" value="nested classifier" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n15" target="n21" relationship="nested">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-3" value="nested classifier" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n15" target="n18" relationship="nested">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-4" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n21" target="n18" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-5" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n18" target="n21" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n30" target="n39" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-7" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n36" target="n39" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-8" value="accounts [0..*]; hasher [1]; dummy [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n45" target="n42" relationship="association">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-9" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n48" target="n33" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-10" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n48" target="n36" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-11" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n48" target="n39" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-12" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n48" target="n45" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-13" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n9" target="n53" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-14" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n12" target="n53" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-15" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n24" target="n53" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-16" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n27" target="n53" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-17" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n33" target="n54" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-18" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n39" target="n54" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-19" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n45" target="n54" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-20" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n33" target="n55" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-21" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n33" target="n56" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-22" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n36" target="n57" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-23" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n3" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n9" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-25" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n12" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-26" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n15" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-27" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n24" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-28" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n27" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-29" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n30" target="n51" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e57-30" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n33" target="n52" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="n58" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="2341" width="2580" height="110" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in new issue
Block a user