updated Concessioni.json test-data

This commit is contained in:
Francesco Mangiacrapa 2024-04-17 15:54:19 +02:00
parent 93576e5b19
commit f28685e9fb
1 changed files with 32 additions and 16 deletions

View File

@ -215,25 +215,27 @@
"target_phase": [ "target_phase": [
"Pending Approval" "Pending Approval"
], ],
"last_invoked_step": "SUBMIT-FOR-REVIEW",
"notify": [ "notify": [
{ {
"type": "EMAIL", "type": "USER_NOTIFICATION",
"send": true, "send": true,
"attach_pdf_document": false, "placeholder_title": "TITLE_REVIEW_REQUIRED",
"message": "${user} created the project ${project_name}. You are kindly requested to review it and decide either to APPROVE or REJECT it. See it at @link" "placeholder_msg": "MSG_REVIEW_REQUIRED"
} }
] ]
}, },
{ {
"target_phase": [ "target_phase": [
"Rejected" "DRAFT"
], ],
"last_invoked_step": "REJECT-DRAFT",
"notify": [ "notify": [
{ {
"type": "EMAIL", "type": "USER_NOTIFICATION",
"send": true, "send": true,
"attach_pdf_document": false, "placeholder_title": "TITLE_ITEM_REJECTED",
"message": "The project ${project_name} has just been rejected by ${user}" "placeholder_msg": "MSG_ITEM_REJECTED"
} }
] ]
} }
@ -246,27 +248,40 @@
"when": [ "when": [
{ {
"target_phase": [ "target_phase": [
"Rejected" "DRAFT"
], ],
"last_invoked_step": "REJECT-DRAFT",
"notify": [ "notify": [
{ {
"type": "EMAIL", "type": "USER_NOTIFICATION",
"send": true, "send": true,
"attach_pdf_document": false, "placeholder_title": "TITLE_ITEM_REJECTED_REVIEW_REQUIRED",
"message": "The project ${project_name} has just been rejected. You are kindly requested to review it" "placeholder_msg": "MSG_ITEM_REJECTED_REVIEW_REQUIRED"
} }
] ]
}, }
]
},
{
"roles": [
"Any"
],
"when": [
{ {
"target_phase": [ "target_phase": [
"Published" "Published"
], ],
"last_invoked_step": "APPROVE-SUBMITTED",
"notify": [ "notify": [
{ {
"type": "EMAIL", "type": "VRE_POST",
"send": true, "send": true,
"attach_pdf_document": false, "placeholder_title": "TITLE_ITEM_PUBLISHED",
"message": "The project ${project_name} has just been published. See it at @link" "placeholder_msg": "MSG_ITEM_PUBLISHED",
"export_as_pdf": {
"export": true,
"placeholder_msg": "MSG_GO_TO_PDF"
}
} }
] ]
} }
@ -275,7 +290,8 @@
] ]
} }
], ],
"link_to_messages": "link to file containg the messages as properties like ID_MESSAGE_{N} = value" "enabled": true,
"link_to_notifications_messages": "https://code-repo.d4science.org/gCubeSystem/gcube-cms-suite/raw/branch/event_manager/D4S_UCDs/DEV/devVRE/notifications/Notifications_Messages_ita.properties"
} }
}, },
{ {