Adds support for vnf alarms 79/7379/4
authorBenjamin Diaz <bdiaz@whitestack.com>
Mon, 1 Apr 2019 17:56:26 +0000 (14:56 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Fri, 5 Apr 2019 21:08:22 +0000 (18:08 -0300)
commitf7451f8879d188c9fef9c976d82aa39141601938
treed30dfe899d54e8e91529a2325df522d8a1b80443
parentfbb5d6d5882461137bf47c313ead6bb913f15e56
Adds support for vnf alarms

Abstracts database logic into repositories for easier unit testing
Adds unit tests

Feature 6373

Change-Id: If006a680227f814de1516ec35aa177ed66b48ca1
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
20 files changed:
osm_policy_module/alarming/__init__.py [new file with mode: 0644]
osm_policy_module/alarming/service.py [new file with mode: 0644]
osm_policy_module/autoscaling/__init__.py
osm_policy_module/autoscaling/agent.py [deleted file]
osm_policy_module/autoscaling/service.py
osm_policy_module/cmd/policy_module_agent.py
osm_policy_module/common/lcm_client.py
osm_policy_module/common/mon_client.py
osm_policy_module/core/agent.py [new file with mode: 0644]
osm_policy_module/core/database.py
osm_policy_module/migrations/002_add_vnf_alarm.py [new file with mode: 0644]
osm_policy_module/migrations/003_add_fields_to_policy.py [new file with mode: 0644]
osm_policy_module/migrations/004_add_fields_to_alarm.py [new file with mode: 0644]
osm_policy_module/tests/integration/test_policy_agent.py
osm_policy_module/tests/unit/alarming/__init__.py [new file with mode: 0644]
osm_policy_module/tests/unit/alarming/test_alarming_service.py [new file with mode: 0644]
osm_policy_module/tests/unit/autoscaling/__init__.py [new file with mode: 0644]
osm_policy_module/tests/unit/autoscaling/test_autoscaling_service.py [new file with mode: 0644]
osm_policy_module/tests/unit/core/test_policy_agent.py
requirements.txt