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 cassandra-driver to 3.21.0 in lower-constraints.txt
since it is the min version with py3.8 support [2]
Bump kazoo to 2.8.0 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] https://pypi.org/project/cassandra-driver/3.21.0/
[3] 6b6ffe62a0
Change-Id: I3a465aa0b26dd72432696d2dd19c955eb3e974e5
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
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I95fb0ca759471f7ad7189a7d54c1dac2cc018fc4
Commit contains cassandra-driver version upgrade due to
older version lacking some components used in monasca-persister
Change-Id: I6d6f5dbf6533f820c954bc910a1de64803c11a2f
Cassandra client version had to be changed because its earlier version
doesn't contain DCAwareRoundRobinPolicy and TokenAwarePolicy in
cassandra.cluster (those are located in cassandra.policies instead),
needed in persister (specifically cassandra/connection_util.py).
Change-Id: I9f9eb478808ad978815c19a5c4e1baaa35fa6d28
With changeset [1], releasenotes are added to monasca-persister. To
make the release notes available, the notes can be build now with
tox ("tox -e releasenotes") and the standard zuul
job (release-notes-jobs-python3) was added to build and publish the
notes.
Also adjust elasticsearch requirement to "<3.0.0" to be inline with
the global-requirements list. This fixes:
Requirement for package elasticsearch excludes a version not excluded
in the global list.
[1] Ida11c326b3e6771b5ccf994205c55874db05bc5c
Change-Id: I16268797151a6b997610c8fbded4c9eeb9265597
This change extends the persister to read OpenStack
event objects from kafka topic and then stores
them into ElasticSearch.
Story: 2001112
Task: 4843
Change-Id: I35b0db67dc088e56ad281c84fc4b50fa7a064e44
To generate the sample config file, do what other OpenStack projects do
and use the oslo.config provided mechanism.
Story: 2001009
Task: 4201
Change-Id: I490de4110843f7dfd618a6a8cc8d6a4e35db65ce
Both are optional requirements (but one must be used) so add both to the
"extras" section instead of a commented entry in requirements.txt .
Change-Id: I1f0eca2474ca275f64314a7b30b18e534afefdee
Add unit tests for persister.py in root directory.
Additionally:
* switched to testr as it seems to be used in many
openstack projects
* enabled coverage
Change-Id: I429ef6a900808c192ad5613c13808583d33fde24
This summary is used on PyPI and when building release announcement
emails.
Change-Id: Iace350c4161bcfa3f634a9c95e1ffd104c363333
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
monasca_persister.servicerunner no longer exists, it has been replaced
by monasca_persister.persister.
Change-Id: Iac72acb0c355e8306fdf07ba645918beac78bd1e
Closes-Bug: #1603915
Removed the old openstack directory and replaced it with oslo libraries.
Updated requirements for liberty versions of oslo libraries.
Change-Id: I4d6bfb4251eb23cf86b3173ac9cb0b889ebbf674