aodh/ceilometer/storage
Julien Danjou 0fdf53d675 alarm: fix MongoDB alarm id
The current implementation actually fails unit test because it tries to
use alarm id as the internal MongoDB object ID. That doesn't work
because MongoDB object ID must have a certain format and length.

Rather than using a backend specific alarm id, let's just use an uuid
based one that is not tight to the back-end.

Change-Id: I9ea79fc56b8beaf1efceddeaa5e9e43b620e5e98
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-07 14:08:57 +02:00
..
sqlalchemy Split and fix live db tests 2013-03-29 09:46:22 +01:00
__init__.py Rename EventFilter to SampleFilter. 2013-05-02 11:38:26 -03:00
base.py Add Alarm DB API and models 2013-05-06 11:08:42 +10:00
impl_hbase.py Add Alarm DB API and models 2013-05-06 11:08:42 +10:00
impl_log.py Add Alarm DB API and models 2013-05-06 11:08:42 +10:00
impl_mongodb.py alarm: fix MongoDB alarm id 2013-05-07 14:08:57 +02:00
impl_sqlalchemy.py Add Alarm DB API and models 2013-05-06 11:08:42 +10:00
models.py Add Alarm DB API and models 2013-05-06 11:08:42 +10:00