summaryrefslogtreecommitdiffstats
path: root/conductor
AgeCommit message (Collapse)AuthorFilesLines
2019-07-31Bump version to 1.3.2-stagingRuoyu Ying1-2/+2
Issue-ID: OPTFRA-546 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: I42ccd920262b11467064f6479b267ee54e94db7a
2019-07-29List of canidate identifiers supportLukasz Rajewski5-9/+21
List of candidate identifers in required and excluded candidates list now is supported only as a list Issue-ID: OPTFRA-486 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I1628a5806ff1faecabc9c94507621e786a622f2c
2019-05-31Remove duplicate 'flavorId' in directivesRuoyu Ying1-1/+2
Issue-ID: OPTFRA-499 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: Ic680060a8bdff7ea0fb5ae91da80e872ccbd0b49
2019-05-17Bump version of staging to 1.3.11.3.1Shankar Narayanan1-2/+2
Change-Id: Ic104f4b53c0ae38a020a92c21f7f430137027226 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-501
2019-05-03Add num_solution to the api decorators1.3.0Shankar Narayanan2-0/+2
Change-Id: Ie63c36274d99e01975b12a12ba648392a51a8d29 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-496 Add num_solution to the api decorator Change-Id: Ie63c36274d99e01975b12a12ba648392a51a8d29 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-496
2019-04-30Bump up version of HAS 1.3.0Shankar Narayanan1-2/+2
Change-Id: Ibf95e938917d153e4d83f42ab6c6972fb3719bae Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-491
2019-04-30Bump up version of HAS 1.3.0Shankar Narayanan2-3/+3
Change-Id: I056f211082df6dbbdfdc89f915d0e720bb86e1e1 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-491
2019-04-25Added the missing arguments required for image buildingIkram Ikramullah1-9/+16
Change-Id: Ibe8dab7327485d06d5632e27879291282530c22f Issue-ID: OPTFRA-461 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2019-04-25Merge "Changes related to running oof on TLS/HTTPS"Shankaranarayanan Puzhavakath Narayanan2-36/+46
2019-04-24Changes related to running oof on TLS/HTTPSIkramullah, Ikram2-36/+46
Change-Id: Ie20e65a70262f7b42e0eb9a033768e429d85f7d6 Issue-ID: OPTFRA-461 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
2019-04-18Merge "New Inventory type for TD"Shankaranarayanan Puzhavakath Narayanan21-379/+1918
2019-04-18New Inventory type for TDLukasz Rajewski21-379/+1918
* New inventory type 'vfmodule' for ditribute traffic and refactored 'service' type that has many functions in common with 'vfmodule' type * Improved optimizer for random pick algorithm when no optimization constraint is specified * Unit tests added * resolve_demands() refactored to make it testable and to remove code repetitions for different inventory types Change-Id: If5c7e7d2d4e7c1b449d0b37e5c33c697aa4e653f Issue-ID: OPTFRA-445 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-04-10code coverage solver-request packageSudarshan Kumar4-0/+80
code coverage solver-request package Issue-ID: OPTFRA-302 Change-Id: Ia96df359f0fca4325afa59eabc63eb61c3ca7a5d Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-10Code coverage for Utils and Music packageSudarshan Kumar6-0/+108
Code coverage for Utils and Music package Issue-ID: OPTFRA-302 Change-Id: If487fae7e52a26e5b884a6d5db25d47b8cd580f9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-10Pyunit Coverage for solver-resourceSudarshan Kumar4-0/+159
Pyunit Coverage for solver-resource Issue-ID: OPTFRA-302 Change-Id: Ic18a37e59bcef67cca9de733d4a62a3016220a0d Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-09Merge "Pyunit decision_path.py"Shankaranarayanan Puzhavakath Narayanan1-0/+41
2019-04-09Added _init_.py and updated test_random_pick.pySudarshan Kumar5-3/+105
Added _init_.py and updated test_random_pick.py Issue-ID: OPTFRA-302 Change-Id: Ibe9d39626fef09cc51d5d49492fb622a9e18979e Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-08Pyunit decision_path.pySudarshan Kumar1-0/+41
Pyunit decision_path.py Issue-ID: OPTFRA-302 Change-Id: Ib495c52324dbe28a294321406130eda7e53659e2 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-08Pyunit for random_pick.pySudarshan Kumar1-0/+42
Pyunit for random_pick.py Issue-ID: OPTFRA-302 Change-Id: I69b7443af188317978bc06194412f4689267c56a Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-05Code coverage for Reservation Service ModuleSudarshan Kumar1-0/+105
Code coverage for Reservation Service Module Issue-ID: OPTFRA-302 Change-Id: Ie5b467939bcd1758f8ae66e9eba9070b16f2b7c0 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-03Merge "HAS - PyUnit Code coverage"Shankaranarayanan Puzhavakath Narayanan4-0/+169
2019-04-03Merge "Adding Pyunit to increase HAS code coverage"Shankaranarayanan Puzhavakath Narayanan3-0/+130
2019-04-03HAS - PyUnit Code coverageSudarshan Kumar4-0/+169
HAS - PyUnit Code coverage Issue-ID: OPTFRA-302 Change-Id: I434f993a6f80ecda970840841e82bc25e807a598 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-03Adding Pyunit to increase HAS code coverageSudarshan Kumar3-0/+130
Adding Pyunit to increase HAS code coverage Issue-ID: OPTFRA-302 Change-Id: I83eda99276ef960c88e0d51f59c04ab2104fcf19 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-02Removed aai simulator code which is no longer valid.Shankar Narayanan1-39/+0
Change-Id: I06ca92b1a706c67f8f895a293d770915ea1f2240 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-467
2019-03-28Fixed some code smells and redundant commentsShankar Narayanan1-25/+0
Change-Id: Iadfb72b678c71b9c1391a7d5011942ae1dd50781 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-465
2019-03-28Fixed some code smells and redundant commentsShankar Narayanan1-39/+13
Change-Id: I485a02bf62745ee7e038505ffb81b3301f26a667 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-465
2019-03-04removed misleading reservation logicShankar Narayanan1-257/+3
removed reservation logic that is not supported by SDNC in ONAP Issue-ID: OPTFRA-452 Change-Id: Id7db22f0de6bd0df06ffd2c73fd3b7220dcd5470 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
2019-02-26Multiple Sonar IssuesDriptaroop Das7-118/+1
Multiple Sonar Issues Issue-ID: OPTFRA-448 Change-Id: I80a0309d36ca841ca6571b54c5a8c43ef3bfc6d9 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-19Make hpa matching case-insensitiveRuoyu Ying2-4/+4
Make the value of attribute 'mandatory' case insensitive in hpa matching Change-Id: I46f5454a489507f292fcd2cc3edd6d78e2799af4 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Issue-ID: OPTFRA-441
2019-01-11Check flavor exist before hpa matchingRuoyu Ying2-2/+15
Check whether there is flavor info inside the candidate. If exists, continue to the hpa matching. Change-Id: I72762d90050ee35fea672cd06c038f2b6382f730 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Issue-ID: OPTFRA-412
2019-01-06Merge "Migrate HAS base image to alpine."ramki krishnan1-5/+18
2018-11-28Migrate HAS base image to alpine.Adolfo Perez-Duran1-5/+18
Make HAS container image smaller and platform-agnostic. Issue-ID: INT-551 Change-Id: Icee2b3137142dde1689de71f30bb0d5c791ce84c Signed-off-by: Adolfo Perez-Duran <adolfo@orangemonk.net>
2018-11-28Return flavor-id in OOF response1.2.5Ruoyu4-7/+11
Add flavor-id in OOF response Change-Id: I56d33eef06504f66c41b793d93d132b21a27b0dc Issue-ID: OPTFRA-401 Signed-off-by: Ruoyu <ruoyu.ying@intel.com>
2018-11-01Remove credentials in logger3.0.0-ONAP1.2.4Dileep Ranganathan2-6/+3
Removed log with credentials. Upgrade version to 1.2.4 Change-Id: Ic5767f149d7cd48a8596f325d90fe5138c213c31 Issue-ID: OPTFRA-331 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-31Enforce AAF permissionsFrank Sandoval4-43/+86
Issue-ID: OPTFRA-331 Change-Id: I046ddef243f73ae90ca0a28184ee0decf73069ee Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com> Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-23Update version to 1.2.31.2.3Dileep Ranganathan1-2/+2
Update version to 1.2.3 Change-Id: I128a72e8c90683e1197923c4f76f2f7b790ca055 Issue-ID: OPTFRA-370 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-21Enable SMS for HASDileep Ranganathan2-11/+15
Load secrets from SMS in OSDF Helm charts uses a Job to load secrets. CSIT needs to load it manually. Added is_eanbled flag for SMS. SMS is enabled by default. For testing locally, this can be overridden. Change-Id: I09bc96e1408d4136cc479e1e5667d36b5a1b5427 Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-11Merge "Retrieve secrets using Secret Management Service"Shankaranarayanan Puzhavakath Narayanan4-18/+32
2018-10-08Retrieve secrets using Secret Management ServiceDileep Ranganathan4-18/+32
Integrate with HAS by retrieving stored secrets using SMS Application code remains in tact as the secrets are preloaded and stored in config. During startup the conf will be set with retrieved secrets. 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: I902b18c0cf080316f9a251e61387b67756198cc2 Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-08Merge "Fix HAS CSIT bugs"Shankaranarayanan Puzhavakath Narayanan3-2/+3
2018-10-08Update version to 1.2.21.2.2Dileep Ranganathan1-2/+2
Update maven artifact verion to 1.2.2-SNAPSHOT Update docker image version to 1.2.2 Update oparent-python to 1.2.1 release version Change-Id: Ic588d2544847cdf1ba0f98678e5b55ef82e01671 Issue-ID: OPTFRA-370 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-07Fix AAI Query timeout issue on get flavorsDileep Ranganathan1-1/+1
Change-Id: Ibf2a09351a79f4532bc7a189a1714453d8ead518 Issue-ID: OPTFRA-335 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-06Fix HAS CSIT bugsDileep Ranganathan3-2/+3
Homing template with no optimization is throwing List IndexOutofBound exception. Intitialized triageSolver in RandomPick algorithm. Used iterator to read K,V pair from flavor_maps. Labels were wrongly initialized in the VNF_SCORE metric. Change-Id: Icbf1b9aaa0bb7899980680a55754ea7282810adb Issue-ID: OPTFRA-366 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-04Sync conductor configurations across all projectsDileep Ranganathan5-9/+15
Sync conductor.conf based on tox generated config. Added missing parameters which were not generated by tox. Separtate patches needs to be submitted to OOM, HEAT, CSIT Change-Id: I9c055f01d4d358f028eac4e752980d3c83a62468 Issue-ID: OPTFRA-205 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-04Merge "Prometheus metrics for OOF"Shankaranarayanan Puzhavakath Narayanan7-5/+190
2018-10-03Merge "Unit test case fixed for index_create."Shankaranarayanan Puzhavakath Narayanan3-0/+42
2018-10-02Prometheus metrics for OOFDileep Ranganathan7-5/+190
Added OOF HPA metrics using prometheus client exporter Added VNF statistics, HPA statistics with respect to flavor, vim etc. Change-Id: I54030a148f97cb0c61f93bc552764c65236a467b Issue-ID: OPTFRA-312 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-02Unit test case fixed for index_create.Inam Soomro3-0/+42
Fixed for the table create index on plans table. Fixed comments section for index create from creates table. Issue-ID: OPTFRA-359 Change-Id: I8cd85e18c3b9dce04c2f3f571976544c16a00972 Signed-off-by: Soomro, Inam(is076r) <inam@att.com>
2018-09-28Fix AAF Authentication CSIT issuesDileep Ranganathan4-7/+8
The value stored in perms.cache is throwing JSON load error on subsequent calls. Returned the perms['roles'] from cache. Fixed expected string or buffer error in plans.py CSIT was stuck waiting for port 8100. Changed the aafsim internal port to 8100 everywhere (same as the aaf-service port). Change-Id: I00e72a0aee66bb0649996288c37c6c0aef2070d2 Issue-ID: OPTFRA-362 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>