From fb5b527a13192e1e6113ee9b0ea166e88b6861e3 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 19 Jan 2024 18:27:25 +0100 Subject: [PATCH] added "Catalogue-Binding-Plugin" config --- .../profiles/Concessioni.json | 52 ++++++++++--------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/test-data/profiledDocuments/profiles/Concessioni.json b/test-data/profiledDocuments/profiles/Concessioni.json index 53d8ede..836b9d0 100644 --- a/test-data/profiledDocuments/profiles/Concessioni.json +++ b/test-data/profiledDocuments/profiles/Concessioni.json @@ -184,6 +184,20 @@ ] } }, + { + "_id": "Catalogue-Binding-Plugin", + "_type": "EventListener", + "_configuration": { + "subscribeEvents": [ + { + "event": "PROJECT_CREATED" + }, + { + "event": "PROJECT_UPDATED" + } + ] + } + }, { "_id": "SDI-Indexer-Plugin", "_type": "Indexer", @@ -228,7 +242,7 @@ "type": "TEXT" }, { - "name": "ufficio_MiC_competente", + "name": "ufficio_mic_competente", "path": "$._theDocument.ufficioMic", "type": "TEXT" }, @@ -315,7 +329,7 @@ "type": "replaceAll", "regex": "(\\s)?\\([\\s\\S]*", "replacement": "" - } + } }, { "name": "specifiche_cronologia", @@ -329,7 +343,7 @@ }, { "name": "quota_min", - "path": "$._theDocument.quotaMax", + "path": "$._theDocument.quotaMin", "type": "TEXT" } ], @@ -448,12 +462,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", @@ -481,16 +495,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": [ @@ -504,11 +508,9 @@ { "label": "Director/Staff", "paths": [ - "_theDocument.authors", "_theDocument.contributore", - "_theDocument.titolari", - "_theDocument.editore", - "_theDocument.responsabile" + "_theDocument.responsabile", + "_theDocument.editore" ], "operator": "$or", "searchable": true, @@ -519,6 +521,7 @@ "label": "Keywords", "paths": [ "_theDocument.paroleChiaveLibere", + "_theDocument.cronologiaMacrofase", "_theDocument.paroleChiaveICCD" ], "operator": "$or", @@ -579,12 +582,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", @@ -635,11 +638,9 @@ { "label": "Director/Staff", "paths": [ - "_theDocument.authors", "_theDocument.contributore", - "_theDocument.titolari", - "_theDocument.editore", - "_theDocument.responsabile" + "_theDocument.responsabile", + "_theDocument.editore" ], "operator": "$or", "searchable": true, @@ -650,6 +651,7 @@ "label": "Keywords", "paths": [ "_theDocument.paroleChiaveLibere", + "_theDocument.cronologiaMacrofase", "_theDocument.paroleChiaveICCD" ], "operator": "$or",