public class VREGeneratorEvo extends Object implements VREGeneratorInterface
| Modifier and Type | Field and Description |
|---|---|
protected static AtomicInteger |
vreId |
| Constructor and Description |
|---|
VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session) |
VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session,
String id) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.vremanagement.vremodeler.utils.reports.DeployReport |
checkVREStatus() |
void |
deployVRE() |
List<org.gcube.vremanagement.vremodel.cl.stubs.types.Report> |
getAllVREs(org.gcube.application.framework.core.session.ASLSession session) |
int |
getCloudVMSelected() |
String[] |
getExistingNamesVREs() |
List<org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityItem> |
getFunctionality() |
List<org.gcube.vremanagement.vremodel.cl.stubs.types.GHN> |
getGHNs() |
org.gcube.vremanagement.vremodel.cl.stubs.types.GHNsPerFunctionality[] |
getGHNsPerFunctionality() |
String |
getMetadataRelatedToCollection() |
org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityNodes |
getSelectedFunctionality() |
String |
getVREepr() |
org.gcube.vremanagement.vremodel.cl.stubs.types.VREDescription |
getVREModel()
first call
|
boolean |
isCloudAvailable() |
boolean |
isCloudSelected() |
boolean |
isVreModelerServiceUp() |
void |
removeVRE(org.gcube.application.framework.core.session.ASLSession session,
String id) |
boolean |
setCloudDeploy(int virtualMachines) |
void |
setFunctionality(Integer[] funcIds,
org.gcube.vremanagement.vremodel.cl.stubs.types.SelectedResourceDescriptionType[] selResDesc) |
void |
setGHNs(String[] selectedGHNIds) |
void |
setVREModel(String name,
String desc,
String designer,
String manager,
long startTime,
long endTime) |
void |
setVREtoPendingState() |
void |
undeployVRE(String id) |
protected static AtomicInteger vreId
public VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session,
String id)
session - the d4s sessionepr - the eprpublic VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session)
session - the sessionpublic boolean isVreModelerServiceUp()
public void setVREModel(String name, String desc, String designer, String manager, long startTime, long endTime) throws RemoteException
setVREModel in interface VREGeneratorInterfacename - the VRE namedesc - a description for the VREdesigner - the VRE designermanager - the VRE managerstartTime - start timeendTime - end timeRemoteExceptionpublic String getVREepr()
getVREepr in interface VREGeneratorInterfacepublic List<org.gcube.vremanagement.vremodel.cl.stubs.types.Report> getAllVREs(org.gcube.application.framework.core.session.ASLSession session)
session - the d4s sessionpublic void removeVRE(org.gcube.application.framework.core.session.ASLSession session,
String id)
removeVRE in interface VREGeneratorInterfacesession - the d4s sessionid - the id of the VRE to be removedpublic void undeployVRE(String id)
undeployVRE in interface VREGeneratorInterfacesession - the d4s sessionid - the id of the VRE to be removedpublic org.gcube.vremanagement.vremodeler.utils.reports.DeployReport checkVREStatus()
throws RemoteException
checkVREStatus in interface VREGeneratorInterfaceRemoteExceptionpublic void deployVRE()
throws RemoteException
deployVRE in interface VREGeneratorInterfaceRemoteExceptionpublic String[] getExistingNamesVREs()
public org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityNodes getSelectedFunctionality()
throws Exception
getSelectedFunctionality in interface VREGeneratorInterfaceExceptionpublic List<org.gcube.vremanagement.vremodel.cl.stubs.types.GHN> getGHNs() throws RemoteException
getGHNs in interface VREGeneratorInterfaceRemoteExceptionpublic org.gcube.vremanagement.vremodel.cl.stubs.types.GHNsPerFunctionality[] getGHNsPerFunctionality()
throws RemoteException
getGHNsPerFunctionality in interface VREGeneratorInterfaceRemoteExceptionpublic void setFunctionality(Integer[] funcIds, org.gcube.vremanagement.vremodel.cl.stubs.types.SelectedResourceDescriptionType[] selResDesc) throws RemoteException
setFunctionality in interface VREGeneratorInterfaceRemoteExceptionpublic List<org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityItem> getFunctionality() throws Exception
getFunctionality in interface VREGeneratorInterfaceRemoteExceptionExceptionpublic String getMetadataRelatedToCollection() throws RemoteException
RemoteExceptionpublic org.gcube.vremanagement.vremodel.cl.stubs.types.VREDescription getVREModel()
throws RemoteException
getVREModel in interface VREGeneratorInterfaceRemoteExceptionpublic void setGHNs(String[] selectedGHNIds) throws RemoteException
setGHNs in interface VREGeneratorInterfaceselectedGHNIds - the GHNs selectedRemoteExceptionpublic void setVREtoPendingState()
throws RemoteException
setVREtoPendingState in interface VREGeneratorInterfaceRemoteExceptionpublic boolean isCloudAvailable()
isCloudAvailable in interface VREGeneratorInterfacepublic boolean isCloudSelected()
isCloudSelected in interface VREGeneratorInterfacepublic boolean setCloudDeploy(int virtualMachines)
setCloudDeploy in interface VREGeneratorInterfacepublic int getCloudVMSelected()
getCloudVMSelected in interface VREGeneratorInterfaceCopyright © 2019. All Rights Reserved.