We are stoked to announce the release of: monasca-persister 1.9.0: Moves metrics and alarm state transitions from the Message Queue to the Metrics and Alarms database. This release is part of the queens release series. Download the package from: https://tarballs.openstack.org/monasca-persister/ For more details, please see below. Changes in monasca-persister 1.8.0..1.9.0 ----------------------------------------- 2cd1759 Upper pom version to 1.3.0 232e64c Add Cassandra tempest tests 2033757 Add Cassandra db support 4f17e1d Updated from global requirements e73c693 Updated from global requirements 0812671 Disable events persister per default 8273de7 Add support for persisting events 3a3317c Add .zuul.yaml file Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 16 + java/pom.xml | 35 +- .../java/monasca/persister/PersisterModule.java | 14 +- .../persister/configuration/PersisterConfig.java | 11 + .../persister/configuration/PipelineConfig.java | 11 + .../monasca/persister/consumer/KafkaChannel.java | 65 ++-- .../consumer/KafkaConsumerRunnableBasic.java | 61 ++- .../persister/pipeline/event/FlushableHandler.java | 83 ++-- .../persister/pipeline/event/MetricHandler.java | 33 +- .../monasca/persister/repository/Sha1HashId.java | 73 ++++ .../repository/cassandra/CassandraAlarmRepo.java | 113 ++++++ .../repository/cassandra/CassandraCluster.java | 427 +++++++++++++++++++++ .../repository/cassandra/CassandraMetricBatch.java | 207 ++++++++++ .../repository/cassandra/CassandraMetricRepo.java | 336 ++++++++++++++++ .../repository/cassandra/CassandraRepo.java | 210 ++++++++++ .../repository/cassandra/MonascaRetryPolicy.java | 77 ++++ .../persister/repository/vertica/Sha1HashId.java | 63 --- .../repository/vertica/VerticaMetricRepo.java | 3 + monasca_persister/conf/cassandra.py | 43 ++- monasca_persister/conf/elasticsearch.py | 52 +++ monasca_persister/conf/kafka_alarm_history.py | 9 +- monasca_persister/conf/kafka_common.py | 4 +- monasca_persister/conf/kafka_events.py | 57 +++ monasca_persister/conf/kafka_metrics.py | 6 + monasca_persister/conf/repositories.py | 5 +- monasca_persister/persister.py | 27 +- .../repositories/cassandra/abstract_repository.py | 20 +- .../cassandra/alarm_state_history_repository.py | 66 ++-- .../repositories/cassandra/connection_util.py | 51 +++ .../repositories/cassandra/metric_batch.py | 150 ++++++++ .../repositories/cassandra/metrics_repository.py | 283 +++++++++++--- .../repositories/cassandra/retry_policy.py | 49 +++ .../cassandra/token_range_query_manager.py | 67 ++++ .../repositories/elasticsearch/__init__.py | 0 .../elasticsearch/events_repository.py | 74 ++++ monasca_persister/repositories/persister.py | 5 +- monasca_persister/repositories/utils.py | 12 + pom.xml | 2 +- requirements.txt | 4 +- setup.cfg | 2 + tox.ini | 2 +- 44 files changed, 2642 insertions(+), 307 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index d164c8f..c7194c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4 +4 @@ -oslo.config>=4.6.0 # Apache-2.0 +oslo.config>=5.1.0 # Apache-2.0 @@ -7 +7 @@ oslo.log>=3.30.0 # Apache-2.0 -six>=1.9.0 # MIT +six>=1.10.0 # MIT