-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagram.drawio
More file actions
197 lines (197 loc) · 19 KB
/
diagram.drawio
File metadata and controls
197 lines (197 loc) · 19 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
<mxfile host="65bd71144e">
<diagram id="08NOcu-Tgr5mJoTlA-Wd" name="amigoscode">
<mxGraphModel dx="3643" dy="979" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="8" value="" style="shape=datastore;whiteSpace=wrap;html=1;fillColor=#FFFFFF;gradientColor=none;" parent="1" vertex="1">
<mxGeometry x="100" y="700" width="274.05" height="260" as="geometry"/>
</mxCell>
<mxCell id="65" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.223;exitY=0.994;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;dashed=1;startArrow=classic;startFill=1;endArrow=none;endFill=0;strokeWidth=1;exitPerimeter=0;" parent="1" source="11" target="12" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="11" value="<h1>JDBC</h1><p><span style="color: rgb(77 , 81 , 86) ; background-color: rgb(255 , 255 , 255)"><font style="font-size: 16px">Java Database Connectivity is an application programming interface for the programming language Java, which defines how a client may access a database</font></span><br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-940" y="600" width="330" height="140" as="geometry"/>
</mxCell>
<mxCell id="98" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="12">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-540" y="820" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" value="<h1>JDBCTemplate</h1><p><span style="color: rgb(71 , 71 , 71) ; background-color: rgb(255 , 255 , 255)"><font style="font-size: 16px">Simplifies the use of JDBC and helps to avoid common errors. It executes core JDBC workflow, leaving application code to provide SQL and extract results.</font></span><br></p><p><span style="font-size: 16px ; color: rgb(71 , 71 , 71)"><b>SELECT * FROM movie;</b></span><br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-940" y="820" width="290" height="180" as="geometry"/>
</mxCell>
<mxCell id="16" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="-373" y="700" width="280" height="280" as="geometry"/>
</mxCell>
<mxCell id="43" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="739.5882352941176" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="18" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-243" y="730" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="44" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="19" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="785.4705882352941" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="19" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-243" y="775" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="45" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="819.5882352941176" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-243" y="810" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="46" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="21" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="859.5882352941176" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-243" y="850" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="47" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="899.5882352941176" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-243" y="890" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="48" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="23" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="939.5882352941176" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="23" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-243" y="930" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="28" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="27" target="18" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="27" value="Client" style="text;html=1;strokeColor=#9673a6;fillColor=#e1d5e7;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-510" y="730" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="30" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="29" target="21" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="29" value="Client" style="text;html=1;strokeColor=#9673a6;fillColor=#e1d5e7;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-510" y="850" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="32" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="31" target="22" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="31" value="Client" style="text;html=1;strokeColor=#9673a6;fillColor=#e1d5e7;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-510" y="890" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="33" value="Connection Pool" style="text;html=1;strokeColor=#666666;fillColor=#f5f5f5;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#333333;" parent="1" vertex="1">
<mxGeometry x="-283" y="690" width="100" height="20" as="geometry"/>
</mxCell>
<mxCell id="49" value="free" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-279" y="777" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="51" value="free" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-279" y="810" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="52" value="free" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-283" y="930" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="60" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;strokeWidth=2;" parent="1" source="59" target="33" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="59" value="Data Source" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-370" y="500" width="277" height="60" as="geometry"/>
</mxCell>
<mxCell id="62" value="<h1>Data Source</h1><p><span style="background-color: rgb(255 , 255 , 255)"><span style="color: rgb(32 , 33 , 36) ; font-family: &#34;arial&#34; , sans-serif ; font-size: 16px">A DataSource object&nbsp;</span><b style="color: rgb(32 , 33 , 36) ; font-family: &#34;arial&#34; , sans-serif ; font-size: 16px">provides a new way for JDBC clients to obtain a DBMS connection</b><span style="color: rgb(32 , 33 , 36) ; font-family: &#34;arial&#34; , sans-serif ; font-size: 16px">. ... This DataSource entry then points to a connection pool</span></span><br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-410" y="320" width="420" height="120" as="geometry"/>
</mxCell>
<mxCell id="63" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;fillColor=#FFFFFF;gradientColor=none;size=0.5;" parent="1" vertex="1">
<mxGeometry x="-70" y="490" width="20" height="80" as="geometry"/>
</mxCell>
<mxCell id="64" value="<div><b>properties file</b></div><div><span>datasource.url=jdbc:postgresql://localhost:5432/amigoscode</span><br></div><div>datasource.username=amigoscode</div><div>datasource.password=hello123</div><div>datasource.driver-class-name=org.postgresql.Driver</div>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-30.97" y="490" width="330" height="80" as="geometry"/>
</mxCell>
<mxCell id="66" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Flyway_logo.svg/1200px-Flyway_logo.svg.png;fontStyle=0" parent="1" vertex="1">
<mxGeometry x="70" y="1090" width="115.79" height="110" as="geometry"/>
</mxCell>
<mxCell id="74" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;startArrow=none;startFill=0;endArrow=classic;endFill=1;strokeColor=#1A1A1A;strokeWidth=1;" parent="1" source="69" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="237" y="960" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="69" value="Database Migration" style="text;html=1;strokeColor=#b85450;fillColor=#f8cecc;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="177.02" y="1125" width="120" height="20" as="geometry"/>
</mxCell>
<mxCell id="71" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://www.liquibase.com/wp-content/uploads/sites/4/2020/05/Liquibase_logo_horizontal_RGB.png;" parent="1" vertex="1">
<mxGeometry x="216.26000000000002" y="1165.41" width="157.79" height="34.59" as="geometry"/>
</mxCell>
<mxCell id="73" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Postgresql_elephant.svg/1200px-Postgresql_elephant.svg.png;" parent="1" vertex="1">
<mxGeometry x="193.41" y="820" width="87.23" height="90" as="geometry"/>
</mxCell>
<mxCell id="76" value="- HikariCP - TomcatCP" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=0" vertex="1" parent="1">
<mxGeometry x="-370" y="440" width="110" height="40" as="geometry"/>
</mxCell>
<mxCell id="99" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.839;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="77">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-640" y="933" as="targetPoint"/>
<Array as="points">
<mxPoint x="-520" y="1199"/>
<mxPoint x="-520" y="962"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="77" value="" style="rounded=1;whiteSpace=wrap;html=1;strokeWidth=1;fillWeight=4;hachureGap=8;hachureAngle=45;sketch=1;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="-930" y="1040" width="350" height="190" as="geometry"/>
</mxCell>
<mxCell id="80" value="RestAPI" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="-795" y="1070" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="86" value="" style="endArrow=none;dashed=1;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-580" y="1170.5" as="sourcePoint"/>
<mxPoint x="-930" y="1170" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="87" value="" style="endArrow=none;dashed=1;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-580" y="1110.5" as="sourcePoint"/>
<mxPoint x="-930" y="1110" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="88" value="Service" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="-795" y="1130" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="89" value="DAO" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="-795" y="1185.41" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="90" value="backend" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="-690" y="1030" width="70" height="20" as="geometry"/>
</mxCell>
<mxCell id="97" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-940" y="1080" as="targetPoint"/>
<mxPoint x="-1070" y="1080" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="102" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://dev.socialidnow.com/images/1/16/Postman.png;" vertex="1" parent="1">
<mxGeometry x="-1220" y="1055" width="135.42" height="50" as="geometry"/>
</mxCell>
<mxCell id="105" value="Data Source" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="-360" y="510" width="277" height="60" as="geometry"/>
</mxCell>
<mxCell id="108" value="Connection Pool" style="text;html=1;strokeColor=#666666;fillColor=#f5f5f5;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#333333;" vertex="1" parent="1">
<mxGeometry x="-283" y="970" width="100" height="20" as="geometry"/>
</mxCell>
<mxCell id="109" value="6 Active Connections<br>3&nbsp;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;" vertex="1" parent="1">
<mxGeometry x="-455" y="635" width="130" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>