heat/heat/engine
Steven Hardy 52dc303055 cleanup watchrule delete logic/tests
Rework watchrule delete interface so we delete by ID, rather than
by name (where we only delete the first rule in the event of multiple
watcherule rows with the same name, which is allowed although not likely
in normal heat operation - it can cause weird behavior in the tests)

Encapsulating the delete in a WatchRule.destroy() is cleaner and more
consistent with the rest of the codebase, and reworking the tests to
ensure proper cleanup reduces the chances of odd errors and cascading
failures between tests on failure.

fixes bug #1197718

Change-Id: I94e9eb610519bb7321a2be7718312fd50f308a8b
2013-07-04 16:30:30 +01:00
..
resources cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00
__init__.py Do not initialize anything during import phase 2013-04-24 10:03:06 -07:00
api.py Expose resource dependency required_by to REST API. 2013-07-01 11:14:45 +12:00
attributes.py Introduce a schema for attributes 2013-06-19 17:51:03 -05:00
clients.py Store created nova client in OpenStackClients. 2013-06-25 10:01:55 +12:00
dependencies.py Merge "add missing gettextutils imports" 2013-07-02 16:08:44 +00:00
environment.py Initial Environment class and test 2013-06-17 20:23:38 +10:00
event.py Convert Events to separate action/status 2013-06-13 11:19:32 +01:00
hot.py Changes for HOT hello world template processing 2013-06-25 16:52:32 +02:00
parameters.py Allow JSON values for parameters 2013-06-24 12:09:18 -05:00
parser.py Merge "implement stack metadata" 2013-07-03 07:51:07 +00:00
properties.py Add MinLength, MaxLength to properties schema 2013-06-26 21:06:10 +00:00
resource.py Merge "add missing gettextutils imports" 2013-07-02 16:08:44 +00:00
scheduler.py add missing gettextutils imports 2013-07-02 14:22:24 +01:00
service.py engine : perform periodic tasks with stored stack_context 2013-07-02 14:17:30 +01:00
stack_resource.py Merge "implement stack metadata" 2013-07-03 07:51:07 +00:00
template.py implement stack metadata 2013-07-02 16:03:22 +08:00
timestamp.py Do not refresh timestamp from database on read. 2013-06-21 10:43:34 +12:00
update.py Explicitly pass old json snippet to update 2013-07-01 11:59:46 +01:00
watchrule.py cleanup watchrule delete logic/tests 2013-07-04 16:30:30 +01:00