Search in sources :

Example 6 with NodeGroup

use of com.yahoo.vespa.orchestrator.model.NodeGroup in project vespa by vespa-engine.

the class HostedVespaPolicy method releaseSuspensionGrant.

// TODO: Remove later - currently used for backward compatibility testing
@Override
public void releaseSuspensionGrant(ApplicationInstance applicationInstance, HostName hostName, MutableStatusRegistry hostStatusService) throws HostStateChangeDeniedException {
    NodeGroup nodeGroup = new NodeGroup(applicationInstance, hostName);
    ApplicationApi applicationApi = new ApplicationApiImpl(nodeGroup, hostStatusService, clusterControllerClientFactory);
    releaseSuspensionGrant(applicationApi);
}
Also used : ApplicationApi(com.yahoo.vespa.orchestrator.model.ApplicationApi) ApplicationApiImpl(com.yahoo.vespa.orchestrator.model.ApplicationApiImpl) NodeGroup(com.yahoo.vespa.orchestrator.model.NodeGroup)

Aggregations

NodeGroup (com.yahoo.vespa.orchestrator.model.NodeGroup)6 ApplicationInstance (com.yahoo.vespa.applicationmodel.ApplicationInstance)3 ApplicationApi (com.yahoo.vespa.orchestrator.model.ApplicationApi)3 ApplicationApiImpl (com.yahoo.vespa.orchestrator.model.ApplicationApiImpl)3 ApplicationInstanceReference (com.yahoo.vespa.applicationmodel.ApplicationInstanceReference)1 HostName (com.yahoo.vespa.applicationmodel.HostName)1 ServiceType (com.yahoo.vespa.applicationmodel.ServiceType)1 MutableStatusRegistry (com.yahoo.vespa.orchestrator.status.MutableStatusRegistry)1 HashMap (java.util.HashMap)1