optf/has.git
4 years agoDuplicating the cherry-pick from master 24/89524/1 dublin
Shankar Narayanan [Thu, 6 Jun 2019 14:28:15 +0000 (10:28 -0400)]
Duplicating the cherry-pick from master

Commit in master: https://gerrit.onap.org/r/c/optf/has/+/89442

Change-Id: I648cfb085b2cfd9829f541a844665ca5e2490330
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OJSI-137

4 years agoImprove security release notes 11/89511/1
Krzysztof Opasiak [Wed, 5 Jun 2019 21:55:26 +0000 (23:55 +0200)]
Improve security release notes

In order to provide users with more details of project's state in
terms of security let's divide the security release notes into three
sections:

- Fixed Security Issues
  Contains a list of security fixes merged during this
  release (especially those reported via OJSI tickets).

- Known Security Issues
  Contains a list of vulnerabilities detected in project during
  release which have not been fixed yet and thus should be mitigated
  by the user.

- Known Vulnerabilities in Used Modules
  Contains information about NexusIQ scan results

Issue-ID: SECCOM-238
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I1b5a6c15b9397d3d6e192eabf2ba2a75ab54208d
(cherry picked from commit de0dde4493025cb6c3d9ec20bb049f30c52cd9fd)

4 years agoAdd release notes for Dublin release 74/89274/1 4.0.0-ONAP
Varma, Vikas [Tue, 4 Jun 2019 19:16:26 +0000 (15:16 -0400)]
Add release notes for Dublin release

Change-Id: Ia692b30ddfa11e82f80c502bc20eba55a41ff1a0
Signed-off-by: Varma, Vikas <vv8305@att.com>
Issue-ID: OPTFRA-518

4 years agoBump version of staging to 1.3.1 22/88022/1 1.3.1
Shankar Narayanan [Fri, 17 May 2019 18:46:45 +0000 (14:46 -0400)]
Bump version of staging to 1.3.1

Change-Id: Ic104f4b53c0ae38a020a92c21f7f430137027226
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OPTFRA-501

5 years agoAdd num_solution to the api decorators 52/86952/2 1.3.0
Shankar Narayanan [Sat, 4 May 2019 03:19:11 +0000 (23:19 -0400)]
Add num_solution to the api decorators

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

5 years agoUpdate oparent version 72/86772/1
Jessica Wagantall [Thu, 2 May 2019 02:21:02 +0000 (19:21 -0700)]
Update oparent version

Update oparent version to 2.0.0 which supports
global-jjb maven-stage job.

Change-Id: Ic7fc7c35a37aa710b26d78f596ad8b23566d7e6f
Issue-ID: CIMAN-234
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoBump up version of HAS 1.3.0 69/86669/1
Shankar Narayanan [Tue, 30 Apr 2019 18:53:11 +0000 (14:53 -0400)]
Bump up version of HAS 1.3.0

Change-Id: Ibf95e938917d153e4d83f42ab6c6972fb3719bae
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OPTFRA-491

5 years agoBump up version of HAS 1.3.0 40/86640/1
Shankar Narayanan [Tue, 30 Apr 2019 15:25:03 +0000 (11:25 -0400)]
Bump up version of HAS 1.3.0

Change-Id: I056f211082df6dbbdfdc89f915d0e720bb86e1e1
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OPTFRA-491

5 years agoAdded the missing arguments required for image building 17/86317/1
Ikram Ikramullah [Thu, 25 Apr 2019 18:08:30 +0000 (14:08 -0400)]
Added the missing arguments required for image building

Change-Id: Ibe8dab7327485d06d5632e27879291282530c22f
Issue-ID: OPTFRA-461
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
5 years agoMerge "Changes related to running oof on TLS/HTTPS"
Shankaranarayanan Puzhavakath Narayanan [Thu, 25 Apr 2019 01:55:19 +0000 (01:55 +0000)]
Merge "Changes related to running oof on TLS/HTTPS"

5 years agoChanges related to running oof on TLS/HTTPS 10/86210/1
Ikramullah, Ikram [Wed, 24 Apr 2019 22:30:17 +0000 (22:30 +0000)]
Changes related to running oof on TLS/HTTPS

