We are chuffed to announce the release of: monasca-notification 2.0.0: Reads alarms from Kafka and then notifies the customer using their configured notification method. This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/monasca-notification Download the package from: https://tarballs.openstack.org/monasca-notification/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. 2.0.0 ^^^^^ Upgrade Notes * Support for YAML configuration file has been removed. Last release of monasca-notification to support YAML configuration is OpenStack Train. Please use oslo.config configuration file instead. Changes in monasca-notification 1.18.0..2.0.0 --------------------------------------------- 0b5b77c Remove deprecated YAML config db7377f Use unittest.mock instead of third party mock db01fe4 Migrate from ujson to simplejson 7b6b053 Cleanup py27 support 76f86ec Declare cli.yaml_config option as not required 044b9c7 Allow users to set periodic notifications on all notification types efc6e28 Fix periodic notifications for webhooks fc8c53f [ussuri][goal] Drop python 2.7 support and testing f062546 Blacklist sphinx 2.1.0 (autodoc bug) 88dbdcf Switch to Ussuri jobs 484073e Fix the IPv6 address and port parsing f92e210 Bump the openstackdocstheme extension to 1.20 e4bcb1f Update master for stable/train Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 15 +- lower-constraints.txt | 1 + monasca_notification/conf/__init__.py | 84 -------- monasca_notification/conf/cli.py | 40 ---- monasca_notification/conf/kafka.py | 2 +- monasca_notification/conf/types.py | 4 +- monasca_notification/conf/zookeeper.py | 2 +- monasca_notification/config.py | 16 +- monasca_notification/main.py | 4 +- monasca_notification/notification.py | 4 - monasca_notification/notification_engine.py | 6 +- monasca_notification/periodic_engine.py | 9 +- monasca_notification/plugins/hipchat_notifier.py | 2 +- monasca_notification/plugins/jira_notifier.py | 7 +- monasca_notification/plugins/jiraformat.yml | 1 - monasca_notification/plugins/pagerduty_notifier.py | 2 +- monasca_notification/plugins/slack_notifier.py | 6 +- monasca_notification/plugins/webhook_notifier.py | 2 +- monasca_notification/processors/alarm_processor.py | 2 +- ...or_all_notification_types-ce399a32e5d0f4d3.yaml | 3 + .../notes/drop-py-2-7-285e126a13e4b5a7.yaml | 6 + .../notes/drop-yaml-config-9eb8f5e68a40ba14.yaml | 6 + ...ix_periodic_notifications-d842bfb5ec665123.yaml | 6 + releasenotes/source/conf.py | 16 -- releasenotes/source/index.rst | 1 + releasenotes/source/train.rst | 6 + requirements.txt | 1 + setup.cfg | 10 +- setup.py | 9 - test-requirements.txt | 2 - tox.ini | 12 +- 46 files changed, 80 insertions(+), 471 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f45bae6..6bf5b74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,0 +16 @@ jira>=1.0.3 # BSD License (2 clause) +simplejson>=3.8.1 diff --git a/test-requirements.txt b/test-requirements.txt index b89e4b7..4c0a30d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,2 +9,0 @@ coverage!=4.4,>=4.0 # Apache-2.0 -mock>=2.0.0 # BSD -funcsigs>=1.0.0;python_version=='2.7' or python_version=='2.6' # Apache-2.0