Skip to content

Commit

Permalink
#22
Browse files Browse the repository at this point in the history
  • Loading branch information
bozanfaruk committed Jan 8, 2019
1 parent 9c69b9c commit 21cb858
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ private void doStopJobGroupButtonClickOperations(JobGroup jobGroup) throws Local
}

private void doStartJobGroupButtonClickOperations(JobGroup jobGroup) throws LocalizedException {
for (Job job : jobGroup.getJobs()) {
jobService.saveJobAndJobDetailsStatus(job, JobStatus.QUEUED, CommandStatus.NOT_STARTED,
SecurityUtils.getCurrentUser(userService).getTedamUser());
}
String responseString = restTemplate
.postForObject(
propertyService.getPropertyByNameAndParameter(Constants.PROPERTY_CONFIG,
Expand Down

0 comments on commit 21cb858

Please sign in to comment.