5 Commits

Author SHA1 Message Date
Tomasz Trębski
cabc2ddd5f Migrate to ostestr framework and PY3
Following commits does several things:

* migrates CI of monasca-common to ostestr
* enables PY35 compatybility

Also:

* marked one tests as excluded under PY35 because changing
it would require affecting embedded kafka library which
will be eventually removed in future

Change-Id: I432a466e2620bc8d305ef2630307b636461c8e81
2017-03-02 19:51:04 +01:00
cindy oneill
21d3947845 initial python monasca-common code in monasca_common
This is the start of a python monasca-common package.
Initially it has a common python logging config,
common oslo opts, and mysql common code.

Change-Id: I15c32b72fc42a8c5ce9eeedf20ca3a11907bf29f
2015-09-01 13:56:39 -06:00
Tomasz Trębski
6c56dc799e [monasca-common] Hibernate support added
- refactored code to match java guidelines
- added missed indexes
- fixed invalid string lengths according to latest mon.sql from ansible-monasca-schema
- introduced relations
- using ordinal for enum fields

Change-Id: Ic84bf542c10ff714885c7a53bb9cbe3a2fb728cd
2015-08-31 07:20:35 +00:00
Derrick Johnson
e102817f30 added test for parsing strings 2014-07-09 15:35:52 -07:00
Jonathan Halterman
13c126dcfe Initial commit 2014-02-18 12:50:19 -08:00