org.gcube.vremanagement.resourcebroker.impl.services
Class BrokerService
java.lang.Object
org.gcube.common.core.porttypes.GCUBEPortType
org.gcube.vremanagement.resourcebroker.impl.services.BrokerService
- All Implemented Interfaces:
- javax.xml.rpc.server.ServiceLifecycle
public class BrokerService
- extends org.gcube.common.core.porttypes.GCUBEPortType
Implements the ResourceBroker service.
Roles:
1) given a org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanRequest
it opportunely assigns the
software to deploy to the proper GHN.
The decision making in implemented inside the
getPlan(String)
method an built up to several
PlanBuilderTask
implementing the stages of a PlanBuilderWorkflow
.
The decision making as been though of as composition of
decision stages.
- Author:
- Daniele Strollo (ISTI-CNR)
Method Summary |
java.lang.String |
getPlan(java.lang.String planRequest)
Receives requests from the VREManagerService
and plans the deploy distribution over the gCore hosting nodes (GHN). |
org.gcube.common.core.types.VOID |
handleFeedback(java.lang.String feedback)
|
Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
destroy, init |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokerService
public BrokerService()
getPlan
public final java.lang.String getPlan(java.lang.String planRequest)
throws org.gcube.common.core.faults.GCUBEFault
- Receives requests from the VREManagerService
and plans the deploy distribution over the gCore hosting nodes (GHN).
- Throws:
org.gcube.common.core.faults.GCUBEFault
handleFeedback
public final org.gcube.common.core.types.VOID handleFeedback(java.lang.String feedback)
throws org.gcube.common.core.faults.GCUBEFault
- Throws:
org.gcube.common.core.faults.GCUBEFault