heat/heat/api
huangtianhua 18ded430d0 Return error message if validate fail when clearing hook
There are some situations:
1. User can run the command "heat hook-clear" on any
resource in the stack, even if there is no hook
defined on it, and no error or warning message is returned.
2. User run the command "heat hook-clear" on resource
to clear the hook which resource unset, and no error or
warning message is returned.
3. User run the command "heat hook-clear" on resource
even if the resource's action is not support to signal, and
no error or warning message is returned.
4. User run the command "heat hook-clear" to clear invalid
hooks, and no error or warnning message is returned.

This patch will check the situations above before call
resource.signal, and will return error messages to user.

Change-Id: Ifb9befad864ebe1bb5f8b419b95d1b3a95530573
Closes-Bug: #1472515
2015-09-09 14:52:37 +08:00
..
aws Return error message if validate fail when clearing hook 2015-09-09 14:52:37 +08:00
cfn Merge "resource failure causes nested stacks to be rolled back" 2015-08-21 01:37:26 +00:00
cloudwatch Remove identical modules versions.py 2015-06-16 17:00:39 +03:00
middleware Return error message if validate fail when clearing hook 2015-09-09 14:52:37 +08:00
openstack Merge "Support string format 'tags' for stack preview" 2015-09-08 08:11:57 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 20:29:31 +08:00
versions.py Remove identical modules versions.py 2015-06-16 17:00:39 +03:00