monasca-api 2.7.0 (rocky)
We are amped to announce the release of: monasca-api 2.7.0: OpenStack Monitoring as a Service This release is part of the rocky stable release series. Download the package from: https://tarballs.openstack.org/monasca-api/ For more details, please see below. 2.7.0 ^^^^^ New Features ************ * Use of oslo mechanisms for defining and enforcing policy. A command line entry point that allow the user to generate a sample policy file. Upgrade Notes ************* * Apache Kafka has been upgraded to version 1.0.1 in devstack. It is the recommended version for Monasca. Because of existing old consumers, Kafka log message format option *log.message.format.version* should be set to 0.9.0. * Upgrade InfluxDB to 1.3.8 from 1.3.5. It provides couple of bug fixes as in https://docs.influxdata.com/influxdb/v1.3/about_the_project /releasenotes-changelog/#v1-3-9-2018-01-19 * Upgrade Storm to 1.1.3 from 1.1.1. It provides security fix for http://www.securityfocus.com/bid/104399 Changes in monasca-api 2.6.0..2.7.0 ----------------------------------- c11fbd6 Add keystone parameters to authenticate webhook notifications fb675ac Fix README.rst and add syntax check 054be06 Upgrade the storm to 1.1.3 0d218dd Remove usage of future library 0250f81 Add monasca_db command line tool f790495 Allow mod_wsgi to find application 9f2e147 Increase timeouts when installing Cassandra schema b3d6392 Python3: Fix NotificationMethodRepoDB tests b472a88 Activate html_static_path config option 30658b8 remove AUTHORS file from git c1adf3b Show how to enable more OpenStack services in devstack 7cf608c Switch to using stestr 7ee549b Upgrade Apache Kafka to ver. 1.0.1 in devstack 6af07fb Add py3 support for repositories packages dd99ad5 Python 3.5: Fix alarms repository 39d5bbb Alembic migrations for all SQL script revisions b7c9b7a Python 3.5: Fix alarm definitions repository 2af7bdd Convert README.md to ReStructuredText format 49decc3 Replace chinese double quotes to English double quotes 8a8f116 Move roles initialization to individual modules 5359e4e Enable uWSGI support in devstack 0b6c656 fix tox python3 overrides 2f7fd9d Document API methods in policy code 3ca4b05 Using oslo.policy for monasca-api 0970d81 Add architecture diagram 2822922 Update Monasca documentation page b61025a Bump influxdb to 1.3.8 4a652c6 Enable ui & logviewer locally ddc7659 Remove deprecated "auth_uri" 5effceb Changes to manage the agent target 5cd8c48 Add irrelevant-files to monasca-tempest-base job 2e078cd Change default authorized role 8efd03a Add py3.5 support for alarms endpoint/unit test Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 5 + AUTHORS | 119 ----- README.md | 119 ----- README.rst | 139 +++++ config-generator/README.rst | 4 + config-generator/api-config.conf | 1 + config-generator/policy.conf | 4 + devstack/README.md | 11 + devstack/Vagrantfile | 19 + devstack/files/kafka/kafka.service | 1 + devstack/files/kafka/server.properties | 8 +- .../files/monasca-api/apache-monasca-api.template | 18 + devstack/files/monasca-api/api-config.yml | 2 +- .../files/monasca-notification/notification.yaml | 10 + devstack/files/storm.yaml | 8 +- devstack/lib/notification.sh | 1 + devstack/lib/storm.sh | 19 +- devstack/plugin.sh | 66 ++- devstack/settings | 16 +- etc/api-uwsgi.ini | 25 + monasca_api/api/core/request.py | 13 +- monasca_api/api/core/request_context.py | 36 ++ monasca_api/api/wsgi.py | 7 +- monasca_api/cmd/__init__.py | 0 monasca_api/cmd/monasca_db.py | 167 ++++++ .../repositories/cassandra/metrics_repository.py | 17 +- .../repositories/influxdb/metrics_repository.py | 21 +- .../repositories/model/sub_alarm_definition.py | 24 +- .../sqla/alarm_definitions_repository.py | 58 +- .../common/repositories/sqla/alarms_repository.py | 17 +- monasca_api/common/repositories/sqla/models.py | 27 + monasca_api/conf/security.py | 6 +- monasca_api/config.py | 25 +- monasca_api/db/README | 12 + monasca_api/db/__init__.py | 0 monasca_api/db/alembic.ini | 74 +++ monasca_api/db/alembic/__init__.py | 0 monasca_api/db/alembic/env.py | 82 +++ monasca_api/db/alembic/script.py.mako | 24 + .../db/alembic/versions/00597b5c8325_initial.py | 588 +++++++++++++++++++++ .../versions/0cce983d957a_deterministic_alarms.py | 42 ++ ...181b42434b_remove_event_and_migration_tables.py | 176 ++++++ .../versions/6b2b88f3cab4_add_sub_alarm_state.py | 45 ++ ...256f0c1_add_inhibited_and_silenced_to_alarms.py | 48 ++ .../versions/c2f85438d6f3_period_notifications.py | 42 ++ .../d8b801498850_remove_stream_action_types.py | 49 ++ ...152a76_remove_inhibited_silenced_from_alarms.py | 48 ++ monasca_api/db/fingerprint.py | 66 +++ monasca_api/healthchecks.py | 2 + monasca_api/policies/__init__.py | 70 +++ monasca_api/policies/alarms.py | 166 ++++++ monasca_api/policies/delegate.py | 35 ++ monasca_api/policies/healthcheck.py | 36 ++ monasca_api/policies/metrics.py | 67 +++ monasca_api/policies/notifications.py | 101 ++++ monasca_api/policies/versions.py | 38 ++ monasca_api/v2/reference/alarm_definitions.py | 32 +- monasca_api/v2/reference/alarms.py | 37 +- monasca_api/v2/reference/helpers.py | 60 +-- monasca_api/v2/reference/metrics.py | 80 +-- monasca_api/v2/reference/notifications.py | 28 +- monasca_api/v2/reference/notificationstype.py | 3 +- monasca_api/v2/reference/version_2_0.py | 3 + monasca_api/v2/reference/versions.py | 3 + .../notes/apache-kafka-101-d5f3454fd445c727.yaml | 7 + .../notes/influx_1.3.8-e6b0be63d7d7222f.yaml | 5 + .../notes/oslo-policy-aebaebd218b9d2ff.yaml | 5 + .../notes/storm_1.1.3-4aa16a9c648cd89b.yaml | 5 + requirements.txt | 1 + setup.cfg | 9 +- test-requirements.txt | 2 +- tox.ini | 21 +- 89 files changed, 3304 insertions(+), 635 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index da59cbb..c6a3a72 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,0 +9 @@ oslo.middleware>=3.31.0 # Apache-2.0 +oslo.policy>=1.30.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 69ca844..dc1282d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17 +17 @@ oslotest>=3.2.0 # Apache-2.0 -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org