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");
|
System.out.println("fin qui ci sono 2");
|
||||||
services.setGHN(new String[]{this.getParameter().second});
|
services.setGHN(new String[]{this.getParameter().second});
|
||||||
arp.setServices(services);
|
arp.setServices(services);
|
||||||
|
System.out.println(ServiceContext.getContext().getScope().toString());
|
||||||
arp.setTargetScope(ServiceContext.getContext().getScope().toString()+"/"+this.getParameter().first);
|
arp.setTargetScope(ServiceContext.getContext().getScope().toString()+"/"+this.getParameter().first);
|
||||||
String reportId=mbportType.addResources(arp);
|
String reportId=mbportType.addResources(arp);
|
||||||
System.out.println("fin qui ci sono 3");
|
System.out.println("fin qui ci sono 3");
|
||||||
|
@ -114,12 +115,15 @@ public class DeployVRE implements Runnable{
|
||||||
this.wait(30000);
|
this.wait(30000);
|
||||||
report=mbportType.getReport(reportId);
|
report=mbportType.getReport(reportId);
|
||||||
attempt++;
|
attempt++;
|
||||||
|
System.out.println("report:");
|
||||||
|
System.out.println(report);
|
||||||
}while (!isDeploymentStatusFinished(report) && attempt<10);
|
}while (!isDeploymentStatusFinished(report) && attempt<10);
|
||||||
}catch(Exception e){e.printStackTrace(); throw e;}
|
}catch(Exception e){e.printStackTrace(); throw e;}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
System.out.println(vreName);
|
||||||
|
System.out.println(firstGHNId);
|
||||||
vreManagerHandler.setHandled(new GCUBEServiceClientImpl());
|
vreManagerHandler.setHandled(new GCUBEServiceClientImpl());
|
||||||
Couple<String, String> coupleParams= new Couple<String, String>(vreName, firstGHNId);
|
Couple<String, String> coupleParams= new Couple<String, String>(vreName, firstGHNId);
|
||||||
vreManagerHandler.setParameter(coupleParams);
|
vreManagerHandler.setParameter(coupleParams);
|
||||||
|
|
Loading…
Reference in New Issue