Compare commits
159 Commits
|
@ -2,6 +2,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
|
||||
# Changelog for org.gcube.spatial.data.gcube-sdi-suite
|
||||
|
||||
## [v1.0.5]
|
||||
- Added maven profiles `geoportal-release-profile` and `geoportal-snapshot-profile` [#25570]
|
||||
- Moved to maven-parent.v1.2.0 [#25570]
|
||||
|
||||
## [v1.0.4] - 2023-01-10
|
||||
- Updated plugin framework
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
|
@ -94,7 +94,7 @@
|
|||
"_description": "Embedded profile for concessioni [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
|
@ -149,7 +149,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -197,13 +198,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -211,21 +212,11 @@
|
|||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
|
@ -236,6 +227,16 @@
|
|||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "ufficio_mic_competente",
|
||||
"path": "$._theDocument.ufficioMic",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "funzionario_responsabile",
|
||||
"path": "$._theDocument.funzionarioResponsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
|
@ -252,7 +253,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
@ -271,11 +272,6 @@
|
|||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
|
@ -285,6 +281,56 @@
|
|||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_individuazione",
|
||||
"path": "$._theDocument.modalitaIndividuazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contesto_indagine",
|
||||
"path": "$._theDocument.contestoIndagine",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "stato_attuale",
|
||||
"path": "$._theDocument.statoAttuale",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accessibilita",
|
||||
"path": "$._theDocument.accessibilita",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia_macrofase",
|
||||
"path": "$._theDocument.cronologiaMacrofase",
|
||||
"type": "TEXT",
|
||||
"apply_regex": {
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "specifiche_cronologia",
|
||||
"path": "$._theDocument.specificheCronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_max",
|
||||
"path": "$._theDocument.quotaMax",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_min",
|
||||
"path": "$._theDocument.quotaMin",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
|
@ -402,12 +448,12 @@
|
|||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -435,16 +481,6 @@
|
|||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
|
@ -458,11 +494,9 @@
|
|||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
|
@ -473,6 +507,7 @@
|
|||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -533,12 +568,12 @@
|
|||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -589,11 +624,9 @@
|
|||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
|
@ -604,6 +637,7 @@
|
|||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -626,6 +660,86 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_overlay_layers",
|
||||
"_type": "GROUPED_OVERLAY_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_overlay_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Layers automatically added to the Map",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wms_url": "https://geoserver-1.cloud-dev.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:regioni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Province",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wms_url": "https://geoserver-1.cloud-dev.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:province&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Comuni",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wms_url": "https://geoserver-1.cloud-dev.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:comuni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_cross_filtering_layers",
|
||||
"_type": "GROUPED_CROSS_FILTERING_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_cross_filtering_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Spatial filtering for the selected layer",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"description": "Le Regioni Italiane",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wfs_url": "https://geoserver-1.cloud-dev.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:regioni&maxFeatures=50&outputFormat=application%2Fjson&propertyName=COD_REG,DEN_REG&sortby=DEN_REG",
|
||||
"table_show_field": "DEN_REG",
|
||||
"table_key_field": "COD_REG",
|
||||
"table_parent_key_field": "",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Province",
|
||||
"description": "Le Province Italiane",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wfs_url": "https://geoserver-1.cloud-dev.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:province&maxFeatures=150&outputFormat=application%2Fjson&propertyName=COD_PROV,DEN_PROV,COD_REG&sortby=DEN_PROV",
|
||||
"table_show_field": "DEN_PROV",
|
||||
"table_key_field": "COD_PROV",
|
||||
"table_parent_key_field": "COD_REG",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Comuni",
|
||||
"description": "I Comuni Italiani",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wfs_url": "https://geoserver-1.cloud-dev.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:comuni&maxFeatures=9000&outputFormat=application%2Fjson&propertyName=PRO_COM,COMUNE,COD_PROV&sortby=COMUNE",
|
||||
"table_show_field": "COMUNE",
|
||||
"table_key_field": "PRO_COM",
|
||||
"table_parent_key_field": "COD_PROV",
|
||||
"table_geometry_name": "the_geom"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
|
|
|
@ -121,7 +121,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -169,13 +170,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -224,7 +225,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -106,12 +106,6 @@
|
|||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -123,7 +117,7 @@
|
|||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "datiAltimetrici",
|
||||
"documentPath": "datiAltimetrici[*].fileset"
|
||||
"documentPath": "datiAltimetrici.fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "planimetria",
|
||||
|
@ -408,7 +402,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
|
@ -500,59 +494,15 @@
|
|||
"display_on_phase": []
|
||||
},
|
||||
{
|
||||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"id": "publish",
|
||||
"title": "Publish the Project",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
"PUBLISH"
|
||||
],
|
||||
"description": "Submit the Project (for review)",
|
||||
"description": "Publish the Project",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "reject",
|
||||
"title": "Reject",
|
||||
"call_STEPS": [
|
||||
"REJECT-DRAFT"
|
||||
],
|
||||
"description": "Reject the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "approve",
|
||||
"title": "Approve",
|
||||
"call_STEPS": [
|
||||
"APPROVE-SUBMITTED"
|
||||
],
|
||||
"description": "Approve the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"PUBLISHED"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
"_description": "Embedded profile for concessioni [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
|
@ -149,7 +149,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -197,13 +198,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -211,21 +212,11 @@
|
|||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
|
@ -236,6 +227,16 @@
|
|||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "ufficio_mic_competente",
|
||||
"path": "$._theDocument.ufficioMic",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "funzionario_responsabile",
|
||||
"path": "$._theDocument.funzionarioResponsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
|
@ -252,7 +253,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
@ -271,11 +272,6 @@
|
|||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
|
@ -285,6 +281,56 @@
|
|||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_individuazione",
|
||||
"path": "$._theDocument.modalitaIndividuazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contesto_indagine",
|
||||
"path": "$._theDocument.contestoIndagine",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "stato_attuale",
|
||||
"path": "$._theDocument.statoAttuale",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accessibilita",
|
||||
"path": "$._theDocument.accessibilita",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia_macrofase",
|
||||
"path": "$._theDocument.cronologiaMacrofase",
|
||||
"type": "TEXT",
|
||||
"apply_regex": {
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "specifiche_cronologia",
|
||||
"path": "$._theDocument.specificheCronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_max",
|
||||
"path": "$._theDocument.quotaMax",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_min",
|
||||
"path": "$._theDocument.quotaMin",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
|
@ -402,12 +448,12 @@
|
|||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -435,16 +481,6 @@
|
|||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
|
@ -458,11 +494,9 @@
|
|||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
|
@ -473,6 +507,7 @@
|
|||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -533,12 +568,12 @@
|
|||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -589,11 +624,9 @@
|
|||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
|
@ -604,6 +637,7 @@
|
|||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
|
@ -626,6 +660,86 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_overlay_layers",
|
||||
"_type": "GROUPED_OVERLAY_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_overlay_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Layers automatically added to the Map",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wms_url": "https://geoserver-t.pre.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:regioni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Province",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wms_url": "https://geoserver-t.pre.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:province&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Comuni",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wms_url": "https://geoserver-t.pre.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:comuni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_cross_filtering_layers",
|
||||
"_type": "GROUPED_CROSS_FILTERING_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_cross_filtering_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Spatial filtering for the selected layer",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"description": "Le Regioni Italiane",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wfs_url": "https://geoserver-t.pre.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:regioni&maxFeatures=50&outputFormat=application%2Fjson&propertyName=COD_REG,DEN_REG&sortby=DEN_REG",
|
||||
"table_show_field": "DEN_REG",
|
||||
"table_key_field": "COD_REG",
|
||||
"table_parent_key_field": "",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Province",
|
||||
"description": "Le Province Italiane",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wfs_url": "https://geoserver-t.pre.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:province&maxFeatures=150&outputFormat=application%2Fjson&propertyName=COD_PROV,DEN_PROV,COD_REG&sortby=DEN_PROV",
|
||||
"table_show_field": "DEN_PROV",
|
||||
"table_key_field": "COD_PROV",
|
||||
"table_parent_key_field": "COD_REG",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Comuni",
|
||||
"description": "I Comuni Italiani",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wfs_url": "https://geoserver-t.pre.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:comuni&maxFeatures=9000&outputFormat=application%2Fjson&propertyName=PRO_COM,COMUNE,COD_PROV&sortby=COMUNE",
|
||||
"table_show_field": "COMUNE",
|
||||
"table_key_field": "PRO_COM",
|
||||
"table_parent_key_field": "COD_PROV",
|
||||
"table_geometry_name": "the_geom"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
|
|
|
@ -94,19 +94,47 @@
|
|||
"_description": "Embedded profile for concessioni estere [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{"_policy": {"_read": "any","_write": "any"},
|
||||
"_roles": ["Data-Manager"]},
|
||||
{"_policy": {"_read": "own","_write": "own"},
|
||||
"_roles": ["Data-Editor"]},
|
||||
{"_policy": {"_read": "any","_write": "none"},
|
||||
"_roles": ["Member"],
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||
{"_policy": {"_read": "none","_write": "none"},
|
||||
"_roles": []}
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "any"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "own",
|
||||
"_write": "own"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": [
|
||||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "none",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": []
|
||||
}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
|
@ -121,7 +149,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -129,6 +158,12 @@
|
|||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -163,13 +198,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -177,21 +212,11 @@
|
|||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
|
@ -202,6 +227,16 @@
|
|||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "ufficio_competente",
|
||||
"path": "$._theDocument.ufficioCompetente",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "funzionario_responsabile",
|
||||
"path": "$._theDocument.funzionarioResponsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
|
@ -218,7 +253,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
@ -237,11 +272,6 @@
|
|||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
|
@ -251,6 +281,56 @@
|
|||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_individuazione",
|
||||
"path": "$._theDocument.modalitaIndividuazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contesto_indagine",
|
||||
"path": "$._theDocument.contestoIndagine",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "stato_attuale",
|
||||
"path": "$._theDocument.statoAttuale",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accessibilita",
|
||||
"path": "$._theDocument.accessibilita",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia_macrofase",
|
||||
"path": "$._theDocument.cronologiaMacrofase",
|
||||
"type": "TEXT",
|
||||
"apply_regex": {
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "specifiche_cronologia",
|
||||
"path": "$._theDocument.specificheCronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_max",
|
||||
"path": "$._theDocument.quotaMax",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_min",
|
||||
"path": "$._theDocument.quotaMin",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
|
@ -264,323 +344,310 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto_estero",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto Estero"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
"saveStep": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
,
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
|
||||
"_type": "TIMELINE_JSON_TEMPLATE",
|
||||
|
@ -637,15 +704,32 @@
|
|||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_relationshipDefinitions" : [
|
||||
{"_id": "precedes", "_label" : "Precede",
|
||||
"_reverseRelationId" : "follows"},
|
||||
{"_id": "follows", "_label" : "Segue",
|
||||
"_reverseRelationId" : "precedes"}
|
||||
"_relationshipDefinitions": [
|
||||
{
|
||||
"_id": "precedes",
|
||||
"_label": "Precede",
|
||||
"_reverseRelationId": "follows"
|
||||
},
|
||||
{
|
||||
"_id": "follows",
|
||||
"_label": "Segue",
|
||||
"_reverseRelationId": "precedes"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -408,7 +408,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
|
@ -503,35 +503,13 @@
|
|||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
"PUBLISH"
|
||||
],
|
||||
"description": "Submit the Project (for review)",
|
||||
"description": "Publish the Project",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "reject",
|
||||
"title": "Reject",
|
||||
"call_STEPS": [
|
||||
"REJECT-DRAFT"
|
||||
],
|
||||
"description": "Reject the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "approve",
|
||||
"title": "Approve",
|
||||
"call_STEPS": [
|
||||
"APPROVE-SUBMITTED"
|
||||
],
|
||||
"description": "Approve the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"_roles": ["Data-Editor"]},
|
||||
{"_policy": {"_read": "any","_write": "none"},
|
||||
"_roles": ["Member"],
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"}},
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||
{"_policy": {"_read": "none","_write": "none"},
|
||||
"_roles": []}
|
||||
],
|
||||
|
@ -66,7 +66,7 @@
|
|||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "datiAltimetrici",
|
||||
"documentPath": "datiAltimetrici[*].fileset"
|
||||
"documentPath": "datiAltimetrici.fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "planimetria",
|
||||
|
|
|
@ -0,0 +1,539 @@
|
|||
{
|
||||
"_id": "esquilino",
|
||||
"_version": "1.0.0",
|
||||
"_name": "Esquilino",
|
||||
"_schema": {
|
||||
"fonteInformazione": {
|
||||
"_children": [
|
||||
{
|
||||
"filesetIta": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentazioneScientifica": {
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"immaginiRappresentative": {
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"datiAltimetrici": {
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"planimetria": {
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_description": "UCD for Equilino",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "any"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "own",
|
||||
"_write": "own"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": [
|
||||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "none",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": []
|
||||
}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
"_id": "DEFAULT-SINGLE-STEP",
|
||||
"_type": "LifecycleManagement",
|
||||
"_configuration": {
|
||||
"step_access": [
|
||||
{
|
||||
"STEP": "PUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Default-Materializer",
|
||||
"_type": "Materializer",
|
||||
"_configuration": {
|
||||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "datiAltimetrici",
|
||||
"documentPath": "datiAltimetrici[*].fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "planimetria",
|
||||
"documentPath": "planimetria.fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Indexer-Plugin",
|
||||
"_type": "Indexer",
|
||||
"_configuration": {
|
||||
"bboxEvaluation": [
|
||||
"$..planimetria.._bbox"
|
||||
],
|
||||
"explicitFieldMapping": [
|
||||
{
|
||||
"name": "definizione",
|
||||
"path": "$._theDocument.definizione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.descrizione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia",
|
||||
"path": "$._theDocument.cronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "codice_partizione_archeologica",
|
||||
"path": "$._theDocument.codice_partizione_archeologica",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_acquisizione",
|
||||
"path": "$._theDocument.modalita_acquisizione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_dati",
|
||||
"path": "$._theDocument.titolare_dati",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "soggetto",
|
||||
"path": "$._theDocument.soggetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "copyright",
|
||||
"path": "$._theDocument.copyright",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
"additionalLayers": [
|
||||
{
|
||||
"source": {
|
||||
"url": "..."
|
||||
},
|
||||
"toSetTitle": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Dati_Descrittivi",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Dati Descrittivi"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Fonte_Informazione",
|
||||
"sectionName": "fonteInformazione",
|
||||
"sectionTitle": "Fonte dell'informazione",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.fonteInformazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Documentazione_Scientifica",
|
||||
"sectionName": "documentazioneScientifica",
|
||||
"sectionTitle": "Documentazione scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Documentazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.documentazioneScientifica._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Immagine",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 10,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Dati_Altimetrici",
|
||||
"sectionName": "datiAltimetrici",
|
||||
"sectionTitle": "Dati Altimetrici",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.datiAltimetrici._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Planimetria",
|
||||
"sectionName": "planimetria",
|
||||
"sectionTitle": "Planimetria",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.planimetria._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.definizione",
|
||||
"_theDocument.denominazione",
|
||||
"_theDocument.descrizione",
|
||||
"_theDocument.cronologia",
|
||||
"_theDocument.codice_partizione_archeologica",
|
||||
"_theDocument.modalita_acquisizione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati",
|
||||
"_theDocument.soggetto",
|
||||
"_theDocument.copyright"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Definition",
|
||||
"paths": [
|
||||
"_theDocument.definizione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.denominazione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Code",
|
||||
"paths": [
|
||||
"_theDocument.codice_partizione_archeologica"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Chronology",
|
||||
"paths": [
|
||||
"_theDocument.cronologia"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.definizione",
|
||||
"_theDocument.denominazione",
|
||||
"_theDocument.descrizione",
|
||||
"_theDocument.cronologia",
|
||||
"_theDocument.codice_partizione_archeologica",
|
||||
"_theDocument.modalita_acquisizione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati",
|
||||
"_theDocument.soggetto",
|
||||
"_theDocument.copyright"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Definition",
|
||||
"paths": [
|
||||
"_theDocument.definizione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.denominazione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Code",
|
||||
"paths": [
|
||||
"_theDocument.codice_partizione_archeologica"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Chronology",
|
||||
"paths": [
|
||||
"_theDocument.cronologia"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
"_configuration": {
|
||||
"actionsDefinition": [
|
||||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": [
|
||||
"PUBLISH"
|
||||
],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
{
|
||||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"call_STEPS": [
|
||||
"PUBLISH"
|
||||
],
|
||||
"description": "Publish the Project",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"PUBLISHED"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -94,19 +94,47 @@
|
|||
"_description": "Embedded profile for concessioni [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{"_policy": {"_read": "any","_write": "any"},
|
||||
"_roles": ["Data-Manager"]},
|
||||
{"_policy": {"_read": "own","_write": "own"},
|
||||
"_roles": ["Data-Editor"]},
|
||||
{"_policy": {"_read": "any","_write": "none"},
|
||||
"_roles": ["Member"],
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||
{"_policy": {"_read": "none","_write": "none"},
|
||||
"_roles": []}
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "any"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "own",
|
||||
"_write": "own"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": [
|
||||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "none",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": []
|
||||
}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
|
@ -121,7 +149,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -129,6 +158,12 @@
|
|||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -163,13 +198,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -177,21 +212,11 @@
|
|||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
|
@ -202,6 +227,16 @@
|
|||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "ufficio_mic_competente",
|
||||
"path": "$._theDocument.ufficioMic",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "funzionario_responsabile",
|
||||
"path": "$._theDocument.funzionarioResponsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
|
@ -218,7 +253,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
@ -237,11 +272,6 @@
|
|||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
|
@ -251,6 +281,56 @@
|
|||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_individuazione",
|
||||
"path": "$._theDocument.modalitaIndividuazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contesto_indagine",
|
||||
"path": "$._theDocument.contestoIndagine",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "stato_attuale",
|
||||
"path": "$._theDocument.statoAttuale",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accessibilita",
|
||||
"path": "$._theDocument.accessibilita",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia_macrofase",
|
||||
"path": "$._theDocument.cronologiaMacrofase",
|
||||
"type": "TEXT",
|
||||
"apply_regex": {
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "specifiche_cronologia",
|
||||
"path": "$._theDocument.specificheCronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_max",
|
||||
"path": "$._theDocument.quotaMax",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_min",
|
||||
"path": "$._theDocument.quotaMin",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
|
@ -264,323 +344,310 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": "SUBMIT-FOR-REVIEW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
"saveStep": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
,
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
|
||||
"_type": "TIMELINE_JSON_TEMPLATE",
|
||||
|
@ -593,6 +660,86 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_overlay_layers",
|
||||
"_type": "GROUPED_OVERLAY_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_overlay_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Layers automatically added to the Map",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wms_url": "https://geoserver-geona.cloud.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:regioni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Province",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wms_url": "https://geoserver-geona.cloud.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:province&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Comuni",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wms_url": "https://geoserver-geona.cloud.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:comuni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_cross_filtering_layers",
|
||||
"_type": "GROUPED_CROSS_FILTERING_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_cross_filtering_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Spatial filtering for the selected layer",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"description": "Le Regioni Italiane",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wfs_url": "https://geoserver-geona.cloud.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:regioni&maxFeatures=50&outputFormat=application%2Fjson&propertyName=COD_REG,DEN_REG&sortby=DEN_REG",
|
||||
"table_show_field": "DEN_REG",
|
||||
"table_key_field": "COD_REG",
|
||||
"table_parent_key_field": "",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Province",
|
||||
"description": "Le Province Italiane",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wfs_url": "https://geoserver-geona.cloud.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:province&maxFeatures=150&outputFormat=application%2Fjson&propertyName=COD_PROV,DEN_PROV,COD_REG&sortby=DEN_PROV",
|
||||
"table_show_field": "DEN_PROV",
|
||||
"table_key_field": "COD_PROV",
|
||||
"table_parent_key_field": "COD_REG",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Comuni",
|
||||
"description": "I Comuni Italiani",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wfs_url": "https://geoserver-geona.cloud.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:comuni&maxFeatures=9000&outputFormat=application%2Fjson&propertyName=PRO_COM,COMUNE,COD_PROV&sortby=COMUNE",
|
||||
"table_show_field": "COMUNE",
|
||||
"table_key_field": "PRO_COM",
|
||||
"table_parent_key_field": "COD_PROV",
|
||||
"table_geometry_name": "the_geom"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
|
@ -601,9 +748,7 @@
|
|||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
],
|
||||
"call_STEPS": [],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
|
@ -639,15 +784,32 @@
|
|||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_relationshipDefinitions" : [
|
||||
{"_id": "precedes", "_label" : "Precede",
|
||||
"_reverseRelationId" : "follows"},
|
||||
{"_id": "follows", "_label" : "Segue",
|
||||
"_reverseRelationId" : "precedes"}
|
||||
"_relationshipDefinitions": [
|
||||
{
|
||||
"_id": "precedes",
|
||||
"_label": "Precede",
|
||||
"_reverseRelationId": "follows"
|
||||
},
|
||||
{
|
||||
"_id": "follows",
|
||||
"_label": "Segue",
|
||||
"_reverseRelationId": "precedes"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,702 @@
|
|||
{
|
||||
"_id": "profiledConcessioni",
|
||||
"_version": "1.0.0",
|
||||
"_name": "Indagini svolte in regime di concessione",
|
||||
"_schema": {
|
||||
"abstractRelazione": {
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"filesetIta": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filesetEng": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"relazioneScavo": {
|
||||
"_max": 1,
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"immaginiRappresentative": {
|
||||
"_max": 4,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"posizionamentoScavo": {
|
||||
"_max": 1,
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"pianteFineScavo": {
|
||||
"_max": -1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_description": "Embedded profile for concessioni [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "any"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "own",
|
||||
"_write": "own"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": [
|
||||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "none",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": []
|
||||
}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
"_id": "GNA-CONCESSIONI-LC",
|
||||
"_type": "LifecycleManagement",
|
||||
"_configuration": {
|
||||
"step_access": [
|
||||
{
|
||||
"STEP": "SUBMIT-FOR-REVIEW",
|
||||
"roles": []
|
||||
},
|
||||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "APPROVE-SUBMITTED",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Default-Materializer",
|
||||
"_type": "Materializer",
|
||||
"_configuration": {
|
||||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "pianteFineScavo",
|
||||
"documentPath": "pianteFineScavo[*].fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "posizionamentoScavo",
|
||||
"documentPath": "posizionamentoScavo.fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Indexer-Plugin",
|
||||
"_type": "Indexer",
|
||||
"_configuration": {
|
||||
"bboxEvaluation": [
|
||||
"$..posizionamentoScavo.._bbox"
|
||||
],
|
||||
"explicitFieldMapping": [
|
||||
{
|
||||
"name": "nome",
|
||||
"path": "$._theDocument.nome",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contenuto",
|
||||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "editore",
|
||||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "soggetto",
|
||||
"path": "$._theDocument.soggetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "risorse",
|
||||
"path": "$._theDocument.risorseCorrelate",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_archiviazione",
|
||||
"path": "$._info._lastEditInfo._instant",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "versione",
|
||||
"path": "$._version",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "licenza",
|
||||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
"additionalLayers": [
|
||||
{
|
||||
"source": {
|
||||
"url": "..."
|
||||
},
|
||||
"toSetTitle": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
|
||||
"_type": "TIMELINE_JSON_TEMPLATE",
|
||||
"_configuration": {
|
||||
"tjt_document": {
|
||||
"content": "$.nome",
|
||||
"title": "$.nome",
|
||||
"start": "$.dataInizioProgetto",
|
||||
"end": "$.dataFineProgetto"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
"_configuration": {
|
||||
"actionsDefinition": [
|
||||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": [],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
{
|
||||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
],
|
||||
"description": "Submit the Project (for review)",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "reject",
|
||||
"title": "Reject",
|
||||
"call_STEPS": [
|
||||
"REJECT-DRAFT"
|
||||
],
|
||||
"description": "Reject the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "approve",
|
||||
"title": "Approve",
|
||||
"call_STEPS": [
|
||||
"APPROVE-SUBMITTED"
|
||||
],
|
||||
"description": "Approve the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_relationshipDefinitions": [
|
||||
{
|
||||
"_id": "precedes",
|
||||
"_label": "Precede",
|
||||
"_reverseRelationId": "follows"
|
||||
},
|
||||
{
|
||||
"_id": "follows",
|
||||
"_label": "Segue",
|
||||
"_reverseRelationId": "precedes"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -94,19 +94,47 @@
|
|||
"_description": "Embedded profile for concessioni estere [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{"_policy": {"_read": "any","_write": "any"},
|
||||
"_roles": ["Data-Manager"]},
|
||||
{"_policy": {"_read": "own","_write": "own"},
|
||||
"_roles": ["Data-Editor"]},
|
||||
{"_policy": {"_read": "any","_write": "none"},
|
||||
"_roles": ["Member"],
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||
{"_policy": {"_read": "none","_write": "none"},
|
||||
"_roles": []}
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "any"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "own",
|
||||
"_write": "own"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": [
|
||||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "none",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": []
|
||||
}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
|
@ -121,7 +149,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -129,6 +158,12 @@
|
|||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -163,13 +198,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -177,21 +212,11 @@
|
|||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
|
@ -202,6 +227,16 @@
|
|||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "ufficio_competente",
|
||||
"path": "$._theDocument.ufficioCompetente",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "funzionario_responsabile",
|
||||
"path": "$._theDocument.funzionarioResponsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
|
@ -218,7 +253,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
@ -237,11 +272,6 @@
|
|||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
|
@ -251,6 +281,56 @@
|
|||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_individuazione",
|
||||
"path": "$._theDocument.modalitaIndividuazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contesto_indagine",
|
||||
"path": "$._theDocument.contestoIndagine",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "stato_attuale",
|
||||
"path": "$._theDocument.statoAttuale",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accessibilita",
|
||||
"path": "$._theDocument.accessibilita",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia_macrofase",
|
||||
"path": "$._theDocument.cronologiaMacrofase",
|
||||
"type": "TEXT",
|
||||
"apply_regex": {
|
||||
"type": "replaceAll",
|
||||
"regex": "(\\s)?\\([\\s\\S]*",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "specifiche_cronologia",
|
||||
"path": "$._theDocument.specificheCronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_max",
|
||||
"path": "$._theDocument.quotaMax",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "quota_min",
|
||||
"path": "$._theDocument.quotaMin",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
|
@ -264,323 +344,310 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": "SUBMIT-FOR-REVIEW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto_estero",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto Estero"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
"saveStep": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
,
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.contestoIndagine",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.editore"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.cronologiaMacrofase",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
|
||||
"_type": "TIMELINE_JSON_TEMPLATE",
|
||||
|
@ -601,9 +668,7 @@
|
|||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
],
|
||||
"call_STEPS": [],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
|
@ -639,15 +704,32 @@
|
|||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_relationshipDefinitions" : [
|
||||
{"_id": "precedes", "_label" : "Precede",
|
||||
"_reverseRelationId" : "follows"},
|
||||
{"_id": "follows", "_label" : "Segue",
|
||||
"_reverseRelationId" : "precedes"}
|
||||
"_relationshipDefinitions": [
|
||||
{
|
||||
"_id": "precedes",
|
||||
"_label": "Precede",
|
||||
"_reverseRelationId": "follows"
|
||||
},
|
||||
{
|
||||
"_id": "follows",
|
||||
"_label": "Segue",
|
||||
"_reverseRelationId": "precedes"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,782 @@
|
|||
{
|
||||
"_id": "profiledConcessioni",
|
||||
"_version": "1.0.0",
|
||||
"_name": "Indagini svolte in regime di concessione",
|
||||
"_schema": {
|
||||
"abstractRelazione": {
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"filesetIta": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filesetEng": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"relazioneScavo": {
|
||||
"_max": 1,
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"immaginiRappresentative": {
|
||||
"_max": 4,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"posizionamentoScavo": {
|
||||
"_max": 1,
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"pianteFineScavo": {
|
||||
"_max": -1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_description": "Embedded profile for concessioni [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "any"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "own",
|
||||
"_write": "own"
|
||||
},
|
||||
"_roles": [
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "any",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": [
|
||||
"Member"
|
||||
],
|
||||
"_enforcer": {
|
||||
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"_policy": {
|
||||
"_read": "none",
|
||||
"_write": "none"
|
||||
},
|
||||
"_roles": []
|
||||
}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
"_id": "GNA-CONCESSIONI-LC",
|
||||
"_type": "LifecycleManagement",
|
||||
"_configuration": {
|
||||
"step_access": [
|
||||
{
|
||||
"STEP": "SUBMIT-FOR-REVIEW",
|
||||
"roles": []
|
||||
},
|
||||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "APPROVE-SUBMITTED",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Default-Materializer",
|
||||
"_type": "Materializer",
|
||||
"_configuration": {
|
||||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "pianteFineScavo",
|
||||
"documentPath": "pianteFineScavo[*].fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "posizionamentoScavo",
|
||||
"documentPath": "posizionamentoScavo.fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Indexer-Plugin",
|
||||
"_type": "Indexer",
|
||||
"_configuration": {
|
||||
"bboxEvaluation": [
|
||||
"$..posizionamentoScavo.._bbox"
|
||||
],
|
||||
"explicitFieldMapping": [
|
||||
{
|
||||
"name": "nome",
|
||||
"path": "$._theDocument.nome",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contenuto",
|
||||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "editore",
|
||||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "soggetto",
|
||||
"path": "$._theDocument.soggetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "risorse",
|
||||
"path": "$._theDocument.risorseCorrelate",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_archiviazione",
|
||||
"path": "$._info._lastEditInfo._instant",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "versione",
|
||||
"path": "$._version",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "licenza",
|
||||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
"additionalLayers": [
|
||||
{
|
||||
"source": {
|
||||
"url": "..."
|
||||
},
|
||||
"toSetTitle": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
|
||||
"_type": "TIMELINE_JSON_TEMPLATE",
|
||||
"_configuration": {
|
||||
"tjt_document": {
|
||||
"content": "$.nome",
|
||||
"title": "$.nome",
|
||||
"start": "$.dataInizioProgetto",
|
||||
"end": "$.dataFineProgetto"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_overlay_layers",
|
||||
"_type": "GROUPED_OVERLAY_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_overlay_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Layers automatically added to the Map",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wms_url": "https://geona-proto.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:regioni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Province",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wms_url": "https://geona-proto.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:province&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
},
|
||||
{
|
||||
"title": "Comuni",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wms_url": "https://geona-proto.d4science.org/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=limiti_amministrativi:comuni&styles=&bbox=6.626621368537682,35.49285260122859,18.520381599098922,47.09178374646218&width=768&height=748&srs=EPSG:4326&format=application%2Fopenlayers",
|
||||
"display": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.grouped_cross_filtering_layers",
|
||||
"_type": "GROUPED_CROSS_FILTERING_LAYERS",
|
||||
"_configuration": {
|
||||
"grouped_cross_filtering_layers": [
|
||||
{
|
||||
"name": "Limiti Amministrativi Italiani 2023 (fonte ISTAT)",
|
||||
"description": "Spatial filtering for the selected layer",
|
||||
"layers": [
|
||||
{
|
||||
"title": "Regioni",
|
||||
"description": "Le Regioni Italiane",
|
||||
"name": "limiti_amministrativi:regioni",
|
||||
"wfs_url": "https://geona-proto.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:regioni&maxFeatures=50&outputFormat=application%2Fjson&propertyName=COD_REG,DEN_REG&sortby=DEN_REG",
|
||||
"table_show_field": "DEN_REG",
|
||||
"table_key_field": "COD_REG",
|
||||
"table_parent_key_field": "",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Province",
|
||||
"description": "Le Province Italiane",
|
||||
"name": "limiti_amministrativi:province",
|
||||
"wfs_url": "https://geona-proto.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:province&maxFeatures=150&outputFormat=application%2Fjson&propertyName=COD_PROV,DEN_PROV,COD_REG&sortby=DEN_PROV",
|
||||
"table_show_field": "DEN_PROV",
|
||||
"table_key_field": "COD_PROV",
|
||||
"table_parent_key_field": "COD_REG",
|
||||
"table_geometry_name": "the_geom",
|
||||
"related_to": [
|
||||
{
|
||||
"title": "Comuni",
|
||||
"description": "I Comuni Italiani",
|
||||
"name": "limiti_amministrativi:comuni",
|
||||
"wfs_url": "https://geona-proto.d4science.org/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=limiti_amministrativi:comuni&maxFeatures=9000&outputFormat=application%2Fjson&propertyName=PRO_COM,COMUNE,COD_PROV&sortby=COMUNE",
|
||||
"table_show_field": "COMUNE",
|
||||
"table_key_field": "PRO_COM",
|
||||
"table_parent_key_field": "COD_PROV",
|
||||
"table_geometry_name": "the_geom"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
"_configuration": {
|
||||
"actionsDefinition": [
|
||||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": [],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
{
|
||||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
],
|
||||
"description": "Submit the Project (for review)",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "reject",
|
||||
"title": "Reject",
|
||||
"call_STEPS": [
|
||||
"REJECT-DRAFT"
|
||||
],
|
||||
"description": "Reject the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "approve",
|
||||
"title": "Approve",
|
||||
"call_STEPS": [
|
||||
"APPROVE-SUBMITTED"
|
||||
],
|
||||
"description": "Approve the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_relationshipDefinitions": [
|
||||
{
|
||||
"_id": "precedes",
|
||||
"_label": "Precede",
|
||||
"_reverseRelationId": "follows"
|
||||
},
|
||||
{
|
||||
"_id": "follows",
|
||||
"_label": "Segue",
|
||||
"_reverseRelationId": "precedes"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -94,7 +94,7 @@
|
|||
"_description": "Embedded profile for concessioni estere [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
"_username": "francesco.mangiacrapa"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
|
@ -121,7 +121,8 @@
|
|||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
"Data-Manager",
|
||||
"Data-Editor"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -129,6 +130,12 @@
|
|||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "UNPUBLISH",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -163,13 +170,13 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"name": "data_inizio_progetto",
|
||||
"path": "$._theDocument.dataInizioProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"path": "$._theDocument.introduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
|
@ -218,7 +225,7 @@
|
|||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"name": "data_fine_progetto",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
|
@ -637,6 +644,17 @@
|
|||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unpublish",
|
||||
"title": "UnPublish",
|
||||
"call_STEPS": [
|
||||
"UNPUBLISH"
|
||||
],
|
||||
"description": "UnPublish the Project",
|
||||
"display_on_phase": [
|
||||
"Published"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,651 +0,0 @@
|
|||
{
|
||||
"_id": "profiledConcessioni",
|
||||
"_version": "1.0.0",
|
||||
"_name": "Indagini svolte in regime di concessione",
|
||||
"_schema": {
|
||||
"abstractRelazione": {
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"filesetIta": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filesetEng": {
|
||||
"_type": "RegisteredFileSet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"relazioneScavo": {
|
||||
"_max": 1,
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"immaginiRappresentative": {
|
||||
"_max": 4,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"posizionamentoScavo": {
|
||||
"_max": 1,
|
||||
"_min": 1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"pianteFineScavo": {
|
||||
"_max": -1,
|
||||
"_children": [
|
||||
{
|
||||
"fileset": {
|
||||
"_type": "RegisteredFileSet",
|
||||
"_min": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"_min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_description": "Embedded profile for concessioni [mibac] management",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{"_policy": {"_read": "any","_write": "any"},
|
||||
"_roles": ["Data-Manager"]},
|
||||
{"_policy": {"_read": "own","_write": "own"},
|
||||
"_roles": ["Data-Editor"]},
|
||||
{"_policy": {"_read": "any","_write": "none"},
|
||||
"_roles": ["Member"],
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||
{"_policy": {"_read": "none","_write": "none"},
|
||||
"_roles": []}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
"_id": "GNA-CONCESSIONI-LC",
|
||||
"_type": "LifecycleManagement",
|
||||
"_configuration": {
|
||||
"step_access": [
|
||||
{
|
||||
"STEP": "SUBMIT-FOR-REVIEW",
|
||||
"roles": []
|
||||
},
|
||||
{
|
||||
"STEP": "REJECT-DRAFT",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
},
|
||||
{
|
||||
"STEP": "APPROVE-SUBMITTED",
|
||||
"roles": [
|
||||
"Data-Manager"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Default-Materializer",
|
||||
"_type": "Materializer",
|
||||
"_configuration": {
|
||||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "pianteFineScavo",
|
||||
"documentPath": "pianteFineScavo[*].fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "posizionamentoScavo",
|
||||
"documentPath": "posizionamentoScavo.fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Indexer-Plugin",
|
||||
"_type": "Indexer",
|
||||
"_configuration": {
|
||||
"bboxEvaluation": [
|
||||
"$..posizionamentoScavo.._bbox"
|
||||
],
|
||||
"explicitFieldMapping": [
|
||||
{
|
||||
"name": "nome",
|
||||
"path": "$._theDocument.nome",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "anno",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.iontroduzione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contenuto",
|
||||
"path": "$._theDocument.descrizioneContenuto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "autore",
|
||||
"path": "$._theDocument.authors",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare",
|
||||
"path": "$._theDocument.titolari",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "responsabile",
|
||||
"path": "$._theDocument.responsabile",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "editore",
|
||||
"path": "$._theDocument.editore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "finanziamento",
|
||||
"path": "$._theDocument.fontiFinanziamento",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "soggetto",
|
||||
"path": "$._theDocument.soggetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "risorse",
|
||||
"path": "$._theDocument.risorseCorrelate",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "date_scavo",
|
||||
"path": "$._theDocument.dataFineProgetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "data_archiviazione",
|
||||
"path": "$._info._lastEditInfo._instant",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "versione",
|
||||
"path": "$._version",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "licenza",
|
||||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_licenza",
|
||||
"path": "$._theDocument.titolareLicenza",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "accesso",
|
||||
"path": "$._info._access._license",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "parole_chiave",
|
||||
"path": "$._theDocument.paroleChiaveLibere",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
"additionalLayers": [
|
||||
{
|
||||
"source": {
|
||||
"url": "..."
|
||||
},
|
||||
"toSetTitle": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Informazioni_di_progetto",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Informazioni di Progetto"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Abstract_Relazione_di_Scavo",
|
||||
"sectionName": "abstractRelazione",
|
||||
"sectionTitle": "Abstract della Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
},
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Eng (in PDF)",
|
||||
"fieldDefinition": "$.abstractRelazione._children[?(@.filesetEng)]",
|
||||
"fieldName": "filesetEng"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Relazione_di_Scavo",
|
||||
"sectionName": "relazioneScavo",
|
||||
"sectionTitle": "Relazione Scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Immagine_Rappresentativa_di_Scavo",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 4,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Posizionamento_dell_area_di_indagine",
|
||||
"sectionName": "posizionamentoScavo",
|
||||
"sectionTitle": "Posizionamento dell'Area di Indagine",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.posizionamentoScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoNaMetadata",
|
||||
"gcubeName": "Pianta_di_fine_Scavo",
|
||||
"sectionName": "pianteFineScavo",
|
||||
"sectionTitle": "Piante di Fine Indagine",
|
||||
"parentName": "$.",
|
||||
"minOccurs": 0,
|
||||
"maxOccurs": 0,
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.pianteFineScavo._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Author/s",
|
||||
"paths": [
|
||||
"_theDocument.authors"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (yyyy-mm-dd)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.nome",
|
||||
"_theDocument.introduzione",
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile",
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.nome"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Introduction",
|
||||
"paths": [
|
||||
"_theDocument.introduzione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": false,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Project Start (YEAR)",
|
||||
"paths": [
|
||||
"_theDocument.dataInizioProgetto"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.authors",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolari",
|
||||
"_theDocument.editore",
|
||||
"_theDocument.responsabile"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Keywords",
|
||||
"paths": [
|
||||
"_theDocument.paroleChiaveLibere",
|
||||
"_theDocument.paroleChiaveICCD"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
,
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
|
||||
"_type": "TIMELINE_JSON_TEMPLATE",
|
||||
"_configuration": {
|
||||
"tjt_document": {
|
||||
"content": "$.nome",
|
||||
"title": "$.nome",
|
||||
"start": "$.dataInizioProgetto",
|
||||
"end": "$.dataFineProgetto"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
"_configuration": {
|
||||
"actionsDefinition": [
|
||||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": [],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
{
|
||||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
],
|
||||
"description": "Submit the Project (for review)",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "reject",
|
||||
"title": "Reject",
|
||||
"call_STEPS": [
|
||||
"REJECT-DRAFT"
|
||||
],
|
||||
"description": "Reject the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "approve",
|
||||
"title": "Approve",
|
||||
"call_STEPS": [
|
||||
"APPROVE-SUBMITTED"
|
||||
],
|
||||
"description": "Approve the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"_relationshipDefinitions" : [
|
||||
{"_id": "precedes", "_label" : "Precede",
|
||||
"_reverseRelationId" : "follows"},
|
||||
{"_id": "follows", "_label" : "Segue",
|
||||
"_reverseRelationId" : "precedes"}
|
||||
]
|
||||
}
|
|
@ -1,481 +0,0 @@
|
|||
{
|
||||
"_id": "esquilino",
|
||||
"_version": "1.0.0",
|
||||
"_name": "Esquilino",
|
||||
"_schema": {
|
||||
"fonteInformazione" :{
|
||||
"_children": [
|
||||
{"filesetIta": {"_type": "RegisteredFileSet"}}
|
||||
]
|
||||
},
|
||||
"documentazioneScientifica" :{
|
||||
"_children": [
|
||||
{"fileset": {"_type": "RegisteredFileSet"}}
|
||||
]
|
||||
},
|
||||
"immaginiRappresentative" :{
|
||||
"_children": [
|
||||
{"fileset": {"_type": "RegisteredFileSet"}}
|
||||
]
|
||||
},
|
||||
"datiAltimetrici" :{
|
||||
"_children": [
|
||||
{"fileset": {"_type": "RegisteredFileSet"}}
|
||||
]
|
||||
},
|
||||
"planimetria" :{
|
||||
"_children": [
|
||||
{"fileset": {"_type": "RegisteredFileSet"}}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_description": "UCD for Equilino",
|
||||
"_creationInfo": {
|
||||
"_user": {
|
||||
"_username": "fabio.sinibaldi"
|
||||
}
|
||||
},
|
||||
"_dataAccessPolicies": [
|
||||
{"_policy": {"_read": "any","_write": "any"},
|
||||
"_roles": ["Data-Manager"]},
|
||||
{"_policy": {"_read": "own","_write": "own"},
|
||||
"_roles": ["Data-Editor"]},
|
||||
{"_policy": {"_read": "any","_write": "none"},
|
||||
"_roles": ["Member"],
|
||||
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"}},
|
||||
{"_policy": {"_read": "none","_write": "none"},
|
||||
"_roles": []}
|
||||
],
|
||||
"_handlers": [
|
||||
{
|
||||
"_id": "DEFAULT-SINGLE-STEP",
|
||||
"_type": "LifecycleManagement",
|
||||
"_configuration": {
|
||||
"step_access": [
|
||||
{
|
||||
"STEP": "PUBLISH",
|
||||
"roles": ["Data-Manager","Data-Editor"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Default-Materializer",
|
||||
"_type": "Materializer",
|
||||
"_configuration": {
|
||||
"registeredFileSetPaths": [
|
||||
{
|
||||
"schemaField": "datiAltimetrici",
|
||||
"documentPath": "datiAltimetrici[*].fileset"
|
||||
},
|
||||
{
|
||||
"schemaField": "planimetria",
|
||||
"documentPath": "planimetria.fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "SDI-Indexer-Plugin",
|
||||
"_type": "Indexer",
|
||||
"_configuration": {
|
||||
"bboxEvaluation": [
|
||||
"$..planimetria.._bbox"
|
||||
],
|
||||
"explicitFieldMapping": [
|
||||
{
|
||||
"name": "definizione",
|
||||
"path": "$._theDocument.definizione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "denominazione",
|
||||
"path": "$._theDocument.denominazione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "descrizione",
|
||||
"path": "$._theDocument.descrizione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "cronologia",
|
||||
"path": "$._theDocument.cronologia",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "codice_partizione_archeologica",
|
||||
"path": "$._theDocument.codice_partizione_archeologica",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "modalita_acquisizione",
|
||||
"path": "$._theDocument.modalita_acquisizione",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "contributore",
|
||||
"path": "$._theDocument.contributore",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "titolare_dati",
|
||||
"path": "$._theDocument.titolare_dati",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "soggetto",
|
||||
"path": "$._theDocument.soggetto",
|
||||
"type": "TEXT"
|
||||
},
|
||||
{
|
||||
"name": "copyright",
|
||||
"path": "$._theDocument.copyright",
|
||||
"type": "TEXT"
|
||||
}
|
||||
],
|
||||
"jslt": {},
|
||||
"additionalLayers": [
|
||||
{
|
||||
"source": {
|
||||
"url": "..."
|
||||
},
|
||||
"toSetTitle": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-entry-app",
|
||||
"_type": "DATA_ENTRY_GUI",
|
||||
"_configuration": {
|
||||
"gcubeProfiles": [
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Dati_Descrittivi",
|
||||
"sectionName": "$.",
|
||||
"sectionTitle": "Dati Descrittivi"
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Fonte_Informazione",
|
||||
"sectionName": "fonteInformazione",
|
||||
"sectionTitle": "Fonte dell'informazione",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Carica Abstract Ita (in PDF)",
|
||||
"fieldDefinition": "$.fonteInformazione._children[?(@.filesetIta)]",
|
||||
"fieldName": "filesetIta"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Documentazione_Scientifica",
|
||||
"sectionName": "documentazioneScientifica",
|
||||
"sectionTitle": "Documentazione scientifica",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Documentazione scientifica (in PDF)",
|
||||
"fieldDefinition": "$.documentazioneScientifica._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Immagine",
|
||||
"sectionName": "immaginiRappresentative",
|
||||
"sectionTitle": "Immagini Rappresentative",
|
||||
"minOccurs": 1,
|
||||
"maxOccurs": 10,
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "Immagine",
|
||||
"fieldDefinition": "$.immaginiRappresentative._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Dati_Altimetrici",
|
||||
"sectionName": "datiAltimetrici",
|
||||
"sectionTitle": "Dati Altimetrici",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.datiAltimetrici._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"gcubeSecondaryType": "GeoportalMetadata",
|
||||
"gcubeName": "Esquilino_Planimetria",
|
||||
"sectionName": "planimetria",
|
||||
"sectionTitle": "Planimetria",
|
||||
"parentName": "$.",
|
||||
"filePaths": [
|
||||
{
|
||||
"gcubeProfileFieldName": "File",
|
||||
"fieldDefinition": "$.planimetria._children[?(@.fileset)]",
|
||||
"fieldName": "fileset"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"saveStep": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.definizione",
|
||||
"_theDocument.denominazione",
|
||||
"_theDocument.descrizione",
|
||||
"_theDocument.cronologia",
|
||||
"_theDocument.codice_partizione_archeologica",
|
||||
"_theDocument.modalita_acquisizione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati",
|
||||
"_theDocument.soggetto",
|
||||
"_theDocument.copyright"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Definition",
|
||||
"paths": [
|
||||
"_theDocument.definizione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.denominazione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Code",
|
||||
"paths": [
|
||||
"_theDocument.codice_partizione_archeologica"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Chronology",
|
||||
"paths": [
|
||||
"_theDocument.cronologia"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Creator",
|
||||
"paths": [
|
||||
"_info._creationInfo._user._username"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Updated",
|
||||
"paths": [
|
||||
"_info._lastEditInfo._instant"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": false,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Phase",
|
||||
"paths": [
|
||||
"_lifecycleInformation._phase"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Status",
|
||||
"paths": [
|
||||
"_lifecycleInformation._lastOperationStatus"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-data-list",
|
||||
"_type": "BASIC_DATA_LIST_GUI",
|
||||
"_configuration": {
|
||||
"itemFields": [
|
||||
{
|
||||
"label": "Any Field",
|
||||
"paths": [
|
||||
"_theDocument.definizione",
|
||||
"_theDocument.denominazione",
|
||||
"_theDocument.descrizione",
|
||||
"_theDocument.cronologia",
|
||||
"_theDocument.codice_partizione_archeologica",
|
||||
"_theDocument.modalita_acquisizione",
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati",
|
||||
"_theDocument.soggetto",
|
||||
"_theDocument.copyright"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": false
|
||||
},
|
||||
{
|
||||
"label": "Definition",
|
||||
"paths": [
|
||||
"_theDocument.definizione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Name",
|
||||
"paths": [
|
||||
"_theDocument.denominazione"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Code",
|
||||
"paths": [
|
||||
"_theDocument.codice_partizione_archeologica"
|
||||
],
|
||||
"operator": "$and",
|
||||
"searchable": true,
|
||||
"sortable": true,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Director/Staff",
|
||||
"paths": [
|
||||
"_theDocument.contributore",
|
||||
"_theDocument.titolare_dati"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
},
|
||||
{
|
||||
"label": "Chronology",
|
||||
"paths": [
|
||||
"_theDocument.cronologia"
|
||||
],
|
||||
"operator": "$or",
|
||||
"searchable": true,
|
||||
"sortable": false,
|
||||
"asResult": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
,
|
||||
{
|
||||
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
|
||||
"_type": "WORKFLOW_ACTION_LIST_GUI",
|
||||
"_configuration": {
|
||||
"actionsDefinition": [
|
||||
{
|
||||
"id": "post_creation_action",
|
||||
"title": "Post Creation Action",
|
||||
"call_STEPS": ["PUBLISH"],
|
||||
"description": "Action fired after the Project creation",
|
||||
"display_on_phase": []
|
||||
},
|
||||
{
|
||||
"id": "submit_for_review",
|
||||
"title": "Submit for Review",
|
||||
"call_STEPS": [
|
||||
"SUBMIT-FOR-REVIEW"
|
||||
],
|
||||
"description": "Submit the Project (for review)",
|
||||
"display_on_phase": [
|
||||
"DRAFT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "reject",
|
||||
"title": "Reject",
|
||||
"call_STEPS": [
|
||||
"REJECT-DRAFT"
|
||||
],
|
||||
"description": "Reject the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "approve",
|
||||
"title": "Approve",
|
||||
"call_STEPS": [
|
||||
"APPROVE-SUBMITTED"
|
||||
],
|
||||
"description": "Approve the Project",
|
||||
"display_on_phase": [
|
||||
"Pending Approval"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
27
README.md
27
README.md
|
@ -3,7 +3,7 @@ gCube CMS Suite
|
|||
|
||||
gCube CMS Suite is a distributed full stack application for publication management in a gCube Hybrid e-infrastructure. Check wiki [here](https://sublime-and-sphinx-guide.readthedocs.io)
|
||||
|
||||
[<img src="https://gcube.wiki.gcube-system.org/images_gcube/e/e4/Geo_Portale%281%29.png">](https://www.sphinx-doc.org/en/master/)
|
||||
[<img src="https://gcube.wiki.gcube-system.org/images_gcube/e/e4/Geo_Portale%281%29.png">](https://geoportal.cloud.d4science.org/geoportal-service/docs/index.html)
|
||||
|
||||
|
||||
Rationale :
|
||||
|
@ -14,28 +14,41 @@ High modularity of plugins allows for the composition of ad hoc use cases with m
|
|||
|
||||
The suite comes with a set of pre-built plugins and GUIs that communities can easily extend and / or reuse.
|
||||
|
||||
## General Architecture
|
||||
[<img src="https://gcube.wiki.gcube-system.org/images_gcube/c/ce/Geoportal_General_Architecture.jpg">](https://geoportal.cloud.d4science.org/geoportal-service/docs/architecture.html)
|
||||
|
||||
## Use Case
|
||||
##### D4GNA: component diagram
|
||||
|
||||
<img src="https://gcube.wiki.gcube-system.org/images_gcube/2/2e/Geoportal-Service_Workflow_and_Interactions_with_Engines.png" style="max-width:800px;" alt="D4GNA context: engines involved">
|
||||
|
||||
## Documentation
|
||||
* [Dedicated Wiki](https://sublime-and-sphinx-guide.readthedocs.io) - TBD Powered by [Sphynx](https://www.sphinx-doc.org/en/master/)
|
||||
* [Service Interactive API]() -TBD Powered by [Enunciate](http://enunciate.webcohesion.com/)
|
||||
* [Dedicated Wiki](https://geoportal.d4science.org/geoportal-service/docs/index.html#) - powered by [Sphynx](https://www.sphinx-doc.org/en/master/)
|
||||
* [Service Interactive API](https://geoportal.d4science.org/geoportal-service/api-docs/index.html) - powered by [Enunciate](http://enunciate.webcohesion.com/)
|
||||
* [Gcube System Wiki](https://gcube.wiki.gcube-system.org/gcube/GeoPortal).
|
||||
* [Guide Notebooks](use-cases) - Powered by [Jupyter](https://jupyter.org/)
|
||||
* [Service Wiki src](use-cases/src/site/suite.rst)
|
||||
* [Guide Notebooks](use-cases) - powered by [Jupyter](https://jupyter.org/)
|
||||
|
||||
|
||||
## Built with
|
||||
* [gCube SmartGears] (https://gcube.wiki.gcube-system.org/gcube/SmartGears) - The gCube SmartGears framework
|
||||
* [gCube SmartGears](https://gcube.wiki.gcube-system.org/gcube/SmartGears) - The gCube SmartGears framework
|
||||
* [OpenJDK](https://openjdk.java.net/) - The JDK used
|
||||
* [JAX-RS](https://github.com/eclipse-ee4j/jaxrs-api) - Java™ API for RESTful Web Services
|
||||
* [Jersey](https://jersey.github.io/) - JAX-RS runtime
|
||||
* [Maven](https://maven.apache.org/) - Dependency Management
|
||||
* [Enunciate] (http://enunciate.webcohesion.com/) - API Documentation
|
||||
* [Enunciate](http://enunciate.webcohesion.com/) - API Documentation
|
||||
|
||||
|
||||
## Change log
|
||||
|
||||
See [CHANGELOG.md](CHANGELOG.md).
|
||||
|
||||
## Authors
|
||||
|
||||
* **Fabio Sinibaldi** ([ORCID](https://orcid.org/0000-0003-1013-6203)) Computer Scientist at ISTI-CNR
|
||||
|
||||
* **Francesco Mangiacrapa** ([ORCID](https://orcid.org/0000-0002-6528-664X)) Computer Scientist at [ISTI-CNR Infrascience Group](http://nemis.isti.cnr.it/groups/infrascience)
|
||||
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the EUPL V.1.1 License - see the [LICENSE.md](LICENSE.md) file for details.
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Changelog for org.gcube.application.cms-plugin-framework
|
||||
|
||||
## [v1.0.4] - 2023-09-06
|
||||
- Using parent range version [#25572]
|
||||
|
||||
## [v1.0.3] - 2023-01-10
|
||||
- UserUtils in framework
|
||||
|
||||
|
|
|
@ -1,124 +1,124 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>cms-plugin-framework</artifactId>
|
||||
<version>1.0.3</version>
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>cms-plugin-framework</artifactId>
|
||||
<version>1.0.4</version>
|
||||
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>1.0.4</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||
</parent>
|
||||
|
||||
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
<sis.version>1.0</sis.version>
|
||||
</properties>
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
<sis.version>1.0</sis.version>
|
||||
</properties>
|
||||
|
||||
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:${gitBaseUrl}/gcube-cms-suite</connection>
|
||||
<developerConnection>scm:git:${gitBaseUrl}/gcube-cms-suite</developerConnection>
|
||||
<url>${gitBaseUrl}/gcube-cms-suite</url>
|
||||
</scm>
|
||||
<scm>
|
||||
<connection>scm:git:${gitBaseUrl}/gcube-cms-suite</connection>
|
||||
<developerConnection>scm:git:${gitBaseUrl}/gcube-cms-suite</developerConnection>
|
||||
<url>${gitBaseUrl}/gcube-cms-suite</url>
|
||||
</scm>
|
||||
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-smartgears-bom</artifactId>
|
||||
<version>${gcube-smartgears-bom-version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-smartgears-bom</artifactId>
|
||||
<version>${gcube-smartgears-bom-version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- TO REMOVE WHEN LEGACY SUPPORT IS REMOVED -->
|
||||
<!-- DEPRECATED LEGACY LOGIC SUPPORT -->
|
||||
<!-- TO REMOVE WHEN LEGACY SUPPORT IS REMOVED -->
|
||||
<!-- DEPRECATED LEGACY LOGIC SUPPORT -->
|
||||
|
||||
<!-- POSTGRES DRIVERS -->
|
||||
<dependency>
|
||||
<groupId>net.postgis</groupId>
|
||||
<artifactId>postgis-jdbc</artifactId>
|
||||
<version>2.5.0</version>
|
||||
</dependency>
|
||||
<!-- POSTGRES DRIVERS -->
|
||||
<dependency>
|
||||
<groupId>net.postgis</groupId>
|
||||
<artifactId>postgis-jdbc</artifactId>
|
||||
<version>2.5.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- SDI -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.spatial.data</groupId>
|
||||
<artifactId>gis-interface</artifactId>
|
||||
<version>[2.4.6,3.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<!-- SDI -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.spatial.data</groupId>
|
||||
<artifactId>gis-interface</artifactId>
|
||||
<version>[2.4.6,3.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- DT -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.data.transfer</groupId>
|
||||
<artifactId>data-transfer-library</artifactId>
|
||||
<version>[1.2.1,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<!-- DT -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.data.transfer</groupId>
|
||||
<artifactId>data-transfer-library</artifactId>
|
||||
<version>[1.2.1,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>authorization-utils</artifactId>
|
||||
<version>[2.0.0, 3.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>authorization-utils</artifactId>
|
||||
<version>[2.0.0, 3.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>geoportal-common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>geoportal-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Storage HUB -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>storagehub-client-library</artifactId>
|
||||
</dependency>
|
||||
<!-- Storage HUB -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>storagehub-client-library</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/de.grundid.opendatalab/geojson-jackson -->
|
||||
<dependency>
|
||||
<groupId>de.grundid.opendatalab</groupId>
|
||||
<artifactId>geojson-jackson</artifactId>
|
||||
<version>1.14</version>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/de.grundid.opendatalab/geojson-jackson -->
|
||||
<dependency>
|
||||
<groupId>de.grundid.opendatalab</groupId>
|
||||
<artifactId>geojson-jackson</artifactId>
|
||||
<version>1.14</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Common - basic -->
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<!-- Common - basic -->
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.reflections</groupId>
|
||||
<artifactId>reflections</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.reflections</groupId>
|
||||
<artifactId>reflections</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<!-- <version>2.3.0</version>-->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<!-- <version>2.3.0</version> -->
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,6 +1,9 @@
|
|||
# Changelog for org.gcube.application.cms.concessioni-lifecycle
|
||||
|
||||
## [v1.1.0-SNAPSHOT] - 2023-03-13
|
||||
## [v1.1.1] - 2023-09-06
|
||||
- Using parent version range [#25572]
|
||||
|
||||
## [v1.1.0] - 2023-03-13
|
||||
- [#24754] Fixed hide/show project ids on the latest node of the relation chain
|
||||
|
||||
## [v1.0.4] - 2023-03-06
|
||||
|
|
|
@ -4,15 +4,14 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>concessioni-lifecycle</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<version>1.1.1</version>
|
||||
<name>GNA Concessioni Lifecycle</name>
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>1.0.4</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
|
|
|
@ -35,7 +35,7 @@ public class ConcessioniPluginTests extends BasicPluginTest {
|
|||
}
|
||||
|
||||
|
||||
@Test
|
||||
//@Test
|
||||
public void testDefaults() throws IOException {
|
||||
Project c= TestDocuments.documentMap.get("dummy.json");
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Changelog for org.gcube.application.cms.concessioni-model
|
||||
|
||||
## [v1.0.4] - 2023-09-06
|
||||
- Using parent version range [#25572]
|
||||
|
||||
## [v1.0.3] - 2023-01-10
|
||||
- Pom updates
|
||||
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>concessioni-model</artifactId>
|
||||
<version>1.0.3</version>
|
||||
<version>1.0.4</version>
|
||||
<name>GNA Concessioni Model</name>
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>1.0.4</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
|
@ -22,11 +22,11 @@
|
|||
|
||||
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:${gitBaseUrl}/gcube-cms-suite</connection>
|
||||
<developerConnection>scm:git:${gitBaseUrl}/gcube-cms-suite</developerConnection>
|
||||
<url>${gitBaseUrl}/gcube-cms-suite</url>
|
||||
</scm>
|
||||
<scm>
|
||||
<connection>scm:git:${gitBaseUrl}/gcube-cms-suite</connection>
|
||||
<developerConnection>scm:git:${gitBaseUrl}/gcube-cms-suite</developerConnection>
|
||||
<url>${gitBaseUrl}/gcube-cms-suite</url>
|
||||
</scm>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
# Changelog for org.gcube.application.cms.ckan-plugin
|
||||
|
||||
## [v1.2.2]- 2023-09-06
|
||||
- Using parent version range [#25572]
|
||||
|
||||
## [v1.2.1]
|
||||
|
||||
- Improved some logs
|
||||
|
||||
## [v1.2.0]
|
||||
|
||||
- Integrated the field 'geov_link' (Geoportal GisViewer link) in the centroid layer [#24859]
|
||||
- Fixed Draft execution step executing dematerialization and deIndexing actions [#24877]
|
||||
|
||||
## [v1.1.1] - 2023-03-06
|
||||
|
||||
- [#24570] Integrated the UnPublish operation
|
||||
|
|
|
@ -5,15 +5,14 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>default-lc-managers</artifactId>
|
||||
<version>1.1.1</version>
|
||||
<version>1.2.2</version>
|
||||
<name>gCube CMS - Default LC Managers</name>
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>1.0.4</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
|
|
|
@ -41,7 +41,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||
|
||||
@Slf4j
|
||||
public abstract class AbstractLifeCycleManager extends AbstractPlugin implements LifecycleManager {
|
||||
|
||||
|
||||
protected static class Events{
|
||||
public static final OperationDescriptor INIT=new OperationDescriptor(EventExecutionRequest.Events.ON_INIT_DOCUMENT,"Sets defaults and validate");
|
||||
public static final OperationDescriptor UPDATE=new OperationDescriptor(EventExecutionRequest.Events.ON_UPDATE_DOCUMENT,"Sets defaults and validate");
|
||||
|
@ -210,7 +210,9 @@ public abstract class AbstractLifeCycleManager extends AbstractPlugin implements
|
|||
|
||||
@Override
|
||||
public EventExecutionReport onEvent(EventExecutionRequest request) throws EventException, InvalidPluginRequestException {
|
||||
log.info("Executing Event {}",request);
|
||||
log.info("Executing Event {}, Parameters: {}, Context: {}",request.getEvent(), request.getCallParameters(), request.getContext());
|
||||
log.info("Event fired on ProjectID {} with ProfileID: {}",request.getDocument().getId(), request.getDocument().getProfileID());
|
||||
log.debug("Executing Event request: {}", request);
|
||||
EventExecutionReport report=new EventExecutionReport(request);
|
||||
report.getToSetLifecycleInformation().addEventReport(new TriggeredEvents());
|
||||
TriggeredEvents info = report.getToSetLifecycleInformation().getLastEvent();
|
||||
|
|
|
@ -29,7 +29,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||
@Slf4j
|
||||
public class Default3PhaseManager extends SimpleLifeCycleManager implements LifecycleManager {
|
||||
|
||||
protected static class Phases {
|
||||
protected static class Phases {
|
||||
public static final String PENDING_APPROVAL="Pending Approval";
|
||||
public static final String PUBLISHED=SimpleLifeCycleManager.Phases.PUBLISHED;
|
||||
|
||||
|
@ -71,9 +71,12 @@ public class Default3PhaseManager extends SimpleLifeCycleManager implements Life
|
|||
parameters =getInternalIndexParams(theReport.getTheRequest());
|
||||
if(phase.equals(Phases.PUBLISHED))
|
||||
parameters = getPublicIndexParams(theReport.getTheRequest());
|
||||
if(parameters!= null)
|
||||
for(IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest()))
|
||||
theReport = index(theReport,indexer,getPublicIndexParams(theReport.getTheRequest()));
|
||||
if(parameters!= null) {
|
||||
//Fixed by Francesco, see #24902. Now is calling deIndex
|
||||
for(IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest())) {
|
||||
theReport = deIndex(theReport,indexer,getPublicIndexParams(theReport.getTheRequest()));
|
||||
}
|
||||
}
|
||||
return theReport;
|
||||
}
|
||||
|
||||
|
@ -171,42 +174,69 @@ public class Default3PhaseManager extends SimpleLifeCycleManager implements Life
|
|||
protected Document getInternalIndexParams(BaseRequest req){
|
||||
Document callParameters = new Document();
|
||||
|
||||
callParameters.put("workspace", Files.fixFilename(req.getUseCaseDescriptor().getId()+"_internal_"+req.getContext().getName()));
|
||||
callParameters.put("indexName",Files.fixFilename(req.getUseCaseDescriptor().getId()+"_internal_"+req.getContext().getName()+"_centroids"));
|
||||
callParameters.put(IndexConstants.INDEX_PARAMETER_WORKSPACE, Files.fixFilename(req.getUseCaseDescriptor().getId()+"_internal_"+req.getContext().getName()));
|
||||
callParameters.put(IndexConstants.INDEX_PARAMETER_INDEXNAME,Files.fixFilename(req.getUseCaseDescriptor().getId()+"_internal_"+req.getContext().getName()+"_centroids"));
|
||||
//Added by Francesco
|
||||
callParameters.put(IndexConstants.INDEX_PARAMETER_FLAGINTERNALINDEX, Boolean.TRUE);
|
||||
return callParameters;
|
||||
}
|
||||
|
||||
protected StepExecutionReport executeSubmit(StepExecutionReport theReport) throws Exception {
|
||||
// Materialize
|
||||
protected StepExecutionReport executeSubmit(StepExecutionReport theReport) throws Exception {
|
||||
log.info(STEPS.SUBMIT + " running...");
|
||||
|
||||
for(MaterializationPlugin mat : getMaterializers(theReport.getTheRequest()))
|
||||
theReport = materializeDocument(theReport,mat,getMaterializationParameters(theReport.getTheRequest()));
|
||||
if(theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK)){
|
||||
// Index
|
||||
for(IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest()))
|
||||
theReport = index(theReport,indexer,getInternalIndexParams(theReport.getTheRequest()));
|
||||
// setPhase
|
||||
if(theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||
theReport.getToSetLifecycleInformation().setPhase(Phases.PENDING_APPROVAL);
|
||||
}
|
||||
return theReport;
|
||||
}
|
||||
// Materialize
|
||||
for (MaterializationPlugin mat : getMaterializers(theReport.getTheRequest()))
|
||||
theReport = materializeDocument(theReport, mat, getMaterializationParameters(theReport.getTheRequest()));
|
||||
if (theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK)) {
|
||||
// Index
|
||||
for (IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest()))
|
||||
theReport = index(theReport, indexer, getInternalIndexParams(theReport.getTheRequest()));
|
||||
// setPhase
|
||||
if (theReport.getToSetLifecycleInformation().getLastOperationStatus()
|
||||
.equals(LifecycleInformation.Status.OK))
|
||||
theReport.getToSetLifecycleInformation().setPhase(Phases.PENDING_APPROVAL);
|
||||
}
|
||||
return theReport;
|
||||
}
|
||||
|
||||
protected StepExecutionReport executeApprove(StepExecutionReport theReport) throws Exception {
|
||||
// Index
|
||||
for(IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest()))
|
||||
theReport = index(theReport,indexer,getPublicIndexParams(theReport.getTheRequest()));
|
||||
// setPhase
|
||||
if(theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||
theReport.getToSetLifecycleInformation().setPhase(Phases.PUBLISHED);
|
||||
return theReport;
|
||||
}
|
||||
protected StepExecutionReport executeApprove(StepExecutionReport theReport) throws Exception {
|
||||
log.info(STEPS.APPROVE + " running...");
|
||||
|
||||
protected StepExecutionReport executeReject(StepExecutionReport theReport) throws Exception {
|
||||
if(theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||
theReport.getToSetLifecycleInformation().setPhase(LifecycleInformation.CommonPhases.DRAFT_PHASE);
|
||||
return theReport;
|
||||
}
|
||||
// Index
|
||||
for (IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest()))
|
||||
theReport = index(theReport, indexer, getPublicIndexParams(theReport.getTheRequest()));
|
||||
// setPhase
|
||||
if (theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||
theReport.getToSetLifecycleInformation().setPhase(Phases.PUBLISHED);
|
||||
return theReport;
|
||||
}
|
||||
|
||||
//Updated by Francesco, see #24877
|
||||
protected StepExecutionReport executeReject(StepExecutionReport theReport) throws Exception {
|
||||
log.info(STEPS.REJECT + " running...");
|
||||
|
||||
// DeMaterialize
|
||||
JSONPathWrapper wrapper = new JSONPathWrapper(theReport.getTheRequest().getDocument().getTheDocument().toJson());
|
||||
for (String s : wrapper.getMatchingPaths("$..[?(@." + RegisteredFileSet.PAYLOADS + ")]")) {
|
||||
log.info("Requesting dematerialization for {} ", s);
|
||||
for (MaterializationPlugin mat : getMaterializers(theReport.getTheRequest()))
|
||||
theReport = deMaterialize(theReport, mat, new Document("fileSetPath", s));
|
||||
if (!theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||
break;
|
||||
}
|
||||
// DeIndexing
|
||||
if (theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK)) {
|
||||
for (IndexerPluginInterface indexer : getIndexers(theReport.getTheRequest())) {
|
||||
log.info("Requesting deindexing for {} ", indexer.getDescriptor());
|
||||
theReport = deIndex(theReport, indexer, getInternalIndexParams(theReport.getTheRequest()));
|
||||
}
|
||||
}
|
||||
|
||||
if (theReport.getToSetLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||
theReport.getToSetLifecycleInformation().setPhase(LifecycleInformation.CommonPhases.DRAFT_PHASE);
|
||||
|
||||
return theReport;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
package org.gcube.application.cms.plugins.implementations;
|
||||
|
||||
/**
|
||||
* The Class IndexConstants.
|
||||
*
|
||||
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
||||
*
|
||||
* Mar 29, 2023
|
||||
*/
|
||||
public class IndexConstants {
|
||||
|
||||
public static final String INDEX_PARAMETER_FLAGINTERNALINDEX = "flagInternalIndex";
|
||||
public static final String INDEX_PARAMETER_INDEXNAME = "indexName";
|
||||
public static final String INDEX_PARAMETER_WORKSPACE = "workspace";
|
||||
|
||||
}
|
|
@ -93,8 +93,9 @@ public class SimpleLifeCycleManager extends AbstractLifeCycleManager implements
|
|||
|
||||
protected Document getPublicIndexParams(BaseRequest req){
|
||||
Document callParameters = new Document();
|
||||
callParameters.put("workspace",Files.fixFilename(req.getUseCaseDescriptor().getId()+req.getContext().getName()));
|
||||
callParameters.put("indexName",Files.fixFilename(req.getUseCaseDescriptor().getId()+req.getContext().getName()+"_centroids"));
|
||||
callParameters.put(IndexConstants.INDEX_PARAMETER_WORKSPACE,Files.fixFilename(req.getUseCaseDescriptor().getId()+req.getContext().getName()));
|
||||
callParameters.put(IndexConstants.INDEX_PARAMETER_INDEXNAME,Files.fixFilename(req.getUseCaseDescriptor().getId()+req.getContext().getName()+"_centroids"));
|
||||
callParameters.put(IndexConstants.INDEX_PARAMETER_FLAGINTERNALINDEX, Boolean.FALSE);
|
||||
return callParameters;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Changelog for org.gcube.application.geoportal-client
|
||||
|
||||
## [v1.2.1] - 2023-09-06
|
||||
- Using parent version range [#25572]
|
||||
|
||||
## [v1.2.0] - 2023-05-11
|
||||
- Added PATCH method [#24985]
|
||||
- Integrated `ingnore_errors` in the deleteFileSet
|
||||
|
||||
## [v1.1.2] - 2023-01-10
|
||||
- Pom updates
|
||||
|
||||
|
|
|
@ -4,17 +4,15 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.gcube.application</groupId>
|
||||
<artifactId>geoportal-client</artifactId>
|
||||
<version>1.1.2</version>
|
||||
<version>1.2.1</version>
|
||||
<name>Geoportal Client</name>
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||
</parent>
|
||||
|
||||
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
</properties>
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
package org.gcube.application.geoportal.client;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import java.io.IOException;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.client.utils.Serialization;
|
||||
import org.gcube.application.geoportal.common.faults.InvalidRequestException;
|
||||
|
@ -10,385 +16,572 @@ import org.gcube.application.geoportal.common.model.configuration.Configuration;
|
|||
import org.gcube.application.geoportal.common.model.document.Project;
|
||||
import org.gcube.application.geoportal.common.model.document.access.Access;
|
||||
import org.gcube.application.geoportal.common.model.document.relationships.RelationshipNavigationObject;
|
||||
import org.gcube.application.geoportal.common.model.rest.*;
|
||||
import org.gcube.application.geoportal.common.model.rest.CreateRelationshipRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.DeleteRelationshipRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.QueryRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.RegisterFileSetRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.StepExecutionRequest;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
import org.gcube.application.geoportal.common.rest.Projects;
|
||||
import org.gcube.common.clients.Call;
|
||||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
import org.glassfish.jersey.client.HttpUrlConnectorProvider;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import java.io.IOException;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Iterator;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* Instantiates a new default documents client.
|
||||
*
|
||||
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
||||
*
|
||||
* May 2, 2023
|
||||
* @param <T> the generic type
|
||||
*/
|
||||
|
||||
/**
|
||||
* Instantiates a new default documents client.
|
||||
*
|
||||
* @param delegate the delegate
|
||||
* @param profileID the profile ID
|
||||
* @param managedClass the managed class
|
||||
*/
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class DefaultDocumentsClient<T extends Project> implements Projects<T> {
|
||||
|
||||
@NonNull
|
||||
protected final ProxyDelegate<WebTarget> delegate;
|
||||
@NonNull
|
||||
protected final String profileID;
|
||||
@NonNull
|
||||
protected final Class<T> managedClass;
|
||||
@NonNull
|
||||
protected final ProxyDelegate<WebTarget> delegate;
|
||||
@NonNull
|
||||
protected final String profileID;
|
||||
@NonNull
|
||||
protected final Class<T> managedClass;
|
||||
|
||||
/**
|
||||
* Gets the managed class.
|
||||
*
|
||||
* @return the managed class
|
||||
*/
|
||||
public Class<T> getManagedClass() {
|
||||
return managedClass;
|
||||
}
|
||||
|
||||
public Class<T> getManagedClass() {
|
||||
return managedClass;
|
||||
}
|
||||
/**
|
||||
* Creates the new.
|
||||
*
|
||||
* @param toCreate the to create
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T createNew(Document toCreate) throws RemoteException {
|
||||
try {
|
||||
log.debug("Creating Profiled Document (class {}, useCaseDescriptor {}) with content {} ", getManagedClass(),
|
||||
profileID, toCreate);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).request(MediaType.APPLICATION_JSON)
|
||||
.post(Entity.entity(toCreate, MediaType.APPLICATION_JSON)), getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Registered {} profiled {} ", toReturn.getId(), profileID);
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T createNew(Document toCreate) throws RemoteException {
|
||||
try {
|
||||
log.debug("Creating Profiled Document (class {}, useCaseDescriptor {}) with content {} ",
|
||||
getManagedClass(),profileID, toCreate);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).request(MediaType.APPLICATION_JSON).
|
||||
post(Entity.entity(toCreate, MediaType.APPLICATION_JSON)),getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Registered {} profiled {} ",toReturn.getId(),profileID);
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Delete by id.
|
||||
*
|
||||
* @param id the id
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public void deleteById(String id) throws RemoteException {
|
||||
deleteById(id, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(String id) throws RemoteException {
|
||||
deleteById(id,false);
|
||||
}
|
||||
/**
|
||||
* Delete by id.
|
||||
*
|
||||
* @param id the id
|
||||
* @param force the force
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public void deleteById(String id, Boolean force) throws RemoteException {
|
||||
try {
|
||||
log.debug("Deleting ID {} useCaseDescriptor {} force {} ", id, profileID, force);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons
|
||||
.check(endpoint.path(profileID).path(id).queryParam(InterfaceConstants.Parameters.FORCE, force)
|
||||
.request(MediaType.APPLICATION_JSON).delete(), null);
|
||||
};
|
||||
delegate.make(call);
|
||||
log.info("Deleted ID {} useCaseDescriptor {} force {} ", id, profileID, force);
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(String id, Boolean force) throws RemoteException {
|
||||
try {
|
||||
log.debug("Deleting ID {} useCaseDescriptor {} force {} ", id, profileID, force);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(id).
|
||||
queryParam(InterfaceConstants.Parameters.FORCE,force).
|
||||
request(MediaType.APPLICATION_JSON).delete(),null);
|
||||
};
|
||||
delegate.make(call);
|
||||
log.info("Deleted ID {} useCaseDescriptor {} force {} ", id, profileID, force);
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Gets the by id.
|
||||
*
|
||||
* @param id the id
|
||||
* @return the by id
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T getById(String id) throws RemoteException {
|
||||
try {
|
||||
log.info("Loading Document ID {} (class {}, useCaseDescriptor {})", id, getManagedClass(), profileID);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(
|
||||
endpoint.path(profileID).path(id).request(MediaType.APPLICATION_JSON).get(), getManagedClass());
|
||||
};
|
||||
return delegate.make(call);
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T getById(String id) throws RemoteException {
|
||||
try {
|
||||
log.info("Loading Document ID {} (class {}, useCaseDescriptor {})",
|
||||
id, getManagedClass(),profileID);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(id).
|
||||
request(MediaType.APPLICATION_JSON).get(), getManagedClass());
|
||||
};
|
||||
return delegate.make(call);
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Gets the configuration.
|
||||
*
|
||||
* @return the configuration
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public Configuration getConfiguration() throws RemoteException {
|
||||
try {
|
||||
log.info("Loading Configuration for useCaseDescriptor {}", profileID);
|
||||
Call<WebTarget, Configuration> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID)
|
||||
.path(InterfaceConstants.Methods.CONFIGURATION_PATH).request(MediaType.APPLICATION_JSON).get(),
|
||||
Configuration.class);
|
||||
};
|
||||
return delegate.make(call);
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Configuration getConfiguration() throws RemoteException {
|
||||
try {
|
||||
log.info("Loading Configuration for useCaseDescriptor {}", profileID);
|
||||
Call<WebTarget, Configuration> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.CONFIGURATION_PATH).
|
||||
request(MediaType.APPLICATION_JSON).get(), Configuration.class);
|
||||
};
|
||||
return delegate.make(call);
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Query.
|
||||
*
|
||||
* @param request the request
|
||||
* @return the iterator
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public Iterator<T> query(QueryRequest request) throws RemoteException {
|
||||
return queryForClass(request, getManagedClass());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<T> query(QueryRequest request) throws RemoteException {
|
||||
return queryForClass(request,getManagedClass());
|
||||
}
|
||||
/**
|
||||
* Query for class.
|
||||
*
|
||||
* @param <C> the generic type
|
||||
* @param request the request
|
||||
* @param clazz the clazz
|
||||
* @return the iterator
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public <C> Iterator<C> queryForClass(QueryRequest request, Class<C> clazz) throws RemoteException {
|
||||
String jsonString = queryForJSON(request);
|
||||
log.debug("Deserializing query Result as {} ", clazz);
|
||||
try {
|
||||
return Serialization.readCollection(jsonString, clazz);
|
||||
} catch (IOException e) {
|
||||
log.error("Unable to deserialize result as " + clazz, e);
|
||||
log.debug("Query request was {} ", request);
|
||||
log.debug("Query result was {} ", jsonString);
|
||||
throw new RemoteException("Invalid format for submitted query");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public <C> Iterator<C> queryForClass(QueryRequest request,Class<C> clazz) throws RemoteException {
|
||||
String jsonString=queryForJSON(request);
|
||||
log.debug("Deserializing query Result as {} ",clazz);
|
||||
try {
|
||||
return Serialization.readCollection(jsonString,clazz);
|
||||
} catch (IOException e) {
|
||||
log.error("Unable to deserialize result as "+clazz,e);
|
||||
log.debug("Query request was {} ",request);
|
||||
log.debug("Query result was {} ",jsonString);
|
||||
throw new RemoteException("Invalid format for submitted query");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Query for JSON.
|
||||
*
|
||||
* @param request the request
|
||||
* @return the string
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public String queryForJSON(QueryRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Querying useCaseDescriptor {} for {}", profileID, request);
|
||||
Call<WebTarget, String> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.QUERY_PATH)
|
||||
.request(MediaType.APPLICATION_JSON).post(Entity.entity(request, MediaType.APPLICATION_JSON)),
|
||||
String.class);
|
||||
};
|
||||
return delegate.make(call);
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String queryForJSON(QueryRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Querying useCaseDescriptor {} for {}",profileID,request);
|
||||
Call<WebTarget, String> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.QUERY_PATH).
|
||||
request(MediaType.APPLICATION_JSON).post(Entity.entity(request,MediaType.APPLICATION_JSON)), String.class);
|
||||
};
|
||||
return delegate.make(call);
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Perform step.
|
||||
*
|
||||
* @param id the id
|
||||
* @param request the request
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T performStep(String id, StepExecutionRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Executing step on {} (class {}, useCaseDescriptor {}) with request {} ", id, getManagedClass(),
|
||||
profileID, request);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.STEP).path(id)
|
||||
.request(MediaType.APPLICATION_JSON).post(Entity.entity(request, MediaType.APPLICATION_JSON)),
|
||||
getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Executed STEP {} on {} [useCaseDescriptor {}, class {}] ", request.getStepID(), id, profileID,
|
||||
getManagedClass());
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T performStep(String id, StepExecutionRequest request) throws RemoteException{
|
||||
try {
|
||||
log.debug("Executing step on {} (class {}, useCaseDescriptor {}) with request {} ",
|
||||
id, getManagedClass(),profileID, request);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.STEP)
|
||||
.path(id).request(MediaType.APPLICATION_JSON).
|
||||
post(Entity.entity(request, MediaType.APPLICATION_JSON)),getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Executed STEP {} on {} [useCaseDescriptor {}, class {}] ",request.getStepID(),
|
||||
id,profileID,getManagedClass());
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Register file set.
|
||||
*
|
||||
* @param id the id
|
||||
* @param req the req
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
* @throws InvalidRequestException the invalid request exception
|
||||
*/
|
||||
@Override
|
||||
public T registerFileSet(String id, RegisterFileSetRequest req) throws RemoteException, InvalidRequestException {
|
||||
try {
|
||||
log.debug("Registering FileSet on {} (class {}, useCaseDescriptor {}) with request {} ", id,
|
||||
getManagedClass(), profileID, req);
|
||||
req.validate();
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID)
|
||||
.path(InterfaceConstants.Methods.REGISTER_FILES_PATH).path(id)
|
||||
.request(MediaType.APPLICATION_JSON).post(Entity.entity(req, MediaType.APPLICATION_JSON)),
|
||||
getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Registered FileSet on {} [useCaseDescriptor {}, class {}] with {}", id, profileID,
|
||||
getManagedClass(), req);
|
||||
return toReturn;
|
||||
} catch (InvalidRequestException e) {
|
||||
log.error("Invalid Request ", e);
|
||||
throw e;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T registerFileSet(String id, RegisterFileSetRequest req) throws RemoteException, InvalidRequestException {
|
||||
try {
|
||||
log.debug("Registering FileSet on {} (class {}, useCaseDescriptor {}) with request {} ",
|
||||
id, getManagedClass(), profileID, req);
|
||||
req.validate();
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.REGISTER_FILES_PATH)
|
||||
.path(id).request(MediaType.APPLICATION_JSON).
|
||||
post(Entity.entity(req, MediaType.APPLICATION_JSON)), getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Registered FileSet on {} [useCaseDescriptor {}, class {}] with {}",
|
||||
id, profileID, getManagedClass(), req);
|
||||
return toReturn;
|
||||
}catch (InvalidRequestException e){
|
||||
log.error("Invalid Request ",e);
|
||||
throw e;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Delete file set.
|
||||
*
|
||||
* @param id the id
|
||||
* @param path the path
|
||||
* @param force the force
|
||||
* @param ignoreErrors the ignore errors
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T deleteFileSet(String id, String path, Boolean force, Boolean ignoreErrors) throws RemoteException {
|
||||
try {
|
||||
log.debug(
|
||||
"Deleting Fileset for ID {} [useCaseDescriptor {} , class {}] at {} (force {} ) (ignoreErrors {} )",
|
||||
id, profileID, getManagedClass(), path, force, ignoreErrors);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.DELETE_FILES_PATH)
|
||||
.path(id).queryParam(InterfaceConstants.Parameters.FORCE, force)
|
||||
.queryParam(InterfaceConstants.Parameters.IGNORE_ERRORS, ignoreErrors)
|
||||
.request(MediaType.APPLICATION_JSON).post(Entity.entity(path, MediaType.APPLICATION_JSON)),
|
||||
getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Deleted ID {} useCaseDescriptor {} force {} ", id, profileID, force);
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T deleteFileSet(String id, String path, Boolean force) throws RemoteException {
|
||||
try {
|
||||
log.debug("Deleting Fileset for ID {} [useCaseDescriptor {} , class {}] at {} (force {} )",
|
||||
id, profileID,getManagedClass(),path, force);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.DELETE_FILES_PATH).
|
||||
path(id).queryParam(InterfaceConstants.Parameters.FORCE,force).
|
||||
request(MediaType.APPLICATION_JSON).
|
||||
post(Entity.entity(path, MediaType.APPLICATION_JSON)),getManagedClass());
|
||||
};
|
||||
T toReturn=delegate.make(call);
|
||||
log.info("Deleted ID {} useCaseDescriptor {} force {} ", id, profileID, force);
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Force unlock.
|
||||
*
|
||||
* @param id the id
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T forceUnlock(String id) throws RemoteException {
|
||||
try {
|
||||
log.warn("Force Unlock of {} [useCaseDescriptor {} , class {}]", id, profileID, getManagedClass());
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.FORCE_UNLOCK)
|
||||
.path(id).request(MediaType.APPLICATION_JSON).put(Entity.json("")), getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Unlocked ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T forceUnlock(String id) throws RemoteException {
|
||||
try {
|
||||
log.warn("Force Unlock of {} [useCaseDescriptor {} , class {}]",
|
||||
id, profileID,getManagedClass());
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.FORCE_UNLOCK).path(id).
|
||||
request(MediaType.APPLICATION_JSON).
|
||||
put(Entity.json("")),getManagedClass());
|
||||
};
|
||||
T toReturn=delegate.make(call);
|
||||
log.info("Unlocked ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Sets the access policy.
|
||||
*
|
||||
* @param id the id
|
||||
* @param toSet the to set
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T setAccessPolicy(String id, Access toSet) throws RemoteException {
|
||||
try {
|
||||
log.info("Setting Access of {} [useCaseDescriptor {} , class {}] as {}", id, profileID, getManagedClass(),
|
||||
toSet);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(
|
||||
endpoint.path(profileID).path(InterfaceConstants.Methods.SET_PROJECT_ACCESS_POLICY).path(id)
|
||||
.request(MediaType.APPLICATION_JSON).put(Entity.json(toSet)),
|
||||
getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.debug("Updated Access of ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T setAccessPolicy(String id, Access toSet) throws RemoteException {
|
||||
try {
|
||||
log.info("Setting Access of {} [useCaseDescriptor {} , class {}] as {}",
|
||||
id, profileID,getManagedClass(),toSet);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.SET_PROJECT_ACCESS_POLICY).path(id).
|
||||
request(MediaType.APPLICATION_JSON).
|
||||
put(Entity.json(toSet)),getManagedClass());
|
||||
};
|
||||
T toReturn=delegate.make(call);
|
||||
log.debug("Updated Access of ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Update document.
|
||||
*
|
||||
* @param id the id
|
||||
* @param updatedDocument the updated document
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T updateDocument(String id, Document updatedDocument) throws RemoteException {
|
||||
try {
|
||||
log.debug("Updating {} [useCaseDescriptor {} , class {}] with ", id, profileID, getManagedClass(),
|
||||
updatedDocument);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(id).request(MediaType.APPLICATION_JSON)
|
||||
.put(Entity.entity(updatedDocument, MediaType.APPLICATION_JSON)), getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Updated ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T updateDocument(String id, Document updatedDocument) throws RemoteException {
|
||||
try {
|
||||
log.debug("Updating {} [useCaseDescriptor {} , class {}] with ",
|
||||
id, profileID,getManagedClass(),updatedDocument);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(id).
|
||||
request(MediaType.APPLICATION_JSON).
|
||||
put(Entity.entity(updatedDocument, MediaType.APPLICATION_JSON)),getManagedClass());
|
||||
};
|
||||
T toReturn=delegate.make(call);
|
||||
log.info("Updated ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Patch document. Added by Francesco Mangiacrapa
|
||||
*
|
||||
* @param id the id
|
||||
* @param path the path
|
||||
* @param updatedDocument the updated document
|
||||
* @return the t
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T patchDocument(String id, String path, Document updatedDocument) throws RemoteException {
|
||||
try {
|
||||
log.debug("Patching {} [useCaseDescriptor {} , class {}] with ", id, profileID, getManagedClass(),
|
||||
updatedDocument);
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
|
||||
@Override
|
||||
public Project setRelation(CreateRelationshipRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Setting relationship {}:{} --{}--> {}:{}",
|
||||
profileID, request.getProjectId(), request.getRelationshipId(),
|
||||
request.getTargetUCD(),request.getTargetId());
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).
|
||||
path(InterfaceConstants.Methods.RELATIONSHIP).
|
||||
path(request.getProjectId()).
|
||||
path(request.getRelationshipId()).
|
||||
queryParam(InterfaceConstants.Parameters.TARGET_ID,request.getTargetId()).
|
||||
queryParam(InterfaceConstants.Parameters.TARGET_UCD,request.getTargetUCD()).
|
||||
request(MediaType.APPLICATION_JSON).
|
||||
put(Entity.json("")),getManagedClass());
|
||||
};
|
||||
T toReturn=delegate.make(call);
|
||||
log.info("Set relationship {}:{} --{}--> {}:{}",
|
||||
profileID, request.getProjectId(), request.getRelationshipId(),
|
||||
request.getTargetUCD(),request.getTargetId());
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
WebTarget webTarget = endpoint.path(profileID).path(id);
|
||||
webTarget.queryParam(InterfaceConstants.Parameters.PATH, path);
|
||||
webTarget.property(HttpUrlConnectorProvider.SET_METHOD_WORKAROUND, true);
|
||||
Response response = webTarget.request(MediaType.APPLICATION_JSON).method("PATCH",
|
||||
Entity.entity(updatedDocument, MediaType.APPLICATION_JSON));
|
||||
return ResponseCommons.check(response, getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Updated ID {} useCaseDescriptor {}", id, profileID);
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Project deleteRelation(DeleteRelationshipRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Deleting relationship {}:{} --{}--> {}:{}",
|
||||
profileID, request.getProjectId(), request.getRelationshipId(),
|
||||
request.getTargetUCD(),request.getTargetId());
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).
|
||||
path(InterfaceConstants.Methods.RELATIONSHIP).
|
||||
path(request.getProjectId()).
|
||||
path(request.getRelationshipId()).
|
||||
queryParam(InterfaceConstants.Parameters.TARGET_ID,request.getTargetId()).
|
||||
queryParam(InterfaceConstants.Parameters.TARGET_UCD,request.getTargetUCD()).
|
||||
request(MediaType.APPLICATION_JSON).
|
||||
delete(),getManagedClass());
|
||||
};
|
||||
T toReturn=delegate.make(call);
|
||||
log.info("Deleted relationship {}:{} --{}--> {}:{}",
|
||||
profileID, request.getProjectId(), request.getRelationshipId(),
|
||||
request.getTargetUCD(),request.getTargetId());
|
||||
return toReturn;
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Sets the relation.
|
||||
*
|
||||
* @param request the request
|
||||
* @return the project
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public Project setRelation(CreateRelationshipRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Setting relationship {}:{} --{}--> {}:{}", profileID, request.getProjectId(),
|
||||
request.getRelationshipId(), request.getTargetUCD(), request.getTargetId());
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.RELATIONSHIP)
|
||||
.path(request.getProjectId()).path(request.getRelationshipId())
|
||||
.queryParam(InterfaceConstants.Parameters.TARGET_ID, request.getTargetId())
|
||||
.queryParam(InterfaceConstants.Parameters.TARGET_UCD, request.getTargetUCD())
|
||||
.request(MediaType.APPLICATION_JSON).put(Entity.json("")), getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Set relationship {}:{} --{}--> {}:{}", profileID, request.getProjectId(),
|
||||
request.getRelationshipId(), request.getTargetUCD(), request.getTargetId());
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<RelationshipNavigationObject> getRelationshipChain(String id, String relationId) throws RemoteException {
|
||||
return getRelationshipChain(id,relationId,null);
|
||||
}
|
||||
/**
|
||||
* Delete relation.
|
||||
*
|
||||
* @param request the request
|
||||
* @return the project
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public Project deleteRelation(DeleteRelationshipRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Deleting relationship {}:{} --{}--> {}:{}", profileID, request.getProjectId(),
|
||||
request.getRelationshipId(), request.getTargetUCD(), request.getTargetId());
|
||||
Call<WebTarget, T> call = endpoint -> {
|
||||
return ResponseCommons.check(endpoint.path(profileID).path(InterfaceConstants.Methods.RELATIONSHIP)
|
||||
.path(request.getProjectId()).path(request.getRelationshipId())
|
||||
.queryParam(InterfaceConstants.Parameters.TARGET_ID, request.getTargetId())
|
||||
.queryParam(InterfaceConstants.Parameters.TARGET_UCD, request.getTargetUCD())
|
||||
.request(MediaType.APPLICATION_JSON).delete(), getManagedClass());
|
||||
};
|
||||
T toReturn = delegate.make(call);
|
||||
log.info("Deleted relationship {}:{} --{}--> {}:{}", profileID, request.getProjectId(),
|
||||
request.getRelationshipId(), request.getTargetUCD(), request.getTargetId());
|
||||
return toReturn;
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<RelationshipNavigationObject> getRelationshipChain(String id, String relationId, Boolean deep) throws RemoteException {
|
||||
try {
|
||||
log.debug("Get relationship chain ID {} for {} [useCaseDescriptor {} , class {}]",
|
||||
relationId, id, profileID,getManagedClass());
|
||||
Call<WebTarget, Iterator<RelationshipNavigationObject>> call = endpoint -> {
|
||||
/**
|
||||
* Gets the relationship chain.
|
||||
*
|
||||
* @param id the id
|
||||
* @param relationId the relation id
|
||||
* @return the relationship chain
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public Iterator<RelationshipNavigationObject> getRelationshipChain(String id, String relationId)
|
||||
throws RemoteException {
|
||||
return getRelationshipChain(id, relationId, null);
|
||||
}
|
||||
|
||||
WebTarget target = endpoint.path(profileID).
|
||||
path(InterfaceConstants.Methods.RELATIONSHIP).
|
||||
path(id).
|
||||
path(relationId);
|
||||
/**
|
||||
* Gets the relationship chain.
|
||||
*
|
||||
* @param id the id
|
||||
* @param relationId the relation id
|
||||
* @param deep the deep
|
||||
* @return the relationship chain
|
||||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public Iterator<RelationshipNavigationObject> getRelationshipChain(String id, String relationId, Boolean deep)
|
||||
throws RemoteException {
|
||||
try {
|
||||
log.debug("Get relationship chain ID {} for {} [useCaseDescriptor {} , class {}]", relationId, id,
|
||||
profileID, getManagedClass());
|
||||
Call<WebTarget, Iterator<RelationshipNavigationObject>> call = endpoint -> {
|
||||
|
||||
if(deep!=null) target = target.queryParam(InterfaceConstants.Parameters.DEEP,deep);
|
||||
WebTarget target = endpoint.path(profileID).path(InterfaceConstants.Methods.RELATIONSHIP).path(id)
|
||||
.path(relationId);
|
||||
|
||||
String jsonChain = ResponseCommons.check(target.request(MediaType.APPLICATION_JSON).
|
||||
get(),String.class);
|
||||
if (deep != null)
|
||||
target = target.queryParam(InterfaceConstants.Parameters.DEEP, deep);
|
||||
|
||||
return Serialization.readCollection(jsonChain,RelationshipNavigationObject.class);
|
||||
};
|
||||
return delegate.make(call);
|
||||
}catch(RemoteException e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw e;
|
||||
}catch(Exception e){
|
||||
log.error("Unexpected error ",e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
String jsonChain = ResponseCommons.check(target.request(MediaType.APPLICATION_JSON).get(),
|
||||
String.class);
|
||||
|
||||
return Serialization.readCollection(jsonChain, RelationshipNavigationObject.class);
|
||||
};
|
||||
return delegate.make(call);
|
||||
} catch (RemoteException e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected error ", e);
|
||||
throw new RemoteException("Unexpected Error", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
package org.gcube.application.geoportal.client;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
|
||||
import org.gcube.application.geoportal.client.utils.Serialization;
|
||||
import org.gcube.application.geoportal.common.model.configuration.Configuration;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
|
@ -14,14 +20,11 @@ import org.gcube.application.geoportal.common.rest.MongoConcessioni;
|
|||
import org.gcube.common.clients.Call;
|
||||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Iterator;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package org.gcube.application.geoportal.client;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.configuration.Configuration;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
import org.gcube.application.geoportal.common.model.rest.AddSectionToConcessioneRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.QueryRequest;
|
||||
import org.gcube.application.geoportal.common.rest.MongoConcessioni;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
public class DefaultProfiledConcessioni implements MongoConcessioni {
|
||||
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.gcube.application.geoportal.client;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import javax.ws.rs.core.Response;
|
||||
|
||||
import org.gcube.application.geoportal.client.utils.Serialization;
|
||||
|
||||
import javax.ws.rs.core.Response;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class ResponseCommons {
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
package org.gcube.application.geoportal.client;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Iterator;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.client.utils.Serialization;
|
||||
import org.gcube.application.geoportal.common.model.rest.QueryRequest;
|
||||
|
@ -11,11 +15,9 @@ import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
|||
import org.gcube.application.geoportal.common.rest.UseCaseDescriptorsI;
|
||||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Iterator;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import static org.gcube.application.geoportal.client.plugins.GeoportalAbstractPlugin.concessioni;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
import org.gcube.application.geoportal.common.rest.ConcessioniI;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
|
@ -7,15 +16,8 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
|||
import com.fasterxml.jackson.databind.ObjectReader;
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
import org.gcube.application.geoportal.common.rest.ConcessioniI;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import static org.gcube.application.geoportal.client.plugins.GeoportalAbstractPlugin.concessioni;
|
||||
|
||||
@Slf4j
|
||||
public class ConcessioniManager{
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.*;
|
||||
import org.gcube.application.geoportal.common.model.legacy.AbstractRelazione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.InputStreamDescriptor;
|
||||
import org.gcube.application.geoportal.common.model.legacy.LayerConcessione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.RelazioneScavo;
|
||||
import org.gcube.application.geoportal.common.model.legacy.UploadedImage;
|
||||
import org.gcube.application.geoportal.common.model.rest.TempFile;
|
||||
import org.gcube.application.geoportal.common.rest.MongoConcessioni;
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
import org.gcube.application.geoportal.client.plugins.GeoportalAbstractPlugin;
|
||||
import org.gcube.application.geoportal.common.rest.ConcessioniI;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
|
@ -9,11 +14,6 @@ import org.gcube.common.clients.config.ProxyConfig;
|
|||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
public class ConcessioniPlugin extends GeoportalAbstractPlugin<WebTarget, ConcessioniI>{
|
||||
|
||||
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.gcube.application.geoportal.common.rest.ConcessioniI;
|
||||
import org.gcube.common.clients.Call;
|
||||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
|
||||
import javax.ws.rs.client.Entity;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import org.gcube.application.geoportal.common.rest.ConcessioniI;
|
||||
import org.gcube.common.clients.Call;
|
||||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
public class DefaultConcessioni implements ConcessioniI{
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
import org.gcube.application.geoportal.client.DefaultMongoConcessioni;
|
||||
import org.gcube.application.geoportal.client.plugins.GeoportalAbstractPlugin;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
|
@ -10,11 +15,6 @@ import org.gcube.common.clients.config.ProxyConfig;
|
|||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
public class MongoConcessioniPlugin extends GeoportalAbstractPlugin<WebTarget, MongoConcessioni>{
|
||||
|
||||
|
||||
|
|
|
@ -1,19 +1,26 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import lombok.Getter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
|
||||
import org.gcube.application.geoportal.client.DefaultMongoConcessioni;
|
||||
import org.gcube.application.geoportal.common.model.legacy.*;
|
||||
import org.gcube.application.geoportal.common.model.legacy.AbstractRelazione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione.Paths;
|
||||
import org.gcube.application.geoportal.common.model.legacy.InputStreamDescriptor;
|
||||
import org.gcube.application.geoportal.common.model.legacy.LayerConcessione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.RelazioneScavo;
|
||||
import org.gcube.application.geoportal.common.model.legacy.UploadedImage;
|
||||
import org.gcube.application.geoportal.common.model.rest.AddSectionToConcessioneRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.TempFile;
|
||||
import org.gcube.application.geoportal.common.utils.FileSets;
|
||||
import org.gcube.application.geoportal.common.utils.StorageUtils;
|
||||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import lombok.Getter;
|
||||
|
||||
|
||||
public class StatefulMongoConcessioni extends DefaultMongoConcessioni implements ConcessioniManagerI{
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
package org.gcube.application.geoportal.client.legacy;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
import org.gcube.application.geoportal.client.plugins.GeoportalAbstractPlugin;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
import org.gcube.common.calls.jaxrs.GcubeService;
|
||||
|
@ -8,11 +13,6 @@ import org.gcube.common.clients.config.ProxyConfig;
|
|||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
public class StatefulMongoConcessioniPlugin extends GeoportalAbstractPlugin<WebTarget, ConcessioniManagerI>{
|
||||
|
||||
|
||||
|
|
|
@ -1,18 +1,23 @@
|
|||
package org.gcube.application.geoportal.client.plugins;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
|
||||
import org.gcube.application.geoportal.client.legacy.ConcessioniManagerI;
|
||||
import org.gcube.application.geoportal.client.legacy.ConcessioniPlugin;
|
||||
import org.gcube.application.geoportal.client.legacy.MongoConcessioniPlugin;
|
||||
import org.gcube.application.geoportal.client.legacy.StatefulMongoConcessioniPlugin;
|
||||
import org.gcube.application.geoportal.common.model.document.Project;
|
||||
import org.gcube.application.geoportal.common.rest.*;
|
||||
import org.gcube.application.geoportal.common.rest.ConcessioniI;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
import org.gcube.application.geoportal.common.rest.MongoConcessioni;
|
||||
import org.gcube.application.geoportal.common.rest.Projects;
|
||||
import org.gcube.application.geoportal.common.rest.UseCaseDescriptorsI;
|
||||
import org.gcube.common.clients.Plugin;
|
||||
import org.gcube.common.clients.ProxyBuilder;
|
||||
import org.gcube.common.clients.ProxyBuilderImpl;
|
||||
import org.gcube.common.clients.config.ProxyConfig;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@AllArgsConstructor
|
||||
public abstract class GeoportalAbstractPlugin <S, P> implements Plugin<S, P>{
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package org.gcube.application.geoportal.client.plugins;
|
||||
|
||||
import com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
import org.gcube.application.geoportal.client.DefaultDocumentsClient;
|
||||
import org.gcube.application.geoportal.client.utils.Serialization;
|
||||
import org.gcube.application.geoportal.common.model.document.Project;
|
||||
|
@ -17,10 +16,13 @@ import org.gcube.common.clients.config.ProxyConfig;
|
|||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
import com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
package org.gcube.application.geoportal.client.plugins;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
import org.gcube.application.geoportal.client.UseCaseDescriptors;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
import org.gcube.application.geoportal.common.rest.UseCaseDescriptorsI;
|
||||
|
@ -9,11 +14,6 @@ import org.gcube.common.clients.config.ProxyConfig;
|
|||
import org.gcube.common.clients.delegates.ProxyDelegate;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.transform.dom.DOMResult;
|
||||
import javax.xml.ws.EndpointReference;
|
||||
|
||||
public class UCDPlugin extends GeoportalAbstractPlugin<WebTarget, UseCaseDescriptorsI>{
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
package org.gcube.application.geoportal.client.utils;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.gcube.application.geoportal.common.model.legacy.*;
|
||||
import org.gcube.application.geoportal.common.model.rest.AddSectionToConcessioneRequest;
|
||||
import org.gcube.application.geoportal.common.rest.MongoConcessioni;
|
||||
import org.gcube.application.geoportal.common.utils.StorageUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.AbstractRelazione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.AssociatedContent;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.LayerConcessione;
|
||||
import org.gcube.application.geoportal.common.model.legacy.PersistedContent;
|
||||
import org.gcube.application.geoportal.common.model.legacy.RelazioneScavo;
|
||||
import org.gcube.application.geoportal.common.model.legacy.WorkspaceContent;
|
||||
import org.gcube.application.geoportal.common.model.rest.AddSectionToConcessioneRequest;
|
||||
import org.gcube.application.geoportal.common.rest.MongoConcessioni;
|
||||
import org.gcube.application.geoportal.common.utils.StorageUtils;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class ConcessioniUtils {
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
package org.gcube.application.geoportal.client.utils;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.model.rest.QueryRequest;
|
||||
import org.gcube.application.geoportal.common.utils.Files;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.model.rest.QueryRequest;
|
||||
import org.gcube.application.geoportal.common.utils.Files;
|
||||
|
||||
public class Queries {
|
||||
|
||||
|
||||
|
|
|
@ -1,20 +1,27 @@
|
|||
package org.gcube.application.geoportal.client.utils;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonGenerator;
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.*;
|
||||
import com.fasterxml.jackson.databind.module.SimpleModule;
|
||||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
||||
import com.vdurmont.semver4j.Semver;
|
||||
import org.bson.Document;
|
||||
import org.bson.types.ObjectId;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.bson.Document;
|
||||
import org.bson.types.ObjectId;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonGenerator;
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.DeserializationContext;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.JsonDeserializer;
|
||||
import com.fasterxml.jackson.databind.JsonSerializer;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.fasterxml.jackson.databind.SerializerProvider;
|
||||
import com.fasterxml.jackson.databind.module.SimpleModule;
|
||||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
||||
import com.vdurmont.semver4j.Semver;
|
||||
|
||||
public class Serialization {
|
||||
|
||||
public static final DateTimeFormatter FULL_FORMATTER=DateTimeFormatter.ofPattern("uuuuMMdd_HH-mm-ss");
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# Changelog for org.gcube.application.geoportal-common
|
||||
|
||||
## [v1.0.13] - 2023-09-06
|
||||
- Using parent range version [#25572]
|
||||
|
||||
## [v1.0.12] - 2023-05-11
|
||||
- Integrated the PATCH method [#24985]
|
||||
|
||||
## [v1.0.11] - 2023-01-10
|
||||
- Pom updates
|
||||
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>geoportal-common</artifactId>
|
||||
<version>1.0.11</version>
|
||||
<version>1.0.13</version>
|
||||
<name>Geoportal Common</name>
|
||||
|
||||
|
||||
<parent>
|
||||
<groupId>org.gcube.application.cms</groupId>
|
||||
<artifactId>gcube-cms-suite</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||
</parent>
|
||||
|
||||
|
||||
<properties>
|
||||
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
|
||||
<sis.version>1.0</sis.version>
|
||||
|
|
|
@ -1,19 +1,25 @@
|
|||
package org.gcube.application.geoportal.common.model;
|
||||
|
||||
|
||||
import com.jayway.jsonpath.*;
|
||||
import lombok.Getter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.gcube.application.geoportal.common.JSONSerializationProvider;
|
||||
import org.reflections.Reflections;
|
||||
import org.reflections.util.ConfigurationBuilder;
|
||||
import org.reflections.util.FilterBuilder;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.gcube.application.geoportal.common.JSONSerializationProvider;
|
||||
import org.reflections.Reflections;
|
||||
import org.reflections.util.ConfigurationBuilder;
|
||||
import org.reflections.util.FilterBuilder;
|
||||
|
||||
import com.jayway.jsonpath.Configuration;
|
||||
import com.jayway.jsonpath.DocumentContext;
|
||||
import com.jayway.jsonpath.JsonPath;
|
||||
import com.jayway.jsonpath.Option;
|
||||
import com.jayway.jsonpath.TypeRef;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class JSONPathWrapper {
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package org.gcube.application.geoportal.common.model.configuration;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.bson.Document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
public class Archive extends Document {
|
||||
public static final String TYPE = "_type";
|
||||
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
package org.gcube.application.geoportal.common.model.configuration;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@XmlRootElement
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package org.gcube.application.geoportal.common.model.configuration;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.bson.Document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
public class Index extends Document {
|
||||
|
||||
public static class KnownTypes{
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package org.gcube.application.geoportal.common.model.configuration;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MongoConnection {
|
||||
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
package org.gcube.application.geoportal.common.model.document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
import org.gcube.application.geoportal.common.model.document.accounting.AccountingInfo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
|
|
|
@ -1,21 +1,27 @@
|
|||
package org.gcube.application.geoportal.common.model.document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.vdurmont.semver4j.Semver;
|
||||
import lombok.*;
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.model.document.accounting.PublicationInfo;
|
||||
import org.gcube.application.geoportal.common.model.document.identification.IdentificationReference;
|
||||
import org.gcube.application.geoportal.common.model.document.lifecycle.LifecycleInformation;
|
||||
import org.gcube.application.geoportal.common.model.document.relationships.Relationship;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.model.document.accounting.PublicationInfo;
|
||||
import org.gcube.application.geoportal.common.model.document.identification.IdentificationReference;
|
||||
import org.gcube.application.geoportal.common.model.document.lifecycle.LifecycleInformation;
|
||||
import org.gcube.application.geoportal.common.model.document.relationships.Relationship;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.vdurmont.semver4j.Semver;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.document.access;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
package org.gcube.application.geoportal.common.model.document.accounting;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.document.accounting;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
package org.gcube.application.geoportal.common.model.document.accounting;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
import org.gcube.application.geoportal.common.model.document.access.Access;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
package org.gcube.application.geoportal.common.model.document.accounting;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
package org.gcube.application.geoportal.common.model.document.filesets;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.ToString;
|
||||
import org.bson.Document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import lombok.ToString;
|
||||
|
||||
@ToString (callSuper = true)
|
||||
public class Materialization extends Document {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.gcube.application.geoportal.common.model.document.filesets;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.document.filesets;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.ToString;
|
||||
import java.util.List;
|
||||
|
||||
import org.bson.Document;
|
||||
|
||||
import java.util.List;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import lombok.ToString;
|
||||
|
||||
|
||||
@ToString (callSuper = true)
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
package org.gcube.application.geoportal.common.model.document.filesets.sdi;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.model.document.filesets.Materialization;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.model.document.filesets.Materialization;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
public class GCubeSDILayer extends Materialization {
|
||||
|
||||
@Data
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package org.gcube.application.geoportal.common.model.document.filesets.sdi;
|
||||
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
public class GeoServerPlatform extends PlatformInfo{
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package org.gcube.application.geoportal.common.model.document.filesets.sdi;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.bson.Document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
|
||||
public class PlatformInfo extends Document {
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
package org.gcube.application.geoportal.common.model.document.identification;
|
||||
|
||||
import org.bson.Document;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.ToString;
|
||||
import org.bson.Document;
|
||||
|
||||
@ToString(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.gcube.application.geoportal.common.model.document.identification;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.ToString;
|
||||
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
package org.gcube.application.geoportal.common.model.document.lifecycle;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class LifecycleInformation {
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package org.gcube.application.geoportal.common.model.document.lifecycle;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class TriggeredEvents {
|
||||
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.document.relationships;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
package org.gcube.application.geoportal.common.model.document.relationships;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.*;
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.document.Project;
|
||||
|
||||
import java.util.List;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.NonNull;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlElements;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlElements;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.ToString;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Getter
|
||||
@NoArgsConstructor
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.gcube.application.geoportal.common.faults.InvalidRequestException;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.Check;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ConstraintCheck;
|
||||
|
@ -10,11 +14,9 @@ import org.gcube.application.geoportal.common.model.legacy.report.ValidationRepo
|
|||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport.ValidationStatus;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@ToString(callSuper=true)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.NonNull;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
@Data
|
||||
@Getter
|
||||
@Setter
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
|
||||
@Getter
|
||||
|
|
|
@ -3,6 +3,7 @@ package org.gcube.application.geoportal.common.model.legacy;
|
|||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ConstraintCheck;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ConstraintCheck;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
import org.gcube.application.geoportal.common.model.legacy.report.ValidationReport;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
import org.gcube.application.geoportal.common.utils.CollectionsUtils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy.report;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Slf4j
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy.report;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Record;
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.legacy.Record;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@XmlAccessorType(XmlAccessType.NONE)
|
||||
public class PublicationReport extends ValidationReport implements Serializable{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package org.gcube.application.geoportal.common.model.legacy.report;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class ValidationReport implements Serializable{
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
package org.gcube.application.geoportal.common.model.plugins;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
package org.gcube.application.geoportal.common.model.plugins;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.gcube.application.geoportal.common.model.useCaseDescriptor.Field;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.gcube.application.geoportal.common.model.useCaseDescriptor.Field;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@Data
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
package org.gcube.application.geoportal.common.model.plugins;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import com.vdurmont.semver4j.Semver;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
package org.gcube.application.geoportal.common.model.rest;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.bson.Document;
|
||||
import org.gcube.application.geoportal.common.faults.InvalidRequestException;
|
||||
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.List;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@XmlRootElement
|
||||
@Data
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.gcube.application.geoportal.common.model.rest;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
import org.bson.Document;
|
||||
|
||||
import java.util.List;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class QueryRequest {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue