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,65 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<mxfile host="app.diagrams.net" version="24.7.17" compressed="false">
|
||||
<diagram id="p1" name="Service processes and communication">
|
||||
<mxGraphModel dx="1700" dy="1500" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1750" pageHeight="1250" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="c1" value="Service processes and communication" style="text;html=0;fontSize=24;fontStyle=1;align=left;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="15" width="1690" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="c2" value="ApiGateway process Authentication + PatientAccessMiddleware Controllers → named HttpClients Login / public guidance / assignments Persistent Data Protection key files" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#dae8fc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../src/ApiGateway/Program.cs">
|
||||
<mxGeometry as="geometry" x="640" y="110" width="420" height="240" />
|
||||
</mxCell>
|
||||
<mxCell id="c3" value="PatientProfileService process PatientController → PatientApplicationService → PatientRepository / SqlPatientRepository → PatientDbContext" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../src/PatientProfileService/Program.cs">
|
||||
<mxGeometry as="geometry" x="30" y="490" width="360" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c4" value="ObservationService process ObservationController → application → ObservationRepository / SQL / EF Patient existence client → Gateway" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../src/ObservationService/Program.cs">
|
||||
<mxGeometry as="geometry" x="470" y="490" width="360" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c5" value="InsightsService process InsightsController → application → stateless InsightCalculator Observation HTTP client → Gateway No DB" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../src/InsightsService/Program.cs">
|
||||
<mxGeometry as="geometry" x="910" y="490" width="360" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c6" value="HealthOverviewService process Overview controller → application Three typed HTTP clients → Gateway Sequential profile/latest/insight reads No DB" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../src/HealthOverviewService/Program.cs">
|
||||
<mxGeometry as="geometry" x="1350" y="490" width="360" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c7" value="Profile APIs HTTPS + X-Gateway-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c2" target="c3">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c8" value="Observation APIs HTTPS + X-Gateway-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c2" target="c4">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c9" value="Summary / trend APIs HTTPS + X-Gateway-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c2" target="c5">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c10" value="Overview API HTTPS + X-Gateway-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c2" target="c6">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c11" value="Patient read HTTPS + X-Service-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c4" target="c2">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c12" value="History read HTTPS + X-Service-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c5" target="c2">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c13" value="Profile / latest / summary reads HTTPS + X-Service-Key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c6" target="c2">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c14" value="Patient DB patient + migration history Only Patient/Profile accesses it" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff2cc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="850" width="360" height="150" />
|
||||
</mxCell>
|
||||
<mxCell id="c15" value="Observation DB observation + flattened context Only Observation accesses it" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff2cc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="470" y="850" width="360" height="150" />
|
||||
</mxCell>
|
||||
<mxCell id="c16" value="EF Core / PostgreSQL" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c3" target="c14">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c17" value="EF Core / PostgreSQL" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c4" target="c15">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c18" value="No direct application-service network links, shared runtime library, shared domain objects, broker or cross-service DB access. Domain/client names do not change the configured Gateway origin. Each box is a separate project/process. Source links are attached to service boxes." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff2cc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="1090" width="1680" height="100" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in new issue
Block a user