Refactor watcher API for Action Plan Cancel

Bug #1765640 reported by aditi sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-watcherclient
Fix Released
Undecided
Unassigned
watcher
Invalid
Undecided
Unassigned

Bug Description

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

aditi sharma (adi-sky17)
Changed in python-watcherclient:
assignee: nobody → aditi sharma (adi-sky17)
Changed in watcher:
assignee: nobody → aditi sharma (adi-sky17)
description: updated
Revision history for this message
Ronelle Landy (rlandy) wrote :

Fix released.

Changed in python-watcherclient:
assignee: aditi sharma (adi-sky17) → nobody
Changed in watcher:
assignee: aditi sharma (adi-sky17) → nobody
Changed in python-watcherclient:
status: New → Fix Released
Revision history for this message
Ronelle Landy (rlandy) wrote :

Should require spec for change to API. Client bug is fixed.

Changed in watcher:
status: New → Invalid
Revision history for this message
Ronelle Landy (rlandy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.