aodh/tests/storage
Terri Yu 3fa527f752 Add SQLAlchemy implementation of groupby
Implements: blueprint api-group-by

New class StatisticsGroupByTest contains the storage tests for group by
statistics and has its own test data

The storage tests check group by statistics for
 1) single field, "user-id"
 2) single field, "resource-id"
 3) single field, "project-id"
 4) single field, "source"
 5) single metadata field (not yet implemented)
 6) multiple fields
 7) multiple metadata fields (not yet implemented)
 8) multiple mixed fields, regular and metadata (not yet implemented)
 9) single field groupby with query filter
10) single metadata field groupby with query filter (not yet implemented)
11) multiple field group by with multiple query filters
12) multiple metadata field group by with multiple query filters
    (not yet implemented)
13) single field with period
14) single metadata field with period (not yet implemented)
15) single field with query filter and period
16) single metadata field with query filter and period (not yet implemented)

It also includes the implementation for the SQLAlchemy driver.

Change-Id: I902db657e424b9894c0382db4869b22317fc25da
2013-08-19 04:56:16 +00:00
..
__init__.py Sketch out a plugin system for saving metering data. 2012-06-08 15:00:47 -04:00
base.py Add SQLAlchemy implementation of groupby 2013-08-19 04:56:16 +00:00
test_base.py Bump hacking to 0.7.0 2013-08-16 13:22:03 +08:00
test_get_engine.py ceilometer tests need to be enabled/cleaned 2013-07-11 09:38:55 -04:00
test_impl_hbase.py Fix Hacking 0.6 warnings 2013-07-30 10:32:06 +02:00
test_impl_log.py ceilometer tests need to be enabled/cleaned 2013-07-11 09:38:55 -04:00
test_impl_mongodb.py Bump hacking to 0.7.0 2013-08-16 13:22:03 +08:00
test_impl_sqlalchemy.py Add SQLAlchemy implementation of groupby 2013-08-19 04:56:16 +00:00
test_models.py Get all tests to use tests.base.TestCase 2013-05-15 11:37:48 -04:00