In line : https://github.com/openstack/watcher/blob/master/watcher/applier/default.py#L36 we directly use the dbapi in order to filter by action_plan_id the actions.
We should use a dedicated function in the action_plan.py file to do that.
https://github.com/openstack/watcher/blob/ee82531314e45ec0ffd4b0135fc9080c42c7c800/watcher/api/controllers/v1/action_plan.py
In line : https:/ /github. com/openstack/ watcher/ blob/master/ watcher/ applier/ default. py#L36
we directly use the dbapi in order to filter by action_plan_id the actions.
We should use a dedicated function in the action_plan.py file to do that.
https:/ /github. com/openstack/ watcher/ blob/ee82531314 e45ec0ffd4b0135 fc9080c42c7c800 /watcher/ api/controllers /v1/action_ plan.py