]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat DB : make watch_data_get_all work with no watch ID
authorSteven Hardy <shardy@redhat.com>
Wed, 22 Aug 2012 19:14:11 +0000 (20:14 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 23 Aug 2012 17:31:21 +0000 (18:31 +0100)
commitbb6e0b11c6f4d0f185fdd9011daba526f4aff8fe
treeca2f8c1cb91ebaf415be99c8b8278fc551f46bc5
parent9b14adc222c01f8a54c56bfe0b6658bd2968bda9
heat DB : make watch_data_get_all work with no watch ID

Align watch_data_get_all with other "all" methods, and
return all watch data without requiring an ID.  We may
also need by_id and by_name variants but this is more
consistent and makes things easier for cloudwatch.

Change-Id: I09c90278349efc769ab7c719f686a1fd854b425a
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/db/api.py
heat/db/sqlalchemy/api.py