Catch DBEntityNotFoundError exceptions for invalid AdHoc Actions
This patch will catch the DBEntityNotFoundError exception that is
raised when an AdHoc Action has an invalid base action defined. The
exception is converted to an InvalidActionException which will
halt the task/workflow and cause them to enter the ERROR state.
Reviewed: https:/ /review. openstack. org/500132 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=8b2f63cbdf8 4c908e31408575c f87ad565479b0b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8b2f63cbdf84c90 8e31408575cf87a d565479b0b
Author: Bob Haddleton <email address hidden>
Date: Fri Sep 1 11:18:16 2017 -0500
Catch DBEntityNotFoun dError exceptions for invalid AdHoc Actions
This patch will catch the DBEntityNotFoun dError exception that is ception which will
raised when an AdHoc Action has an invalid base action defined. The
exception is converted to an InvalidActionEx
halt the task/workflow and cause them to enter the ERROR state.
Change-Id: I115b8243641da1 00474e8c8b34a72 4978078978b
Closes-Bug: 1714548