Change-Id: Ie20e65a70262f7b42e0eb9a033768e429d85f7d6
Issue-ID: OPTFRA-461
Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
5 years agoMerge "New Inventory type for TD"
Shankaranarayanan Puzhavakath Narayanan [Thu, 18 Apr 2019 19:44:45 +0000 (19:44 +0000)]
Merge "New Inventory type for TD"

5 years agoNew Inventory type for TD 37/84537/5
Lukasz Rajewski [Tue, 2 Apr 2019 10:08:19 +0000 (12:08 +0200)]
New Inventory type for TD

* 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>
5 years agocode coverage solver-request package 13/84813/1
Sudarshan Kumar [Wed, 10 Apr 2019 08:00:27 +0000 (13:30 +0530)]
code coverage solver-request package

code coverage solver-request package

Issue-ID: OPTFRA-302
Change-Id: Ia96df359f0fca4325afa59eabc63eb61c3ca7a5d
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoCode coverage for Utils and Music package 48/84748/1
Sudarshan Kumar [Tue, 9 Apr 2019 21:00:27 +0000 (02:30 +0530)]
Code coverage for Utils and Music package

Code coverage for Utils and Music package

Issue-ID: OPTFRA-302
Change-Id: If487fae7e52a26e5b884a6d5db25d47b8cd580f9
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoPyunit Coverage for solver-resource 37/84737/1
Sudarshan Kumar [Tue, 9 Apr 2019 18:47:37 +0000 (00:17 +0530)]
Pyunit Coverage for solver-resource

Pyunit Coverage for solver-resource

Issue-ID: OPTFRA-302
Change-Id: Ic18a37e59bcef67cca9de733d4a62a3016220a0d
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoMerge "Pyunit decision_path.py"
Shankaranarayanan Puzhavakath Narayanan [Tue, 9 Apr 2019 13:57:08 +0000 (13:57 +0000)]
Merge "Pyunit decision_path.py"

5 years agoAdded _init_.py and updated test_random_pick.py 76/84676/1
Sudarshan Kumar [Tue, 9 Apr 2019 12:39:28 +0000 (18:09 +0530)]
Added _init_.py and updated test_random_pick.py

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>
5 years agoPyunit decision_path.py 27/84527/1
Sudarshan Kumar [Mon, 8 Apr 2019 13:17:18 +0000 (18:47 +0530)]
Pyunit decision_path.py

Pyunit decision_path.py

Issue-ID: OPTFRA-302
Change-Id: Ib495c52324dbe28a294321406130eda7e53659e2
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoPyunit for random_pick.py 19/84519/1
Sudarshan Kumar [Mon, 8 Apr 2019 12:27:48 +0000 (17:57 +0530)]
Pyunit for random_pick.py

Pyunit for random_pick.py

Issue-ID: OPTFRA-302
Change-Id: I69b7443af188317978bc06194412f4689267c56a
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoCode coverage for Reservation Service Module 21/84321/1
Sudarshan Kumar [Fri, 5 Apr 2019 10:08:28 +0000 (15:38 +0530)]
Code coverage for Reservation Service Module

Code coverage for Reservation Service Module

Issue-ID: OPTFRA-302
Change-Id: Ie5b467939bcd1758f8ae66e9eba9070b16f2b7c0
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoMerge "HAS - PyUnit Code coverage"
Shankaranarayanan Puzhavakath Narayanan [Wed, 3 Apr 2019 19:57:12 +0000 (19:57 +0000)]
Merge "HAS - PyUnit Code coverage"

5 years agoMerge "Adding Pyunit to increase HAS code coverage"
Shankaranarayanan Puzhavakath Narayanan [Wed, 3 Apr 2019 19:21:56 +0000 (19:21 +0000)]
Merge "Adding Pyunit to increase HAS code coverage"

5 years agoHAS - PyUnit Code coverage 80/84080/1
Sudarshan Kumar [Wed, 3 Apr 2019 10:17:27 +0000 (15:47 +0530)]
HAS - PyUnit Code coverage

HAS - PyUnit Code coverage

