Comment 0 for bug 1765640

Revision history for this message
aditi sharma (adi-sky17) wrote :

watcher API for action plan cancel also needs to be refactored, as it is also using Patch method
PATCH /v1/action_plans¶
Moreover it has some logic in python-watcherclient, which is cumbersome for users who directly wants to use
Watcher API

we need to move following logic to watcher API
https://github.com/openstack/python-watcherclient/blob/master/watcherclient/v1/action_plan.py#L98

We also need to propose a new API request for cancel action plan
POST /v1/action_plans/cancel