optf/osdf.git
5 years agoadd swagger doc 93/65093/1
Frank Sandoval [Thu, 6 Sep 2018 21:48:37 +0000 (15:48 -0600)]
add swagger doc

Issue-ID: OPTFRA-282

Change-Id: I50a760e85f3df9c5861ed1f9aa7275bbb9b231a6
Signed-off-by: Frank Sandoval <f.sandoval-contractor@cablelabs.com>
5 years agoUpgrade OSDF version to 1.2.1 37/64537/1 1.2.1
Dileep Ranganathan [Tue, 4 Sep 2018 17:22:47 +0000 (10:22 -0700)]
Upgrade OSDF 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: Ic4a631ac5b6a5480fabb0e2bc02d308b72152ab9
Issue-ID: OPTFRA-257
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agofix IP with AAI DNS 83/64083/1
seshukm [Sat, 1 Sep 2018 06:05:04 +0000 (14:05 +0800)]
fix IP with AAI DNS

Change-Id: I85a78cc14dd3b5528c2aac03efc81f1c60647d2f
Issue-ID: OPTFRA-316
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "fix the route issue in same domain"
Shankaranarayanan Puzhavakath Narayanan [Fri, 31 Aug 2018 17:39:04 +0000 (17:39 +0000)]
Merge "fix the route issue in same domain"

5 years agofix the route issue in same domain 95/63995/2
seshukm [Fri, 31 Aug 2018 12:51:05 +0000 (20:51 +0800)]
fix the route issue in same domain

Issue-ID: OPTFRA-333

Change-Id: Ic77f71d3abdab8244bdae85a11856aea24543a54
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoAdd committer to OOF team 97/63897/1
Jessica Wagantall [Thu, 30 Aug 2018 20:51:23 +0000 (13:51 -0700)]
Add committer to OOF team

Add Vikas as part of the committers group

Change-Id: I65b84c5d09b9812ced505272ce83236226fc1529
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoAdding defaultbranch to .gitreview 21/63621/1
Dileep Ranganathan [Wed, 29 Aug 2018 15:02:54 +0000 (08:02 -0700)]
Adding defaultbranch to .gitreview

Added defaultbranch=master to .gitreview

Change-Id: I29041cdeaf7fc8f5a656b4b5f8be89f990c1a166
Issue-ID: OPTFRA-258
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMerge "call of the route app optmizer from osdfapp.py"
Shankaranarayanan Puzhavakath Narayanan [Tue, 28 Aug 2018 15:16:33 +0000 (15:16 +0000)]
Merge "call of the route app optmizer from osdfapp.py"

5 years agoMerge "Use managed guava version"
Dileep Ranganathan [Mon, 27 Aug 2018 21:20:14 +0000 (21:20 +0000)]
Merge "Use managed guava version"

5 years agoFixing functional test cases 31/63131/3
Varma, Vikas (vv8305) [Mon, 27 Aug 2018 19:58:57 +0000 (15:58 -0400)]
Fixing functional test cases

