]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Wrap the watch rule start in a method
authorAngus Salkeld <asalkeld@redhat.com>
Fri, 19 Jul 2013 04:58:37 +0000 (14:58 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Fri, 19 Jul 2013 04:58:37 +0000 (14:58 +1000)
commitef051aa291d202bed7f778070fa6df12cb4188db
tree50433b8da9a6635f90af9461993785f194795f3f
parenta37d2b44bf1196091b0558b270c134e68919bc12
Wrap the watch rule start in a method

This is the first step in making the watch task dependant on:
1) whether we even have an alarm in the stack
2) whether the alarm is a ceilometer alarm

The test confirms the current behaviour, which is a periodic task
is created whether or not a watch is in the stack.

bug 1202031
Change-Id: Iebb948f788270fca0dbef61a2e122fe3900d84b2
heat/engine/service.py
heat/tests/test_engine_service.py