spring-projects/spring-xd — pull request #306 by ilayaperumalg (2013-09-20 18:45:50+00:00)
Title: XD-811 Add job launch REST endpoint

- Added /jobs/{jobName}/launch REST endpoint at
JobsController
- With job Parameters as request param
- Added launch property to ModuleDeploymentRequest
- Send the jobLaunch request as ModuleDeploymentRequest
by setting module launch property
- Set ModuleDeploymentRequest's parameter with
jobParameters
- Added handleLaunch() at ModuleDeployer
- Currently, the handleLaunch is applicable only for JobPlugin
- Updated JobPlugin to send the job launch message
- Send message with jobParameters to the job module's input channel
- Use beanName 'jobDefinitionRepository' instead of 'jobRepository'
wherever we use job definition repository
Added Shell commands to launch job
- Added launchJob JobOperation with jobName & jobParameters

- Updated UI to launch the job with/without jobParameters

- Added tests for JobsController & Job launch shell command