Snapshot build
This commit is contained in:
parent
490a4b9f7d
commit
9acbcbf08b
|
@ -397,7 +397,12 @@ public class ExportConcessioniAsProjects {
|
||||||
|
|
||||||
|
|
||||||
// Submit for review
|
// Submit for review
|
||||||
project = client.performStep(project.getId(),step());
|
project = client.performStep(project.getId(),step("SUBMIT-FOR-REVIEW"));
|
||||||
|
|
||||||
|
//
|
||||||
|
if(project.getLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK))
|
||||||
|
project = client.performStep(project.getId(), step("APPROVE-SUBMITTED"));
|
||||||
|
|
||||||
|
|
||||||
System.out.println("Done "+c.getId()+" in "+(System.currentTimeMillis()-startTime)/1000+" sec");
|
System.out.println("Done "+c.getId()+" in "+(System.currentTimeMillis()-startTime)/1000+" sec");
|
||||||
|
|
||||||
|
@ -437,9 +442,9 @@ public class ExportConcessioniAsProjects {
|
||||||
return toReturn;
|
return toReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final StepExecutionRequest step(){
|
private static final StepExecutionRequest step(String id){
|
||||||
StepExecutionRequest toReturn = new StepExecutionRequest();
|
StepExecutionRequest toReturn = new StepExecutionRequest();
|
||||||
toReturn.setStepID("SUBMIT-FOR-REVIEW");
|
toReturn.setStepID(id);
|
||||||
return toReturn;
|
return toReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue