summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-23Update version to 1.2.31.2.3Dileep Ranganathan4-5/+5
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 Ranganathan4-24/+24
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 Narayanan6-28/+42
2018-10-08Retrieve secrets using Secret Management ServiceDileep Ranganathan6-28/+42
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 Ranganathan4-6/+6
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 Ranganathan6-76/+250
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 Narayanan8-5/+199
2018-10-03Merge "Unit test case fixed for index_create."Shankaranarayanan Puzhavakath Narayanan3-0/+42
2018-10-02Prometheus metrics for OOFDileep Ranganathan8-5/+199
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 Ranganathan5-7/+32
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>
2018-09-24add requirement to aafsim dockerFrank Sandoval1-0/+1
Add oslo_log to requiremnts.txt for aafism docker Issue-ID: OPTFRA-331 Change-Id: I1fbe89335189ef3dafa8fc479002919e25c7f532 Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
2018-09-24Merge "Fix AttributeError 'MUSIC_API' for tox"Shankaranarayanan Puzhavakath Narayanan2-0/+12
2018-09-24Fix AttributeError 'MUSIC_API' for toxDileep Ranganathan2-0/+12
Fix AttributeError: 'module' object has no attribute 'MUSIC_API' while running tox manually Change-Id: I2a826b6a0628eb6430953c66256dee89001f2ab5 Issue-ID: OPTFRA-358 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-21Migrate to v14 AAI schemaDileep Ranganathan6-28/+25
Upgraded v14 AAI schema. Modified AAI simulator urls to support v14 version. Change-Id: Ib4e34d6f04b827bc6d48098f057cb76b4f523e16 Issue-ID: OPTFRA-355 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-21add AAF integration and AAF simulatorFrank Sandoval14-30/+454
Patch (#3) addresses commentse this patch fixes unit tests. Original commit added AAF permissions checks for HAS API Issue-ID: OPTFRA-331 Change-Id: I69519beee31f57e4ac5188604d21805266a06074 Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
2018-09-21Digestion to ONAPrl001m76-619/+5075
This commit contains features added across previous iteration. Unfortunatley, its hard to separate out all the features / defect fixes under the current setup unless an automated ingestion and integration mechanims is in place. Following are the details of each feature / defect fix. - (OPTFRA-347) New Music Response Changes Required changes for upgrading to music version 3.x - (OPTFRA-346) Triage Tool Feature Changes Triage tool for finding out issues with candidates and how they were dropped - (OPTFRA-280) Order Locking Feature Changes Orders from SO need to be parked (and later retriggered) in scenarios where the orchestration of the already given solution is in progress. - (OPTFRA-281) Latency Based Homing This features enables homing based on 'network latency' defined in has's internally maintained tables instead of plain distance. Other defect fixes / performance improvements - AAI Timeout give up change Defect fix related to dropping candidates when AAI timed out and didn't retrun within 3 tries. has will now give up in these scenarios. - Defect fix replaced all() query with status based query. There was no need to reachout to Music to grab the whole plans table - we now go only by the value of the status field. Issue-ID: OPTFRA-280 Change-Id: I47fa7651c5c81763770771d6f7e7ff4ab155d18e Signed-off-by: rl001m <ruilu@research.att.com>
2018-09-19Merge "Support multiple candidates with same feature name"Dileep Ranganathan4-15/+578
2018-09-19Merge "Update Homing Specification Guide for readthedocs"Shankaranarayanan Puzhavakath Narayanan1-11/+349
2018-09-20Update Homing Specification Guide for readthedocsRuoyu Ying1-11/+349
Update Homing Specification Guide to add 'directives' structure inside HPA constraints and add note for cloud agnostic constraints. Change-Id: I1268a0458e6c54a07382a386dbc683efe8772836 Issue-ID: OPTFRA-324 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-09-19Support multiple candidates with same feature nameRuoyu Ying4-15/+578
In one flavor, there could be multiple hpa feature blocks with the same hpa-feature name. Add support to let HAS to choose a proper one between all available candidates. Change-Id: If8877a12d6e145994b0bc40aadb3b79b4718282f Issue-ID: OPTFRA-341 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-09-18Merge "Support new policy model in HAS"Dileep Ranganathan15-328/+799
2018-09-18Support new policy model in HASRuoyu Ying15-328/+799
Make changes to support the newly defined policy model Change-Id: Iea882b0c254c4bfca32da2458ea65f3daf56a779 Issue-ID: OPTFRA-322 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-09-17Merge "Secret Management Service feature"Shankaranarayanan Puzhavakath Narayanan8-0/+294
2018-09-15Secret Management Service featureDileep Ranganathan8-0/+294
Added supporting library required for enabling SMS integration. Added Unit tests and manual tests for store/retrieve/delete secrets. Updated conductor.conf with aaf_sms group. Added preload_secrets config for testing. Integration with application NOT Done in this patch. Change-Id: Idf7e4249a88a39c586d893226a9110e9d5180787 Issue-ID: OPTFRA-345 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-11Invert HPA Score for minimizing objective functionDileep Ranganathan1-1/+10
Score for each hpa constraint is entered in policy as positive value. Higher the HPA score the better. So inorder to minimize the objective function inverted HPA Score by inverting the sign of hpa_score value. Change-Id: Iaedb03ccc5f87d5e7b41509924289bb598a09139 Issue-ID: OPTFRA-313 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-11HPA Score Objective function supportDileep Ranganathan10-6/+319
Implemented HPA Score objective function for cross cloud-region best candidate selection. Added Unit tests for HPA Score multi objective function Added Unit tests to check if there is a corresponding HPA policy/constraint Change-Id: I0787080657c0b7deb3ffcb7560859e3e5c928b77 Issue-ID: OPTFRA-313 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-07Revert the authorization headerDileep Ranganathan1-4/+10
Reverting the authorization header to support older version of MUSIC. Change-Id: Ia3a653559fd1838d530e8dfd4576b1da3502ca22 Issue-ID: OPTFRA-259 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-06add has swagger docFrank Sandoval2-465/+346
Issue-ID: OPTFRA-283 Change-Id: I078f3a4d89c248c0d3c306431065e27ec5422350 Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
2018-09-05Added the Authorization header for MUSICDileep Ranganathan1-9/+7
Fixed the Authorization header required for all MUSIC API. This was affecting the HAS CSIT as the keyspace was not getting created Change-Id: I1b22b9b71729e786f6ffb9baedf11d4475485e09 Issue-ID: OPTFRA-259 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-08-30Add committer to OOF teamJessica Wagantall1-0/+9
Add Vikas as part of the committers group Issue-ID: CIMAN-134 Change-Id: I0519f166825800c5169134d810f5a3d8fe1dcbde Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-30Upgrade HAS version to 1.2.11.2.1Dileep Ranganathan4-6/+6
Bump verion of docker images, pom.xml, and oparent-python to 1.2.1, 1.2.1-SNAPSHOT and 1.2.0 respectively. Change-Id: Ie57e8ac107f1fa4fb3f840869a2fe0656012d601 Issue-ID: OPTFRA-257 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-08-27Merge "Use managed guava version"Dileep Ranganathan1-2/+1
2018-08-27Use managed guava versionGary Wu1-2/+1
Use centrally managed guava version specified in oparent. Includes upgrade to oparent 1.2.0. This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: I824892403f119737e255589692e1f1bde109882d Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-24Support multiple policies with same hpa-featureRuoyu Ying1-1/+2
Support to resolve multiple policies with same "hpa-feature" name Change-Id: I86d1f20ad28e30893535688460b8ef6ff1153cd3 Issue-ID: OPTFRA-323 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-08-20Merge "Remove Ankit from committer list"Shankaranarayanan Puzhavakath Narayanan1-5/+3
2018-08-08Fix the docker build image workflowv1.2.0Dileep Ranganathan1-11/+26
Fixed the Docker build image workflow. Added seperate tagging for SNAPSHOT-latest and STAGING-latest There are two docker jobs currently. One produces SNAPSHOT images and other produces STAGING images. SNAPSHOT images are build from nexus2 maven snapshots artifacts where as STAGING images are built from nexus2 maven releases artifacts. Removed libxml2-utils dependency from docker build image script. Since the dedicated docker node might be shared by multiple jobs, apt-get install inside the script might cause conflict and cause failure of the docker jenkins jobs. Moved the dependency to be part of the jenkins infrastructure node itself. Change-Id: I122974c984b1b0ece98bbd5a783d7923504abf3e Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-31Remove Ankit from committer listShankar Narayanan1-5/+3
Issue-ID: OPTFRA-308 Change-Id: I8259d6254328b89da04e640656484182043fd94f Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
2018-07-30Added missing sudo privilegesDileep Ranganathan1-1/+1
Added the missing sudo privilieges required to install packages Change-Id: I998decc0f8a20cc6575564c12f7e0dcb278802a5 Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-30Missing xmllint package for version scrapingDileep Ranganathan1-0/+1
Installed missing xmllint package for version scraping Change-Id: Ib83221e38e0987539bade32b1b83d33cf97dbc5d Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-25Fix Docker image to use the nexus artifactsDileep Ranganathan4-33/+84
Fixed Docker image to use the nexus artifacts instead of building from source. Added proxy support. Updated the Docker image version for Casablanca. Change-Id: I42de44b5c09992822696b1e12344ac6fde51373d Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-19Reverting the oparent version to release versionDileep Ranganathan1-1/+1
Reverting the oparent version back to 1.1.1. Dependencies outside the project should use release version instead of snapshot verion. Change-Id: Ifd0be54c036cd862cae17ccdbba6b599888ea516 Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-19Merge "Fix Dockerfile for beijing"Shankaranarayanan Puzhavakath Narayanan2-7/+8
2018-07-18Bumping the oparent and has artifact versionsDileep Ranganathan2-4/+4
Bumped the oparent-python version to 1.2.0 Bumped the has artifacts version to 1.2.0 Change-Id: Ic68133642f915f77e0d9f064e0945ee137c24188 Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-05Fix Dockerfile for beijingDileep Ranganathan1-1/+2
Fix Dockerfile for beijing to build from beijing branch Change-Id: Ib8c04079c7acde73c9ce1dd94bcf09a9d1b2de0d Issue-ID: OPTFRA-287 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-06-25Add committersJessica Wagantall1-0/+14
Add new OPTF committers - name: 'ramki krishnan' - name: 'Dileep Ranganathan' Change-Id: I0b4a8c27ccd13b8d3d00bce5d0abcaab7fafb3a2 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-06-20Fix HAS image version inside run-docker.shbeijingYing Ruoyu1-6/+6
Update HAS image version while install HAS through docker. Change-Id: I93d98182d9a48c25c64e8f91576e0d30b706bf35 Issue-ID: OPTFRA-251 Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>