2024-05-09 11:31:55 +02:00
|
|
|
{
|
2024-05-09 15:20:12 +02:00
|
|
|
"_id": "test_basemodel",
|
2024-05-09 11:31:55 +02:00
|
|
|
"_version": "1.0.0",
|
|
|
|
"_name": "Test_BaseModel",
|
|
|
|
"_schema": {
|
|
|
|
"planimetria": {
|
|
|
|
"_children": [
|
|
|
|
{
|
|
|
|
"fileset": {
|
|
|
|
"_type": "RegisteredFileSet"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_description": "UCD for BaseModel Test",
|
|
|
|
"_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": "DEFAULT-SINGLE-STEP",
|
|
|
|
"_type": "LifecycleManagement",
|
|
|
|
"_configuration": {
|
|
|
|
"step_access": [
|
|
|
|
{
|
|
|
|
"STEP": "PUBLISH",
|
|
|
|
"roles": [
|
|
|
|
"Data-Manager",
|
|
|
|
"Data-Editor"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": "SDI-Default-Materializer",
|
|
|
|
"_type": "Materializer",
|
|
|
|
"_configuration": {
|
|
|
|
"registeredFileSetPaths": [
|
|
|
|
{
|
|
|
|
"schemaField": "planimetria",
|
|
|
|
"documentPath": "planimetria.fileset"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_id": "SDI-Indexer-Plugin",
|
|
|
|
"_type": "Indexer",
|
|
|
|
"_configuration": {
|
|
|
|
"bboxEvaluation": [
|
|
|
|
"$..planimetria.._bbox"
|
|
|
|
],
|
|
|
|
"explicitFieldMapping": [
|
|
|
|
{
|
|
|
|
"name": "titolo",
|
|
|
|
"path": "$._theDocument.titolo",
|
|
|
|
"type": "TEXT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "denominazione",
|
|
|
|
"path": "$._theDocument.denominazione",
|
|
|
|
"type": "TEXT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "descrizione",
|
|
|
|
"path": "$._theDocument.descrizione",
|
|
|
|
"type": "TEXT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cronologia",
|
|
|
|
"path": "$._theDocument.cronologia",
|
|
|
|
"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": "Test_Dati_Descrittivi",
|
|
|
|
"sectionName": "$.",
|
|
|
|
"sectionTitle": "Dati Descrittivi"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"gcubeSecondaryType": "GeoportalMetadata",
|
|
|
|
"gcubeName": "Test_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.titolo",
|
|
|
|
"_theDocument.denominazione",
|
|
|
|
"_theDocument.descrizione",
|
|
|
|
"_theDocument.cronologia"
|
|
|
|
],
|
|
|
|
"operator": "$or",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": false,
|
|
|
|
"asResult": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Titolo",
|
|
|
|
"paths": [
|
|
|
|
"_theDocument.titolo"
|
|
|
|
],
|
|
|
|
"operator": "$and",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": true,
|
|
|
|
"asResult": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Denominazione/Descrizione",
|
|
|
|
"paths": [
|
|
|
|
"_theDocument.denominazione",
|
|
|
|
"_theDocument.descrizione"
|
|
|
|
],
|
|
|
|
"operator": "$or",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": false,
|
|
|
|
"asResult": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Chronology",
|
|
|
|
"paths": [
|
|
|
|
"_theDocument.cronologia"
|
|
|
|
],
|
|
|
|
"operator": "$and",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": true,
|
|
|
|
"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.titolo",
|
|
|
|
"_theDocument.denominazione",
|
|
|
|
"_theDocument.descrizione",
|
|
|
|
"_theDocument.cronologia"
|
|
|
|
],
|
|
|
|
"operator": "$or",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": false,
|
|
|
|
"asResult": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Title",
|
|
|
|
"paths": [
|
|
|
|
"_theDocument.titolo"
|
|
|
|
],
|
|
|
|
"operator": "$and",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": true,
|
|
|
|
"asResult": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Name",
|
|
|
|
"paths": [
|
|
|
|
"_theDocument.denominazione"
|
|
|
|
],
|
|
|
|
"operator": "$and",
|
|
|
|
"searchable": true,
|
|
|
|
"sortable": true,
|
|
|
|
"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": "publish",
|
|
|
|
"title": "Publish the Project",
|
|
|
|
"call_STEPS": [
|
|
|
|
"PUBLISH"
|
|
|
|
],
|
|
|
|
"description": "Publish the Project",
|
|
|
|
"display_on_phase": [
|
|
|
|
"DRAFT"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|