[openstack-announce] [new][monasca] monasca-api 1.2.0 release (newton)
no-reply at openstack.org
no-reply at openstack.org
Mon Jun 20 15:46:53 UTC 2016
We are jazzed to announce the release of:
monasca-api 1.2.0: OpenStack Monitoring as a Service
This release is part of the newton release series.
For more details, please see below.
Changes in monasca-api 1.1.2..1.2.0
-----------------------------------
80a84b5 Add domain variables for client
4df2cca Enable filter by severity in ORM
6f0c3b2 Allow QA teams to use the Top Level Domain .test
bc2b426 Pass Credentials object instead of TestResource object
0292ca9 Fix format specifier bug in GET /names
665f38c Adjust devstack plugin for new storm/thresh version
d8556ae Allow filtering by multiple severities
c2f8543 Add period field to notification methods
7d69277 Added more logs to devstack log output
0cce983 (Non)deterministic support for alarms
daca9b1 Remove unused and wrong pot file
fcb85d1 Fix alarm definition ok action validation
8d90606 Omit error logs which say can't remove npm cache
0602f68 [monasca-api] Change tox to use https instead of git
6262514 Remove python-dateutil useless requirement
fbd5871 Remove ujson useless requirement
c0c8277 Remove unnecessary executable permissions
930a1df Pagination fix for ORM
ea2447d [monasca-api]Constraint tox targets with upper-constraints.txt
f8b7e04 Make devstack setup script use identity v3
fc51f82 Fix metrics statistics with multiple statistics
7e1eee6 Or zookeeper with true when starting Kafka
7365487 Fix group_by concurrent modification exception
4bfe0fa Add the ability to give vertica a hint to satisfy query locally
ae05d04 Add support for multiple metrics in measurements and statistics resources
53d4fb7 Add equal sign on start/end time in influx
88b756c Fix metric-list limits
e46a57f Honour ENABLED_SERVICES in devstack plugin
ad2deb3 Return 422 when updating with invalid notification method
f5d76ca [Trivial] Remove unnecessary executable privilege
8ef748c Change tox file
4abeffe Fix sqla query of getting an alarm definition
f7e77bb Ignore value-meta validation when value-meta doesn't exist
69ae960 Alarm-update failed with too few arguments
e5aa3e5 Add kafka python to monasca-agent virtualenv
2d57741 Fix alarms with sort_by tests
8ec9924 FIX installation to enable to install after unstack
4645a24 Replace measurements table join with subquery that fits in memory
2588d9f Fix dimension validation of alarms
567babb Update nodejs and npm packages
9cfa9d1 Fix alarmdefs multiple sort_by doesn't work correctly
f10bddc Proposal of adding sort parameter to list notifications
a4aa70a Add grafana 2 setup to devstack monasca setup
02bf7a9 Validate value meta key and value in python api
b917418 Honor accessedViaHttps flag on self and next links
f612ed7 Remove sphinx requires from test-requirements
7e7cccf Add clean up of Vertica
036e417 Add support for Vertica in the DevStack plugin
859f946 Fix install of Horizon Monasa UI in DevStack Plugin
d902feb Fix statistic tests with Vertica in Devstack
1eb60c8 Fix List Alarm/Alarms History Offset in Vertica
e060173 Dimension Filtering in Vertica
Diffstat (except docs and test files)
-------------------------------------
.gitignore | 1 +
AUTHORS | 6 +
devstack/README.md | 110 +++++++
devstack/README.txt | 86 -----
devstack/Vagrantfile | 14 +-
devstack/files/env.sh | 2 +
devstack/files/grafana/grafana-server | 146 +++++++++
devstack/files/grafana/grafana.ini | 2 +
devstack/files/kafka/kafka.conf | 4 +-
devstack/files/keystone/create_monasca_service.py | 221 ++++++++-----
devstack/files/monasca-api/api-config.yml | 11 +
.../files/monasca-notification/notification.yaml | 6 +-
devstack/files/schema/mon_mysql.sql | 5 +-
devstack/files/vertica/mon_alarms.sql | 14 +
devstack/files/vertica/mon_metrics.sql | 105 ++++++
devstack/files/vertica/roles.sql | 18 ++
devstack/files/vertica/users.sql | 7 +
devstack/plugin.sh | 353 +++++++++++++++++----
devstack/settings | 13 +-
java/pom.xml | 8 -
java/src/deb/etc/api-config.yml-sample | 8 +
java/src/main/java/monasca/api/ApiConfig.java | 8 +-
.../monasca/api/app/AlarmDefinitionService.java | 5 +-
.../command/CreateNotificationMethodCommand.java | 48 +--
.../command/UpdateNotificationMethodCommand.java | 89 ++++++
.../api/app/validation/AlarmValidation.java | 14 +-
.../api/app/validation/DimensionValidation.java | 110 ++++---
.../validation/NotificationMethodValidation.java | 57 ++++
.../monasca/api/app/validation/Validation.java | 51 ++-
.../monasca/api/domain/model/alarm/AlarmRepo.java | 4 +-
.../model/alarmdefinition/AlarmDefinition.java | 14 +-
.../model/alarmdefinition/AlarmDefinitionRepo.java | 3 +-
.../monasca/api/domain/model/common/Paged.java | 37 ++-
.../domain/model/measurement/MeasurementRepo.java | 5 +-
.../api/domain/model/measurement/Measurements.java | 4 +-
.../notificationmethod/NotificationMethod.java | 17 +-
.../notificationmethod/NotificationMethodRepo.java | 8 +-
.../api/domain/model/statistic/StatisticRepo.java | 5 +-
.../hibernate/AlarmDefinitionSqlRepoImpl.java | 51 ++-
.../persistence/hibernate/AlarmSqlRepoImpl.java | 301 ++++++++++--------
.../hibernate/NotificationMethodSqlRepoImpl.java | 19 +-
.../influxdb/InfluxV9MeasurementRepo.java | 68 ++--
.../influxdb/InfluxV9StatisticRepo.java | 66 +++-
.../persistence/influxdb/InfluxV9Utils.java | 12 +-
.../mysql/AlarmDefinitionMySqlRepoImpl.java | 59 ++--
.../persistence/mysql/AlarmMySqlRepoImpl.java | 20 +-
.../persistence/mysql/MySQLUtils.java | 24 ++
.../mysql/NotificationMethodMySqlRepoImpl.java | 40 ++-
.../vertica/AlarmStateHistoryVerticaRepoImpl.java | 14 +-
.../vertica/MeasurementVerticaRepoImpl.java | 251 ++++++++++-----
.../vertica/MetricDefinitionVerticaRepoImpl.java | 106 ++++---
.../persistence/vertica/MetricQueries.java | 151 ++++++---
.../vertica/StatisticVerticaRepoImpl.java | 168 ++++++----
.../vertica/VerticaDataSourceFactory.java | 28 ++
.../api/resource/AlarmDefinitionResource.java | 6 +-
.../java/monasca/api/resource/AlarmResource.java | 12 +-
java/src/main/java/monasca/api/resource/Links.java | 104 +++---
.../monasca/api/resource/MeasurementResource.java | 9 +-
.../api/resource/NotificationMethodResource.java | 36 ++-
.../monasca/api/resource/StatisticResource.java | 8 +-
java/src/main/resources/api-config.yml | 33 +-
.../app/command/CreateNotificationMethodTest.java | 93 ++++--
.../api/app/validation/AlarmExpressionsTest.java | 5 +
.../monasca/api/app/validation/DimensionsTest.java | 48 ++-
.../api/domain/model/NotificationMethodTest.java | 4 +-
.../AlarmDefinitionSqlRepositoryImplTest.java | 23 +-
.../hibernate/AlarmSqlRepositoryImplTest.java | 30 +-
.../NotificationMethodSqlRepositoryImplTest.java | 36 ++-
.../AlarmDefinitionMySqlRepositoryImplTest.java | 31 +-
.../mysql/AlarmMySqlRepositoryImplTest.java | 2 +-
.../NotificationMethodMySqlRepositoryImplTest.java | 37 ++-
.../MeasurementVerticaRepositoryImplTest.java | 13 +-
.../MetricDefinitionVerticaRepositoryImplTest.java | 5 +-
.../persistence/vertica/MetricQueriesTest.java | 48 ++-
.../NotificationMethodIntegrationTest.java | 14 +-
.../api/resource/AlarmDefinitionResourceTest.java | 49 ++-
.../test/java/monasca/api/resource/LinksTest.java | 84 ++++-
.../monasca/api/resource/MetricResourceTest.java | 10 +-
.../resource/NotificationMethodResourceTest.java | 141 ++++++--
.../api/resource/StatisticResourceTest.java | 4 +-
.../api/resource/exception/ErrorMessages.java | 5 +-
java/src/test/resources/fixtures/alarm.json | 2 +-
.../fixtures/newNotificationMethodWithPeriod.json | 1 +
.../resources/fixtures/notificationMethod.json | 2 +-
java/src/test/resources/monasca-api-config.yml | 14 +-
.../api/infrastructure/persistence/mysql/alarm.sql | 1 +
.../persistence/mysql/notification_method.sql | 1 +
monasca_api/api/server.py | 0
.../repositories/influxdb/metrics_repository.py | 8 +-
.../repositories/model/sub_alarm_definition.py | 9 +-
.../mysql/alarm_definitions_repository.py | 33 +-
.../common/repositories/mysql/alarms_repository.py | 12 +-
.../repositories/mysql/notifications_repository.py | 28 +-
.../repositories/notifications_repository.py | 8 +-
.../sqla/alarm_definitions_repository.py | 21 +-
.../common/repositories/sqla/alarms_repository.py | 22 +-
monasca_api/common/repositories/sqla/models.py | 3 +
.../repositories/sqla/notifications_repository.py | 23 +-
monasca_api/expression_parser/alarm_expr_parser.py | 29 +-
monasca_api/locale/monasca.pot | 22 --
.../schemas/notifications_request_body_schema.py | 51 ++-
monasca_api/v2/common/validation.py | 43 +++
monasca_api/v2/reference/__init__.py | 8 +-
monasca_api/v2/reference/alarm_definitions.py | 40 ++-
monasca_api/v2/reference/alarms.py | 30 +-
monasca_api/v2/reference/helpers.py | 14 +-
monasca_api/v2/reference/metrics.py | 7 +-
monasca_api/v2/reference/notifications.py | 50 ++-
.../test_alarms_state_history_one_transition.py | 38 ++-
requirements.txt | 2 -
test-requirements.txt | 6 -
tools/tox_install.sh | 57 ++++
tox.ini | 7 +-
129 files changed, 4525 insertions(+), 1354 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index 963bc82..7d3adcc 100755
--- a/requirements.txt
+++ b/requirements.txt
@@ -14 +13,0 @@ pbr
-python-dateutil
@@ -16 +14,0 @@ six
-ujson>=1.33
diff --git a/test-requirements.txt b/test-requirements.txt
index ca4d2ce..37427c3 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -14,2 +13,0 @@ nose
-# Docs Requirements
-oslosphinx
@@ -18,4 +15,0 @@ python-subunit>=0.0.18
-sphinx>=1.1.2,!=1.2.0,<1.3
-sphinxcontrib-docbookrestapi
-sphinxcontrib-httpdomain
-sphinxcontrib-pecanwsme>=0.8
More information about the OpenStack-announce
mailing list