Issue-ID: OPTFRA-302
Change-Id: I434f993a6f80ecda970840841e82bc25e807a598
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoAdding Pyunit to increase HAS code coverage 02/84002/1
Sudarshan Kumar [Tue, 2 Apr 2019 18:58:50 +0000 (00:28 +0530)]
Adding Pyunit to increase HAS code coverage

Adding Pyunit to increase HAS code coverage

Issue-ID: OPTFRA-302
Change-Id: I83eda99276ef960c88e0d51f59c04ab2104fcf19
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
5 years agoRemoved aai simulator code which is no longer valid. 86/83986/1
Shankar Narayanan [Tue, 2 Apr 2019 17:00:38 +0000 (13:00 -0400)]
Removed aai simulator code which is no longer valid.

Change-Id: I06ca92b1a706c67f8f895a293d770915ea1f2240
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OPTFRA-467

5 years agoFixed some code smells and redundant comments 40/83640/1
Shankar Narayanan [Thu, 28 Mar 2019 17:51:09 +0000 (13:51 -0400)]
Fixed some code smells and redundant comments

Change-Id: Iadfb72b678c71b9c1391a7d5011942ae1dd50781
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OPTFRA-465

5 years agoFixed some code smells and redundant comments 35/83635/1
Shankar Narayanan [Thu, 28 Mar 2019 17:41:03 +0000 (13:41 -0400)]
Fixed some code smells and redundant comments

Change-Id: I485a02bf62745ee7e038505ffb81b3301f26a667
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Issue-ID: OPTFRA-465

5 years agoUpdate INFO.yaml file 35/82335/2
Jessica Wagantall [Fri, 15 Mar 2019 01:35:14 +0000 (18:35 -0700)]
Update INFO.yaml file

Update missing information blocks and
indentation to pass verify job.

Change-Id: I232e53a5b79b5975d629cc506677de05d6dfbbcb
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoBump up python-oparent to version 1.2.3 51/82251/1
Ruoyu Ying [Thu, 14 Mar 2019 21:49:41 +0000 (05:49 +0800)]
Bump up python-oparent to version 1.2.3

Change-Id: I49f2235aff21851e92d4b081cedc8dd19ec5d686
Issue-ID: OPTFRA-460
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
5 years agoremoved misleading reservation logic 61/79661/1
Shankar Narayanan [Tue, 5 Mar 2019 00:04:28 +0000 (19:04 -0500)]
removed misleading reservation logic

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>
5 years agoMultiple Sonar Issues 26/79126/1
Driptaroop Das [Mon, 25 Feb 2019 19:13:36 +0000 (00:43 +0530)]
Multiple Sonar Issues

Multiple Sonar Issues

Issue-ID: OPTFRA-448
Change-Id: I80a0309d36ca841ca6571b54c5a8c43ef3bfc6d9
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoMake hpa matching case-insensitive 32/78732/1
Ruoyu Ying [Tue, 19 Feb 2019 14:41:17 +0000 (22:41 +0800)]
Make hpa matching case-insensitive

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

5 years agoMerge "Update Casablanca maintenance release notes"
Vikas Varma [Wed, 6 Feb 2019 20:43:18 +0000 (20:43 +0000)]
Merge "Update Casablanca maintenance release notes"

5 years agoUpdate Casablanca maintenance release notes 97/77997/1
Shankar Narayanan [Wed, 6 Feb 2019 19:58:18 +0000 (14:58 -0500)]
Update Casablanca maintenance release notes

Issue-ID: OPTFRA-401
Change-Id: I0bd03366e3833fa65a206ef7f2a98efb50b3fd8f
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
5 years agoCheck flavor exist before hpa matching 56/75656/1
Ruoyu Ying [Fri, 11 Jan 2019 12:33:18 +0000 (20:33 +0800)]
Check flavor exist before hpa matching

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

5 years agoMerge "Migrate HAS base image to alpine."
ramki krishnan [Sun, 6 Jan 2019 01:27:41 +0000 (01:27 +0000)]
Merge "Migrate HAS base image to alpine."

