use of com.sequenceiq.cloudbreak.reactor.api.event.StackEvent in project cloudbreak by hortonworks.
the class ReactorFlowManager method triggerClusterReInstall.
public void triggerClusterReInstall(Long stackId) {
String selector = FlowChainTriggers.CLUSTER_RESET_CHAIN_TRIGGER_EVENT;
notify(selector, new StackEvent(selector, stackId));
}
use of com.sequenceiq.cloudbreak.reactor.api.event.StackEvent in project cloudbreak by hortonworks.
the class ReactorFlowManager method triggerFullSync.
public void triggerFullSync(Long stackId) {
String selector = FlowChainTriggers.FULL_SYNC_TRIGGER_EVENT;
notify(selector, new StackEvent(selector, stackId));
}
use of com.sequenceiq.cloudbreak.reactor.api.event.StackEvent in project cloudbreak by hortonworks.
the class ReactorFlowManager method triggerProvisioning.
public void triggerProvisioning(Long stackId) {
String selector = FlowChainTriggers.FULL_PROVISION_TRIGGER_EVENT;
notify(selector, new StackEvent(selector, stackId));
}
use of com.sequenceiq.cloudbreak.reactor.api.event.StackEvent in project cloudbreak by hortonworks.
the class ReactorFlowManager method triggerManualRepairFlow.
public void triggerManualRepairFlow(Long stackId) {
String selector = MANUAL_STACK_REPAIR_TRIGGER_EVENT.event();
notify(selector, new StackEvent(selector, stackId));
}
use of com.sequenceiq.cloudbreak.reactor.api.event.StackEvent in project cloudbreak by hortonworks.
the class ReactorFlowManager method cancelRunningFlows.
public void cancelRunningFlows(Long stackId) {
StackEvent cancelEvent = new StackEvent(Flow2Handler.FLOW_CANCEL, stackId);
reactor.notify(Flow2Handler.FLOW_CANCEL, eventFactory.createEventWithErrHandler(cancelEvent));
}
Aggregations