]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat : db API add watch_rule_get_by_name
authorSteven Hardy <shardy@redhat.com>
Fri, 12 Oct 2012 16:18:11 +0000 (17:18 +0100)
committerSteven Hardy <shardy@redhat.com>
Fri, 12 Oct 2012 16:20:48 +0000 (17:20 +0100)
commit8be0906b7aa3162d9d1435eb8ed0d8ba9c226066
treece7add9eb3f00061f7782dc76e290bac01f5db7f
parentdb0a268f414e963d73ded7449662385f8e5435c1
heat : db API add watch_rule_get_by_name

Add watch_rule_get_by_name, and move the previous
watch_rule_get to look up rule by ID, which is consistent
with the other api calls.  Lookup by id is required for
WatchRule rework

Ref #217

Change-Id: I4b5d08ffcd31b6b522c65edd0a202e8cf5a367b8
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/db/api.py
heat/db/sqlalchemy/api.py
heat/engine/manager.py
heat/tests/test_engine_manager.py