-
Notifications
You must be signed in to change notification settings - Fork 0
/
register-flow.drawio
133 lines (133 loc) · 11.5 KB
/
register-flow.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
<mxfile host="app.diagrams.net" modified="2021-12-06T10:53:18.454Z" agent="5.0 (X11)" etag="vmBqxL3zysEnTO30WlGq" version="15.9.1" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1382" dy="689" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="z913wySDjgUMjYWv6C2x-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" target="z913wySDjgUMjYWv6C2x-0" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-4" value="API Gateway" style="swimlane;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="230" y="10" width="210" height="240" as="geometry">
<mxRectangle x="230" y="10" width="110" height="23" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="z913wySDjgUMjYWv6C2x-4" source="z913wySDjgUMjYWv6C2x-0" target="z913wySDjgUMjYWv6C2x-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-0" value="API gateway" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" parent="z913wySDjgUMjYWv6C2x-4" vertex="1">
<mxGeometry x="20" y="40" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-2" value="IsAuthenticated?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#d80073;fontColor=#ffffff;strokeColor=#A50040;" parent="z913wySDjgUMjYWv6C2x-4" vertex="1">
<mxGeometry x="50" y="130" width="140" height="80" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-10" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="z913wySDjgUMjYWv6C2x-4" vertex="1">
<mxGeometry x="50" y="190" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-13" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="z913wySDjgUMjYWv6C2x-4" vertex="1">
<mxGeometry x="120" y="210" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-19" value="Users Service" style="swimlane;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="453" y="10" width="374" height="470" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fillColor=#e51400;strokeColor=#B20000;" parent="z913wySDjgUMjYWv6C2x-19" source="z913wySDjgUMjYWv6C2x-11" target="z913wySDjgUMjYWv6C2x-35" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="88" y="375" as="targetPoint" />
<Array as="points">
<mxPoint x="75" y="360" />
<mxPoint x="75" y="360" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="z913wySDjgUMjYWv6C2x-19" source="z913wySDjgUMjYWv6C2x-11" target="z913wySDjgUMjYWv6C2x-21" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="207" y="298" />
<mxPoint x="207" y="298" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-11" value="IsUserFound?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#d80073;fontColor=#ffffff;strokeColor=#A50040;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="15" y="230" width="120" height="90" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-23" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="129" y="276" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fillColor=#008a00;strokeColor=#005700;" parent="z913wySDjgUMjYWv6C2x-19" source="z913wySDjgUMjYWv6C2x-25" target="z913wySDjgUMjYWv6C2x-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-25" value="IsRequestValid?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#d80073;fontColor=#ffffff;strokeColor=#A50040;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="10" y="40" width="130" height="80" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-29" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="145" y="60" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-31" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="47" y="120" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-37" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="37" y="320" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-17" value="Try Finding User from Database" style="whiteSpace=wrap;html=1;fontColor=#ffffff;strokeColor=#432D57;fillColor=#76608a;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="159" y="110" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="z913wySDjgUMjYWv6C2x-19" source="z913wySDjgUMjYWv6C2x-11" target="z913wySDjgUMjYWv6C2x-17" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="219" y="250" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-35" value="Create User in database" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="20" y="380" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-21" value="Register failed" style="whiteSpace=wrap;html=1;rounded=1;fillColor=#e51400;fontColor=#ffffff;strokeColor=#B20000;" parent="z913wySDjgUMjYWv6C2x-19" vertex="1">
<mxGeometry x="237" y="270" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fillColor=#e51400;strokeColor=#B20000;" parent="z913wySDjgUMjYWv6C2x-19" source="z913wySDjgUMjYWv6C2x-25" target="z913wySDjgUMjYWv6C2x-21" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-20" value="User" style="swimlane;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="10" y="10" width="200" height="470" as="geometry" />
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-3" value="Register Request" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" parent="z913wySDjgUMjYWv6C2x-20" vertex="1">
<mxGeometry x="49.99999999999977" y="40" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-42" value="Receive Tokens" style="whiteSpace=wrap;html=1;rounded=1;fillColor=#008a00;fontColor=#ffffff;strokeColor=#005700;" parent="z913wySDjgUMjYWv6C2x-20" vertex="1">
<mxGeometry x="40" y="380" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fillColor=#e51400;strokeColor=#B20000;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="z913wySDjgUMjYWv6C2x-2" target="z913wySDjgUMjYWv6C2x-25" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="350" y="240" />
<mxPoint x="470" y="240" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-39" value="Auth Service" style="swimlane;fillColor=#fa6800;fontColor=#000000;strokeColor=#C73500;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="230" y="280" width="210" height="200" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-7" value="Generate Tokens" style="whiteSpace=wrap;html=1;rounded=1;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" parent="z913wySDjgUMjYWv6C2x-39" vertex="1">
<mxGeometry x="45" y="40" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=1;exitDx=0;exitDy=0;fontColor=#FFFFFF;fillColor=#008a00;strokeColor=#005700;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="z913wySDjgUMjYWv6C2x-2" target="z913wySDjgUMjYWv6C2x-7" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="200" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontColor=#FFFFFF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="z913wySDjgUMjYWv6C2x-35" target="z913wySDjgUMjYWv6C2x-7" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="z913wySDjgUMjYWv6C2x-43" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontColor=#FFFFFF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="z913wySDjgUMjYWv6C2x-7" target="z913wySDjgUMjYWv6C2x-42" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="335" y="420" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>