response.version = jobExecution.getVersion();
return response;
}
private BaseResponseObject handleAddWithStepExecutionReq(AddWithStepExecutionReq request) {
AddWithStepExecutionRes response = null;
StepExecution stepExecution = JobRepositoryRpcFactory.convertStepExecutionType(request.stepExecution);
jobRepository.add(stepExecution);
response = new AddWithStepExecutionRes();
response.id = stepExecution.getId();
response.version = stepExecution.getVersion();
return response;
}