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
The change updates the imports to use simplejson library and fixes three
unit tests. In particular TestUtils.test_parse_alarm_state_hist_message
has been slightly changed to make testing more robust.
Also, Python 2 specific implemetation has been removed from
influxdb.line_utils .
Additionally, standard library unittest.mock is used instead of the
third party mock lib.
Depends-On: https://review.opendev.org/718014
Depends-On: https://review.opendev.org/720188
Change-Id: I64b1a60e8be929c25c005a0f429b1274cb8570e6
Story: 2007549
Task: 39390
Commit contains cassandra-driver version upgrade due to
older version lacking some components used in monasca-persister
Change-Id: I6d6f5dbf6533f820c954bc910a1de64803c11a2f
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: 30117
Depends-On: https://review.opendev.org/675297
Change-Id: I05428b8ae9e0ba9af5b81d3b103434ebd5657108
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
Revival and adding some modification to support schema change.
See also: I914176d60bfce91fbe449702f7e78bb2f78706ce
Change-Id: I2152057ef4843b555a21118cb20bd9eff36c3b7a
This patch cleans up the requirement list to remove oslo.service module
that is not used anymore directly by monasca-persister.
Change-Id: I11ee0bea4f3420bc45effe74463ee7155df8df48
This patch cleans up the requirement list to remove babel module
that is not used anymore directly by monasca-persister.
Change-Id: I27db884994ccd2299d7c146f5fffcaf01bcf0594
This patch cleans up the requirement list to remove iso8601 module
that is not used anymore directly by monasca-persister.
Change-Id: I4561cd30c0953e4cddd588763c84045d56ed7943
Separate out the persister classes into their own python files
and clean up some unused code for start up.
Change-Id: Id1460baef9e06025ed57030438a0021c253cc99a
Eventlet used to be used in the openstack/common directory we had. Since we've
removed that directory we don't need the requirement anymore.
Change-Id: Ib64a6cb900afeb18bd8c3f49fb354a63d086c2b4
Allow Cassandra Database to be used as backend database.
100% backward compatible with Influxdb.
Should not require any install or config changes to
use the default Influxdb.
Change-Id: I4cfe50a99eea0f8ae7421dcefbdd2cb2cc008b3b
Removed the old openstack directory and replaced it with oslo libraries.
Updated requirements for liberty versions of oslo libraries.
Change-Id: I4d6bfb4251eb23cf86b3173ac9cb0b889ebbf674
Adding six to the requirements file to handle version conflict between the
influxdb and Kazoo libraries.
Added monasca-common to requirements and removed kafka and kazoo libraries
Change-Id: I1b390b52db6bc58f6eb9850ad799970c50e23695
change 'name' to 'measurement'.
change 'timestamp' to 'time'.
store value_meta as "" instead of "\"\"" when empty.
Change-Id: I391ab269897e6575abd9027b6b4252083a015536
Allow persister instances to come and go. Automatically rebalance
reading the partitions amongst the existing persisters.
Change-Id: Ifd47459b0a29e91680e155d22b82086e04426215