Closed
Description
Currently the only way for a user to provide Spring Batch Job Parameters is via command line args. This requested enhancement is to create a Boot property that accepts JSON to be deserialized into JobParameters
. This is needed for the Kubernetes functionality when you attempt to restart a job using the shell
entry point on your image. In this use case, there is no way to pass command line arguments to the application and some elements of normal parameters are not friendly to being set as environment variable names (run.id(long)=5
for example). I'd assume that the order of precedence for resolving duplicate JobParameters
would follow the normal Boot conventions.