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": [
"Pending Approval"
],
"last_invoked_step": "SUBMIT-FOR-REVIEW",
"notify": [
{
"type": "EMAIL",
"type": "USER_NOTIFICATION",
"send": true,
"attach_pdf_document": false,
"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_title": "TITLE_REVIEW_REQUIRED",
"placeholder_msg": "MSG_REVIEW_REQUIRED"
}
]
},
{
"target_phase": [
"Rejected"
"DRAFT"
],
"last_invoked_step": "REJECT-DRAFT",
"notify": [
{
"type": "EMAIL",
"type": "USER_NOTIFICATION",
"send": true,
"attach_pdf_document": false,
"message": "The project ${project_name} has just been rejected by ${user}"
"placeholder_title": "TITLE_ITEM_REJECTED",
"placeholder_msg": "MSG_ITEM_REJECTED"
}
]
}
@ -246,27 +248,40 @@
"when": [
{
"target_phase": [
"Rejected"
"DRAFT"
],
"last_invoked_step": "REJECT-DRAFT",
"notify": [
{
"type": "EMAIL",
"type": "USER_NOTIFICATION",
"send": true,
"attach_pdf_document": false,
"message": "The project ${project_name} has just been rejected. You are kindly requested to review it"
"placeholder_title": "TITLE_ITEM_REJECTED_REVIEW_REQUIRED",
"placeholder_msg": "MSG_ITEM_REJECTED_REVIEW_REQUIRED"
}
]
},
}
]
},
{
"roles": [
"Any"
],
"when": [
{
"target_phase": [
"Published"
],
"last_invoked_step": "APPROVE-SUBMITTED",
"notify": [
{
"type": "EMAIL",
"type": "VRE_POST",
"send": true,
"attach_pdf_document": false,
"message": "The project ${project_name} has just been published. See it at @link"
"placeholder_title": "TITLE_ITEM_PUBLISHED",
"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"
}
},
{