add unit attribute to statistics

statistics currently aren't associated with a unit it just
provides sum, average, etc... values without a unit context

Fixes: Bug#1204458
Change-Id: Ib92a6a2ab5899a0b269424e94468a73b6559deda
Consume notification from the default queue

Closes-Bug: #1209198

Change-Id: Id31953207d03a172353dc311a1a7df7b88780318
Signed-off-by: Julien Danjou <julien@danjou.info>
Initial alarming documentation

This change add the minimal documentation about alarming

DocImpact

Change-Id: Id1be0c69cef787753913af99794e295d453674f5
Removed unused self.counters in storage test class

Fixes bug #1210278

The list variable self.counters currently doesn't do anything useful in the
storage test class StatisticsTest, so the variable should be dropped.

Change-Id: Ife1d423d93ab4e2feb43efd54b3e5e7a415b3340
Remove unused abstract class definitions

Fixes bug #1210281

Removed abstract classes definitions from DBTestBase and EventTestBase classes
in storage driver tests since they are not used.  Neither of these classes has
defined any abstract methods, so the abstract class definitions are unnecessary.

Also removed import statement for abstract base classes since there are now no
abstract class definitions.

Change-Id: I0b5b487631d780ba2ab087dce2ef340f126f8a69
Fixes dict metadata query issue of HBase

Now HBase doesn't support query the metadata with the dictionary
type. For example, the metadata of Glance image always has the
metadata "properties" which is dictionary and has some attributes,
size, kernel id, etc. So this fix will enable the HBase driver of
CM to support query like "metadata.properties.tag=test".

Fixes bug 1206022

Change-Id: I7fa73cea94a948d47e27492dfb7e3a0e005ccb48
Merge "Consume notification from the default queue"
Merge "Removed unused self.counters in storage test class"
Merge "Remove unused abstract class definitions"
Merge "add unit attribute to statistics"
Updated from global requirements

Change-Id: I2ce6d9920f25ce41cb0ef569534a25beb9f363aa
Remove counter occurences from documentation

Change-Id: I8c3efc533f2e3b9786549fcc07d1f3725c765fb1
Blueprint: remove-counter
Merge "Fixes dict metadata query issue of HBase"
Merge "Updated from global requirements"
Fix nova test_notifier wrt new notifier API

The Oslo notifier api lost add_driver(), and nova copy of that code has
been updated recently, so that broke Ceilometer testing of that piece.
Fix it by using another mechanism to test.

Change-Id: I0169fcc9955501d490dfcdd7742205ea5c9ba15b
Closes-Bug: #1211532
Fix Jenkins failed due to missing _

Fixes bug 1212116

Change-Id: Id1e0856c195c19ef6ec7321e5c5435bff0f7d20f
Reorg alarms controller to facilitate history API

Use controller/sub-controller pattern for the alarms collection and
individual alarms respectively (as we do for meters).

This will facilitate the addition of a 'history' custom action on
individual alarms.

Precursor to support for bp alarm-audit-api

Change-Id: I8e43cebdc82f05b2cc427c7a27114101836dbf5f
Skeletal alarm history API

A 'history' custom action is provided on the individual
alarm controller, always empty initially.

Precursor to support for bp alarm-audit-api

Change-Id: If05d23cda8f80fd5d3c3f7d0d6cf41bf51e2ae1a
Change test_post_alarm case in test_alarm_scenarios

It is not reasonable to assert that the new added object
will be the last one when call get_alarms, especially after
default sort direction is added.

Change-Id: Icd81aca5cd15e5ec34f081fe29fbad49dcccc45c
Change the error message of resource listing in mongodb

Seems that NotImplementedError can not be captured for some API level
test cases. So change the error message here that it can be captured.

Change-Id: I0ed87d3be8c908f7a23af6c24531e28d693c3240