Test data

This commit is contained in:
Fabio Sinibaldi 2022-03-04 11:29:01 +01:00
parent 46f0724efe
commit 28bd1f8249
5 changed files with 198 additions and 67 deletions

View File

@ -0,0 +1,49 @@
{
"_id": "6218e794ac54d5164fa53152",
"_version": "1.0.0",
"_info":
{
"_creationInfo":
{
"_user":
{
"_username": "FAKE"
},
"_context":
{
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"_instant": "2022-02-25T15:28:36.402"
},
"_lastEditInfo": null,
"_access":
{
"_policy": "OPEN",
"_license": ""
}
},
"_profileID": "profiledConcessioni",
"_profileVersion": "1.0.0",
"_lifecycleInformation":
{
"_phase": "DRAFT",
"_lastInvokedStep": null,
"_lastOperationStatus": "ERROR",
"_errorMessages":
[
"Unable to trigger @@@INIT_DOCUMENT@@ cause : null"
],
"_warningMessages":
[],
"_triggeredEvents":
[]
},
"_relationships": null,
"_spatialReference": null,
"_temporalReference": null,
"_theDocument":
{
"field": "value"
}
}

View File

@ -1,5 +1,5 @@
{
"_id": "620e66093321de48ba29cd93",
"_id": "621ceff6eddbbb1c62c9d4ae",
"_version": "1.0.1",
"_info":
{
@ -9,116 +9,112 @@
{
"_username": "FAKE"
},
"context":
"_context":
{
"id": "/pred4s/preprod/preVRE",
"name": "/preVRE"
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"instant": "2022-02-17T16:13:13.441"
"_instant": "2022-02-28T16:53:23.009"
},
"lastEditInfo":
"_lastEditInfo":
{
"user":
"_user":
{
"username": "FAKE"
"_username": "FAKE"
},
"context":
"_context":
{
"id": "/pred4s/preprod/preVRE",
"name": "/preVRE"
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"instant": "2022-02-17T16:13:53.976"
"_instant": "2022-02-28T16:53:33.39"
},
"access":
"_access":
{
"policy": "OPEN",
"license": ""
"_policy": "OPEN",
"_license": ""
}
},
"profileID": "profiledConcessioni",
"profileVersion": "1.0.0",
"lifecycleInformation":
"_profileID": "profiledConcessioni",
"_profileVersion": "1.0.0",
"_lifecycleInformation":
{
"phase": "Pending Approval",
"lastInvokedStep": "SUBMIT-FOR-REVIEW",
"lastOperationStatus": "OK",
"errorMessages": null,
"warningMessages": null,
"triggeredEvents": null
"_phase": "Pending Approval",
"_lastInvokedStep": "SUBMIT-FOR-REVIEW",
"_lastOperationStatus": "OK",
"_errorMessages":
[],
"_warningMessages":
[],
"_triggeredEvents":
[]
},
"relationships": null,
"spatialReference": null,
"temporalReference": null,
"theDocument":
"_relationships": null,
"_spatialReference": null,
"_temporalReference": null,
"_theDocument":
{
"posizionamentoScavo":
{
"title": "Mio pos",
"titolo": "mio titolo",
"fileset":
{
"uuid": "e38697c5-2392-4db3-a21c-572faf7e4022",
"creationInfo":
"_uuid": "147add5d-aa09-418c-a5cb-aa761c7498c5",
"_creationInfo":
{
"user":
"_user":
{
"username": "FAKE"
"_username": "FAKE"
},
"context":
"_context":
{
"id": "/pred4s/preprod/preVRE",
"name": "/preVRE"
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"instant": "2022-02-17T16:13:40.534"
"_instant": "2022-02-28T16:53:30.115"
},
"access":
"_access":
{
"policy": "OPEN",
"license": ""
"_policy": "OPEN",
"_license": ""
},
"folderID": "907f667f-6ad9-4f35-b813-3a6fedf70695",
"payloads":
"_folderID": "8d38c0de-04f2-4463-a263-edfd6cec175a",
"_payloads":
[
{
"mimetype": "application/x-shapefile",
"storageID": "98eb4287-de2c-4303-83ff-23a3f9832392",
"link": "https://data-pre.d4science.org/shub/E_NWZBVjcvOVh6WldqZEpQQUplaW9TUlZHSEJaaUJyUS80UjI4dFl0Qk1qL25UQk93V3UwckNQaTZRKzVDV2sycA==",
"name": "pos.shp"
},
{
"mimetype": "application/x-shapefile",
"storageID": "0cbbd289-41f6-42bd-b2e0-1d15ca51fd95",
"link": "https://data-pre.d4science.org/shub/E_MW9DR1N0NzI3d1ZZQzdKNVd3RUZRQUNDM283TU5URGozWFdHK1lQNkNWMlBzVWk1QzFhRmh4TWVnWnpjcTRqTw==",
"name": "pos.shx"
"_mimetype": "application/x-shapefile",
"_storageID": "bc801242-aac1-4228-99c5-d2c762c24331",
"_link": "https://data-pre.d4science.org/shub/E_MHlKeXN1SWhSd1hpY2tsaHZhZjVhV2NrWkg5QUtnVGVGUE9EWWlMMGVBbjN3ajNjTUU3M0pYUE1nTmZGV2ZVWQ==",
"_name": "pos.shp"
}
],
"materializations":
"_materializations":
[
{
"_type": "gcube-sdi-layer",
"ogcLinks":
"_ogcLinks":
[
{
"wms": "https://geoserver1-t.pre.d4science.org/geoserver/profiledconcessioni_pred4s_preprod_prevre_620e66093321de48ba29cd93/wms?service=WMS&version=1.1.0&request=GetMap&layers=profiledconcessioni_pred4s_preprod_prevre_620e66093321de48ba29cd93:pos&styles=&bbox=8.620919,40.629750,8.621179,40.630258&srs=EPSG:4326&format=application/openlayers&width=400&height=400"
"wms": "https://geoserver1-t.pre.d4science.org/geoserver/profiledconcessioni_pred4s_preprod_prevre_621ceff6eddbbb1c62c9d4ae/wms?service=WMS&version=1.1.0&request=GetMap&layers=profiledconcessioni_pred4s_preprod_prevre_621ceff6eddbbb1c62c9d4ae:pos&styles=&bbox=8.620919,40.629750,8.621179,40.630258&srs=EPSG:4326&format=application/openlayers&width=400&height=400"
}
],
"bbox":
"_bbox":
{
"maxY": 40.630257904721645,
"maxX": 8.621178639172953,
"minY": 40.62975046683799,
"minX": 8.62091913167495
"_maxX": 8.621178639172953,
"_minX": 40.630257904721645,
"_maxY": 8.62091913167495,
"_minY": 40.62975046683799
},
"platformInfo":
"_platformInfo":
[
{
"_type": "Geoserver",
"workspace": "profiledconcessioni_pred4s_preprod_prevre_620e66093321de48ba29cd93",
"workspace": "profiledconcessioni_pred4s_preprod_prevre_621ceff6eddbbb1c62c9d4ae",
"layerName": "pos",
"persistencePath": "profiledConcessioni/620e66093321de48ba29cd93/e38697c5-2392-4db3-a21c-572faf7e4022/pos",
"persistencePath": "profiledConcessioni/621ceff6eddbbb1c62c9d4ae/147add5d-aa09-418c-a5cb-aa761c7498c5/pos",
"files":
[
"pos.shp",
"pos.shx"
"pos.shp"
],
"storeName": "pos_store"
}

View File

@ -10,7 +10,16 @@
{"title" : {"_max" : 1, "_min" : 1}}
]
},
"imgs" : {
"abstractRelazione" : { "_max" : 1, "_min" : 1,
"_children" : [
{"filesetIta" :{"_type" : "RegisteredFileSet"}},
{"filesetEng" :{"_type" : "RegisteredFileSet"}},
{"title" : {"_max" : 1, "_min" : 1}}
]
},
"immagini" : {
"_max" : -1,
"_children" : [
{"fileset" :{"_type" : "RegisteredFileSet"}},
@ -70,7 +79,7 @@
"_configuration" : {
"bboxEvaluation" : ["$..posizionamentoScavo.._bbox"],
"explicitFieldMapping" : [
{"name" : "titolo", "path" : "$.theDocument.title"}
{"name" : "titolo", "path" : "$.theDocument.title","type" : "TEXT"}
],
"jslt" : {},
"additionalLayers" : [

View File

@ -0,0 +1,77 @@
{
"_id": "6218e799ac54d5164fa53156",
"_version": "1.0.1",
"_info": {
"_creationInfo": {
"_user": {
"_username": "FAKE"
},
"_context": {
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"_instant": "2022-02-25T15:28:41.576"
},
"_lastEditInfo": {
"_user": {
"_username": "FAKE"
},
"_context": {
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"_instant": "2022-02-25T15:29:02.29"
},
"_access": {
"_policy": "OPEN",
"_license": ""
}
},
"_profileID": "profiledConcessioni",
"_profileVersion": "1.0.0",
"_lifecycleInformation": {
"_phase": "DRAFT",
"_lastInvokedStep": null,
"_lastOperationStatus": "ERROR",
"_errorMessages": [
"Unable to trigger @@@INIT_DOCUMENT@@ cause : null"
],
"_warningMessages": [],
"_triggeredEvents": []
},
"_relationships": null,
"_spatialReference": null,
"_temporalReference": null,
"_theDocument": {
"relazioneScavo": {
"title": "My Title",
"fileset": {
"customField": "customFieldValue",
"_uuid": "bbbfc9d7-924b-4d3a-80f1-9520890fdcc2",
"_creationInfo": {
"_user": {
"_username": "FAKE"
},
"_context": {
"_id": "/pred4s/preprod/preVRE",
"_name": "/preVRE"
},
"_instant": "2022-02-25T15:28:55.826"
},
"_access": {
"_policy": "OPEN",
"_license": ""
},
"_folderID": "cb2c9c5b-5017-4f8a-9076-dca52128ea83",
"_payloads": [
{
"_mimetype": "application/pdf",
"_storageID": "1a4596de-f4b9-4c33-80ef-1b725c2c95bf",
"_link": "https://data-pre.d4science.org/shub/E_NzlzbFJ1dW92ZXloeDEwcXd5TWdIdktrNVdFU3N3RW91bVVxM004Wkpacjl6bmNZUXE4Z1pTeHB3TzNxWEJjaA==",
"_name": "relazione.pdf"
}
]
}
}
}
}