-
Notifications
You must be signed in to change notification settings - Fork 2
/
contactSync.drawio
136 lines (136 loc) · 10.2 KB
/
contactSync.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
<mxfile host="65bd71144e">
<diagram id="Rxnw3AHduv8TgdlbGtCm" name="Page-1">
<mxGraphModel dx="1035" dy="823" 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="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="42" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="44" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="43">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="Extension running" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="220" width="130" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;" edge="1" parent="1" source="3" target="8">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="3" value="Timer (60s)" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="220" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" style="edgeStyle=none;html=1;" edge="1" parent="1" source="8" target="12">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="8" value="Extension" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="500" y="220" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="60" style="edgeStyle=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="12" target="8">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="750" y="360"/>
<mxPoint x="560" y="360"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="12" value="Server" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="690" y="210" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="14" value="BatchGet Contact" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="620" y="220" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="15" value="{pageToken}" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="620" y="250" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="25" style="edgeStyle=none;html=1;" edge="1" parent="1" source="16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="840" y="310" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="30" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="21">
<mxGeometry relative="1" as="geometry">
<mxPoint x="530" y="350" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="32" style="edgeStyle=none;html=1;" edge="1" parent="1" source="28">
<mxGeometry relative="1" as="geometry">
<mxPoint x="470" y="440" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="33" value="Upsert<br>contact data" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="615" y="365" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="36" value="Store new<br>{pageToken}" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="610" y="320" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="46" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="43" target="45">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="43" value="Get contact" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="350" width="130" height="60" as="geometry"/>
</mxCell>
<mxCell id="48" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="45" target="47">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="50" style="edgeStyle=none;html=1;entryX=0.083;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="45" target="53">
<mxGeometry relative="1" as="geometry">
<mxPoint x="300" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="45" value="found&nbsp; in local?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="135" y="480" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="47" value="Extension" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="115" y="630" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="49" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="135" y="540" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="52" value="No" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="200" y="530" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="65" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="53" target="64">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="53" value="Server" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="390" y="480" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="54" value="GetContact API" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="245" y="490" width="100" height="30" as="geometry"/>
</mxCell>
<mxCell id="56" value="return contact data" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="60" y="590" width="110" height="30" as="geometry"/>
</mxCell>
<mxCell id="58" value="return contact data" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="260" y="630" width="110" height="30" as="geometry"/>
</mxCell>
<mxCell id="59" value="store to local" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="260" y="660" width="110" height="30" as="geometry"/>
</mxCell>
<mxCell id="66" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="64" target="47">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="69" style="edgeStyle=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="64" target="47">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="450" y="750"/>
<mxPoint x="175" y="750"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="64" value="found?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="410" y="620" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="67" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="390" y="660" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="68" value="No" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="460" y="690" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="70" value="return new contact placeholder" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="260" y="760" width="110" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>