return provenanceRegistry.getApplicationJobErrors(experimentId, workflowInstanceId, nodeId, gfacJobId);
}
List<ApplicationJobExecutionError> result=new ArrayList<ApplicationJobExecutionError>();
List<ExecutionErrorResource> executionErrors = jpa.getWorker().getExperiment(experimentId).getData().getExecutionErrors(Source.APPLICATION.toString(), experimentId, workflowInstanceId, nodeId, gfacJobId);
for (ExecutionErrorResource errorResource : executionErrors) {
ApplicationJobExecutionError error = new ApplicationJobExecutionError();
setupValues(errorResource, error);
error.setExperimentId(errorResource.getExperimentDataResource().getExperimentID());
error.setJobId(errorResource.getGfacJobID());
error.setNodeId(errorResource.getNodeID());
error.setWorkflowInstanceId(errorResource.getWorkflowDataResource().getWorkflowInstanceID());
result.add(error);
}
return result;
}