-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCorelib.drawio
140 lines (140 loc) · 15.7 KB
/
Corelib.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
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0" version="24.7.16">
<diagram id="rUxL1oKWxs3ilogCRd9T" name="Page-1">
<mxGraphModel dx="2015" dy="658" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="Cn2GFig116qeOLnLPgPs-1" value="Mongodb<br>(must in replicaset mode)" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="585" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-24" value="<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 251, 251); text-decoration: none; float: none; display: inline !important;">DirectSdk</span><br style="border-color: var(--border-color); caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 251, 251); text-decoration: none; float: none; display: inline !important;">Watch</span>" 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;fontColor=#FF0000;strokeColor=#FF0000;" parent="1" source="Cn2GFig116qeOLnLPgPs-3" target="Cn2GFig116qeOLnLPgPs-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-3" value="<br><br>admin Service<br>(user/role/permission)<br>(app/remote config)" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="460" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontColor=#FF0000;strokeColor=#FF0000;" parent="1" source="Cn2GFig116qeOLnLPgPs-7" target="Cn2GFig116qeOLnLPgPs-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="Cn2GFig116qeOLnLPgPs-7" target="wmVFEGKWtfOXgKhMhSeI-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;fontColor=#000000;strokeColor=#000000;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Cn2GFig116qeOLnLPgPs-7" target="wmVFEGKWtfOXgKhMhSeI-21" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="110" y="395" />
<mxPoint x="110" y="695" />
</Array>
<mxPoint x="300" y="690" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-7" value="<br><br>business service A" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="160" y="350" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontColor=#FF0000;strokeColor=#FF0000;" parent="1" source="Cn2GFig116qeOLnLPgPs-8" target="Cn2GFig116qeOLnLPgPs-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="Cn2GFig116qeOLnLPgPs-8" target="wmVFEGKWtfOXgKhMhSeI-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontColor=#000000;strokeColor=#000000;" parent="1" source="Cn2GFig116qeOLnLPgPs-8" target="wmVFEGKWtfOXgKhMhSeI-21" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="730" y="395" />
<mxPoint x="730" y="695" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-8" value="<br><br>business service B" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="560" y="350" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-13" value="<font color="#ff0000">ConfigSdk<br>Watch</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="145" y="410" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-22" value="<font color="#ff0000">ConfigSdk<br>Watch</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="615" y="410" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-32" value="<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(251, 251, 251); text-decoration: none; float: none; display: inline !important;"><font color="#ffb570">manager call<br>need<br>auth check<br>permission check<br></font></span>" 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;fontColor=#000000;strokeColor=#FFB570;" parent="1" source="Cn2GFig116qeOLnLPgPs-29" target="Cn2GFig116qeOLnLPgPs-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#00CC00;" parent="1" source="Cn2GFig116qeOLnLPgPs-29" target="wmVFEGKWtfOXgKhMhSeI-8" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#00CC00;" parent="1" source="Cn2GFig116qeOLnLPgPs-29" target="wmVFEGKWtfOXgKhMhSeI-10" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-29" value="<font color="#000000">nginx ingress</font>" style="rounded=1;whiteSpace=wrap;html=1;fontColor=#FF0000;" parent="1" vertex="1">
<mxGeometry x="360" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontColor=#000000;strokeColor=#00CC00;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Cn2GFig116qeOLnLPgPs-30" target="Cn2GFig116qeOLnLPgPs-29" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Cn2GFig116qeOLnLPgPs-30" value="<font color="#00cc00">user</font>" style="rounded=1;whiteSpace=wrap;html=1;fontColor=#000000;strokeColor=#00CC00;" parent="1" vertex="1">
<mxGeometry x="260" y="180" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-4" value="DB<br>Cache<br>MQ<br>..." style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="20" y="330" width="60" height="60" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-6" value="DB<br>Cache<br>MQ<br>..." style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="760" y="330" width="60" height="60" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-8" value="web" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="165" y="360" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-10" value="web" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="635" y="360" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-11" value="rpc" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="235" y="360" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-12" value="rpc" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="565" y="360" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-15" value="" style="endArrow=classic;startArrow=classic;html=1;rounded=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;strokeColor=#00CCCC;" parent="1" source="wmVFEGKWtfOXgKhMhSeI-11" target="wmVFEGKWtfOXgKhMhSeI-12" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="380" y="380" as="sourcePoint" />
<mxPoint x="430" y="330" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-16" value="<font color="#00cc00">user outer call</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="480" y="280" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-17" value="<font color="#00cc00">user outer call</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="250" y="280" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-18" value="<font color="#00cccc">inner call</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#00CC00;" parent="1" vertex="1">
<mxGeometry x="280" y="340" width="60" height="20" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-19" value="<font color="#00cccc">inner call</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#00CC00;" parent="1" vertex="1">
<mxGeometry x="500" y="340" width="60" height="20" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-21" value="<font color="#000000">dicover:</font><div><font color="#000000">1.static addr<br></font><div><font color="#000000">2.k8s api server</font></div><div><font color="#000000">3.dns</font></div></div>" style="rounded=1;whiteSpace=wrap;html=1;fontColor=#00CCCC;" parent="1" vertex="1">
<mxGeometry x="360" y="650" width="120" height="90" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-25" value="1.loop in x seconds to<br>update discover<br>2.connection lost triger<br>update discover" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="-30" y="420" width="140" height="60" as="geometry" />
</mxCell>
<mxCell id="wmVFEGKWtfOXgKhMhSeI-26" value="1.loop in x seconds to<br>update discover<br>2.connection lost triger<br>update discover" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="730" y="420" width="140" height="60" as="geometry" />
</mxCell>
<mxCell id="OUvODyNElc9ULqvnpfPR-2" value="<font color="#ffb570">proxy call</font>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;strokeColor=#FFB570;" parent="1" source="Cn2GFig116qeOLnLPgPs-3" target="wmVFEGKWtfOXgKhMhSeI-12" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OUvODyNElc9ULqvnpfPR-3" value="<font color="#ffb570">proxy call</font>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;strokeColor=#FFB570;" parent="1" source="Cn2GFig116qeOLnLPgPs-3" target="wmVFEGKWtfOXgKhMhSeI-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OUvODyNElc9ULqvnpfPR-7" value="web" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="400" y="460" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="OUvODyNElc9ULqvnpfPR-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;strokeColor=#FFB570;" parent="1" source="OUvODyNElc9ULqvnpfPR-8" target="Cn2GFig116qeOLnLPgPs-29" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="OUvODyNElc9ULqvnpfPR-8" value="<font color="#ffb570">manager</font>" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#FFB570;" parent="1" vertex="1">
<mxGeometry x="460" y="180" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>