We are delighted to announce the release of: monasca-api 3.1.0: OpenStack Monitoring as a Service This release is part of the train release series. The source is available from: https://opendev.org/openstack/monasca-api Download the package from: https://tarballs.openstack.org/monasca-api/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. Changes in monasca-api 3.0.0..3.1.0 ----------------------------------- 967b918b Implement separate db per tenancy 233ea9c5 Support time range to query dimension names/values d2379a01 Merge log-api and api b5ebea89 Blacklist sphinx 2.1.0 (autodoc bug) 47c5ad37 Use Confluent Kafka client f503babd Set job with Java persister non-voting cc09e904 Update the constraints url 7f6dc5f2 Disable legacy Kafka client in DevStack 848f994b Blacklist eventlet 0.23.0, 0.25.0 4e927484 Exclude influxdb 5.2.3 for python 1f9ef038 generate monasca pdf documentation 29fa4e5e Disable legacy Kafka client in notification engine 30648986 Support cassandra connection timeout option dfd94235 Upgrade Apache Kafka to version 2.0.1 aa769d0d Bump the openstackdocstheme extension to 1.20 2485e39b Merge monasca-common code into the monasca-api 6cc6c9ba Switch python3 versions of test jobs to match Train PTI 4f62c1d3 Upgrade Storm to 1.2.2 1629b13a Make python3 default for devstack 53f783b6 Add monasca-log-api source code e3e3d386 Remove failing non-voting CI jobs 1ef1aa1a Add unit test 2bf341c6 Use monasca-notification.conf during devstack runs 37da650d Update DevStack git repository URL in Vagrantfile 36aec23c Enables InfluxDB TSI data storage as default 0fae94fa Update hacking version to 1.1.x 7ce0d8e2 Make monascalog-python3-tempest a gating test 07efdae8 Upgrade InfluxDB to latest release (v1.7.6) 8eea21c0 Fix sqlalchemy deprecation error 45a5ab16 Replace git.openstack.org URLs with opendev.org URLs dbe1ea8b Support cassandra connection timeout option 54d7da34 Change repository links usage in Dockerfile and build image f39b1d9b Fix mysql connection error in docker env a9cc4bb4 Add support for using Falcon 2.0.0 26133aef OpenDev Migration Patch 22ae2766 Improve Docker README file 8369c5c2 Docker support cassandra keyspace option b33c46ba Dropping the py35 testing 65def2e6 Improve devstack vagrantfile b13f2c42 cassandra docker support 0b1bb932 cassandra cluster no load-balancing policy 2b3ff63a Keystone region name option redefined a6e3121d Use proper naming for docker service image zuul job 1d3efdb2 Update /v2/alarms/count api endpoint 8437530b Update Ubuntu release in documentation 033450ec Update master for stable/stein 8a4f20dc Keystone region name support d6852ee1 Detect missing metric_id before passing through bytearray() 26f5cd6b In Python3.7 async is a keyword [1] Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 - .gitreview | 2 +- .zuul.yaml | 36 +- api-ref/source/conf.py | 20 - devstack/README.md | 8 +- devstack/Vagrantfile | 12 +- devstack/files/influxdb/influxdb-1.0.0.conf | 325 ----------- devstack/files/influxdb/influxdb.conf | 603 +++++++++++++++------ devstack/files/kafka/log4j.properties | 72 --- devstack/files/kafka/server.properties | 96 ++-- .../files/monasca-notification/notification.yaml | 138 ----- devstack/lib/notification.sh | 39 +- devstack/lib/persister.sh | 1 + devstack/plugin.sh | 59 +- devstack/settings | 8 +- lower-constraints.txt | 10 +- monasca_api/api/core/log/__init__.py | 0 monasca_api/api/core/log/exceptions.py | 37 ++ monasca_api/api/core/log/log_publisher.py | 216 ++++++++ monasca_api/api/core/log/model.py | 119 ++++ monasca_api/api/core/log/validation.py | 246 +++++++++ monasca_api/api/core/request.py | 3 +- monasca_api/api/core/request_context.py | 2 +- monasca_api/api/logs_api.py | 61 +++ monasca_api/api/server.py | 26 +- monasca_api/common/messaging/kafka_publisher.py | 9 +- .../common/messaging/message_formats/metrics.py | 2 +- monasca_api/common/policy/__init__.py | 0 monasca_api/common/policy/i18n.py | 46 ++ monasca_api/common/policy/policy_engine.py | 248 +++++++++ .../repositories/cassandra/metrics_repository.py | 37 +- .../repositories/influxdb/metrics_repository.py | 74 ++- .../common/repositories/metrics_repository.py | 18 +- .../sqla/alarm_definitions_repository.py | 4 +- .../common/repositories/sqla/alarms_repository.py | 25 +- monasca_api/common/rest/__init__.py | 0 monasca_api/common/rest/exceptions.py | 39 ++ monasca_api/common/rest/utils.py | 115 ++++ monasca_api/conf/cassandra.py | 8 + monasca_api/conf/dispatcher.py | 3 + monasca_api/conf/global.py | 8 +- monasca_api/conf/influxdb.py | 4 + monasca_api/conf/kafka.py | 75 +-- monasca_api/conf/log_publisher.py | 48 ++ monasca_api/conf/security.py | 11 +- monasca_api/policies/healthcheck.py | 8 + monasca_api/policies/logs.py | 42 ++ monasca_api/v2/common/bulk_processor.py | 134 +++++ monasca_api/v2/common/helpers.py | 63 +++ monasca_api/v2/reference/helpers.py | 43 +- monasca_api/v2/reference/logs.py | 89 +++ monasca_api/v2/reference/metrics.py | 24 +- ...ndra-loadbalancing-policy-4d5d0e7e8064a870.yaml | 5 + ...fka_client_enabled_option-7be9bc4e0fcecc70.yaml | 7 + .../alarms-count-dimensions-f746ca6c725335b2.yaml | 8 + ...-connectiontimeout-option-13bc68e2fcd56580.yaml | 4 + .../notes/enable-disk-tsi-40f29262a0301531.yaml | 8 + ...support-for-db-per-tenant-6ada0c3979de6df8.yaml | 6 + releasenotes/notes/mergeapis-baa6905c7b8fd070.yaml | 11 + ...imension-names-and-values-e5a2ba64700dcd0b.yaml | 7 + .../notes/upgrade-influxdb-3fa94ef4b15c8217.yaml | 10 + .../notes/upgrade-storm-7b4f262d3783d589.yaml | 5 + .../upgrade_kafka_2.0.1-b53f180d751e47f5.yaml | 6 + releasenotes/source/conf.py | 16 - releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 7 +- setup.cfg | 6 +- test-requirements.txt | 11 +- tox.ini | 15 +- 95 files changed, 5082 insertions(+), 1348 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1754ab40..12241288 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16 +16 @@ python-keystoneclient>=3.8.0 # Apache-2.0 -falcon>=1.0.0 # Apache-2.0 +falcon>=2.0.0 # Apache-2.0 @@ -17,0 +18 @@ keystonemiddleware>=4.17.0 # Apache-2.0 +Paste>=2.0.2 # MIT @@ -23,2 +24,2 @@ voluptuous>=0.8.9 # BSD License -eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT -monasca-common>=2.7.0 # Apache-2.0 +eventlet!=0.18.3,!=0.20.1,!=0.21.0,!=0.23.0,!=0.25.0,>=0.18.2 # MIT +monasca-common>=2.16.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index dc1282d2..0e340b4a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7 +7 @@ bashate>=0.5.1 # Apache-2.0 -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 @@ -13 +13,2 @@ httplib2>=0.9.1 # MIT -influxdb>=2.9.2 # MIT +influxdb>=2.9.2,!=5.2.0,!=5.2.1,!=5.2.2;python_version<'3.0' # MIT +influxdb>=2.9.2;python_version>='3.0' # MIT @@ -16,0 +18 @@ oslotest>=3.2.0 # Apache-2.0 +requests-mock>=1.2.0 # Apache-2.0 @@ -28 +30,2 @@ doc8>=0.6.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD @@ -31 +34 @@ reno>=2.5.0 # Apache-2.0 -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org