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 {
|
try {
|
||||||
deployManagerOnVRE();
|
deployManagerOnVRE();
|
||||||
createVRE();
|
createVRE();
|
||||||
logger.info("FINISHED");
|
logger.info("Dploying of the VRE with id "+this.resourceId+" FINISHED");
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
|
logger.error("Error deploying the VRE with id "+this.resourceId+" "+e);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -125,8 +126,8 @@ public class DeployVRE extends Thread{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
System.out.println(vreName);
|
|
||||||
System.out.println(firstGHNId);
|
vreManagerHandler.clearState();
|
||||||
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);
|
||||||
|
@ -135,7 +136,7 @@ public class DeployVRE extends Thread{
|
||||||
try {
|
try {
|
||||||
vreManagerHandler.run();
|
vreManagerHandler.run();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error deploying the VRE "+e);
|
logger.error("DeployingVRE step 1 -- failed "+e);
|
||||||
throw new GCUBEFault(e);
|
throw new GCUBEFault(e);
|
||||||
}
|
}
|
||||||
this.vreName= vreName;
|
this.vreName= vreName;
|
||||||
|
@ -146,6 +147,7 @@ public class DeployVRE extends Thread{
|
||||||
VREManagerServiceHandler<String, String> vreManagerHandler= new VREManagerServiceHandler<String,String>(){
|
VREManagerServiceHandler<String, String> vreManagerHandler= new VREManagerServiceHandler<String,String>(){
|
||||||
|
|
||||||
//the parameter is resourceID
|
//the parameter is resourceID
|
||||||
|
@SuppressWarnings("static-access")
|
||||||
@Override
|
@Override
|
||||||
protected String makeCall(VREManagerPortType vreManPortType)
|
protected String makeCall(VREManagerPortType vreManPortType)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
@ -276,6 +278,7 @@ public class DeployVRE extends Thread{
|
||||||
try {
|
try {
|
||||||
vreManagerHandler.run();
|
vreManagerHandler.run();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
logger.error("DeployingVRE step 2 -- failed "+e);
|
||||||
throw new GCUBEFault(e);
|
throw new GCUBEFault(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue