Allow sending partial updates via smart_proxy_dynflow
So far, we've only supported
POST /tasks/:task_id/done when sending callbacks to smart_proxy_dynflow
(used in rex async ssh). As part of adding ability to manually control the job lifecycle outside of the
initial script, I would like to add
POST/tasks/:task_id/update as well, that will send external event to
the action, while preserving the otp for sub-sequential calls.
- Fixes #26691 - add `POST /tasks/:task_id/update` endpoint
Propagates external events to underlying action without invalidating the
OTP, so that it can be called multiple times.
- Refs #26691 - fix tests and enhance the token auth scoping
- Refs #26691 - Bump dependency on foreman_tasks_core
#5 Updated by Ivan Necas over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_proxy_dynflow|49cbb34e8598ff3e6dd8084f7ea15f3fd36060a4.