From 2033f7a151d30182ec91de62e642675c49f75b80 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Thu, 17 Feb 2022 11:05:49 +0100 Subject: [PATCH] Updated test doc --- .../profiledConcessioniExample.json | 89 +++++++++++++++++-- 1 file changed, 82 insertions(+), 7 deletions(-) diff --git a/test-data/profiledDocuments/profiledConcessioniExample.json b/test-data/profiledDocuments/profiledConcessioniExample.json index 3a20c27..13532f9 100644 --- a/test-data/profiledDocuments/profiledConcessioniExample.json +++ b/test-data/profiledDocuments/profiledConcessioniExample.json @@ -1,5 +1,5 @@ { - "_id": "620a80dc11dc052195ae1d05", + "_id": "620e16d82b01092047345c7f", "version": "1.0.1", "info": { @@ -14,7 +14,7 @@ "id": "/pred4s/preprod/preVRE", "name": "/preVRE" }, - "instant": "2022-02-14T17:18:36.594" + "instant": "2022-02-17T10:35:20.109" }, "lastEditInfo": { @@ -27,7 +27,7 @@ "id": "/pred4s/preprod/preVRE", "name": "/preVRE" }, - "instant": "2022-02-14T17:18:42.693" + "instant": "2022-02-17T10:36:25.115" }, "access": { @@ -39,9 +39,9 @@ "profileVersion": "1.0.0", "lifecycleInformation": { - "phase": "DRAFT", - "lastInvokedStep": null, - "lastOperationStatus": null, + "phase": "Pending Approval", + "lastInvokedStep": "SUBMIT-FOR-REVIEW", + "lastOperationStatus": "OK", "errorMessages": null, "warningMessages": null, "triggeredEvents": @@ -65,6 +65,81 @@ "temporalReference": null, "theDocument": { - "dumbKey": "dumbValue" + "posizionamentoScavo": + { + "title": "Mio pos", + "fileset": + { + "uuid": "303aa86c-e5ff-4fa9-a9ab-555b5012d87e", + "creationInfo": + { + "user": + { + "username": "FAKE" + }, + "context": + { + "id": "/pred4s/preprod/preVRE", + "name": "/preVRE" + }, + "instant": "2022-02-17T10:36:02.484" + }, + "access": + { + "policy": "OPEN", + "license": "" + }, + "folderID": "fc6d6be7-4034-4f4f-bcc1-6c29e689cdb5", + "payloads": + [ + { + "mimetype": "application/x-shapefile", + "storageID": "edb0dde2-f724-4c51-810f-1eef2eac28b3", + "link": "https://data-pre.d4science.org/shub/E_NmFhQlNQS2JKMXo4U2lEZnpCMGVweWJYallhMlRDalMreG1RZ2dWQzFzdkFlRW1JbkFzZnZiZmJDc3R6MWRBUw==", + "name": "pos.shp" + }, + { + "mimetype": "application/x-shapefile", + "storageID": "d9599f82-e639-4ae7-8822-48e9d86c00b7", + "link": "https://data-pre.d4science.org/shub/E_ZjFOQ3lXVlRLdzhQNUk3YmVwcUdBcVd6WWQ5dHVHSGQxMnc1NGlCRmlsVW9ZdmlYYTZCQjJ0VjRLaC9xdW40TA==", + "name": "pos.shx" + } + ], + "materializations": + [ + { + "_type": "gcube-sdi-layer", + "ogcLinks": + [ + { + "wms": "https://geoserver1-t.pre.d4science.org/geoserver/profiledconcessioni_pred4s_preprod_prevre/wms?service=WMS&version=1.1.0&request=GetMap&layers=profiledconcessioni_pred4s_preprod_prevre:pos_2&styles=&bbox=8.620919,40.629750,8.621179,40.630258&srs=EPSG:4326&format=application/openlayers&width=400&height=400" + } + ], + "bbox": + { + "maxY": 40.630257904721645, + "maxX": 8.621178639172953, + "minY": 40.62975046683799, + "minX": 8.62091913167495 + }, + "platformInfo": + [ + { + "_type": "Geoserver", + "workspace": "profiledconcessioni_pred4s_preprod_prevre", + "layerName": "pos_2", + "persistencePath": "profiledConcessioni/620e16d82b01092047345c7f/303aa86c-e5ff-4fa9-a9ab-555b5012d87e/pos_2", + "files": + [ + "pos_2.shp", + "pos_2.shx" + ], + "storeName": "pos_2_store" + } + ] + } + ] + } + } } } \ No newline at end of file