]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Add the basic cloudwatch feature
authorAngus Salkeld <asalkeld@redhat.com>
Fri, 25 May 2012 09:24:29 +0000 (19:24 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Fri, 25 May 2012 09:24:56 +0000 (19:24 +1000)
commit1d5aec19d72aecdf6158e90f55d42a9abe280dd5
tree90fc4c3aace32fc3fa7e60d71738b18ae1870fac
parenta16a8bb9c272613bcd8e705e1e53aa5c0771f569
Add the basic cloudwatch feature

Fix watch db tables and silly programming errors.
get basic posting data to metadata server working
add watch_rule_get_all()
check for alarms in a periodic task
delete watch_data when the rule is deleted
add a last_evaluated field to the watch_rule
remove unused option to watch_data_get
take better account of the sample period.
- still much to be done here (evaluation periods).
add some useful stats to cfn-push-stats
fix how the metric is accessed
fix a divide by zero

Change-Id: Iaf98499d0e3ac6d6f951ea38b3b0f409669258da
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/cfntools/cfn-push-stats [new file with mode: 0755]
heat/db/api.py
heat/db/sqlalchemy/api.py
heat/db/sqlalchemy/migrate_repo/versions/004_guest_watch.py [new file with mode: 0644]
heat/db/sqlalchemy/models.py
heat/engine/cloud_watch.py [new file with mode: 0644]
heat/engine/manager.py
heat/engine/parser.py
heat/metadata/api/v1/__init__.py
heat/metadata/api/v1/metadata.py
templates/WordPress_Single_Instance_With_HA.template