5 years agoMerge "R3 RTD"
Dileep Ranganathan [Fri, 30 Nov 2018 16:28:16 +0000 (16:28 +0000)]
Merge "R3 RTD"

5 years agoR3 RTD 67/73967/4
sandovalfr [Thu, 29 Nov 2018 17:24:48 +0000 (10:24 -0700)]
R3 RTD

Issue-ID: OPTFRA-262

Change-Id: Ida4d07f43167ed3f71b8d833b9bba237d3b19312
Signed-off-by: sandovalfrOAM <frank.sandoval@oamtechnologies.com>
5 years agoMerge "Fix broken link to 5G RAN use case"
Dileep Ranganathan [Thu, 29 Nov 2018 21:30:28 +0000 (21:30 +0000)]
Merge "Fix broken link to 5G RAN use case"

5 years agoMigrate HAS base image to alpine. 41/71841/2
Adolfo Perez-Duran [Mon, 5 Nov 2018 13:52:48 +0000 (06:52 -0700)]
Migrate HAS base image to alpine.

Make HAS container image smaller and platform-agnostic.

Issue-ID: INT-551
Change-Id: Icee2b3137142dde1689de71f30bb0d5c791ce84c
Signed-off-by: Adolfo Perez-Duran <adolfo@orangemonk.net>
5 years agoReturn flavor-id in OOF response 32/73332/5 1.2.5
Ruoyu [Thu, 22 Nov 2018 03:42:09 +0000 (03:42 +0000)]
Return flavor-id in OOF response

Add flavor-id in OOF response

Change-Id: I56d33eef06504f66c41b793d93d132b21a27b0dc
Issue-ID: OPTFRA-401
Signed-off-by: Ruoyu <ruoyu.ying@intel.com>
5 years agoFix broken link to 5G RAN use case 91/73391/1
Krzysztof Opasiak [Thu, 22 Nov 2018 20:11:48 +0000 (21:11 +0100)]
Fix broken link to 5G RAN use case

Issue-ID: OPTFRA-402
Change-Id: If679e38cac8cea1e882f84ec4c09ece7168dff63
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
5 years agoRemove credentials in logger 20/71720/1 1.2.4 3.0.0-ONAP
Dileep Ranganathan [Thu, 1 Nov 2018 22:52:04 +0000 (15:52 -0700)]
Remove credentials in logger

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>
5 years agoEnforce AAF permissions 30/71130/4
Frank Sandoval [Wed, 24 Oct 2018 08:15:50 +0000 (02:15 -0600)]
Enforce AAF permissions

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>
5 years agoUpdate version to 1.2.3 26/71126/1 1.2.3
Dileep Ranganathan [Wed, 24 Oct 2018 00:25:41 +0000 (17:25 -0700)]
Update version to 1.2.3

Update version to 1.2.3

Change-Id: I128a72e8c90683e1197923c4f76f2f7b790ca055
Issue-ID: OPTFRA-370
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoEnable SMS for HAS 84/70384/3
Dileep Ranganathan [Fri, 12 Oct 2018 12:54:32 +0000 (05:54 -0700)]
Enable SMS for HAS

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>
5 years agoMerge "Retrieve secrets using Secret Management Service"
Shankaranarayanan Puzhavakath Narayanan [Thu, 11 Oct 2018 00:46:39 +0000 (00:46 +0000)]
Merge "Retrieve secrets using Secret Management Service"

5 years agoRetrieve secrets using Secret Management Service 38/70038/1
Dileep Ranganathan [Mon, 8 Oct 2018 22:34:56 +0000 (15:34 -0700)]
Retrieve secrets using Secret Management Service

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>
5 years agoMerge "Fix HAS CSIT bugs"
Shankaranarayanan Puzhavakath Narayanan [Mon, 8 Oct 2018 17:50:20 +0000 (17:50 +0000)]
Merge "Fix HAS CSIT bugs"

5 years agoUpdate version to 1.2.2 43/70043/1 1.2.2
Dileep Ranganathan [Mon, 8 Oct 2018 10:56:22 +0000 (03:56 -0700)]
Update version to 1.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>
5 years agoFix AAI Query timeout issue on get flavors 67/69967/1
Dileep Ranganathan [Sun, 7 Oct 2018 19:06:26 +0000 (12:06 -0700)]
Fix AAI Query timeout issue on get flavors

