Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
If a suspended order will be resumed with parameters then the parameters are not consider.
The api ./orders/resume is not used in the right way. JOC Cockpit requests a json in the form
wrong json
{ "orders":[ { "orderId":"42", "jobChain":"/my/jobChain" } ], "jobschedulerId":"myScheduler", "params":[ { "name":"foo", "value":"bar" } ] }
The parameters has specified for each orders item.
It should have the form
correct json
{ "orders":[ { "orderId":"42", "jobChain":"/my/jobChain", "params":[ { "name":"foo", "value":"bar" } ] } ], "jobschedulerId":"myScheduler" }
See also at JOC API - ./orders/resume
Desired Behavior
The parameters have to put inside for each orders item in the ./orders/resume request
Attachments
Issue Links
- is duplicated by
-
JOC-181 Resuming orders results in loss of parameter changes
- Dismissed