Skip to content

Commit f34b3ed

Browse files
authored
Merge pull request #1508 from RS-PYTHON/prip-edrs-uml
Add PRIP and EDRS UML schemas
2 parents eb70c8c + 279b37c commit f34b3ed

File tree

9 files changed

+124
-0
lines changed

9 files changed

+124
-0
lines changed

docs/images/edrs-stac.png

20.1 KB
Loading

docs/images/edrs-stac_001.png

126 KB
Loading

docs/images/edrs-stac_002.png

16.1 KB
Loading

docs/images/prip-stac.png

23.6 KB
Loading

docs/images/prip-stac_001.png

55.6 KB
Loading

docs/images/prip-stac_002.png

53.6 KB
Loading

docs/images/prip-stac_003.png

15.9 KB
Loading

docs/uml/edrs-stac.plantuml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
@startuml edrs-stac
2+
3+
actor John
4+
collections RS_Server_EDRS
5+
activate RS_Server_EDRS
6+
7+
note over John, RS_Server_EDRS: John has access to 2 EDRS centers: pedc and bedc
8+
9+
John -> RS_Server_EDRS: GET /edrs
10+
RS_Server_EDRS --> John: STAC landing page
11+
12+
John -> RS_Server_EDRS: GET /edrs/collections
13+
RS_Server_EDRS --> John: {s1_pedc, s1_bedc, s2_pedc, s2_bedc}
14+
15+
newpage EDRS items
16+
17+
John -> RS_Server_EDRS: GET /edrs/collections/s1_pedc/items
18+
RS_Server_EDRS -> EDRS_pedc ++ : AUTH TLS
19+
EDRS_pedc --> RS_Server_EDRS : 234 AUTH TLS successful
20+
RS_Server_EDRS -> EDRS_pedc : USER
21+
EDRS_pedc --> RS_Server_EDRS : 331 Need Password
22+
RS_Server_EDRS -> EDRS_pedc : PASS
23+
EDRS_pedc --> RS_Server_EDRS : 230 Authorized
24+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S1A
25+
EDRS_pedc --> RS_Server_EDRS : <mlsd sessions response/>
26+
loop over S1A sessions
27+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S1A/DCS_<nn>_<SessionID>_dat/ch_1
28+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_1 files response/>
29+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S1A/DCS_<nn>_<SessionID>_dat/ch_2
30+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_2 files response/>
31+
end
32+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S1C
33+
EDRS_pedc --> RS_Server_EDRS : <mlsd sessions response/>
34+
loop over S1C sessions
35+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S1C/DCS_<nn>_<SessionID>_dat/ch_1
36+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_1 files response/>
37+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S1C/DCS_<nn>_<SessionID>_dat/ch_2
38+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_2 files response/>
39+
end
40+
RS_Server_EDRS -> RS_Server_EDRS : FTP > STAC mapping
41+
RS_Server_EDRS --> John : {STAC response}
42+
43+
John -> RS_Server_EDRS: GET /edrs/collections/s2_pedc/items
44+
RS_Server_EDRS -> EDRS_pedc ++ : AUTH TLS
45+
EDRS_pedc --> RS_Server_EDRS : 234 AUTH TLS successful
46+
RS_Server_EDRS -> EDRS_pedc : USER
47+
EDRS_pedc --> RS_Server_EDRS : 331 Need Password
48+
RS_Server_EDRS -> EDRS_pedc : PASS
49+
EDRS_pedc --> RS_Server_EDRS : 230 Authorized
50+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2A
51+
EDRS_pedc --> RS_Server_EDRS : <mlsd sessions response/>
52+
loop over S2A sessions
53+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2A/DCS_<nn>_<SessionID>_dat/ch_1
54+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_1 files response/>
55+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2A/DCS_<nn>_<SessionID>_dat/ch_2
56+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_2 files response/>
57+
end
58+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2B
59+
EDRS_pedc --> RS_Server_EDRS : <mlsd sessions response/>
60+
loop over S2B sessions
61+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2B/DCS_<nn>_<SessionID>_dat/ch_1
62+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_1 files response/>
63+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2B/DCS_<nn>_<SessionID>_dat/ch_2
64+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_2 files response/>
65+
end
66+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2C
67+
EDRS_pedc --> RS_Server_EDRS : <mlsd sessions response/>
68+
loop over S2C sessions
69+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2C/DCS_<nn>_<SessionID>_dat/ch_1
70+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_1 files response/>
71+
RS_Server_EDRS -> EDRS_pedc : MLSD NOMINAL/S2C/DCS_<nn>_<SessionID>_dat/ch_2
72+
EDRS_pedc --> RS_Server_EDRS : <mlsd ch_2 files response/>
73+
end
74+
RS_Server_EDRS -> RS_Server_EDRS : FTP > STAC mapping
75+
RS_Server_EDRS --> John : {STAC response}
76+
77+
newpage EDRS queryables
78+
79+
John -> RS_Server_EDRS: GET /cadip/queryables
80+
RS_Server_EDRS --> John: {platform}
81+
82+
@enduml

