git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@8283 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a39c32f346
commit
a1e9228094
|
@ -105,6 +105,7 @@ public class DeployVRE implements Runnable{
|
|||
System.out.println("fin qui ci sono 2");
|
||||
services.setGHN(new String[]{this.getParameter().second});
|
||||
arp.setServices(services);
|
||||
System.out.println(ServiceContext.getContext().getScope().toString());
|
||||
arp.setTargetScope(ServiceContext.getContext().getScope().toString()+"/"+this.getParameter().first);
|
||||
String reportId=mbportType.addResources(arp);
|
||||
System.out.println("fin qui ci sono 3");
|
||||
|
@ -114,12 +115,15 @@ public class DeployVRE implements Runnable{
|
|||
this.wait(30000);
|
||||
report=mbportType.getReport(reportId);
|
||||
attempt++;
|
||||
System.out.println("report:");
|
||||
System.out.println(report);
|
||||
}while (!isDeploymentStatusFinished(report) && attempt<10);
|
||||
}catch(Exception e){e.printStackTrace(); throw e;}
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
System.out.println(vreName);
|
||||
System.out.println(firstGHNId);
|
||||
vreManagerHandler.setHandled(new GCUBEServiceClientImpl());
|
||||
Couple<String, String> coupleParams= new Couple<String, String>(vreName, firstGHNId);
|
||||
vreManagerHandler.setParameter(coupleParams);
|
||||
|
|
Loading…
Reference in New Issue