Change-Id: I752e465f8f8a83cf5e18d300ff7aeb2e1b8de3c5
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
Issue-ID: OPTFRA-321
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
5 years agoUse managed guava version 03/62703/2
Gary Wu [Fri, 24 Aug 2018 22:26:48 +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: I7fa03f06ae6662d6d658f97d96344d512c24a5ad
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agoEnable logs when functest simulator is run 85/62185/1
Varma, Vikas (vv8305) [Thu, 23 Aug 2018 19:14:46 +0000 (15:14 -0400)]
Enable logs when functest simulator is run

Issue-ID: OPTFRA-321
Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
5 years agocall of the route app optmizer from osdfapp.py 05/61305/3
seshukm [Mon, 20 Aug 2018 13:32:51 +0000 (21:32 +0800)]
call of the route app optmizer from osdfapp.py

Issue-ID: OPTFRA-310

Change-Id: I2b8512d89a1ea78f829d934f83931adf287e7fa9
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoIncrease sleep time for has simulator 93/61693/1
Varma, Vikas (vv8305) [Wed, 22 Aug 2018 00:23:50 +0000 (20:23 -0400)]
Increase sleep time for has simulator

The functional tests are failing, because the simulators are not up and running when the test cases are running.

Change-Id: I2a487cc05ae8e1b366640afbdcb40bce8fa5d89a
Issue-ID: OPTFRA-321
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
5 years agoFixing the typo of application/json 09/61409/7
seshukm [Mon, 20 Aug 2018 22:34:49 +0000 (06:34 +0800)]
Fixing the typo of application/json

Issue-ID: OPTFRA-310

Change-Id: I74a50f1e19d2f6f3e10b31c4c2b89d6dc32f5421
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "New route optimiser file added for the timebeing"
ramki krishnan [Mon, 20 Aug 2018 22:26:35 +0000 (22:26 +0000)]
Merge "New route optimiser file added for the timebeing"

5 years agoMerge "Remove Ankit from committer list"
Shankaranarayanan Puzhavakath Narayanan [Mon, 20 Aug 2018 16:09:55 +0000 (16:09 +0000)]
Merge "Remove Ankit from committer list"

5 years agoNew route optimiser file added for the timebeing 01/61301/1
seshukm [Mon, 20 Aug 2018 13:19:45 +0000 (21:19 +0800)]
New route optimiser file added for the timebeing

Issue-ID: OPTFRA-310

Change-Id: I0dcec69974e6d8c6f865dad31e91746451a4f528
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "Add the /route rest api in the osdf"
Shankaranarayanan Puzhavakath Narayanan [Mon, 13 Aug 2018 14:10:16 +0000 (14:10 +0000)]
Merge "Add the /route rest api in the osdf"

5 years agoAdd the /route rest api in the osdf 99/59799/4
seshukm [Thu, 9 Aug 2018 07:50:04 +0000 (15:50 +0800)]
Add the /route rest api in the osdf

placeholder for the /route as a start piont
Issue-ID: OPTFRA-310

Change-Id: I3e9befda318a2c69426c50084cc8fb111480d653
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoFix the docker build image workflow 31/59731/2 v1.2.0
Dileep Ranganathan [Wed, 8 Aug 2018 13:08:08 +0000 (06:08 -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: Ib33681ade6408a1116a5be84f19d0bf84e188aac
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoRemove Ankit from committer list 55/58255/1
Shankar Narayanan [Tue, 31 Jul 2018 15:36:42 +0000 (11:36 -0400)]
Remove Ankit from committer list

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

Added the missing sudo privilieges required to install packages

Change-Id: Ic59a83eac17a18f24e78a7a52823dbb58ad58b08
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMissing xmllint package for version scraping 59/58059/3
Dileep Ranganathan [Mon, 30 Jul 2018 10:33:50 +0000 (03:33 -0700)]
Missing xmllint package for version scraping

Installed missing xmllint package for version scraping

Change-Id: I019c8d43ef145b3713f7267d52bd14fec5df2a76
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoFix Docker image to use the nexus artifacts 69/57369/2
Dileep Ranganathan [Thu, 19 Jul 2018 16:26:56 +0000 (09:26 -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: If7f6eb206356c5b255804f27949d23ab85068f52
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoReverting the oparent version to release version 75/56975/1
Dileep Ranganathan [Thu, 19 Jul 2018 14:19:02 +0000 (07:19 -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: I9d3282f545172608cc951ae8ad892428c4f8d702
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMerge "Bumping the oparent and osdf artifact versions"
Shankaranarayanan Puzhavakath Narayanan [Thu, 19 Jul 2018 15:34:33 +0000 (15:34 +0000)]
Merge "Bumping the oparent and osdf artifact versions"

5 years agoBumping the oparent and osdf artifact versions 67/56667/2
Dileep Ranganathan [Tue, 17 Jul 2018 16:24:03 +0000 (09:24 -0700)]
Bumping the oparent and osdf artifact versions

Bumped the oparent-python version to 1.2.0
Bumped the osdf artifacts version to 1.2.0

Issue-ID: OPTFRA-301
Change-Id: I10a45b89333606b008e172d60fad3ab6e3af5121
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years ago[OPTFRA-304] code cleaning 51/56651/1
Patel, Ankitkumar [Tue, 17 Jul 2018 19:30:58 +0000 (15:30 -0400)]
[OPTFRA-304] code cleaning

OSDF code cleaning

Issue-ID: OPTFRA-304
Change-Id: Idc538318d28710f68efc5f169e3644840e7ea86f
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoAdd committers 49/55349/1
Jessica Wagantall [Tue, 26 Jun 2018 00:07:52 +0000 (17:07 -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 agoUpdate INFO.yaml 11/54611/1
Jessica Wagantall [Wed, 13 Jun 2018 00:28:36 +0000 (17:28 -0700)]
Update INFO.yaml

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

Change-Id: I8748d7912bb798523dc0478b09d1d759962b2f89
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoFix indentation 47/50147/1
Shankar Narayanan [Mon, 4 Jun 2018 16:53:45 +0000 (12:53 -0400)]
Fix indentation

Issue-ID: DOC-271
Change-Id: Idb13ec049b74c503d024ad762daafd14a9b5d0f8
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
5 years agoMerge "Document Security section of the Release Notes"
Shankaranarayanan Puzhavakath Narayanan [Mon, 4 Jun 2018 16:29:00 +0000 (16:29 +0000)]
Merge "Document Security section of the Release Notes"

5 years agoDocument Security section of the Release Notes 33/50133/1
Patel, Ankitkumar [Mon, 4 Jun 2018 15:46:06 +0000 (11:46 -0400)]
Document Security section of the Release Notes

Document Security section of the Release Notes

Issue-ID: DOC-271
Change-Id: Ieb8afe9c3ddf5788552bcbb2be5fc5da8629d5f4
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoupdated the version of an image 69/49969/2
Patel, Ankitkumar [Fri, 1 Jun 2018 18:38:50 +0000 (14:38 -0400)]
updated the version of an image

Updated the version of an image.

Issue-ID: OPTFRA-251
Change-Id: I2fdf0789ebad30f4e520b55890317e2404546c07
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoDocument Security section of the Release Notes 59/49659/1
Gildas Lanilis [Wed, 30 May 2018 23:07:07 +0000 (16:07 -0700)]
Document Security section of the Release Notes

Change-Id: Id6f5bb20ba13ab74fea036fbf56c61156433df5b
Issue-ID: DOC-271
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
5 years agoFixed the config dir and default policy scope 15/49615/1 2.0.0-ONAP 2.0.0-ONAP
Patel, Ankitkumar [Wed, 30 May 2018 20:56:02 +0000 (16:56 -0400)]
Fixed the config dir and default policy scope

Fixed the config dir and default policy scope

Issue-ID: OPTFRA-247
Change-Id: Ie15aaaa7ac6357ddc9fc0dc262591e844001d927
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoFixed the HAS response attribute names 43/49443/1
Patel, Ankitkumar [Wed, 30 May 2018 00:45:21 +0000 (20:45 -0400)]
Fixed the HAS response attribute names

Fixed the HAS response attribute names

Issue-ID: OPTFRA-247
Change-Id: Id6afeafcb9fb094710ef7b624f2111e3608973dc
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoFixed the distance policy type 01/49401/1
Patel, Ankitkumar [Tue, 29 May 2018 17:46:11 +0000 (13:46 -0400)]
Fixed the distance policy type

Fixed the distance_to_location policy type

Issue-ID: OPTFRA-247
Change-Id: I5b63407fcf7c46dffc841b080b721e5c8203a3da
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoFix to remove resources with no policies 95/49395/1
Patel, Ankitkumar [Tue, 29 May 2018 16:34:06 +0000 (12:34 -0400)]
Fix to remove resources with no policies

Fix to remove resources with no policies from the HAS template

Issue-ID: OPTFRA-247
Change-Id: I8762a5ac13038406d74ee2806a52f78b6df697a2
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agoFixed case sensitive resource matching 89/49389/1
Patel, Ankitkumar [Tue, 29 May 2018 15:31:55 +0000 (11:31 -0400)]
Fixed case sensitive resource matching

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>
5 years agoMerge "fix comments OPTFRA-242, edit release notes"
Shankaranarayanan Puzhavakath Narayanan [Sun, 27 May 2018 15:51:25 +0000 (15:51 +0000)]
Merge "fix comments OPTFRA-242, edit release notes"

5 years agofix comments OPTFRA-242, edit release notes 43/49243/1
fsandoval [Sun, 27 May 2018 00:44:43 +0000 (18:44 -0600)]
fix comments OPTFRA-242, edit release notes

Issue-ID: OPTFRA-242

Change-Id: I06fbf6286c6c3631a3353e49a2085501be99c6f1
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
6 years agoEliminating emply elements from HAS template 09/48609/1 v1.1.1
Ankitkumar Patel [Wed, 23 May 2018 02:57:54 +0000 (22:57 -0400)]
Eliminating emply elements from HAS template

Eliminating empty elements from HAS template

Issue-ID: OPTFRA-243
Change-Id: Iec6acf95f6f0a98757e3d208f102998d197b2daa
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoUpdating the VNF policy translation 43/48543/1
Ankitkumar Patel [Tue, 22 May 2018 18:19:36 +0000 (14:19 -0400)]
Updating the VNF policy translation

Updating the VNF policy translation

Issue-ID: OPTFRA-239
Change-Id: Iadce865b35ec94613502063d718a317aba798bc4
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoFix the bug in translating a policy 47/48247/1
Ankitkumar Patel [Sat, 19 May 2018 16:47:27 +0000 (12:47 -0400)]
Fix the bug in translating a policy

Fix the bug in translating the VNF policy

Issue-ID: OPTFRA-239
Change-Id: I0c9f678f22fec4eb3f5e190ea0080c899fb95445
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoupdating config file 35/47935/2
Ankitkumar Patel [Wed, 16 May 2018 23:01:37 +0000 (19:01 -0400)]
updating config file

updating the config file

Issue-ID: OPTFRA-237
Change-Id: Ic63eb5e3921bba35afb44c5d34ddb38cfde8ee75
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoUpdating the config file 17/47917/1
Ankitkumar Patel [Wed, 16 May 2018 21:33:31 +0000 (17:33 -0400)]
Updating the config file

Updating the config file as workaround

Issue-ID: OPTFRA-237
Change-Id: Iacdb4e8ab0f38d0809c4881b3faca0b4f3164d0c
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoUpdated DockerFile to set environment variable 57/47857/1
Ankitkumar Patel [Wed, 16 May 2018 16:08:33 +0000 (12:08 -0400)]
Updated DockerFile to set environment variable

Updated docker file to set the environment variable

Issue-ID: OPTFRA-237
Change-Id: I97275c9c7b3963b6282a8d59f4177dc8b94e53fe
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoBump oparent-python version 03/46903/1
Gary Wu [Wed, 9 May 2018 20:57:25 +0000 (13:57 -0700)]
Bump oparent-python version

Bump oparent-python version to 1.1.1 to
resolve a license issue in an old version of lombok.

Change-Id: I09a3c0b3745ebbeeedb400638e16047971329e43
Issue-ID: INT-493
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agodisabling SSL certificate check 79/46479/1
Ankitkumar Patel [Mon, 7 May 2018 22:02:43 +0000 (18:02 -0400)]
disabling SSL certificate check

Disabling SSL certificate check

Issue-ID: OPTFRA-223
Change-Id: Ibec0165290a8d22cf480871d6c556cd39007b6b6
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoUpdated docker file 01/46401/1
Ankitkumar Patel [Mon, 7 May 2018 14:08:32 +0000 (10:08 -0400)]
Updated docker file

Updated docker file

Issue-ID: OPTFRA-200
Change-Id: Iac689582a86a73e36048b93daf656d162aa5a3af
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoEELF logging is added 43/46243/1
Ankitkumar Patel [Fri, 4 May 2018 15:47:45 +0000 (11:47 -0400)]
EELF logging is added

EELF logging is added.

Issue-ID: OPTFRA-227
Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoadd sections 87/45487/1
fsandoval [Tue, 1 May 2018 18:29:40 +0000 (12:29 -0600)]
add sections

Issue-ID: OPTFRA-41

Change-Id: Iba3f0c98b5c691ef89796991f7133c122a9bb792
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
6 years agoBeijing RC2 documentation 73/45473/1
fsandoval [Tue, 1 May 2018 16:56:16 +0000 (10:56 -0600)]
Beijing RC2 documentation

Issue-ID: OPTFRA-41

Change-Id: If505dfc6c79666436d3c1aab8d163707bc1d1d9f
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
6 years agoMerge "Add INFO.yaml file"
Shankaranarayanan Puzhavakath Narayanan [Sat, 28 Apr 2018 01:39:42 +0000 (01:39 +0000)]
Merge "Add INFO.yaml file"

6 years agoAdd INFO.yaml file 43/44743/1
Jessica Wagantall [Wed, 25 Apr 2018 19:05:04 +0000 (12:05 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I05502215968f1ea5ace3e9f5cb74272d93535db9
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoUpdated the configuration 61/44561/1
Ankitkumar Patel [Wed, 25 Apr 2018 03:42:08 +0000 (23:42 -0400)]
Updated the configuration

Updated the configurations of policy, so, and conductor.

Issue-ID: OPTFRA-222
Change-Id: I8500cd333d3bd24ebc8fc59db1c74a5b58b76854
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoMerge "[OPTFRA-217] Fix identifier value in placementSol"
Shankaranarayanan Puzhavakath Narayanan [Mon, 23 Apr 2018 17:59:08 +0000 (17:59 +0000)]
Merge "[OPTFRA-217] Fix identifier value in placementSol"

6 years agoFixing the docker file to set default python exec 77/44077/1
Varma, Vikas (vv8305) [Sun, 22 Apr 2018 20:55:22 +0000 (16:55 -0400)]
Fixing the docker file to set default python exec

Change-Id: I3bd6f16b85ada4111585818a3009de75f7294665
Issue-ID: OPTFRA-221
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
6 years ago[OPTFRA-217] Fix identifier value in placementSol 53/43653/1
Chayal, Avteet (ac229e) ac229e@att.com [Thu, 19 Apr 2018 01:59:52 +0000 (21:59 -0400)]
[OPTFRA-217] Fix identifier value in placementSol

Identifier should be "serviceInstanceId" or "cloudRegionId"

Issue-ID: OPTFRA-217

Change-Id: I1ddab070922f43ac65f54a3fcc6f36986d04de3a
Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
6 years agoFix for placement call check and sync response 65/41165/3
Chayal, Avteet (ac229e) ac229e@att.com [Thu, 5 Apr 2018 02:24:18 +0000 (22:24 -0400)]
Fix for placement call check and sync response

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>
6 years agoOPTFRA-214-requestState should be requestStatus 63/41163/1
Chayal, Avteet (ac229e) ac229e@att.com [Thu, 5 Apr 2018 01:39:12 +0000 (21:39 -0400)]
OPTFRA-214-requestState should be requestStatus

Fixed async response for placementDemand only scenario.

Issue-ID: OPTFRA-214

Change-Id: Ia9bdced85a874fd19e74b53e52702d45b3c67052
Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
6 years agoUpdated the policy adaptor for scope filtering 81/40281/5
Ankitkumar Patel [Thu, 29 Mar 2018 21:32:51 +0000 (17:32 -0400)]
Updated the policy adaptor for scope filtering

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>
6 years agoBring osdfapp into foreground 69/40169/1
Sastry Isukapalli [Thu, 29 Mar 2018 13:56:50 +0000 (09:56 -0400)]
Bring osdfapp into foreground

Issue-ID: OPTFRA-22
Change-Id: I0fb409460bd9a0e7a4485298865a29279b376e68
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoAdded optimization query processing module. 71/39971/1
Ankitkumar Patel [Thu, 29 Mar 2018 03:39:50 +0000 (23:39 -0400)]
Added optimization query processing module.

Added optimization query processing module.

Issue-ID: OPTFRA-177
Change-Id: I4dd395b77bfe4bc392b90bc7087338f050fa622d
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoFunctest scripts, simulators, and payloads 39/39939/2
Sastry Isukapalli [Thu, 29 Mar 2018 02:21:30 +0000 (22:21 -0400)]
Functest scripts, simulators, and payloads

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>
6 years agoUpdate the SO sync and async responses. 81/39781/1
Ankitkumar Patel [Wed, 28 Mar 2018 18:27:53 +0000 (14:27 -0400)]
Update the SO sync and async responses.

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>
6 years agoAdding an autostart in Docker 47/39447/1
Sastry Isukapalli [Wed, 28 Mar 2018 06:41:01 +0000 (02:41 -0400)]
Adding an autostart in Docker

Issue-ID: OPTFRA-22
Change-Id: I6b5e072d48d312e86cd681908e62b71059774093
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoSO response build module updated 93/39293/1
Ankitkumar Patel [Tue, 27 Mar 2018 21:19:26 +0000 (17:19 -0400)]
SO response build module updated

SO response build module is updated based on the HAS API.

Issue-ID: OPTFRA-208
Change-Id: I57ed198967d2dc9a58f1221eb57fda56fcb5fd2d
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoUpdated the conductor adaptor 51/39251/2
Ankitkumar Patel [Tue, 27 Mar 2018 19:02:46 +0000 (15:02 -0400)]
Updated the conductor adaptor

Updated the conductor adaptor code.

Issue-ID: OPTFRA-207
Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoMerge "Updates to address new HPA policies"
Sastry Isukapalli [Tue, 27 Mar 2018 17:23:40 +0000 (17:23 +0000)]
Merge "Updates to address new HPA policies"

6 years agoUpdates to address new HPA policies 53/39153/1
Ankitkumar Patel [Tue, 27 Mar 2018 15:54:53 +0000 (11:54 -0400)]
Updates to address new HPA policies

Issue-ID: OPTFRA-100
Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoRemove code smell from DMaaP adapter 55/38655/1
Sastry Isukapalli [Mon, 26 Mar 2018 19:57:20 +0000 (15:57 -0400)]
Remove code smell from DMaaP adapter

Issue-ID: OPTFRA-195
Change-Id: I67f2f5c6f9190bb91f34b371c0bc3ea1aa2367b0
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoUpdated the schematics models of the HAS API 41/38641/1
Ankitkumar Patel [Mon, 26 Mar 2018 19:03:48 +0000 (15:03 -0400)]
Updated the schematics models of the HAS API

Updated the validation models and related testcases.

Issue-ID: OPTFRA-203
Change-Id: I02219e64543eb7a9a7933322bf19f21e070496f4
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoMerge "Inserted policy tosca models and examples"
Sastry Isukapalli [Mon, 26 Mar 2018 18:06:23 +0000 (18:06 +0000)]
Merge "Inserted policy tosca models and examples"

6 years agoInserted policy tosca models and examples 11/38611/3
Ankitkumar Patel [Mon, 26 Mar 2018 16:34:28 +0000 (12:34 -0400)]
Inserted policy tosca models and examples

Uploaded the policy tosca models and policy examples for HAS.

Issue-ID: OPTFRA-27
Change-Id: I96ae70c5fe34ce7f40f461801e149d81afa52ea3
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoAdding the missing healthcheck 19/38619/1
Dileep Ranganathan [Mon, 26 Mar 2018 10:47:18 +0000 (03:47 -0700)]
Adding the missing healthcheck

Adding the missing healthcheck from previous commit.

Change-Id: I443dff8a22ea641bcbdfc4e8aa73ba5557d3259f
Issue-ID: OPTFRA-22
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoUpdate the policy adaptor and related testcases 17/38317/1
Ankitkumar Patel [Sun, 25 Mar 2018 23:27:39 +0000 (19:27 -0400)]
Update the policy adaptor and related testcases

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>
6 years agoadded healthcheck 69/38269/1
ramkri123 [Sun, 25 Mar 2018 03:00:07 +0000 (00:00 -0300)]
added healthcheck

Issue-ID: OPTFRA-22
Change-Id: I783a597b81abd0027819fff0c103250e1e003c10
Signed-off-by: ramkri123 <ramkri123@gmail.com>
6 years agofixing docker image tag 67/38267/1
ramkri123 [Sun, 25 Mar 2018 01:12:55 +0000 (22:12 -0300)]
fixing docker image tag

Issue-ID: OPTFRA-22
Change-Id: Iacd81643a3a317171aaa3af8e78b2c6a33c52348
Signed-off-by: ramkri123 <ramkri123@gmail.com>
6 years agofixing name of staging image 65/38265/1
ramkri123 [Sun, 25 Mar 2018 00:28:06 +0000 (21:28 -0300)]
fixing name of staging image

Issue-ID: OPTFRA-22
Change-Id: Iea233cbebc5b277ee23e7e52edce3778a23308a0
Signed-off-by: ramkri123 <ramkri123@gmail.com>
6 years agoFix bug in docker build script 51/38251/1
Sastry Isukapalli [Sat, 24 Mar 2018 06:16:50 +0000 (02:16 -0400)]
Fix bug in docker build script

Fixed a spurios typo in date command

Issue-ID: OPTFRA-22
Change-Id: I4a9b02f52d07bba2091b95ab201c9fc0b252f971
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoMerge "Fix "brain-overload" functions flagged by SONAR"
Shankaranarayanan Puzhavakath Narayanan [Thu, 22 Mar 2018 20:29:13 +0000 (20:29 +0000)]
Merge "Fix "brain-overload" functions flagged by SONAR"

6 years agoAdd docker components for CSIT 75/37675/5
Sastry Isukapalli [Thu, 22 Mar 2018 06:03:23 +0000 (02:03 -0400)]
Add docker components for CSIT

Added license to Dockerfile
Added 8699 internal port and 8698 external port

Issue-ID: OPTFRA-22
Change-Id: I232acc6cd417efda164ae825362dcc6d0be28a12
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoFix "brain-overload" functions flagged by SONAR 55/37655/2
Sastry Isukapalli [Thu, 22 Mar 2018 04:58:14 +0000 (00:58 -0400)]
Fix "brain-overload" functions flagged by SONAR

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>
6 years agoNew policies and required code changes 33/36333/2
Sastry Isukapalli [Sat, 17 Mar 2018 06:40:15 +0000 (02:40 -0400)]
New policies and required code changes

Issue-ID: OPTFRA-146
Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoMerge "Update oparent-python version for optf/osdf"
Sastry Isukapalli [Thu, 15 Mar 2018 05:30:52 +0000 (05:30 +0000)]
Merge "Update oparent-python version for optf/osdf"

6 years agoUpdate oparent-python version for optf/osdf 85/35885/1
Dileep Ranganathan [Wed, 14 Mar 2018 21:38:30 +0000 (14:38 -0700)]
Update oparent-python version for optf/osdf

Change-Id: I8b63a0e2ea35fbaa28674e4edf7da54ddd6ce054
Issue-ID: OPTFRA-184
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoExample Minizinc Placement Models for 5G 97/35097/1
ramkri123 [Mon, 12 Mar 2018 01:33:39 +0000 (22:33 -0300)]
Example Minizinc Placement Models for 5G

Issue-ID: OPTFRA-173
Change-Id: I245e64764d8dd6e9e254a79a97a7d49e228b125a
Signed-off-by: ramkri123 <ramkri123@gmail.com>
6 years agoDockerfile for OSDF Minizinc Placement Examples 43/35043/1
ramkri123 [Sun, 11 Mar 2018 02:12:23 +0000 (23:12 -0300)]
Dockerfile for OSDF Minizinc Placement Examples

Issue-ID: OPTFRA-153
Change-Id: Ieba7c834e1fa028a00f64bdbf1994fd6703a8fa0
Signed-off-by: ramkri123 <ramkri123@gmail.com>
6 years agogetOptions renamed in osdfapp.py and tests 45/34645/4
Sastry Isukapalli [Thu, 8 Mar 2018 03:00:20 +0000 (22:00 -0500)]
getOptions renamed in osdfapp.py and tests

Issue-ID: OPTFRA-102
Change-Id: Idf0a61ff837ecd26577febaca5f0538971759792
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoClean up code smells, added osdfapp.py 19/34619/3
Sastry Isukapalli [Thu, 8 Mar 2018 01:24:38 +0000 (20:24 -0500)]
Clean up code smells, added osdfapp.py

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>
6 years agoExclude Tests from Sonar coverage report 13/34613/3
Dileep Ranganathan [Wed, 7 Mar 2018 17:42:55 +0000 (09:42 -0800)]
Exclude Tests from Sonar coverage report

Change-Id: I60bf015cdc4a3a7fad8babf146dd9e78470645d1
Issue-ID: OPTFRA-102
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoAdding SONAR coverage report support 27/33727/3
Sastry Isukapalli [Fri, 2 Mar 2018 05:10:29 +0000 (00:10 -0500)]
Adding SONAR coverage report support

Issue-ID: OPTFRA-102
Change-Id: I67552599ff49dff29f99578b83592dd8d2ced193
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoMinizinc Placement Model Ex. for vDNS+vFW use case 73/33273/1
ramkri123 [Tue, 27 Feb 2018 22:52:49 +0000 (14:52 -0800)]
Minizinc Placement Model Ex. for vDNS+vFW use case

Issue-ID: OPTFRA-153
Change-Id: I228e638e4c5bfb2cabd970c571077f3ebaf01ece
Signed-off-by: ramkri123 <ramkri123@gmail.com>
6 years agoupdate OOF_HAS_R2_Interface.rst 37/32837/3
maopengzhang [Mon, 26 Feb 2018 06:53:55 +0000 (14:53 +0800)]
update OOF_HAS_R2_Interface.rst

update OOF_HAS_R2_Interface.rst according to the comments

Change-Id: I85ef6b26fabe5ce0a19a119c3f126fc0fc39c5c8
Issue-ID: OPTFRA-146
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
6 years agoAdding/updating copyrights plus some unittests 71/32071/1
Sastry Isukapalli [Mon, 19 Feb 2018 06:29:26 +0000 (01:29 -0500)]
Adding/updating copyrights plus some unittests

Issue-ID: OPTFRA-96
Change-Id: Ica36e3cd90a87f97b6749500c00d7097c37abe39
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
6 years agoMinizinc data model for Silver Customer 53/32053/1
Ramki Krishnan [Sun, 18 Feb 2018 15:52:27 +0000 (15:52 +0000)]
Minizinc data model for Silver Customer

Issue-ID: OPTFRA-128
Change-Id: Ied194c53352a9ba61ae29c5aecda80f4ebcbcf3d
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
6 years agoMinizinc data model - no edge DC hard constraint 51/32051/1
Ramki Krishnan [Sun, 18 Feb 2018 15:47:46 +0000 (15:47 +0000)]
Minizinc data model - no edge DC hard constraint

Issue-ID: OPTFRA-127
Change-Id: Ic781135f1697623f245d98a32571a2f1e03d2438
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>