Search in sources :

Example 21 with OrchestratorStateParams

use of com.sequenceiq.cloudbreak.orchestrator.host.OrchestratorStateParams in project cloudbreak by hortonworks.

the class UpgradeCcmOrchestratorService method reconfigureNginx.

public void reconfigureNginx(Long stackId) throws CloudbreakOrchestratorException {
    OrchestratorStateParams stateParams = createStateParams(stackId, NGINX_STATE);
    LOGGER.debug("Calling reconfigureNginx with state params '{}'", stateParams);
    hostOrchestrator.runOrchestratorState(stateParams);
}
Also used : OrchestratorStateParams(com.sequenceiq.cloudbreak.orchestrator.host.OrchestratorStateParams)

Aggregations

OrchestratorStateParams (com.sequenceiq.cloudbreak.orchestrator.host.OrchestratorStateParams)21 Test (org.junit.jupiter.api.Test)7 Node (com.sequenceiq.cloudbreak.common.orchestration.Node)6 Stack (com.sequenceiq.freeipa.entity.Stack)3 GatewayConfig (com.sequenceiq.cloudbreak.orchestrator.model.GatewayConfig)2 InstanceMetaData (com.sequenceiq.freeipa.entity.InstanceMetaData)2 StackEvent (com.sequenceiq.freeipa.flow.stack.StackEvent)2 ClusterDeletionBasedExitCriteriaModel (com.sequenceiq.cloudbreak.core.bootstrap.service.ClusterDeletionBasedExitCriteriaModel)1 Stack (com.sequenceiq.cloudbreak.domain.stack.Stack)1 Cluster (com.sequenceiq.cloudbreak.domain.stack.cluster.Cluster)1 CloudbreakOrchestratorFailedException (com.sequenceiq.cloudbreak.orchestrator.exception.CloudbreakOrchestratorFailedException)1 OrchestratorStateRetryParams (com.sequenceiq.cloudbreak.orchestrator.host.OrchestratorStateRetryParams)1 HandlerEvent (com.sequenceiq.flow.reactor.api.handler.HandlerEvent)1 CreateFullBackupEvent (com.sequenceiq.freeipa.flow.freeipa.backup.full.event.CreateFullBackupEvent)1 StackFailureEvent (com.sequenceiq.freeipa.flow.stack.StackFailureEvent)1 StackBasedExitCriteriaModel (com.sequenceiq.freeipa.orchestrator.StackBasedExitCriteriaModel)1