use of com.sequenceiq.cloudbreak.reactor.api.event.cluster.upgrade.ccm.UpgradeCcmHealthCheckResult in project cloudbreak by hortonworks.
the class HealthCheckHandler method doAccept.
@Override
public Selectable doAccept(HandlerEvent<UpgradeCcmHealthCheckRequest> event) {
UpgradeCcmHealthCheckRequest request = event.getData();
Long stackId = request.getResourceId();
LOGGER.info("Health check for CCM upgrade...");
upgradeCcmService.healthCheck(stackId);
return new UpgradeCcmHealthCheckResult(stackId, request.getClusterId(), request.getOldTunnel());
}
Aggregations