Commit Graph

12 Commits

Author SHA1 Message Date
Martin Chacon Piza f519f2d67e Fix and unify cover environment
Fix cover environment and unify it accordingly to Project Testing
Interface [1].

[1] https://governance.openstack.org/tc/reference/pti/python.html#coverage-jobs

Change-Id: I24335128cb3566e4104ddc6dad9a53f1a5ec249b
2020-05-27 18:30:03 +02:00
Tomasz Trębski e1a9b9a96a Integrate with oslo.conf and oslo.log
Change upgrades the monasca-notification to leverage
the capabilities of both oslo.log and oslo.conf:

- configuration of logging separated from application settings
- ability to enforce data types for application settings
- ability to use oslo.config-generator capabilities
- automatic configuration parsing done by oslo.cfg

That change will bring it closer to the rest of monasca
components where such transition has happened already.
However, in the rest of monasca, oslo.cfg was partially
or fully implemented whereas monasca-notification has
been relying on YAML based configuration file.

Therefore backward compatybility for such format will
be kept for now.

Story: 2000959
Task: 4093
Task: 4092

Change-Id: Ia75c3b60d0fada854178f21ca5ccb9e6a880f37f
2017-10-20 09:32:11 +02:00
Adrian Czarnecki 2092e4185c Add .stestr.conf .
Stestr after update changed configuration file format
This fix test warring : UserWarning: No .stestr.conf file found in the CWD. Please create one to to replace the .testr.conf. You can find a script to do this in the stestr.

Change-Id: I3894a1ca555067eba52920f455c04afe3a5262a7
2017-09-22 14:31:45 +02:00
Tomasz Trębski fe78b6d698 Make monasca-notification Py35 compatible
Adjust the monasca-notification to run
under Python3.5

Story: 2000975
Task: 4130

Change-Id: I3bf2725fb2904374d7bae51ebf061a47dcbef0c0
2017-07-18 13:31:41 +02:00
Tomasz Trębski 5de3ee9f23 Migrate tests to ostestr
Following commits migrates running
monasca-notification tests from nosetest
to ostestr, similar to other openstack projects.
Additionally, it enables calculating coverage
and py35 tests.

Extra:
* added debug environment with oslo_debug_helper

Change-Id: I555176b7f2ed54c3222312da341d433f429c5c6a
2017-01-19 06:15:40 +01:00
Joe Keen 82ae201cc4 Fixed mysql reconnect on error
Change-Id: I4bb502b295ee9f5d748bb11eadeae7392235981c
2015-08-21 14:37:53 -06:00
Michal Zielonka a82a49a1e8 Add configurable database setting (mysql, postgres, orm)
We used sqlalchemy.core for execute query for orm.
The configuration of db is based on monasca-api.
The default mode is mysql connection so we can use old configuration.

Change-Id: Iebb4d6dfca6d43298ced407178e7f9673a83a7ca
2015-08-04 22:34:57 +02:00
gary-hessler 9025d8b0e4 Switch to using monasca-statsd
Switch to monasca-statsd so we can send additional dimensions
for service and component with the statsd messages.

Change-Id: Ic6ff3b67b4148c070ec9eec9f9f990680b5e9f4c
2014-11-20 09:43:52 -07:00
Tim Kuhlman 224e654f4c Move to pbr based build
Change-Id: I36cc5d862c4364937450ad8ae4fa20a1a709781f
2014-07-29 16:07:42 -06:00
Tim Kuhlman e6e54c6576 Rename to monasca, setup for tox, removed legacy bits
Removed manual tests which are no longer valid with a modern mini-mon
Removed debian creation bits all distribution is with pypi now
Minor pep8 fixes

Change-Id: I1f2fc4d0ad6375f4c39446f9627247945066e4ad
2014-07-16 15:59:00 -06:00
Tim Kuhlman 332244a5a7 Initial reading from kafka. 2014-03-04 17:12:41 -07:00
Tim Kuhlman 4fc9b6a3c9 Initial structure 2014-02-27 16:55:07 -07:00