summaryrefslogtreecommitdiffstats
path: root/osdfapp.py
AgeCommit message (Collapse)AuthorFilesLines
2018-10-19Enable SMS in OSDFDileep Ranganathan1-2/+3
Load secrets from SMS in OSDF. Removed secrets from osdf_config.yaml. Unit tests to use the test/config/osdf_config.yaml. Helm charts uses a Job to load secrets. CSIT needs to load it using the preload tool provided by SMS. Change-Id: I0f832033476c02958f6392abba74e4d5a36cc902 Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-08Retrieve secrets using Secret Management ServiceDileep Ranganathan1-0/+2
Integrate with OSDF by retrieving stored secrets using SMS Application code remains in tact as the secrets are preloaded and stored in config. The configs in clear text will be deprecated eventually. OOM needs to load aaf-sms and preload secrets before oof deployment. Updated to use domain name instead of domain uuid. Change-Id: I88a3c3dd2ad87753cc056fb63c8bbabd546707ab Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-26Merge "Disabling policy retrieval for pci opt"Dileep Ranganathan1-2/+4
2018-09-25Fix get route operationsubhash kumar singh1-30/+4
Fix get route operatiaon for CCVPN use case. Change-Id: I57784a611744d3112e48f41ff742b01d557a4644 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Issue-ID: OPTFRA-334
2018-09-20Disabling policy retrieval for pci optVarma, Vikas1-2/+4
Fixing the pci optimization response. Disable policy retrieval until the policies are loaded. Fix merge issues with optfapp.py Change-Id: I2acb82aac1cd6d154abf37f58755016bc377e475 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-19CVS changes for osdf placment apiChayal, Avteet (ac229e)1-1/+13
Implemented ONAP Common Versioning Strategy Issue-ID: OPTFRA-285 Change-Id: I31df699afddbeb8962b2ca0fa501eff45f70ed5d Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-19Initial checkin for pci optimization codeVarma, Vikas1-0/+19
Change-Id: I1ed1c2d6d73161eae86aefd22ea3819fa80b8b40 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-03Fix return message formatseshukm1-5/+28
Change-Id: Ia52cf0675449fdabdaba33928daa0cbcd99df781 Issue-ID: OPTFRA-334 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-22call of the route app optmizer from osdfapp.pyseshukm1-1/+4
Issue-ID: OPTFRA-310 Change-Id: I2b8512d89a1ea78f829d934f83931adf287e7fa9 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-09Add the /route rest api in the osdfseshukm1-0/+10
placeholder for the /route as a start piont Issue-ID: OPTFRA-310 Change-Id: I3e9befda318a2c69426c50084cc8fb111480d653 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-05-04EELF logging is addedAnkitkumar Patel1-0/+1
EELF logging is added. Issue-ID: OPTFRA-227 Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-04-05Fix for placement call check and sync responseChayal, Avteet (ac229e) ac229e@att.com1-5/+4
Fixed the condition to make placement call & sync response to client Issue-ID: OPTFRA-215 and OPTFRA-216 Change-Id: I0f996160e8cd339c663611ba53bd590271ea3b3a Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
2018-03-28Update the SO sync and async responses.Ankitkumar Patel1-2/+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-27Updated the conductor adaptorAnkitkumar Patel1-1/+1
Updated the conductor adaptor code. Issue-ID: OPTFRA-207 Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Adding the missing healthcheckDileep Ranganathan1-0/+6
Adding the missing healthcheck from previous commit. Change-Id: I443dff8a22ea641bcbdfc4e8aa73ba5557d3259f Issue-ID: OPTFRA-22 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-25Update the policy adaptor and related testcasesAnkitkumar Patel1-15/+2
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-25added healthcheckramkri1231-0/+6
Issue-ID: OPTFRA-22 Change-Id: I783a597b81abd0027819fff0c103250e1e003c10 Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-03-17New policies and required code changesSastry Isukapalli1-19/+25
Issue-ID: OPTFRA-146 Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-07getOptions renamed in osdfapp.py and testsSastry Isukapalli1-3/+3
Issue-ID: OPTFRA-102 Change-Id: Idf0a61ff837ecd26577febaca5f0538971759792 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-07Clean up code smells, added osdfapp.pySastry Isukapalli1-6/+5
Added osdfapp.py in inclusions. TODO: clean up this structure. Notes: 1) Do not use java-like naming (use get_options instead of getOptions). 2) Do not have commented out code in imports (it got flagged as red) Issue-ID: OPTFRA-102 Change-Id: Ie889b581dc8bf6683ff9bf60a6e14f254a26ef12 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-11Removed unused DB-adapters, test cases, 60+% coverSastry Isukapalli1-7/+4
We are not using OracleDB, PostgresDB, and VerticaDB, so there is no need to keep the "dead code" -- we can always add it back as needed. Added test cases so that all the files are at least minimally covered. Overall coverage on my local tox shows 66% coverage (I manually ensured all files are included in the coverage report). Issue-ID: OPTFRA-95 Change-Id: If1cab112236b4f32a96315308ce815088fa092d1 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-01-11OOF design framework seed codeSastry Isukapalli1-0/+168
Issue-ID: OPTFRA-18 Change-Id: Ib44b06f7184cb49f90d5936edd82cba44068b1c8 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>