-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchecksum.drawio
391 lines (391 loc) · 36.3 KB
/
checksum.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0" version="24.8.3">
<diagram name="Page-1" id="aEC1pFzfvVVUaIhpc6jD">
<mxGraphModel dx="7190" dy="4952" grid="0" 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="YbTp-LDWos9JZ0LRHWmP-6" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-3" target="YbTp-LDWos9JZ0LRHWmP-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-19" value="5) stockage du fichier&nbsp; (après compression/chiffrement si nécessaire)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-6" vertex="1" connectable="0">
<mxGeometry x="-0.1155" y="1" relative="1" as="geometry">
<mxPoint x="53" y="-46" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-17" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;entryX=0.385;entryY=0.933;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-3" target="YbTp-LDWos9JZ0LRHWmP-14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-4784" y="-2710" as="targetPoint" />
<Array as="points">
<mxPoint x="-4912" y="-2627" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-18" value="3) copie du fichier original" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-17" vertex="1" connectable="0">
<mxGeometry x="0.2644" relative="1" as="geometry">
<mxPoint x="-39" y="55" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-20" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-3" target="YbTp-LDWos9JZ0LRHWmP-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-21" value="8) copie du fichier de hot vers cold" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-20" vertex="1" connectable="0">
<mxGeometry x="0.3398" y="1" relative="1" as="geometry">
<mxPoint x="-31" y="-9" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-29" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-3" target="YbTp-LDWos9JZ0LRHWmP-23" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4603" y="-2227" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-30" value="7) stockage checksum MD5 dans storeFileChecksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-29" vertex="1" connectable="0">
<mxGeometry x="0.2689" y="-30" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-63" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.667;entryY=0.933;entryDx=0;entryDy=0;fontSize=12;startSize=8;endSize=8;entryPerimeter=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-3" target="YbTp-LDWos9JZ0LRHWmP-14" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4630" y="-2640" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-64" value="4) récupération du fichier par la queue de traitement (avec check éventuel du checksum SHA-1)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-63" vertex="1" connectable="0">
<mxGeometry x="0.3064" y="24" relative="1" as="geometry">
<mxPoint x="98" y="-16" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-3" value="File-storage" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#042a60;strokeWidth=3;arcSize=5;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;verticalAlign=top;align=left;spacingRight=0;spacingLeft=10;spacingTop=2;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="-4861" y="-2536" width="190" height="210" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-22" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-4" target="YbTp-LDWos9JZ0LRHWmP-3" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4510" y="-2473" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-28" value="6) retour checksum MD5 du fichier stocké (storageFileChecksum est null en DB donc aucune comparaison à faire)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-22" vertex="1" connectable="0">
<mxGeometry x="-0.2772" relative="1" as="geometry">
<mxPoint x="119" y="41" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-4" value="FileSystem-Hot" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4218" y="-2644" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-31" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-5" target="YbTp-LDWos9JZ0LRHWmP-3" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4464" y="-2306" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-32" value="9) retour checksum MD5 (si différent de storeFileChecksum -&gt; KO)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#66B2FF;" parent="YbTp-LDWos9JZ0LRHWmP-31" vertex="1" connectable="0">
<mxGeometry x="-0.0105" y="-26" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-5" value="GCS-Cold" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4222" y="-2388" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-15" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-13" target="YbTp-LDWos9JZ0LRHWmP-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-16" value="1) calcul checksum SHA-1 sur fichier original" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-15" vertex="1" connectable="0">
<mxGeometry x="0.3596" y="-2" relative="1" as="geometry">
<mxPoint x="-55" y="-4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-13" value="Upload" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#F04641;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-5290" y="-2458.5" width="142" height="55" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-14" value="Waiting-room" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4930" y="-2770" width="291" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-23" value="" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;rounded=1;fontFamily=Helvetica;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAverage%2BSans;fontSize=12;fontColor=default;fontStyle=0;strokeColor=#FFFFFF;arcSize=50;fillColor=#00AA9B;" parent="1" vertex="1">
<mxGeometry x="-4791" y="-2193" width="50" height="40" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-24" value="DB" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontColor=#002058;fontSize=16;fontStyle=0" parent="1" vertex="1">
<mxGeometry x="-4806" y="-2164" width="80" height="20" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-26" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-3" target="YbTp-LDWos9JZ0LRHWmP-23" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-4894.9104477611945" y="-2315" as="sourcePoint" />
<mxPoint x="-4827" y="-2182" as="targetPoint" />
<Array as="points">
<mxPoint x="-4957" y="-2219" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-27" value="2) stockage checksum SHA-1 dans originalFileChecksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-26" vertex="1" connectable="0">
<mxGeometry x="-0.3244" y="3" relative="1" as="geometry">
<mxPoint x="13" y="-54" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-36" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-44" target="YbTp-LDWos9JZ0LRHWmP-47" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-37" value="5) copie fichier downloadé depuis cold store" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-36" vertex="1" connectable="0">
<mxGeometry x="-0.1155" y="1" relative="1" as="geometry">
<mxPoint x="-13" y="-31" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-40" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-44" target="YbTp-LDWos9JZ0LRHWmP-50" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-41" value="3) demande download à partir cold storage (pour restore dans hot) - storeFileChecksum fourni en paramètre" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-40" vertex="1" connectable="0">
<mxGeometry x="0.3398" y="1" relative="1" as="geometry">
<mxPoint x="4" y="-23" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-65" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-44" target="YbTp-LDWos9JZ0LRHWmP-47" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4601" y="-2050" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-66" value="7) récupération contenu du fichier - storeFileChecksum fourni en paramètre" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-65" vertex="1" connectable="0">
<mxGeometry x="0.0167" y="-55" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-44" value="File-storage" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#042a60;strokeWidth=3;arcSize=5;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;verticalAlign=top;align=left;spacingRight=0;spacingLeft=10;spacingTop=2;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="-4876" y="-1819" width="190" height="210" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-45" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-47" target="YbTp-LDWos9JZ0LRHWmP-44" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4525" y="-1756" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-46" value="6) retour checksum MD5 du fichier copié (Si différent de storeFileChecksum -&gt; KO)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#66B2FF;" parent="YbTp-LDWos9JZ0LRHWmP-45" vertex="1" connectable="0">
<mxGeometry x="-0.2772" relative="1" as="geometry">
<mxPoint x="78" y="44" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-47" value="FileSystem-Hot" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4233" y="-1927" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-48" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-50" target="YbTp-LDWos9JZ0LRHWmP-44" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4479" y="-1589" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-49" value="4) retour checksum MD5. Si différent de storeFileChecksum -&gt; KO. Sinon récupération fichier (stream)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-48" vertex="1" connectable="0">
<mxGeometry x="-0.0105" y="-26" relative="1" as="geometry">
<mxPoint x="79" y="20" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-50" value="GCS-Cold" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4208" y="-1678" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-51" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-53" target="YbTp-LDWos9JZ0LRHWmP-44" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-52" value="1) demande download avec vérification checksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-51" vertex="1" connectable="0">
<mxGeometry x="0.3596" y="-2" relative="1" as="geometry">
<mxPoint x="-65" y="-4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-53" value="Download" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#F04641;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-5343" y="-1741.5" width="142" height="55" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-55" value="" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;rounded=1;fontFamily=Helvetica;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAverage%2BSans;fontSize=12;fontColor=default;fontStyle=0;strokeColor=#FFFFFF;arcSize=50;fillColor=#00AA9B;" parent="1" vertex="1">
<mxGeometry x="-4806" y="-1476" width="50" height="40" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-56" value="DB" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontColor=#002058;fontSize=16;fontStyle=0" parent="1" vertex="1">
<mxGeometry x="-4821" y="-1447" width="80" height="20" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-57" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-44" target="YbTp-LDWos9JZ0LRHWmP-55" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-4909.9104477611945" y="-1598" as="sourcePoint" />
<mxPoint x="-4842" y="-1465" as="targetPoint" />
<Array as="points">
<mxPoint x="-4972" y="-1502" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-58" value="2) récupération du storeFileChecksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-57" vertex="1" connectable="0">
<mxGeometry x="-0.3244" y="3" relative="1" as="geometry">
<mxPoint x="13" y="-54" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-69" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-71" target="YbTp-LDWos9JZ0LRHWmP-77" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4429" y="-3365" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-70" value="3) demande download&nbsp; - storeFileChecksum fourni en paramètre" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-69" vertex="1" connectable="0">
<mxGeometry x="0.3398" y="1" relative="1" as="geometry">
<mxPoint x="4" y="-23" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-71" value="File-storage" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#042a60;strokeWidth=3;arcSize=5;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;verticalAlign=top;align=left;spacingRight=0;spacingLeft=10;spacingTop=2;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="-4846" y="-3311" width="190" height="210" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-75" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-77" target="YbTp-LDWos9JZ0LRHWmP-71" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4387" y="-3055" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-76" value="4) Si MD5 différent de storeFileChecksum -&gt; KO. Sinon récupération et retour du fichier (sous forme de stream décompressé/déchiffré à la volée)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-75" vertex="1" connectable="0">
<mxGeometry x="-0.0105" y="-26" relative="1" as="geometry">
<mxPoint x="79" y="20" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-77" value="GCS-Hot" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4182" y="-3245" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-78" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-80" target="YbTp-LDWos9JZ0LRHWmP-71" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-79" value="1) demande download avec vérification checksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-78" vertex="1" connectable="0">
<mxGeometry x="0.3596" y="-2" relative="1" as="geometry">
<mxPoint x="-65" y="-4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-80" value="Download" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#F04641;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-5313" y="-3233.5" width="142" height="55" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-81" value="" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;rounded=1;fontFamily=Helvetica;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAverage%2BSans;fontSize=12;fontColor=default;fontStyle=0;strokeColor=#FFFFFF;arcSize=50;fillColor=#00AA9B;" parent="1" vertex="1">
<mxGeometry x="-4776" y="-2968" width="50" height="40" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-82" value="DB" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontColor=#002058;fontSize=16;fontStyle=0" parent="1" vertex="1">
<mxGeometry x="-4791" y="-2939" width="80" height="20" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-83" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-71" target="YbTp-LDWos9JZ0LRHWmP-81" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-4879.9104477611945" y="-3090" as="sourcePoint" />
<mxPoint x="-4812" y="-2957" as="targetPoint" />
<Array as="points">
<mxPoint x="-4942" y="-2994" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-84" value="2) récupération du storeFileChecksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-83" vertex="1" connectable="0">
<mxGeometry x="-0.3244" y="3" relative="1" as="geometry">
<mxPoint x="13" y="-54" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-86" value="Le check du checksum MD5 à l'étape 4 permet d'éviter de : <br><div>- downloader le fichier si le checksum ne matche pas</div><div>- relire 2 fois le fichier (et donc ne pas pouvoir profiter de l'InputStream de bout en bout, l'InputStream ne pouvant être lu qu'une seul fois (même avec un déchiffrement/décompression à la volée) et le calcul du checksum nécessitant une première lecture complète).<br>- Avoir des I/O disque + CPU inutiles juste pour calculer le checksum<br></div><div><br></div><div>--&gt; Est-ce que le gain que cela apporte mitige suffisamment la complexité supplémentaire ?<br>(Au pire le checksum MD5 peut être géré plus tard pour optimiser les performances. Peut-être vaut-il mieux s'assurer que tout fonctionne déjà avant d'optimiser les performances)<br></div>" style="text;strokeColor=none;fillColor=none;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;" parent="1" vertex="1">
<mxGeometry x="-4552" y="-2922" width="612" height="30" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-87" value="Le but premier est de s'assurer que le fichier n'a pas été modifié par une tierce personne dans le store" style="text;strokeColor=none;fillColor=none;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;" parent="1" vertex="1">
<mxGeometry x="-4594" y="-2174" width="612" height="30" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-88" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-90" target="YbTp-LDWos9JZ0LRHWmP-93" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4429" y="-4003" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-89" value="2) download fichier stocké (sous forme de stream)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-88" vertex="1" connectable="0">
<mxGeometry x="0.3398" y="1" relative="1" as="geometry">
<mxPoint x="-111" y="-14" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-90" value="File-storage (StorageFileService)" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#042a60;strokeWidth=3;arcSize=5;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;verticalAlign=top;align=left;spacingRight=0;spacingLeft=10;spacingTop=2;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="-4846" y="-3949" width="190" height="210" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-91" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-93" target="YbTp-LDWos9JZ0LRHWmP-90" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4387" y="-3693" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-102" value="3) retour du contenu du fichier (stream avec décompression/déchiffrement à la volée si nécessaire)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-91" vertex="1" connectable="0">
<mxGeometry x="-0.1182" y="-43" relative="1" as="geometry">
<mxPoint x="-5" y="-17" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-125" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" parent="1" target="YbTp-LDWos9JZ0LRHWmP-103" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4414.5" y="-3496" />
</Array>
<mxPoint x="-4705" y="-3736" as="sourcePoint" />
<mxPoint x="-4254.5" y="-3499.7333333333336" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-127" value="4) copie du stream décompressé/déchiffré dans un fichier temporaire" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-125" vertex="1" connectable="0">
<mxGeometry x="-0.4276" y="-34" relative="1" as="geometry">
<mxPoint x="450" y="-59" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-128" value="6) vérification du checksum original avec checksum du fichier temporaire" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-125" vertex="1" connectable="0">
<mxGeometry x="0.1826" y="-30" relative="1" as="geometry">
<mxPoint x="5" y="-78" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-126" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;exitX=0.979;exitY=0.957;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-90" target="YbTp-LDWos9JZ0LRHWmP-103" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4205" y="-3730" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-93" value="<div>IFileStore<br></div>" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#00AA9B;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4182" y="-3883" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-94" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-96" target="YbTp-LDWos9JZ0LRHWmP-90" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-95" value="1) demande download avec vérification checksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-94" vertex="1" connectable="0">
<mxGeometry x="0.3596" y="-2" relative="1" as="geometry">
<mxPoint x="-65" y="-4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-96" value="Download" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#F04641;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-5313" y="-3871.5" width="142" height="55" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-97" value="" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;rounded=1;fontFamily=Helvetica;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAverage%2BSans;fontSize=12;fontColor=default;fontStyle=0;strokeColor=#FFFFFF;arcSize=50;fillColor=#00AA9B;" parent="1" vertex="1">
<mxGeometry x="-4776" y="-3606" width="50" height="40" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-98" value="DB" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontColor=#002058;fontSize=16;fontStyle=0" parent="1" vertex="1">
<mxGeometry x="-4791" y="-3577" width="80" height="20" as="geometry" />
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-99" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="1" source="YbTp-LDWos9JZ0LRHWmP-90" target="YbTp-LDWos9JZ0LRHWmP-97" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-4879.9104477611945" y="-3728" as="sourcePoint" />
<mxPoint x="-4812" y="-3595" as="targetPoint" />
<Array as="points">
<mxPoint x="-4942" y="-3632" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-100" value="5) récupération du checksum" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" parent="YbTp-LDWos9JZ0LRHWmP-99" vertex="1" connectable="0">
<mxGeometry x="-0.3244" y="3" relative="1" as="geometry">
<mxPoint x="13" y="-54" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="bJci-kqNzHLhLFdKq0YA-1" style="edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;startSize=8;endSize=8;" edge="1" parent="1" source="YbTp-LDWos9JZ0LRHWmP-103" target="YbTp-LDWos9JZ0LRHWmP-96">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-4770" y="-3260" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="bJci-kqNzHLhLFdKq0YA-2" value="7) retour stream vers le fichier temporaire" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" vertex="1" connectable="0" parent="bJci-kqNzHLhLFdKq0YA-1">
<mxGeometry x="-0.2794" y="-129" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YbTp-LDWos9JZ0LRHWmP-103" value="Temp files" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#FAB631;strokeWidth=3;arcSize=19;fontFamily=Poppins;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DPoppins;fontSize=16;fontColor=#002058;fontStyle=0;labelBackgroundColor=none;labelBorderColor=none;" parent="1" vertex="1">
<mxGeometry x="-4195" y="-3590" width="280" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>