// assume we want to compare all partitions
stepName = stepName.replaceAll("(:partition).*", "$1*");
}
String jobName = stepExecution.getJobExecution().getJobInstance().getJobName();
StepExecutionHistory stepExecutionHistory = computeHistory(jobName, stepName);
return progressInfoResourceAssembler.toResource(new StepExecutionProgressInfo(stepExecution,
stepExecutionHistory));
}
catch (org.springframework.batch.admin.service.NoSuchStepExecutionException e) {
throw new NoSuchStepExecutionException(stepExecutionId);
}