updated test.commons. Updated user to user_caller into Messages

This commit is contained in:
Francesco Mangiacrapa 2024-04-15 14:56:50 +02:00
parent 47670fdac7
commit 15ad448778
3 changed files with 114 additions and 114 deletions

View File

@ -1,6 +1,6 @@
# REVIEW ACTION
TITLE_REVIEW_REQUIRED=Review required for ${project_name}
MSG_REVIEW_REQUIRED=${user} submitted the project '${project_name}'. You are kindly requested to review it and decide either to APPROVE or REJECT it. See the Project at ${private_data_entry_link}
MSG_REVIEW_REQUIRED=${user_caller} submitted the project '${project_name}'. You are kindly requested to review it and decide either to APPROVE or REJECT it. See the Project at ${private_data_entry_link}
# REJECTED ACTION
TITLE_ITEM_REJECTED=Rejected ${project_name}
MSG_ITEM_REJECTED=The project ${project_name} (id: ${project_id}) has just been rejected by ${user_caller}. See the Project at ${private_data_entry_link}

View File

@ -12,7 +12,7 @@
<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>

View File

@ -37,9 +37,9 @@ public class TokenSetter {
static{
try {
props.load(TokenSetter.class.getResourceAsStream("/tokens.properties"));
props.load(TokenSetter.class.getResourceAsStream("./tokens.properties"));
} catch (Exception e) {
throw new RuntimeException("YOU NEED TO SET TOKEN FILE IN CONFIGURATION",e);
throw new RuntimeException("YOU NEED TO SET tokens.properties TOKEN FILE IN CONFIGURATION",e);
}
}