summaryrefslogtreecommitdiffstats
path: root/osdf/adapters/policy
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30Fixed the config dir and default policy scope2.0.0-ONAP2.0.0-ONAPPatel, Ankitkumar1-1/+2
Fixed the config dir and default policy scope Issue-ID: OPTFRA-247 Change-Id: Ie15aaaa7ac6357ddc9fc0dc262591e844001d927 Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-29Fixed case sensitive resource matchingPatel, Ankitkumar1-0/+1
Fixed the case sensitive matching for resources between policy and request. Issue-ID: OPTFRA-247 Change-Id: Ic031f6c950b6c6b44bd2e4231a9ef672beea994b Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-04-01Updated the policy adaptor for scope filteringAnkitkumar Patel1-23/+22
Updated the policy adaptor to support scope-based filtering. Issue-ID: OPTFRA-27 Change-Id: I908c1ee16c6f21982d8bfc1e3d6156d54555fdd3 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-28Functest scripts, simulators, and payloadsSastry Isukapalli1-31/+0
osdf/adapters/policy/utils.py: Removed duplicated code (group_policies and group_policies_gen are very similar, and group_policies seems to be not used osdf/optimizers/placementopt/conductor/api_builder.py: changed param name from "grouped_policies" to "flat_policies" tox.ini added starup and shutdown of simulators (flask app with mock payloads) in tox tests rest all files/changes in "test/" folder quite a few payload files Patch set 2: removed a "print()" statement from simulator code Issue-ID: OPTFRA-22 Change-Id: I0006c577fc459c7c884b55e8316c689afd151780 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-28Update the SO sync and async responses.Ankitkumar Patel2-9/+4
Updated the sync and async responses and addes testcases related to policy adaptors. Issue-ID: OPTFRA-208 Change-Id: Ia0f88df1b897b6158674f3c3a7ef239f2328dcfc Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-27Updates to address new HPA policiesAnkitkumar Patel1-3/+35
Issue-ID: OPTFRA-100 Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-25Update the policy adaptor and related testcasesAnkitkumar Patel1-89/+68
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>
2018-03-22Fix "brain-overload" functions flagged by SONARSastry Isukapalli2-39/+66
Refactored two brain-overload functions Moved a policy util function from conductor/api_builder.py to policy/utils.py Issue-ID: OPTFRA-195 Change-Id: I879e7f4f5d92cc530c66d3ed071bf5246397ba13 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-17New policies and required code changesSastry Isukapalli2-14/+14
Issue-ID: OPTFRA-146 Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-19Adding/updating copyrights plus some unittestsSastry Isukapalli1-0/+17
Issue-ID: OPTFRA-96 Change-Id: Ica36e3cd90a87f97b6749500c00d7097c37abe39 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-11Re-org folders, onboard test folder, test configAnkitkumar Patel3-0/+262
Reorganized the folder structure. Onboarded testcases. Added test config. Issue-ID: OPTFRA-74 Change-Id: I97882a162a405a18ffd287495039e15ae9d0ad7b Signed-off-by: Ankitkumar Patel <ankit@research.att.com>