<mxfile host="app.diagrams.net"><diagram id="application-architecture" name="Map the components behind an HTTP request"><mxGraphModel dx="900" dy="886" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="900" pageHeight="886" background="#ffffff"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="shape-0" value="Map the components behind an HTTP request" style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=27;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="36" y="26" width="828" height="26" as="geometry"/></mxCell>
<mxCell id="shape-1" value="Draw the request path, then check each service and its permissions." style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=18;fontColor=#526176;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="36" y="70" width="828" height="26" as="geometry"/></mxCell>
<mxCell id="shape-2" value="One application / monolith" style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=18;fontColor=#1d4ed8;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="40" y="122" width="820" height="26" as="geometry"/></mxCell>
<mxCell id="shape-3" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#eff6ff;strokeColor=#1d4ed8;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="50" y="220" width="150" height="80" as="geometry"/></mxCell>
<mxCell id="shape-4" value="Client" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="60" y="243" width="130" height="26" as="geometry"/></mxCell>
<mxCell id="shape-5" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#eff6ff;strokeColor=#1d4ed8;strokeWidth=1.75;dashed=1;" vertex="1" parent="1"><mxGeometry x="270" y="170" width="370" height="180" as="geometry"/></mxCell>
<mxCell id="shape-6" value="Application boundary" style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=17;fontColor=#1d4ed8;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="290" y="185" width="330" height="26" as="geometry"/></mxCell>
<mxCell id="shape-7" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#f8fafc;strokeColor=#64748b;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="290" y="232" width="90" height="66" as="geometry"/></mxCell>
<mxCell id="shape-8" value="Auth" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=17;fontColor=#172b4d;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="290" y="252" width="90" height="26" as="geometry"/></mxCell>
<mxCell id="shape-9" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#f8fafc;strokeColor=#64748b;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="400" y="232" width="90" height="66" as="geometry"/></mxCell>
<mxCell id="shape-10" value="Products" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=17;fontColor=#172b4d;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="400" y="252" width="90" height="26" as="geometry"/></mxCell>
<mxCell id="shape-11" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#f8fafc;strokeColor=#64748b;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="510" y="232" width="90" height="66" as="geometry"/></mxCell>
<mxCell id="shape-12" value="Cart" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=17;fontColor=#172b4d;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="510" y="252" width="90" height="26" as="geometry"/></mxCell>
<mxCell id="shape-13" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#f5f3ff;strokeColor=#6d28d9;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="710" y="220" width="150" height="80" as="geometry"/></mxCell>
<mxCell id="shape-14" value="Database" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="720" y="243" width="130" height="26" as="geometry"/></mxCell>
<mxCell id="shape-15" style="edgeStyle=none;rounded=0;html=0;strokeColor=#1d4ed8;strokeWidth=2.25;endArrow=block;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200" y="260" as="sourcePoint"/><mxPoint x="270" y="260" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="shape-16" style="edgeStyle=none;rounded=0;html=0;strokeColor=#6d28d9;strokeWidth=2.25;endArrow=block;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="640" y="260" as="sourcePoint"/><mxPoint x="710" y="260" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="shape-17" value="The database and other dependencies can still run separately." style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=18;fontColor=#526176;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="50" y="380" width="810" height="26" as="geometry"/></mxCell>
<mxCell id="shape-18" style="edgeStyle=none;rounded=0;html=0;strokeColor=#cbd5e1;strokeWidth=1;endArrow=none;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="40" y="435" as="sourcePoint"/><mxPoint x="860" y="435" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="shape-19" value="Separate services / microservices" style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=18;fontColor=#047857;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="40" y="468" width="820" height="26" as="geometry"/></mxCell>
<mxCell id="shape-20" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#eff6ff;strokeColor=#1d4ed8;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="50" y="620" width="150" height="80" as="geometry"/></mxCell>
<mxCell id="shape-21" value="Client" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="60" y="644" width="130" height="26" as="geometry"/></mxCell>
<mxCell id="shape-22" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#f8fafc;strokeColor=#64748b;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="270" y="620" width="180" height="80" as="geometry"/></mxCell>
<mxCell id="shape-23" value="API gateway" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="280" y="644" width="160" height="26" as="geometry"/></mxCell>
<mxCell id="shape-24" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#ecfdf5;strokeColor=#047857;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="590" y="520" width="270" height="70" as="geometry"/></mxCell>
<mxCell id="shape-25" value="Auth service" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="604" y="541" width="242" height="26" as="geometry"/></mxCell>
<mxCell id="shape-26" style="edgeStyle=none;rounded=0;html=0;strokeColor=#047857;strokeWidth=2.25;endArrow=block;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="450" y="660" as="sourcePoint"/><mxPoint x="590" y="555" as="targetPoint"/><Array as="points"><mxPoint x="520" y="660"/><mxPoint x="520" y="555"/></Array></mxGeometry></mxCell>
<mxCell id="shape-27" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#ecfdf5;strokeColor=#047857;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="590" y="625" width="270" height="70" as="geometry"/></mxCell>
<mxCell id="shape-28" value="Products service" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="604" y="646" width="242" height="26" as="geometry"/></mxCell>
<mxCell id="shape-29" style="edgeStyle=none;rounded=0;html=0;strokeColor=#047857;strokeWidth=2.25;endArrow=block;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="450" y="660" as="sourcePoint"/><mxPoint x="590" y="660" as="targetPoint"/><Array as="points"><mxPoint x="520" y="660"/><mxPoint x="520" y="660"/></Array></mxGeometry></mxCell>
<mxCell id="shape-30" value="" style="rounded=1;arcSize=12;whiteSpace=wrap;html=0;fillColor=#ecfdf5;strokeColor=#047857;strokeWidth=1.75;dashed=0;" vertex="1" parent="1"><mxGeometry x="590" y="730" width="270" height="70" as="geometry"/></mxCell>
<mxCell id="shape-31" value="Cart service" style="text;html=0;whiteSpace=wrap;overflow=visible;align=center;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=20;fontColor=#172b4d;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="604" y="751" width="242" height="26" as="geometry"/></mxCell>
<mxCell id="shape-32" style="edgeStyle=none;rounded=0;html=0;strokeColor=#047857;strokeWidth=2.25;endArrow=block;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="450" y="660" as="sourcePoint"/><mxPoint x="590" y="765" as="targetPoint"/><Array as="points"><mxPoint x="520" y="660"/><mxPoint x="520" y="765"/></Array></mxGeometry></mxCell>
<mxCell id="shape-33" style="edgeStyle=none;rounded=0;html=0;strokeColor=#1d4ed8;strokeWidth=2.25;endArrow=block;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200" y="660" as="sourcePoint"/><mxPoint x="270" y="660" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="shape-34" style="edgeStyle=none;rounded=0;html=0;strokeColor=#cbd5e1;strokeWidth=1;endArrow=none;endFill=1;startArrow=none;startFill=1;dashed=0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="36" y="829" as="sourcePoint"/><mxPoint x="864" y="829" as="targetPoint"/></mxGeometry></mxCell>
<mxCell id="shape-35" value="Service boundaries alone do not prove isolation. Check authentication and permissions at each hop." style="text;html=0;whiteSpace=wrap;overflow=visible;align=left;verticalAlign=top;spacing=0;fontFamily=Arial;fontSize=16;fontColor=#526176;fontStyle=0;" vertex="1" parent="1"><mxGeometry x="36" y="844" width="828" height="26" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
