The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Remove hacking and friends from lower-constraints, they are not needed
there at all.
Align lower-constraints for new pip [1]
Fix flake8 E305 and E117 and set W504 as ignored
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019285.html
Change-Id: Idae87291f4556eee77d40ab49f0d151435d70875
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.
Bump netaddr to 0.7.20 in lower-constraints.txt
since it is the min version with py3.8 support [2]
Bump psycopg2 to 2.8.4 in lower-constraints.txt
since it is the min version with py3.8 support [3]
Story: #2007865
Task: #40197
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
[2] cc2a9bb31f
[3] https://pypi.org/project/psycopg2/2.8.4/
Change-Id: I736f141b53d5fb985e5deaa5d77c552ebad6fccd
Additionally, temporarily set build-monasca-docker-image as non-voting
due to problems with buggy confluent-kafka 1.4.0 release, which prevents
building the Docker image.
Change-Id: I561ea633a09eb3d7468d2d55aa46d6fb3b2380ff
Story: 2007549
Task: 39390
The change introduces the possibility to run the persister with the new
confluent-kafka client. It has to be enabled in the configuration file.
Story: 2003705
Task: 35858
Depends-On: https://review.opendev.org/675297
Change-Id: I8d9e173e9a252712fb285c0676c26334e1f677a7
Pyhton version below 3.6,function json.loads() throw decoder error.
3.6 version input option can bytes or bytearray,below 3.6 version
type of bytes not cimpatible.
Task: 35991
Story: 2006285
Change-Id: Ib1dba51a57fdce028a6b20da06201f0597085047
The Jira module is now available in global-requirements:
https://review.openstack.org/#/c/562151/
Since the Jira module is now loaded by default, it always
needs to be installed. If a future change prevents loading
of the Jira module unless the Jira plugin is enabled then
this change can be reverted.
Change-Id: I3fea82e681cd49aab5cd6afc29c60302af7b63b7
Story: 2005400
Task: 30394
This commit adds functionality of sending webhook notifications to
various projects that require keystone authentications. For which user
need to set auth credentials in conf under keystone header.
By default it is disabled, which can be enabled in conf.
Change-Id: I3e773af8c3ebe0cf1d57e8fa1351b1e725a9cfa0
Partially-Implements: blueprint add-monasca-push-driver
Story: 2003105
Task: 23220
* update requirements from global-requirements
* move common commands to [testenv]
* bump monasca-statsd to 1.4.0 which is the first version with Python 3
support
* add funcsigs, Jinja2 and jira to lower-constraints.txt
Depends-On: https://review.openstack.org/562151
Change-Id: I427dd136b385f8784e6d16b174dcadf3ffa555a7
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
Unlocking the version of kafak-python for Mitaka compatibility. It looks like
we've since fixed the issues we saw with kafka-python 0.9.3.
Change-Id: Ia01c84dab452f262ce4308e6339c00f5e9f74955
Make simport requirement be =>0.2.dev16. This works
when installing Monasca Notification in the DevStack
Plugin.
Change-Id: I4917653fc2e113e9f7e67cb7f1fb5a50ff8cf1b0
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
Found this because monasca-notification aborted before
monasca-agent was installed in the virtual environment
Change-Id: Ib1eea8afde785ecadeac69d21ea6dd831f55b0ed
This patch enables the Webhook notification through a Http POST in a
URL address given in the "address" field of the Monasca
Notification-Method resource.
Depends on patch 135365
bp webhook-notification
Change-Id: Iec64d4507c360df1e123552d78ef9d97c5ba05d1
Switch to monasca-statsd so we can send additional dimensions
for service and component with the statsd messages.
Change-Id: Ic6ff3b67b4148c070ec9eec9f9f990680b5e9f4c
With kafka 0.8.1 it is now possible for non-java clients to track
offsets with kafka. Previously the code had built this using zookeeper.
This relies on kafka-python > 0.9.1
Change-Id: Ia42e713cc5d9ca61d8f8df2adc454f1e2579a229