Update the policy adaptor and related testcases 17/38317/1
authorAnkitkumar Patel <ankit@research.att.com>
Sun, 25 Mar 2018 23:27:39 +0000 (19:27 -0400)
committerAnkitkumar Patel <ankit@research.att.com>
Sun, 25 Mar 2018 23:31:24 +0000 (19:31 -0400)
commitbc1d288ac29c3c9bf968cea5ac2d95b8bcd67eae
treee7dc43bd3bc59ab1855263c4a61832966283025c
parented70b5c6d6589e4e1ce80229612ea5b680736c4c
Update the policy adaptor and related testcases

Generalized the policy adaptor code by removing homing specific logic.

Issue-ID: OPTFRA-27
Change-Id: I331030a2f3f5c0c17af1a72af9794131555a9217
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
14 files changed:
.gitignore
config/common_config.yaml
osdf/adapters/policy/interface.py
osdfapp.py
test/config/common_config.yaml
test/placement-tests/policy_response.json [new file with mode: 0644]
test/placement-tests/policy_response_error1.json [new file with mode: 0644]
test/placement-tests/policy_response_error2.json [new file with mode: 0644]
test/placement-tests/request.json
test/placement-tests/request_error1.json [new file with mode: 0644]
test/placement-tests/scopePolicies.json [deleted file]
test/placement-tests/testScoperequest.json
test/placement-tests/test_by_scope.yaml
test/test_PolicyCalls.py