Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Job cancellation logic not wired up in webmachine #118

Open
markan opened this issue Oct 26, 2015 · 0 comments
Open

Job cancellation logic not wired up in webmachine #118

markan opened this issue Oct 26, 2015 · 0 comments

Comments

@markan
Copy link
Contributor

markan commented Oct 26, 2015

The internal state machine and client allows jobs to be canceled, but it was never wired up in the webmachine interface so there is not REST based API to cancel a job.

Internally tracking this as https://chefio.atlassian.net/browse/PUSH-63

Adding webmachine hooks should be pretty straightforward:
PUT to /pushy/jobs/
{ "job_id": ID,
"job_status": "cancel"
}

calls pushy_job_state:stop_job(JobId)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant