|
| 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