Change-Id: Ibf2a09351a79f4532bc7a189a1714453d8ead518
Issue-ID: OPTFRA-335
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoFix HAS CSIT bugs 57/69957/1
Dileep Ranganathan [Sat, 6 Oct 2018 23:06:16 +0000 (16:06 -0700)]
Fix HAS CSIT bugs

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>
5 years agoSync conductor configurations across all projects 31/69631/4
Dileep Ranganathan [Mon, 24 Sep 2018 10:53:01 +0000 (03:53 -0700)]
Sync conductor configurations across all projects

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>
5 years agoMerge "Prometheus metrics for OOF"
Shankaranarayanan Puzhavakath Narayanan [Thu, 4 Oct 2018 15:30:49 +0000 (15:30 +0000)]
Merge "Prometheus metrics for OOF"

5 years agoMerge "Unit test case fixed for index_create."
Shankaranarayanan Puzhavakath Narayanan [Wed, 3 Oct 2018 14:59:13 +0000 (14:59 +0000)]
Merge "Unit test case fixed for index_create."

5 years agoPrometheus metrics for OOF 49/68749/2
Dileep Ranganathan [Fri, 21 Sep 2018 14:54:46 +0000 (07:54 -0700)]
Prometheus metrics for OOF

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>
5 years agoUnit test case fixed for index_create. 34/69634/2
Inam Soomro [Mon, 1 Oct 2018 20:51:20 +0000 (16:51 -0400)]
Unit test case fixed for index_create.

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>
5 years agoFix AAF Authentication CSIT issues 09/69509/1
Dileep Ranganathan [Fri, 28 Sep 2018 09:56:29 +0000 (02:56 -0700)]
Fix AAF Authentication CSIT issues

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>
5 years agoadd requirement to aafsim docker 11/68711/1
Frank Sandoval [Mon, 24 Sep 2018 17:42:14 +0000 (11:42 -0600)]
add requirement to aafsim docker

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>
5 years agoMerge "Fix AttributeError 'MUSIC_API' for tox"
Shankaranarayanan Puzhavakath Narayanan [Mon, 24 Sep 2018 16:16:19 +0000 (16:16 +0000)]
Merge "Fix AttributeError 'MUSIC_API' for tox"

5 years agoFix AttributeError 'MUSIC_API' for tox 21/68521/3
Dileep Ranganathan [Fri, 21 Sep 2018 16:13:31 +0000 (09:13 -0700)]
Fix AttributeError 'MUSIC_API' for tox

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>
5 years agoMigrate to v14 AAI schema 91/68191/3
Dileep Ranganathan [Mon, 17 Sep 2018 15:36:01 +0000 (08:36 -0700)]
Migrate to v14 AAI schema

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>
5 years agoadd AAF integration and AAF simulator 35/67135/5
Frank Sandoval [Mon, 17 Sep 2018 21:50:04 +0000 (15:50 -0600)]
add AAF integration and AAF simulator

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>
5 years agoDigestion to ONAP 63/68163/5
rl001m [Thu, 20 Sep 2018 15:36:14 +0000 (11:36 -0400)]
Digestion to ONAP

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>
5 years agoMerge "Support multiple candidates with same feature name"
Dileep Ranganathan [Wed, 19 Sep 2018 17:59:53 +0000 (17:59 +0000)]
Merge "Support multiple candidates with same feature name"

5 years agoMerge "Update Homing Specification Guide for readthedocs"
Shankaranarayanan Puzhavakath Narayanan [Wed, 19 Sep 2018 15:14:07 +0000 (15:14 +0000)]
Merge "Update Homing Specification Guide for readthedocs"

