This commit is contained in:
Nunzio Andrea Galante 2017-07-24 15:57:53 +00:00
parent 6fff1630d4
commit 057c37a38d
2 changed files with 7 additions and 5 deletions

View File

@ -77,11 +77,12 @@ public class ProductionPublishingJob extends DMPMJob {
public String buildInfo(){
return
"\n"+
"Algorithm details:"+
"\n"+
"User: "+this.algorithm.getFullname()+"\n"+
"Algorithm name: "+this.algorithm.getName()+"\n"+
"Caller VRE: "+ScopeProvider.instance.get()+"\n"+
"Target VRE: "+ targetVREToken;
"Target VRE: "+targetVREName+"\n";
}

View File

@ -94,7 +94,7 @@ public class StagingJob extends DMPMJob {
this.algorithm.getFullname(), "Proto");
this.getStatus(9);
sm.sendNotification(nh.getSuccessSubject() + "for "+this.algorithm.getName()+ " algorithm", nh.getSuccessBody(this.buildInfo()));
sm.sendNotification(nh.getSuccessSubject() + " for "+this.algorithm.getName()+ " algorithm", nh.getSuccessBody(this.buildInfo()));
return;
} else
this.getStatus(2);
@ -144,12 +144,13 @@ public class StagingJob extends DMPMJob {
ServiceConfiguration a = new ServiceConfiguration();
return
"\n"+
"Algorithm details:"+
"\n"+
"User: "+this.algorithm.getFullname()+"\n"+
"Algorithm name: "+this.algorithm.getName()+"\n"+
"Staging DataMiner Host: "+ a.getStagingHost()+
"Caller VRE: "+rProtoVREName+
"Target VRE: "+rProtoVREName;
"Staging DataMiner Host: "+ a.getStagingHost()+"\n"+
"Caller VRE: "+rProtoVREName+"\n"+
"Target VRE: "+rProtoVREName+"\n";
}