forked from diegotorres03/serverless-e2e-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch.drawio
185 lines (185 loc) · 19.4 KB
/
arch.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<mxfile host="65bd71144e">
<diagram id="6yruCg31aHMDgEN6FEC8" name="Page-1">
<mxGraphModel dx="2513" dy="1049" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="51" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="1" vertex="1">
<mxGeometry x="574" y="235" width="463" height="876" as="geometry"/>
</mxCell>
<mxCell id="49" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="1" vertex="1">
<mxGeometry x="-7" y="454" width="560" height="171" as="geometry"/>
</mxCell>
<mxCell id="48" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="1" vertex="1">
<mxGeometry x="-111" y="39" width="879" height="171" as="geometry"/>
</mxCell>
<mxCell id="16" style="edgeStyle=none;html=1;fontColor=#FFFFFF;fontSize=17;" parent="1" source="2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="291.6044776119402" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="Cloudfront" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudfront;" parent="1" vertex="1">
<mxGeometry x="52" y="80" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;fontColor=#FFFFFF;fontSize=17;" parent="1" source="4" target="2" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="9" value="Served trough" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFFFFF;fontSize=17;" parent="8" vertex="1" connectable="0">
<mxGeometry x="0.4963" y="-5" relative="1" as="geometry">
<mxPoint x="44" y="2" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="S3" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3;" parent="1" vertex="1">
<mxGeometry x="320" y="79" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="7" value="Stored on" style="edgeStyle=none;html=1;fontColor=#FFFFFF;fontSize=17;" parent="1" source="5" target="4" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="5" value="Web App" style="dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.weblogos.html5;fontColor=#FFFFFF;fontSize=17;" parent="1" vertex="1">
<mxGeometry x="617" y="80" width="52.400000000000006" height="74" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;fontColor=#FFFFFF;fontSize=17;" parent="1" source="10" target="2" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="12" value="GET on edge location" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFFFFF;fontSize=17;" parent="11" vertex="1" connectable="0">
<mxGeometry x="-0.3123" y="3" relative="1" as="geometry">
<mxPoint x="27" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="26" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="10" target="18" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="27" value="API Calls" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="26" vertex="1" connectable="0">
<mxGeometry x="-0.3533" y="-6" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="39" value="POST/orders" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="26" vertex="1" connectable="0">
<mxGeometry x="0.1842" y="1" relative="1" as="geometry">
<mxPoint y="-1" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="" style="sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=#23445d;fillColor=#bac8d3;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.web_browser;fontSize=17;" parent="1" vertex="1">
<mxGeometry x="-261" y="282" width="108.45" height="77" as="geometry"/>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;fontColor=#FFFFFF;fontSize=17;" parent="1" target="5" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="398" y="293.005629838142" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="15" value="Redirect<br style="font-size: 17px;">on&nbsp;<br style="font-size: 17px;">Authentication" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFFFFF;fontSize=17;" parent="14" vertex="1" connectable="0">
<mxGeometry x="-0.4252" relative="1" as="geometry">
<mxPoint x="44" y="-35" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="19" style="edgeStyle=none;html=1;fontColor=#FFFFFF;fontSize=17;" parent="1" source="18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="351.80544747081717" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="Invoke" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="18" target="21" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="18" value="API Gateway" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#FF4F8B;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" parent="1" vertex="1">
<mxGeometry x="63" y="485" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="25" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="21" target="24" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="465.88885498046875" y="524" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="41" value="Create order" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="25" vertex="1" connectable="0">
<mxGeometry x="-0.3217" y="3" relative="1" as="geometry">
<mxPoint x="15" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="Lambda" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="1" vertex="1">
<mxGeometry x="327" y="485" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="42" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="24" target="28" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="43" value="On create order" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="42" vertex="1" connectable="0">
<mxGeometry x="-0.3971" y="2" relative="1" as="geometry">
<mxPoint x="36" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="45" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="24" target="47" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="934" y="373.22134627046717" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="46" value="On update order" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="45" vertex="1" connectable="0">
<mxGeometry x="-0.3154" y="1" relative="1" as="geometry">
<mxPoint x="50" y="26" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="56" style="edgeStyle=none;html=1;" parent="1" source="24" target="55" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="24" value="DynamoDB" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.dynamodb;" parent="1" vertex="1">
<mxGeometry x="604.2" y="485" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="32" value="Push order<br>to queue" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="28" target="31" edge="1">
<mxGeometry x="-0.344" relative="1" as="geometry">
<mxPoint y="1" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="28" value="Lambda" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="1" vertex="1">
<mxGeometry x="934" y="485" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="31" value="SQS" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#FF4F8B;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sqs;" parent="1" vertex="1">
<mxGeometry x="934" y="282" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="35" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=17;fontColor=#FFFFFF;" parent="1" source="33" target="31" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="36" value="Process Message" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="35" vertex="1" connectable="0">
<mxGeometry x="-0.6046" y="2" relative="1" as="geometry">
<mxPoint x="68" y="-1" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="37" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="33" target="24" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="38" value="Update order" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=17;fontColor=#FFFFFF;" parent="37" vertex="1" connectable="0">
<mxGeometry x="-0.2698" relative="1" as="geometry">
<mxPoint x="-3" y="21" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="33" value="Lambda" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="1" vertex="1">
<mxGeometry x="606" y="281" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="47" value="SNS" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#FF4F8B;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sns;" parent="1" vertex="1">
<mxGeometry x="934" y="710" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="60" style="edgeStyle=none;html=1;fontSize=17;fontColor=#FFFFFF;" parent="1" source="52" target="59" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="52" value="Timestream<br style="font-size: 17px;">" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.timestream;" parent="1" vertex="1">
<mxGeometry x="604.2" y="934" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="57" style="edgeStyle=none;html=1;" parent="1" source="55" target="52" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="55" value="Lambda" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="1" vertex="1">
<mxGeometry x="604.2" y="710" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="59" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.managed_service_for_grafana;" parent="1" vertex="1">
<mxGeometry x="934" y="934" width="78" height="78" as="geometry"/>
</mxCell>
<mxCell id="64" value="Lambda" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#FFFFFF;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=17;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="1" vertex="1">
<mxGeometry x="323" y="282" width="78" height="78" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="olZHPABQtrQ8WYQHyf6v" name="Page-2">
<mxGraphModel dx="1301" dy="472" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="D57J19_yYGJuJeuYQLSv-0"/>
<mxCell id="D57J19_yYGJuJeuYQLSv-1" parent="D57J19_yYGJuJeuYQLSv-0"/>
</root>
</mxGraphModel>
</diagram>
</mxfile>