5 years agoUpdate Homing Specification Guide for readthedocs 91/64191/3
Ruoyu Ying [Mon, 3 Sep 2018 17:47:04 +0000 (01:47 +0800)]
Update Homing Specification Guide for readthedocs

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>
5 years agoSupport multiple candidates with same feature name 59/66559/9
Ruoyu Ying [Fri, 14 Sep 2018 16:28:09 +0000 (00:28 +0800)]
Support multiple candidates with same feature name

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>
5 years agoMerge "Support new policy model in HAS"
Dileep Ranganathan [Tue, 18 Sep 2018 05:54:47 +0000 (05:54 +0000)]
Merge "Support new policy model in HAS"

5 years agoSupport new policy model in HAS 17/66917/5
Ruoyu Ying [Mon, 17 Sep 2018 17:21:27 +0000 (01:21 +0800)]
Support new policy model in HAS

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>
5 years agoMerge "Secret Management Service feature"
Shankaranarayanan Puzhavakath Narayanan [Mon, 17 Sep 2018 15:16:37 +0000 (15:16 +0000)]
Merge "Secret Management Service feature"

5 years agoSecret Management Service feature 15/66815/1
Dileep Ranganathan [Sat, 15 Sep 2018 18:05:19 +0000 (11:05 -0700)]
Secret Management Service feature

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>
5 years agoInvert HPA Score for minimizing objective function 45/65945/1
Dileep Ranganathan [Tue, 11 Sep 2018 15:11:11 +0000 (08:11 -0700)]
Invert HPA Score for minimizing objective function

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>
5 years agoHPA Score Objective function support 63/63163/3
Dileep Ranganathan [Wed, 22 Aug 2018 16:18:49 +0000 (09:18 -0700)]
HPA Score Objective function support

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>
5 years agoRevert the authorization header 31/65331/1
Dileep Ranganathan [Fri, 7 Sep 2018 14:47:52 +0000 (07:47 -0700)]
Revert the authorization header

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>
5 years agoadd has swagger doc 97/65097/1
Frank Sandoval [Thu, 6 Sep 2018 22:30:49 +0000 (16:30 -0600)]
add has swagger doc

Issue-ID: OPTFRA-283

Change-Id: I078f3a4d89c248c0d3c306431065e27ec5422350
Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
5 years agoAdded the Authorization header for MUSIC 81/64881/1
Dileep Ranganathan [Wed, 5 Sep 2018 14:59:36 +0000 (07:59 -0700)]
Added the Authorization header for MUSIC

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>
5 years agoAdd committer to OOF team 99/63899/1
Jessica Wagantall [Thu, 30 Aug 2018 20:52:50 +0000 (13:52 -0700)]
Add committer to OOF team

Add Vikas as part of the committers group

Issue-ID: CIMAN-134
Change-Id: I0519f166825800c5169134d810f5a3d8fe1dcbde
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoUpgrade HAS version to 1.2.1 39/64539/1 1.2.1
Dileep Ranganathan [Thu, 30 Aug 2018 15:22:32 +0000 (08:22 -0700)]
Upgrade HAS version to 1.2.1

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>
5 years agoMerge "Use managed guava version"
Dileep Ranganathan [Mon, 27 Aug 2018 21:20:36 +0000 (21:20 +0000)]
Merge "Use managed guava version"

5 years agoUse managed guava version 01/62701/2
Gary Wu [Fri, 24 Aug 2018 22:26:42 +0000 (15:26 -0700)]
Use managed guava version

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>
5 years agoSupport multiple policies with same hpa-feature 11/62011/3
Ruoyu Ying [Thu, 23 Aug 2018 17:13:23 +0000 (01:13 +0800)]
Support multiple policies with same hpa-feature

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>
5 years agoMerge "Remove Ankit from committer list"
Shankaranarayanan Puzhavakath Narayanan [Mon, 20 Aug 2018 16:10:07 +0000 (16:10 +0000)]
Merge "Remove Ankit from committer list"

5 years agoFix the docker build image workflow 29/59729/2 v1.2.0
Dileep Ranganathan [Wed, 8 Aug 2018 13:02:41 +0000 (06:02 -0700)]
Fix the docker build image workflow

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>
5 years agoRemove Ankit from committer list 53/58253/1
Shankar Narayanan [Tue, 31 Jul 2018 15:30:54 +0000 (11:30 -0400)]
Remove Ankit from committer list

