RETIRED, further work has moved to Debian project infrastructure
Go to file
Mike Spreitzer 0c50b7d23f Add query property to threshold alarms.
Heat had fallen behind the evolution of the Ceilometer API.  The full
generality of the Ceilometer API for creating alarms was not available
through Heat templates.  In particular, the template author could
stipulate only matching metadata in the query for Samples; other very
interesting attributes, such as resource_id, could not be referenced
in alarm properties.

This change introduces a new property for OS::Ceilometer::Alarm,
namely "query".  The template can now specify a query property instead
of a matching_metadata property, and can thus reference anything that
can be referenced in a Ceilometer query.

The old matching_metadata property remains, and its constraints on
which samples to accept are combined with those from the query (if
any).

Note also that the python-ceilometerclient has a lot of backward
compatibility logic --- including accepting matching_metadata.  This
change adds all that logic into OS::Ceilometer::Alarm, so that it
becomes a proper client of the current Ceilometer API.

Closes-Bug: #1326721
Change-Id: I0667db868c6f827867a5a20e4a3fa22fcad1a6a1
2014-10-14 02:05:41 +00:00
bin Add OSprofiler integration into Heat 2014-10-03 15:40:25 +10:00
contrib Remove deprecated function i18n.install('heat') 2014-10-13 10:31:28 +08:00
doc Merge "Add missing \n at the end of file" 2014-10-10 11:39:24 +00:00
etc/heat Merge "Add missing \n at the end of file" 2014-10-10 11:39:24 +00:00
heat Add query property to threshold alarms. 2014-10-14 02:05:41 +00:00
heat_integrationtests Add missing \n at the end of file 2014-10-09 22:06:49 +02:00
rally-scenarios Add config file for performance gate job 2014-08-08 02:22:59 +04:00
tools Update references to auth_token middleware 2014-10-09 15:46:30 -05:00
.coveragerc Enabled source code coverage for contrib directory 2014-01-28 21:49:40 +08:00
.gitignore Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.testr.conf Restructure contrib/ directories 2014-03-03 10:49:28 -05:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-06-22 01:36:26 -06:00
HACKING.rst Fixed the reference to 'Creating Unit Tests' in HACKING.rst 2014-06-22 02:00:59 -06:00
install.sh Port to oslo.messaging 2014-06-26 06:45:52 +02:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
MANIFEST.in Delete deprecated docs/ directory 2013-10-24 11:03:11 -10:00
openstack-common.conf Switch to oslo.serialization 2014-09-30 17:51:07 +02:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
README.rst Added links to missing integration information 2014-06-22 01:21:35 -06:00
requirements.txt Updated from global requirements 2014-10-11 22:31:36 +00:00
run_tests.sh Run pep8 check in run_tests.sh as in tox 2014-03-29 23:47:20 +02:00
setup.cfg Remove cinder-keystone-setup script 2014-10-02 17:10:10 +01:00
setup.py Updated from global requirements 2014-05-09 02:42:01 +00:00
test-requirements.txt Updated from global requirements 2014-10-11 22:31:36 +00:00
tox.ini Remove deprecated function i18n.install('heat') 2014-10-13 10:31:28 +08:00
uninstall.sh Add uninstall script for Heat 2012-06-23 22:41:30 -04:00