Refactors code and adds unit tests 01/7401/2
authorBenjamin Diaz <bdiaz@whitestack.com>
Wed, 10 Apr 2019 18:22:22 +0000 (15:22 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Wed, 10 Apr 2019 20:12:38 +0000 (17:12 -0300)
commita97bdb3eafa4f3d07d61d32635f7f36f5cc36c58
treea0a0db1528c122de50bc7808c3fe1b57047fff5f
parent649e6b264fb9e92103267dabd16ed9a3dbadb302
Refactors code and adds unit tests

Change-Id: Ia14034679af8fc7e9ac91a1bfb766e4b99ec9e39
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
38 files changed:
MANIFEST.in
osm_mon/collector/collector.py
osm_mon/collector/infra_collectors/openstack.py
osm_mon/collector/service.py [new file with mode: 0644]
osm_mon/collector/utils.py [new file with mode: 0644]
osm_mon/collector/vnf_collectors/openstack.py
osm_mon/collector/vnf_collectors/vio.py
osm_mon/collector/vnf_collectors/vmware.py
osm_mon/core/auth.py [deleted file]
osm_mon/core/database.py
osm_mon/core/mon.yaml
osm_mon/evaluator/backends/__init__.py [new file with mode: 0644]
osm_mon/evaluator/backends/base.py [new file with mode: 0644]
osm_mon/evaluator/backends/prometheus.py [new file with mode: 0644]
osm_mon/evaluator/evaluator.py
osm_mon/evaluator/service.py [new file with mode: 0644]
osm_mon/server/server.py
osm_mon/server/service.py [new file with mode: 0755]
osm_mon/tests/collector/__init__.py [deleted file]
osm_mon/tests/collector/test_collector.py [deleted file]
osm_mon/tests/core/__init__.py [deleted file]
osm_mon/tests/core/test_common_db_client.py [deleted file]
osm_mon/tests/core/test_database.py [deleted file]
osm_mon/tests/core/test_message_bus_client.py [deleted file]
osm_mon/tests/unit/__init__.py [new file with mode: 0644]
osm_mon/tests/unit/collector/__init__.py [new file with mode: 0644]
osm_mon/tests/unit/collector/test_collector.py [new file with mode: 0644]
osm_mon/tests/unit/collector/test_collector_service.py [new file with mode: 0644]
osm_mon/tests/unit/collector/test_collector_utils.py [new file with mode: 0644]
osm_mon/tests/unit/core/__init__.py [new file with mode: 0644]
osm_mon/tests/unit/core/test_common_db_client.py [new file with mode: 0644]
osm_mon/tests/unit/core/test_message_bus_client.py [new file with mode: 0644]
osm_mon/tests/unit/evaluator/__init__.py [new file with mode: 0644]
osm_mon/tests/unit/evaluator/test_evaluator.py [new file with mode: 0644]
osm_mon/tests/unit/evaluator/test_evaluator_service.py [new file with mode: 0644]
osm_mon/tests/unit/server/__init__.py [new file with mode: 0644]
osm_mon/tests/unit/server/test_server_service.py [new file with mode: 0644]
setup.cfg