forked from TrueCloudLab/frostfs-s3-gw
39 lines
8.3 KiB
XML
39 lines
8.3 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="424px" preserveAspectRatio="none" style="width:842px;height:424px;background:#FFFFFF;" version="1.1" viewBox="0 0 842 424" width="842px" zoomAndPan="magnify"><defs/><g><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="213" x2="213" y1="36.2969" y2="388.8906"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="307" x2="307" y1="36.2969" y2="388.8906"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="530.5" x2="530.5" y1="36.2969" y2="388.8906"/><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="46" x="190" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="32" x="197" y="24.9951">User</text><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="46" x="190" y="387.8906"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="32" x="197" y="407.8857">User</text><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="62" x="276" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="48" x="283" y="24.9951">S3-GW</text><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="62" x="276" y="387.8906"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="48" x="283" y="407.8857">S3-GW</text><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="107" x="477.5" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="93" x="484.5" y="24.9951">FrostFS Node</text><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="107" x="477.5" y="387.8906"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="93" x="484.5" y="407.8857">FrostFS Node</text><polygon fill="#181818" points="295,63.4297,305,67.4297,295,71.4297,299,67.4297" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="213" x2="301" y1="67.4297" y2="67.4297"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="70" x="220" y="62.3638">AccessKey</text><polygon fill="#181818" points="519,103.1289,529,107.1289,519,111.1289,523,107.1289" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="307" x2="525" y1="107.1289" y2="107.1289"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="95" x="314" y="102.063">Search objects</text><path d="M536,80.4297 L536,120.4297 L835,120.4297 L835,90.4297 L825,80.4297 L536,80.4297 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><path d="M825,80.4297 L825,90.4297 L835,90.4297 L825,80.4297 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="233" x="542" y="97.4966">Search by exact attribute matching:</text><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="204" x="542" y="112.6294">S3-Access-Box-CRDT-Name:</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="4" x="746" y="112.6294"> </text><text fill="#000000" font-family="sans-serif" font-size="13" font-style="italic" lengthAdjust="spacing" textLength="70" x="750" y="112.6294">AccessKey</text><polygon fill="#181818" points="318,142.8281,308,146.8281,318,150.8281,314,146.8281" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="312" x2="530" y
|
||
|
@startuml
|
||
|
|
||
|
User -> "S3-GW": AccessKey
|
||
|
"S3-GW" -> "FrostFS Node": Search objects
|
||
|
|
||
|
note right
|
||
|
Search by exact attribute matching:
|
||
|
**S3-Access-Box-CRDT-Name:** //AccessKey//
|
||
|
end note
|
||
|
|
||
|
"FrostFS Node" - -> "S3-GW": AccessBox objects ids
|
||
|
|
||
|
"S3-GW" -> "FrostFS Node" : Head AccessBox objects
|
||
|
"FrostFS Node" - -> "S3-GW": AccessBox object headers
|
||
|
|
||
|
"S3-GW" -> "S3-GW": Choose latest AccessBox
|
||
|
|
||
|
note left
|
||
|
Sort AccessBox headers by creation epoch
|
||
|
and then by ObjectID
|
||
|
Pick last
|
||
|
end note
|
||
|
|
||
|
"S3-GW" -> "FrostFS Node" : Get AccessBox object
|
||
|
"FrostFS Node" - -> "S3-GW": AccessBox object
|
||
|
|
||
|
"S3-GW" -> "S3-GW": Decrypt and validate AccessBox
|
||
|
|
||
|
@enduml
|
||
|
|
||
|
PlantUML version 1.2022.13(Sat Nov 19 16:22:17 MSK 2022)
|
||
|
(GPL source distribution)
|
||
|
Java Runtime: OpenJDK Runtime Environment
|
||
|
JVM: OpenJDK 64-Bit Server VM
|
||
|
Default Encoding: UTF-8
|
||
|
Language: en
|
||
|
Country: US
|
||
|
--></g></svg>
|