use of com.sequenceiq.cloudbreak.domain.FlowLog in project cloudbreak by hortonworks.
the class FlowLogService method finalize.
private FlowLog finalize(Long stackId, String flowId, String state) {
flowLogRepository.finalizeByFlowId(flowId);
FlowLog flowLog = new FlowLog(stackId, flowId, state, Boolean.TRUE);
flowLog.setCloudbreakNodeId(cloudbreakNodeConfig.getId());
return flowLogRepository.save(flowLog);
}
Aggregations