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