git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@8459 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
58c65de5e3
commit
78a6bd674b
|
@ -62,8 +62,9 @@ public class DeployVRE extends Thread{
|
|||
try {
|
||||
deployManagerOnVRE();
|
||||
createVRE();
|
||||
logger.info("FINISHED");
|
||||
logger.info("Dploying of the VRE with id "+this.resourceId+" FINISHED");
|
||||
}catch(Exception e){
|
||||
logger.error("Error deploying the VRE with id "+this.resourceId+" "+e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
@ -125,8 +126,8 @@ public class DeployVRE extends Thread{
|
|||
return "";
|
||||
}
|
||||
};
|
||||
System.out.println(vreName);
|
||||
System.out.println(firstGHNId);
|
||||
|
||||
vreManagerHandler.clearState();
|
||||
vreManagerHandler.setHandled(new GCUBEServiceClientImpl());
|
||||
Couple<String, String> coupleParams= new Couple<String, String>(vreName, firstGHNId);
|
||||
vreManagerHandler.setParameter(coupleParams);
|
||||
|
@ -135,7 +136,7 @@ public class DeployVRE extends Thread{
|
|||
try {
|
||||
vreManagerHandler.run();
|
||||
} catch (Exception e) {
|
||||
logger.error("Error deploying the VRE "+e);
|
||||
logger.error("DeployingVRE step 1 -- failed "+e);
|
||||
throw new GCUBEFault(e);
|
||||
}
|
||||
this.vreName= vreName;
|
||||
|
@ -146,6 +147,7 @@ public class DeployVRE extends Thread{
|
|||
VREManagerServiceHandler<String, String> vreManagerHandler= new VREManagerServiceHandler<String,String>(){
|
||||
|
||||
//the parameter is resourceID
|
||||
@SuppressWarnings("static-access")
|
||||
@Override
|
||||
protected String makeCall(VREManagerPortType vreManPortType)
|
||||
throws Exception {
|
||||
|
@ -276,6 +278,7 @@ public class DeployVRE extends Thread{
|
|||
try {
|
||||
vreManagerHandler.run();
|
||||
} catch (Exception e) {
|
||||
logger.error("DeployingVRE step 2 -- failed "+e);
|
||||
throw new GCUBEFault(e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue