]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
To support both CW and CM, return alarmurl from policy ref
authorAngus Salkeld <asalkeld@redhat.com>
Mon, 19 Aug 2013 23:46:59 +0000 (09:46 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Fri, 23 Aug 2013 00:41:36 +0000 (10:41 +1000)
commitcd927f7018463972500b311ed26fd39037b21456
treebdba70d6214199b99e0d7b7e1bf14739dc9c74e7
parentffddeaa9342a85ce5513bbb72bee1ad085b788ec
To support both CW and CM, return alarmurl from policy ref

This is so we can still have the following:
  AlarmActions:
  - {Ref: ServerScaleUpPolicy}

and use Ceilometer underneath.

The watchrule now tries to look up the resource by
both name and resource_by_refid.

Change-Id: I4759806919ab4f3ccef66698235b23f7f310cb03
heat/engine/resources/autoscaling.py
heat/engine/watchrule.py
heat/tests/test_autoscaling.py
heat/tests/test_engine_service.py
heat/tests/test_watch.py