]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
WatchRule refer to stack by id not name
authorSteven Hardy <shardy@redhat.com>
Wed, 14 Nov 2012 15:41:17 +0000 (15:41 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 19 Nov 2012 22:26:20 +0000 (22:26 +0000)
commitdeffe8a1679b2fd0af803de9fa3aee46d41d5d84
treefa9799a3867479b9fa6c0b4cb36a982c68fd5c70
parent90b747061c7bf8efe624eeb7842789ac98a45709
WatchRule refer to stack by id not name

Rework WatchRule to refer to stacks by uuid not name, this will
help us move to allowing non-unique stack names containing WatchRule
resources

Ref bug 1078779

Change-Id: Idbbbd65a05d7036860cc2feb044d568210071d21
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/api/cloudwatch/watch.py
heat/db/sqlalchemy/migrate_repo/versions/014_watch_stackid.py [new file with mode: 0644]
heat/db/sqlalchemy/models.py
heat/engine/api.py
heat/engine/resources/cloud_watch.py
heat/engine/watchrule.py
heat/tests/test_api_cloudwatch.py
heat/tests/test_engine_service.py
heat/tests/test_loadbalancer.py
heat/tests/test_watch.py