org.gcube.application.framework.vremanagement.vremanagement.impl
Class VREGeneratorEvo
java.lang.Object
org.gcube.application.framework.vremanagement.vremanagement.impl.VREGeneratorEvo
- All Implemented Interfaces:
- VREGeneratorInterface
public class VREGeneratorEvo
- extends Object
- implements VREGeneratorInterface
- Author:
- Massimiliano Assante - ISTI-CNR
Constructor Summary |
VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session)
|
VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session,
String id)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vreId
protected static AtomicInteger vreId
VREGeneratorEvo
public VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session,
String id)
- Parameters:
session
- the d4s sessionepr
- the epr
VREGeneratorEvo
public VREGeneratorEvo(org.gcube.application.framework.core.session.ASLSession session)
- Parameters:
session
- the d4s session
isVreModelerServiceUp
public boolean isVreModelerServiceUp()
getAllVREs
public org.gcube.vremanagement.vremodeler.stubs.ReportList getAllVREs(org.gcube.application.framework.core.session.ASLSession session)
- Parameters:
session
- the d4s session
- Returns:
- the VRE names
removeVRE
public void removeVRE(org.gcube.application.framework.core.session.ASLSession session,
String id)
- Parameters:
session
- the d4s sessionid
- the id of the VRE to be removed
applySecurityEPR
protected org.gcube.vremanagement.vremodeler.stubs.ModelerServicePortType applySecurityEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
- Parameters:
epr
-
- Returns:
checkVREStatus
public String checkVREStatus()
throws RemoteException
- Specified by:
checkVREStatus
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
deployVRE
public void deployVRE()
throws RemoteException
- Specified by:
deployVRE
in interface VREGeneratorInterface
- Throws:
RemoteException
getExistingNamesVREs
public String[] getExistingNamesVREs()
getSelectedFunctionality
public org.gcube.vremanagement.vremodeler.stubs.FunctionalityNodes getSelectedFunctionality()
throws Exception
- Specified by:
getSelectedFunctionality
in interface VREGeneratorInterface
- Throws:
Exception
getGHNs
public List<org.gcube.vremanagement.vremodeler.stubs.GHNType> getGHNs()
throws RemoteException
- Specified by:
getGHNs
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
getGHNsPerFunctionality
public org.gcube.vremanagement.vremodeler.stubs.GHNsPerFunctionality[] getGHNsPerFunctionality()
throws RemoteException
- Specified by:
getGHNsPerFunctionality
in interface VREGeneratorInterface
- Returns:
- GHNsPerFunctionality
- Throws:
RemoteException
setFunctionality
public void setFunctionality(int[] funcIds,
org.gcube.vremanagement.vremodeler.stubs.SelectedResourceDescriptionType[] selResDesc)
throws RemoteException
- Specified by:
setFunctionality
in interface VREGeneratorInterface
- Throws:
RemoteException
getFunctionality
public org.gcube.vremanagement.vremodeler.stubs.FunctionalityList getFunctionality()
throws Exception
- Specified by:
getFunctionality
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
Exception
getMetadataRelatedToCollection
public String getMetadataRelatedToCollection()
throws RemoteException
- Throws:
RemoteException
getQuality
public String getQuality()
throws RemoteException
- Throws:
RemoteException
getVREModel
public org.gcube.vremanagement.vremodeler.stubs.VREDescription getVREModel()
throws RemoteException
- first call
- Specified by:
getVREModel
in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
RemoteException
setGHNs
public void setGHNs(String[] selectedGHNIds)
throws RemoteException
- Specified by:
setGHNs
in interface VREGeneratorInterface
- Parameters:
selectedGHNIds
- the GHNs selected
- Throws:
RemoteException
setVREModel
public void setVREModel(String VREName,
String VREDescription,
String VREDesigner,
String VREManager,
long startTime,
long endTime)
throws RemoteException
- Specified by:
setVREModel
in interface VREGeneratorInterface
- Parameters:
VREName
- the VRE nameVREDescription
- a description for the VREVREDesigner
- the VRE designerVREManager
- the VRE managerstartTime
- start timeendTime
- end time
- Throws:
RemoteException
setVREtoPendingState
public void setVREtoPendingState()
throws RemoteException
- Specified by:
setVREtoPendingState
in interface VREGeneratorInterface
- Throws:
RemoteException
getVREepr
public String getVREepr()
-
- Specified by:
getVREepr
in interface VREGeneratorInterface
- Returns:
isCloudAvailable
public boolean isCloudAvailable()
- Specified by:
isCloudAvailable
in interface VREGeneratorInterface
isCloudSelected
public boolean isCloudSelected()
- Specified by:
isCloudSelected
in interface VREGeneratorInterface
setCloudDeploy
public boolean setCloudDeploy(int virtualMachines)
- Specified by:
setCloudDeploy
in interface VREGeneratorInterface
getCloudVMSelected
public int getCloudVMSelected()
- Specified by:
getCloudVMSelected
in interface VREGeneratorInterface
Copyright © 2013. All Rights Reserved.