Adds granularity support in OpenStack vim config 50/6050/3
authorBenjamin Diaz <bdiaz@whitestack.com>
Fri, 27 Apr 2018 17:32:31 +0000 (14:32 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Fri, 27 Apr 2018 21:38:04 +0000 (18:38 -0300)
commit75512477988ae5e287433c6c859c61de1bc82318
tree924e3f5c3267744e24b39073ee20183ee7955da3
parente69fe6fd4fca96b7e3f771cfbe7664bc0e8d727d
Adds granularity support in OpenStack vim config

Adds global config class in core
Reorders common_consumer conditional blocks
Adds support for OS_DEFAULT_GRANULARITY env var
Modifies tests to support changes

Change-Id: I873b8d24814825bff6e628092942bf16fa5e2a03
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
14 files changed:
osm_mon/core/auth.py
osm_mon/core/database.py
osm_mon/core/message_bus/common_consumer.py
osm_mon/core/settings.py [new file with mode: 0644]
osm_mon/plugins/OpenStack/Aodh/alarming.py
osm_mon/plugins/OpenStack/Aodh/notifier.py
osm_mon/plugins/OpenStack/Gnocchi/metrics.py
osm_mon/plugins/OpenStack/settings.py [deleted file]
osm_mon/test/OpenStack/test_alarm_req.py
osm_mon/test/OpenStack/test_alarming.py
osm_mon/test/OpenStack/test_common.py
osm_mon/test/OpenStack/test_notifier.py
osm_mon/test/OpenStack/test_settings.py
osm_mon/test/integration/test_notify_alarm.py