updated test.commons. Updated user to user_caller into Messages
This commit is contained in:
parent
47670fdac7
commit
15ad448778
|
@ -1,6 +1,6 @@
|
||||||
# REVIEW ACTION
|
# REVIEW ACTION
|
||||||
TITLE_REVIEW_REQUIRED=Review required for ${project_name}
|
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
|
# REJECTED ACTION
|
||||||
TITLE_ITEM_REJECTED=Rejected ${project_name}
|
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}
|
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}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.gcube.application.cms</groupId>
|
<groupId>org.gcube.application.cms</groupId>
|
||||||
<artifactId>gcube-cms-suite</artifactId>
|
<artifactId>gcube-cms-suite</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>[1.0.0, 2.0.0-SNAPSHOT)</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -37,9 +37,9 @@ public class TokenSetter {
|
||||||
|
|
||||||
static{
|
static{
|
||||||
try {
|
try {
|
||||||
props.load(TokenSetter.class.getResourceAsStream("/tokens.properties"));
|
props.load(TokenSetter.class.getResourceAsStream("./tokens.properties"));
|
||||||
} catch (Exception e) {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue