use of com.sequenceiq.freeipa.flow.freeipa.provision.event.services.InstallFreeIpaServicesRequest in project cloudbreak by hortonworks.
the class FreeIpaUpscaleActions method installFreeIpaAction.
@Bean(name = "UPSCALE_FREEIPA_INSTALL_STATE")
public Action<?, ?> installFreeIpaAction() {
return new AbstractUpscaleAction<>(StackEvent.class) {
@Override
protected void doExecute(StackContext context, StackEvent payload, Map<Object, Object> variables) {
Stack stack = context.getStack();
stackUpdater.updateStackStatus(stack.getId(), getInProgressStatus(variables), "Installing FreeIPA");
InstallFreeIpaServicesRequest request = new InstallFreeIpaServicesRequest(stack.getId());
sendEvent(context, request.selector(), request);
}
};
}
Aggregations