docs/uml/prip-stac.plantuml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@startuml prip-stac
2+
3+
actor John
4+
collections RS_Server_PRIP
5+
activate RS_Server_PRIP
6+
7+
note over John, RS_Server_PRIP: John has access to 2 PRIP delivery points: prip_s1a and prip_s1c
8+
9+
John -> RS_Server_PRIP: GET /prip
10+
RS_Server_PRIP --> John: STAC landing page
11+
12+
John -> RS_Server_PRIP: GET /prip/collections
13+
RS_Server_PRIP --> John: {S1A_L1_EW_SLC, S1A_L1_IW_SLC, S1A_L1_SM_SLC, S1C_L1_EW_SLC, S1C_L1_IW_SLC, S1C_L1_SM_SLC}
14+
15+
newpage
16+
17+
John -> RS_Server_PRIP: GET /prip/collections/S1A_L1_IW_SLC/items
18+
RS_Server_PRIP -> prip_s1a ++ : GET Products?$filter=Attributes/OData.CSC.StringAttribute/any(\natt:att/Name eq 'productType' and\natt/OData.CSC.StringAttribute/Value eq 'IW_SLC__1S')\n&$expand=Attributes&$orderby=PublicationDate desc
19+
prip_s1a --> RS_Server_PRIP : <OData response/>
20+
RS_Server_PRIP -> RS_Server_PRIP : OData > STAC mapping
21+
RS_Server_PRIP --> John : {STAC response}
22+
23+
John -> RS_Server_PRIP: GET /prip/collections/S1C_L1_IW_SLC/items
24+
RS_Server_PRIP -> prip_s1c ++ : GET Products?$filter=Attributes/OData.CSC.StringAttribute/any(\natt:att/Name eq 'productType' and\natt/OData.CSC.StringAttribute/Value eq 'IW_SLC__1S')\n&$expand=Attributes&$orderby=PublicationDate desc
25+
prip_s1c --> RS_Server_PRIP : <OData response/>
26+
RS_Server_PRIP -> RS_Server_PRIP : OData > STAC mapping
27+
RS_Server_PRIP --> John : {STAC response}
28+
29+
newpage
30+
31+
John -> RS_Server_PRIP: POST /prip/search?platform=sentinel-1a
32+
RS_Server_PRIP -> prip_s1a : GET Products?$filter=Attributes/OData.CSC.StringAttribute/any(\natt:att/Name eq 'platformShortName' and\natt/OData.CSC.StringAttribute/Value eq 'SENTINEL-1') and any(\natt:att/Name eq 'platformSerialIdentifier' and\natt/OData.CSC.StringAttribute/Value eq 'A')\n&$expand=Attributes&$orderby=PublicationDate desc
33+
RS_Server_PRIP -> prip_s1c : GET Products?$filter=Attributes/OData.CSC.StringAttribute/any(\natt:att/Name eq 'platformShortName' and\natt/OData.CSC.StringAttribute/Value eq 'SENTINEL-1') and any(\natt:att/Name eq 'platformSerialIdentifier' and\natt/OData.CSC.StringAttribute/Value eq 'A')\n&$expand=Attributes&$orderby=PublicationDate desc
34+
RS_Server_PRIP -> RS_Server_PRIP : OData > STAC mapping
35+
RS_Server_PRIP --> John : {STAC response}
36+
37+
newpage
38+
39+
John -> RS_Server_PRIP: GET /prip/queryables
40+
RS_Server_PRIP --> John: {platform}
41+
42+
@enduml

0 commit comments

Comments
 (0)