Currently Spring Batch allows users to specify 2 formats for accepting Job parameters via the command line. This PR allows SCDF to use both formats, where before it was only using the default.
Updates DefaultJobService to accept dataflow global configuration for which format should be use as its default.
a. Update the controller so that user can specify a different format for a specific launch instead of using dataflow's configured default
b. Update the model so if the user clicks the link for a restart it will use dataflow's configured default.
c. Notice some of the old tests had to be updated because the encoder provided by batch provides the isIdentifying field.
Update the restful docs so can demonstrate the use of useJsonJobParameters
Update shell and Data flow client API to allow users to specify a useJsonJobParameters if necessary.
a. There are no tests for shell nor Data flow client yet. This is because @EnableDataflowServer needs to be fixed first.
Polish the PR to cleanup some things I missed or noticed during review.
What this PR is trying to do
Currently Spring Batch allows users to specify 2 formats for accepting Job parameters via the command line. This PR allows SCDF to use both formats, where before it was only using the default.
parameterValue,parameterType,identificationFlag
This PR is initially broken up into 4 commits
useJsonJobParameters
useJsonJobParameters
if necessary. a. There are no tests for shell nor Data flow client yet. This is because @EnableDataflowServer needs to be fixed first.