8cff9c154b
Ceilometer in Ocata made several changes to move away from oslo config's global conf. Instead ceilometer/service.py now creates a oslo config object that gets passed to the publisher. To keep up with the changes had to make the following changes in monasca-ceilometer 1.) Monasca Publisher now extends ConfigPublisherBase, with conf as argument 2.) monasca_client now takes conf as an argument during intialization. 3.) Added monasca_ceilometer_opts to intialize all ConfigOpts. This will have to be regiested in ceilometer/opts.py. (will need a additional line in opts.py) 4.) Introduced three new properties service_username, service_password and service_auth_url since username, password and auth_url were removed from [service_credentials] section. 5.) Added api/health.py, service.py and opts.py from ceilometer code base which were modified to read monasca ceilometer options via monasca_ceilometer_opts.py 6.) Added ostestr to test requirements and updated tox.ini to run tests in serial (to avoid problems with singleton mapping classes, stepping on each other test values when run in parallel) List of Ceilometer changes to remove global conf [1] https://review.openstack.org/#/c/384834 [2] https://review.openstack.org/#/c/384624 [3] https://review.openstack.org/#/c/386025 This change also modifies test-requirements.txt to bring this master branch up to the stable/pike version of ceilometer, and python-monascaclient up to 1.7.1 (pike). Change-Id: Ieb7962a50fdb5d12ea6238c96ed116e8b2c83c48 |
||
---|---|---|
.. | ||
api | ||
__init__.py |