* Update monasca-notification from branch 'master'
to 13121a1059492dc36a885e443a728b53cfafe3d8
- Making the gates happy
fix: allowlist_externals added to tox
fix: upgrading gevent
fix: pep8 issue fixed for slack_notifier
fix: change env list
Change-Id: Iefc7fdc89a398623aa3515c89240b53a49c10282
* Update monasca-notification from branch 'master'
to 5225304a268fbd7e5edc30ab6d2b0cbf3b92b565
- Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: Idc88314ead611a6bea4dba9115b0aed9e551bb87
* Update monasca-notification from branch 'master'
to d4656c17d3747953cf9e6e2432e5602828fb3a23
- Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I3ed077b85e19b837e4de55df870249a03aa38023
* Update monasca-notification from branch 'master'
to 8ad82d1827571e2f08dda31c04dc63a1ad0d68c1
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I4a76fdb8f39f3f165412cfb470c39ddb0892230a
* Update monasca-notification from branch 'master'
to 975f46d226e479180c6499fe34073225aeadefdb
- Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I8c918667725bbce039708541e234f290b577cad6
* Update monasca-notification from branch 'master'
to 405efc6ebf989a8a4ffa2cc968a197c0cae27b77
- Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I142bbbc223007f46c63508406059373f706c7a6a
* Update monasca-notification from branch 'master'
to fa2454a3c9c524773891e53d2d61f9227a9a2d46
- Fix Grafana URL in email notification
- Remove prefix 'dim_' from dimensions in Drilldown Dashboard
- Same was done for Monasca-UI [1]
[1] https://review.opendev.org/c/openstack/monasca-ui/+/782599
Change-Id: I69e3e7db54b995e45810532a1dd940ac8b68921f
* Update monasca-notification from branch 'master'
to 54f66e9b75c127f73c428e954b62113d024d22d5
- Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ib808975d3bb51989154a9f9935497e73f0e63821
* Update monasca-notification from branch 'master'
to ff1872d1618012808c06c37161f81ba4f0202b38
- Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I795ff12d3e450b7d39f4cb4f6e577df717b7f80f
* Update monasca-notification from branch 'master'
to 5104c9ebac38b81e415781d95a0c1089d676c6b1
- Fix zuul publish docker image job
Add tag to docker push command with specific branch name
Change-Id: I9c408f2198a017391decba04008f2d3bfec6525e
* Update monasca-notification from branch 'master'
to 35a9b57f9136b4ce735a00d788fa49133aa29abc
- Update hacking for Python3
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
* Update monasca-notification from branch 'master'
to d3a6a068f0286555dc6ffc4b282b59ef6e18caf0
- Merge "Remove six"
- Remove six
Remove all six usage.
Change-Id: Ib2f0f6cf3b7f5d9ec20440fb81b09c1c083c67b0
Story: 2008305
Task: 41295
* Update monasca-notification from branch 'master'
- bump py37 to py38 in tox.ini
in 'victoria' cycle, we should test py38 by default.
Trivial change
Change-Id: I6154d143e0cd0616ba27b6ae8b35fbbf88a70e4a
* Update monasca-notification from branch 'master'
- Merge "Set Docker publish jobs"
- Set Docker publish jobs
- Set as voting:
build-monasca-docker-image
- Bringing back the Docker publish jobs which were temporarily
disabled [1]
[1] db01fe425b
Change-Id: I6892059b122cd5ec84edd41fc55a6aa2ea6267a9
* Update monasca-notification from branch 'master'
- Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I9be0ebc0666f841abf676f4a85f37462b5a03e40
* Update monasca-notification from branch 'master'
- Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I0cc7070c971a15873e008a2c6937ce5ac6d24ffa
Sem-Ver: feature
* Update monasca-notification from branch 'master'
- [goal] Migrate testing to ubuntu focal
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
* Update monasca-notification from branch 'master'
- Set legacy_kafka_client_enabled = False on default
We change the default value of kafka.legacy_kafka_client_enabled from
True to False. The use of new Confluent Kafka client is recommended.
Change-Id: Ie6a15474ebc1f04b8555ee44d413c19ee26a9227
Story: 2007924
Task: 40339
* Update monasca-notification from branch 'master'
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: Ib7c9cca06dcfe14440ab9711cc0b76a5b4fe4e1c
* Update monasca-notification from branch 'master'
- Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ib09fb7435a88f15147befd4448279d5b82bd3fcc
* Update monasca-notification from branch 'master'
- Merge "Add Python3 victoria unit tests"
- Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I6a54b81d9b31abfa4fab0b6ab0d785219766de7f
* Update monasca-notification from branch 'master'
- Remove .testr.conf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.
Change-Id: Ifb722ab5e744b645d85f6adf3ed471694c115e07
* Update monasca-notification from branch 'master'
- Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I99097f959d314f4a7867463d41a9c5a8817fd06b
Sem-Ver: feature
* Update monasca-notification from branch 'master'
- Remove deprecated YAML config
This was marked for removal after the Pike release.
Updating Docker file is leftover and will done in a separate change.
Story: 2003180
Task: 23326
Change-Id: I583eab7b3ea2efd5d9bcd3ef433e68b49684e343
* Update monasca-notification from branch 'master'
- Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I380f25044c8f7b496d485aabf09215468f955818
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update monasca-notification from branch 'master'
- Merge "Cleanup py27 support"
- Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: Ic79312278978ecb5d93386fa9f4261be037611ed
* Update monasca-notification from branch 'master'
- Migrate from ujson to simplejson
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
* Update monasca-notification from branch 'master'
- Declare cli.yaml_config option as not required
YAML configuration support has been deprecated and will be removed. We
don't need this option for starting the service.
Depends-On: https://review.opendev.org/709389
Change-Id: I6d473d54a97abfb91e73c0e47cd7536639bb14e2
Story: 2007318
Task: 38827
* Update monasca-notification from branch 'master'
- Merge "Allow users to set periodic notifications on all notification types"
- Allow users to set periodic notifications on all notification types
In some cases, users may want to send periodic notifications for
notification types other than webhooks.
Story: 2006837
Task: 37412
Change-Id: Icd1b12f4b1e452f8285b8402f49815dd7f72b1ea
* Update monasca-notification from branch 'master'
- Merge "Fix periodic notifications for webhooks"
- Fix periodic notifications for webhooks
- Removes the hard-coded magic number of 60 seconds allowing users to
choose the period that they require.
- Standardise on strings for DictOpt dict keys. When loaded from a config
file, the DictOpt keys are parsed as strings, which was conflicting with
the default integer dict keys. This caused the periodic engine to silently
fail to load when configured via a config file.
- Remove unused variable
Story: 2006783
Task: 37313
Change-Id: Ibd61c45fc1ade37022150d34a5b00c56fdf69814
* Update monasca-notification from branch 'master'
- Merge "Bump the openstackdocstheme extension to 1.20"
- Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: Ia8c60dfacd03a3e1aa983ae8ea9ca2eeb452a463
* Update monasca-notification from branch 'master'
- Fix the IPv6 address and port parsing
There can be lot of possibility for IPv6 address with port,
for example [::1]:80 or [2001:db8:85a3::8a2e:370]:7334.
Parsing that in more standard way is provided by oslo_uilts.netutils
parse_host_port() method[1].
Story: #2006309
Task: #36030
[1] 1b8bafb391/oslo_utils/netutils.py (L37)
Change-Id: Ie7a3bd3074c02430c754deaebfde6d174563b31e
* Update monasca-notification from branch 'master'
- Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: Ie58e7483fd008273df76927ad0864548c75a98bf
Sem-Ver: feature
* Update monasca-notification from branch 'master'
- Merge "Use Confluent Kafka client"
- Use Confluent Kafka client
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
* Update monasca-notification from branch 'master'
- Merge "Templates for Slack notifications"
- Templates for Slack notifications
This change adds an optional, user configurable template which
may be used to format the text contained in Slack notifications.
Story: 2001308
Task: 5859
Change-Id: Id936c3dc8b4f3e2430de20c8b69d0e703b1cf9ef
* Update monasca-notification from branch 'master'
- Json loads error
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