spring-projects/spring-xd — pull request #884 by ilayaperumalg (2014-05-22 21:38:28+00:00)
Title: XD-1507 Submit job action only for deployed jobs

- Add an ability to filter the undeployed jobs from the list of batch jobs from the `batch` job repository
- Use ZK job instance repository to get the list of deployed jobs and set the `deployed` status
on the returned list of batch jobs. This will allow:
1) The batch job definitions that were undeployed will get the deployed status to `false`
2) The batch job definitions that were destroyed but still have executions and state in batch job repository will
get the deployed status to `false`
3) The batch job definitions that are currently deployed will get the deployed status to `true`
- Update Batch JobInfo and the corresponding REST domain resource JobInfoResource with `deployed` status

- Fix the web UI to disable the `launch` and `schedule` buttons for the batch jobs whose deployed status set to `false`