aodh/ceilometer/storage
John Herndon d80f30f568 Add a Trait Type model and db table
The event api will provide a way to list all trait types for
a given event type. The current data model does not provide
an efficient way to get all trait types.

This change introduces a trait_type table, and TraitType model.
Trait information can be retrieved with this simple query into
TraitType:

SELECT id, desc, dtype FROM  trait_type;

The UniqueName table is no longer needed, so it has been removed.

Partial-Bug: 1211015
Change-Id: I6ec29dc1d71b5590204d7e7b1bf121c2c1ca1904
2013-12-02 15:16:42 -07:00
..
sqlalchemy Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00
__init__.py Add a specialized Event Type model and db table 2013-11-23 08:57:14 -07:00
base.py Apply six for metaclass 2013-10-08 15:22:30 +09:00
impl_db2.py full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00
impl_hbase.py full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00
impl_log.py Allow to get a disabled alarm 2013-09-26 11:53:01 +02:00
impl_mongodb.py full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00
impl_sqlalchemy.py Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00
models.py Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00