use of com.sequenceiq.sdx.api.model.SdxProgressResponse in project cloudbreak by hortonworks.
the class ProgressService method getLastFlowProgressByResourceCrn.
public SdxProgressResponse getLastFlowProgressByResourceCrn(String resourceCrn) {
SdxProgressResponse response = new SdxProgressResponse();
response.setLastFlowOperation(flowService.getLastFlowProgressByResourceCrn(resourceCrn));
try {
response.setLastInternalFlowOperation(progressV4Endpoint.getLastFlowLogProgressByResourceCrn(resourceCrn));
} catch (NotFoundException notFoundException) {
LOGGER.debug("Stack for datalake '{}' has not found yet. It is acceptable for progress response.", resourceCrn);
}
return response;
}
Aggregations