Added a Common KafkaConsumer for all of the plugins 01/5701/1
authorHelena McGough <helena.mcgough@intel.com>
Fri, 17 Nov 2017 14:57:08 +0000 (14:57 +0000)
committerHelena McGough <helena.mcgough@intel.com>
Fri, 17 Nov 2017 15:10:55 +0000 (15:10 +0000)
commitfe92f84dab8052613b18fbc40dfb12d8bc8721e0
treef30ddf29cf65b2b7985449bf40821cb4fb135b1d
parent375f07c018e209ae54391d4d0cb4898d4bdb79b4
Added a Common KafkaConsumer for all of the plugins

 - Added the common consumer for all request messages
 - Updated the OpenStack plugins to use the common consumer
 - Included the access_credentials topic into this consumer
 - Added the json schemas for the openstack, vrops and cloudwatch
   access credentials
 - Updated the Openstack plugins to use access_credentials messages
 - Added and updated all necessary tests
 - Updated installation documentation

Change-Id: I1486cf7230e351e5dbf18464110e5780d392eeeb
Signed-off-by: Helena McGough <helena.mcgough@intel.com>
30 files changed:
.gitignore [new file with mode: 0644]
core/message_bus/common_consumer.py [new file with mode: 0644]
core/message_bus/consumer.py
core/message_bus/producer.py
core/models/access_cred_CloudWatch.json [new file with mode: 0644]
core/models/access_cred_OpenStack.json [new file with mode: 0644]
core/models/access_cred_vROPs.json [new file with mode: 0644]
doc/MON_install_guide.rst
plugins/OpenStack/Aodh/__init__.py
plugins/OpenStack/Aodh/alarming.py
plugins/OpenStack/Aodh/plugin_instance.py [deleted file]
plugins/OpenStack/Gnocchi/__init__.py
plugins/OpenStack/Gnocchi/metrics.py
plugins/OpenStack/Gnocchi/plugin_instance.py [deleted file]
plugins/OpenStack/__init__.py
plugins/OpenStack/common.py
plugins/OpenStack/response.py
plugins/OpenStack/settings.py
plugins/__init__.py
test-requirements.txt
test/OpenStack/__init__.py
test/OpenStack/test_alarm_req.py [new file with mode: 0644]
test/OpenStack/test_alarming.py [new file with mode: 0644]
test/OpenStack/test_common.py
test/OpenStack/test_metric_calls.py [new file with mode: 0644]
test/OpenStack/test_metric_req.py [new file with mode: 0644]
test/OpenStack/test_responses.py [new file with mode: 0644]
test/OpenStack/test_settings.py [new file with mode: 0644]
test/core/test_producer.py
tox.ini