Issue-ID: OPTFRA-308
Change-Id: I8259d6254328b89da04e640656484182043fd94f
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
5 years agoAdded missing sudo privileges 65/58165/1
Dileep Ranganathan [Mon, 30 Jul 2018 22:50:12 +0000 (15:50 -0700)]
Added missing sudo privileges

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>
5 years agoMissing xmllint package for version scraping 95/58095/1
Dileep Ranganathan [Mon, 30 Jul 2018 14:04:53 +0000 (07:04 -0700)]
Missing xmllint package for version scraping

Installed missing xmllint package for version scraping

Change-Id: Ib83221e38e0987539bade32b1b83d33cf97dbc5d
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoFix Docker image to use the nexus artifacts 91/57391/2
Dileep Ranganathan [Mon, 23 Jul 2018 14:16:25 +0000 (07:16 -0700)]
Fix Docker image to use the nexus artifacts

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>
5 years agoReverting the oparent version to release version 71/56971/1
Dileep Ranganathan [Thu, 19 Jul 2018 14:16:47 +0000 (07:16 -0700)]
Reverting the oparent version to release version

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>
5 years agoMerge "Fix Dockerfile for beijing"
Shankaranarayanan Puzhavakath Narayanan [Thu, 19 Jul 2018 15:34:55 +0000 (15:34 +0000)]
Merge "Fix Dockerfile for beijing"

5 years agoBumping the oparent and has artifact versions 65/56665/2
Dileep Ranganathan [Tue, 17 Jul 2018 16:21:40 +0000 (09:21 -0700)]
Bumping the oparent and has artifact versions

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>
5 years agoFix Dockerfile for beijing 23/55923/1
Dileep Ranganathan [Thu, 5 Jul 2018 16:33:00 +0000 (09:33 -0700)]
Fix Dockerfile for beijing

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>
5 years agoAdd committers 47/55347/1
Jessica Wagantall [Tue, 26 Jun 2018 00:05:41 +0000 (17:05 -0700)]
Add committers

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>
5 years agoFix HAS image version inside run-docker.sh 03/55103/1 beijing
Ying Ruoyu [Fri, 15 Jun 2018 16:33:24 +0000 (00:33 +0800)]
Fix HAS image version inside run-docker.sh

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>
5 years agoMerge "Update INFO.yaml"
Shankaranarayanan Puzhavakath Narayanan [Wed, 13 Jun 2018 00:35:51 +0000 (00:35 +0000)]
Merge "Update INFO.yaml"

5 years agoUpdate INFO.yaml 09/54609/1
Jessica Wagantall [Wed, 13 Jun 2018 00:27:18 +0000 (17:27 -0700)]
Update INFO.yaml

Removal of:
1. Maopeng Zhang - ZTE
2. Yoram Zini -  Cisco
3. Sastry Isukaplli - AT&T

Change-Id: I2b26103b0b358a5992393d5825017431b226c33b
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoFix OOF configuration 95/50195/1
Dileep Ranganathan [Mon, 4 Jun 2018 12:14:38 +0000 (05:14 -0700)]
Fix OOF configuration

Added missing multicloud section in conductor.conf
Updated music version to reflect the latest version

Change-Id: I7e943c4344c63d4e18df9f00f6b61600e97295a7
Issue-ID: OPTFRA-232
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoUpdated the version of the HAS image 77/50177/1
Patel, Ankitkumar [Fri, 1 Jun 2018 18:43:29 +0000 (14:43 -0400)]
Updated the version of the HAS image

Updated the version of the HAS image.

Issue-ID: OPTFRA-251
Change-Id: I489610fc85591d16c29cc604adc4584c61c13da8
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
(cherry picked from commit b257e44786d799bacb4aa03421cf241c77374990)

5 years agoFix OOF configuration 93/50193/1
Dileep Ranganathan [Mon, 4 Jun 2018 12:14:38 +0000 (05:14 -0700)]
Fix OOF configuration

Added missing multicloud section in conductor.conf
Updated music version to reflect the latest version

Change-Id: I7e943c4344c63d4e18df9f00f6b61600e97295a7
Issue-ID: OPTFRA-232
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>