so.git
5 years agoMerge "Add Ref Data" into casablanca
Seshu Kumar M [Wed, 14 Nov 2018 17:11:01 +0000 (17:11 +0000)]
Merge "Add Ref Data" into casablanca

5 years agoMerge "Fix the uri for BPMN invocation" into casablanca
Seshu Kumar M [Wed, 14 Nov 2018 16:34:32 +0000 (16:34 +0000)]
Merge "Fix the uri for BPMN invocation" into casablanca

5 years agoAdd Ref Data 65/72665/2
Smokowski, Steve (ss835w) [Wed, 14 Nov 2018 15:36:52 +0000 (10:36 -0500)]
Add Ref Data

Add Missing reference data for Test cases

Issue-ID: SO-1184

Change-Id: Ibf3ed0b802885f64b7d4850b5209932fcf35524a
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoFix the uri for BPMN invocation 51/72651/1
subhash kumar singh [Wed, 14 Nov 2018 14:15:59 +0000 (19:45 +0530)]
Fix the uri for BPMN invocation

Fix the uri for BPMN invocation.

Change-Id: I42da40501a99c35aab5411f1f08586e7f40ee03a
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoMerge "Get Csar file bug fix" into casablanca
Seshu Kumar M [Wed, 14 Nov 2018 09:54:14 +0000 (09:54 +0000)]
Merge "Get Csar file bug fix" into casablanca

5 years agoGet Csar file bug fix 36/72536/3
Yulian Han [Tue, 13 Nov 2018 12:40:26 +0000 (20:40 +0800)]
Get Csar file bug fix

modify getting openecomp.db.endpoint config codes
Delete bug fix for R3 config changes

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064408
Issue-ID: SO-1194
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agoFix issues with mulicloud adapter parameters 08/72508/2
Eric Multanen [Tue, 13 Nov 2018 16:25:05 +0000 (08:25 -0800)]
Fix issues with mulicloud adapter parameters

Use the static final string variable for the parameter
key values instead of literal string of the variable name.

Also, vf_module_id and vnf_id (generic vnf id for multicloud)
are already part of the required input list, so they are
not needed to be added to the list of inputs.

Change-Id: I2b0bbf385e4114f0432673a3d7e8c9d652226f0a
Issue-ID: SO-1210
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoFix the variable to retrieve resource sequence 42/72542/1
subhash kumar singh [Tue, 13 Nov 2018 13:37:45 +0000 (19:07 +0530)]
Fix the variable to retrieve resource sequence

Fix the variable to retrieve resource sequence.

Change-Id: I331c87f5dd3fe4de3bc220db281368bd4b6dae1a
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoReplace xmlencode with xmlEscape 24/72524/1
subhash kumar singh [Tue, 13 Nov 2018 09:17:30 +0000 (14:47 +0530)]
Replace xmlencode with xmlEscape

Replace xmlencode with xmlEscape.

Change-Id: Ib84e7e4f10881abbc938ee03b66ed3358f06e2dc
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
(cherry picked from commit d080aa2ebd5c8b98e0210185030b90ed5a4a6edd)

5 years agoMerge "Fix the retrival of resource recipe" into casablanca
Seshu Kumar M [Tue, 13 Nov 2018 10:44:47 +0000 (10:44 +0000)]
Merge "Fix the retrival of resource recipe" into casablanca

5 years agoFix the retrival of resource recipe 18/72518/1
subhash kumar singh [Mon, 12 Nov 2018 12:05:37 +0000 (17:35 +0530)]
Fix the retrival of resource recipe

Fix the retrival of resource recipe.

Change-Id: Iaec1046f487ce61b995d61414dbe4229e8a51115
Issue-ID: SO-1197
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
(cherry picked from commit 1c831520f085527c9525d8a757e9c0ccddae0219)

5 years agofix installing VL resource bug 16/72516/1
Yulian Han [Fri, 9 Nov 2018 13:34:38 +0000 (21:34 +0800)]
fix installing VL resource bug

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064406
Issue-ID: SO-1184
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
(cherry picked from commit a2e9ad5d9b34d764493951737ab73821b03bba0c)

5 years agoFix OOF Directives processing 50/72350/3
Marcus G K Williams [Fri, 9 Nov 2018 23:56:17 +0000 (15:56 -0800)]
Fix OOF Directives processing

- Various fixes to process OOF directives
correctly
- Add orchestrator userParam Processing to ala carte
and vCPE path to ensure multicloud adapter can be
called when homing
- Fix JsonUtils to accept json object as well as
strings
- Adds JsonUtils unit tests to ensure json object
code works correctly and didn't break previous func.
- Fix OOF Homing codes processing of OOF response to
match Casablanca response from OOF (including OOF
directives)
- Add CloudIdentity get and put to catalogDBClient,
along with junit tests - to enable creation of cloudSites
- Fix serviceResourceId check

Issue-ID: SO-1203
Change-Id: Ice9a9d1da2ce0cd4bd11029e3669b30d658fe359
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoBug fixes November 10th 73/72373/1
Benjamin, Max (mb388a) [Sat, 10 Nov 2018 16:46:40 +0000 (11:46 -0500)]
Bug fixes November 10th

use network name on delete when heat id not present
compare mod count index as Integers

Change-Id: I76e567378fed83fb857d4d16b88f7a199d0df475
Issue-ID: SO-1204
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoarUrl variable is null on vCPE PUT to AAI 05/72305/2
Rob Daugherty [Fri, 9 Nov 2018 14:31:55 +0000 (09:31 -0500)]
arUrl variable is null on vCPE PUT to AAI

Change-Id: Iee4641f098c519b7833a1f5038a2024b42a11198
Issue-ID: SO-1201
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoUpdated pom.xml appc library version to 1.4.0 56/72256/2
Prema Bhatt [Thu, 8 Nov 2018 22:18:26 +0000 (14:18 -0800)]
Updated pom.xml appc library version to 1.4.0

Issue-ID: SO-1199
Change-Id: I5c1f8d6e434ce12e370435bcae4f22485c5d249e
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoRemoved retry from RainyDay tbl for healthCheckBB 24/72124/1
Prema Bhatt [Wed, 7 Nov 2018 21:36:37 +0000 (13:36 -0800)]
Removed retry from RainyDay tbl for healthCheckBB

Updated rainy_day_handler_macro to remove retry for
GenericVnfhealthCheckBB and ConfigurationScaleOutBB. Updated file name
to be consistent.

Issue-ID: SO-1185
Change-Id: If49e5ec8e5d98c1dfad1fdc678a4a7fc45b2566e
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoMerge "bug fixing with reading dmaap message" into casablanca
Seshu Kumar M [Wed, 7 Nov 2018 18:31:31 +0000 (18:31 +0000)]
Merge "bug fixing with reading dmaap message" into casablanca

5 years agoMerge "Make homingBB optinal and fix homing process" into casablanca
Marcus Williams [Wed, 7 Nov 2018 18:19:25 +0000 (18:19 +0000)]
Merge "Make homingBB optinal and fix homing process" into casablanca

5 years agobug fixing with reading dmaap message 97/72097/1
Lukasz Muszkieta [Wed, 7 Nov 2018 16:46:59 +0000 (17:46 +0100)]
bug fixing with reading dmaap message

Change-Id: I259337e866d1b401b574ba427219157dfc4987af
Issue-ID: SO-1191
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoMake homingBB optinal and fix homing process 73/72073/1
Alexis de Talhouët [Fri, 26 Oct 2018 13:54:46 +0000 (09:54 -0400)]
Make homingBB optinal and fix homing process

Properly defined whether or not to call homing at AssignVnfBB where by
default homing doesn't get called, but if a homing solution is provided,
then we resolve the solutions.
The goal is to change the BPMN definition to use serviceTask rather
than a scriptTask, allowing to use the Srping component to inject
logic.
Also we create a new HomingV2 component that is agnostic of the homing
implementation, which goal is to route the homing request to the proper
bbackend implementation; e.g. oof vs homing.
Finally, we remove the un-needed variables set in the execution context.

Change-Id: Ic9fb2a599c6375617c92a6d3462b62921ee47a6f
Issue-ID: SO-1168
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agoFixing scaleOut workflow looping issue 14/72014/1
Prema Bhatt [Tue, 6 Nov 2018 21:10:30 +0000 (13:10 -0800)]
Fixing scaleOut workflow looping issue

Updated both GenericVnfHealthCheck and ConfigurationScaleOut BB with
appropriate Exception catch block and added Exception unit test.

Issue-ID: SO-1182
Change-Id: Ia29741a4a7d8e1bb759ace4fd888864141d224d6
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoremoved retry from rainy day table 86/71986/1
bb3476 [Tue, 6 Nov 2018 18:13:55 +0000 (13:13 -0500)]
removed retry from rainy day table

Issue-ID: SO-1185
Change-Id: I6b972828d1a5b57cbfe532d0b8a79a3a10711b3b
Signed-off-by: bb3476 <bb3476@att.com>
5 years agoMerge "Removed slashes and added catch block" into casablanca
Rob Daugherty [Tue, 6 Nov 2018 15:49:11 +0000 (15:49 +0000)]
Merge "Removed slashes and added catch block" into casablanca

5 years agoMerge "Bug fixes November 5th" into casablanca
Rob Daugherty [Tue, 6 Nov 2018 15:15:35 +0000 (15:15 +0000)]
Merge "Bug fixes November 5th" into casablanca

5 years agoMerge "Fix msb url in homing cloudsite" into casablanca
Rob Daugherty [Tue, 6 Nov 2018 15:14:33 +0000 (15:14 +0000)]
Merge "Fix msb url in homing cloudsite" into casablanca

5 years agoRemoved slashes and added catch block 53/71953/1
Brittany Plummer (bp896r) [Tue, 6 Nov 2018 14:51:10 +0000 (09:51 -0500)]
Removed slashes and added catch block

Issue-ID: SO-1183
Change-Id: Ib8581393d782f078fc844cf96cbf7a0228133581
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
5 years agoBug fixes November 5th 05/71905/1
Benjamin, Max (mb388a) [Tue, 6 Nov 2018 00:12:02 +0000 (19:12 -0500)]
Bug fixes November 5th

building block validator test now passes
added buildingblockvalidator process instance test
Retrieve actual error from WorkflowExceptionErrorMessage when the error
message is empty, not only when null.
Propagate orchestrationStatusValidationResult values from BB to BB.
corrected use of constructor for AaiUtil
use AaiUtil method to create path for get call
modified how allotted resource urls are constructed
- Removed the findExistingVnfcInstanceGroup method.  It is not required
to check this because the vnfResourceCustomization is always a new
object at this location.
Enable multiStage VF Module Create processing only when aLaCarte flag
is on.

Change-Id: If8cf397a84abc290e67e287d5b2264dd226398bc
Issue-ID: SO-1188
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Send correct resourceModuleName" into casablanca
Rob Daugherty [Sat, 3 Nov 2018 15:16:37 +0000 (15:16 +0000)]
Merge "Send correct resourceModuleName" into casablanca

5 years agoAdded Null check for gtConfigurationParameter 74/71774/1
Prema Bhatt [Fri, 2 Nov 2018 20:55:10 +0000 (13:55 -0700)]
Added Null check for gtConfigurationParameter

Change-Id: Icd21f579eebfe40b70344456420701fbc2408722
Issue-ID: SO-1179
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoConfigurationParameter is empty for scaleout 62/71762/1
Prema Bhatt [Fri, 2 Nov 2018 19:57:28 +0000 (12:57 -0700)]
ConfigurationParameter is empty for scaleout

Mapping for ConfigurationParameter List was missing in
BBInputSetupMapperLayer class. Added mapping and updated Unit tests and
test data

Change-Id: Ice8c7c30c97a5b8a8444a2243ddbea4d5fb036af
Issue-ID: SO-1083
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoUpdated Reference data for AutoScaleOut 06/71706/1
Prema Bhatt [Fri, 2 Nov 2018 00:32:21 +0000 (17:32 -0700)]
Updated Reference data for AutoScaleOut

Updated building_block_detail Reference data and added entries into
orchestration_status_state_transition_directive table for AutoScaleOut

Change-Id: I19a2ea7e217c751be16be5784a8161aab4436285
Issue-ID: SO-1174
Signed-off-by: Prema Bhatt <pb6115@att.com>
5 years agoFix msb url in homing cloudsite 94/71694/1
Marcus G K Williams [Thu, 1 Nov 2018 21:35:21 +0000 (14:35 -0700)]
Fix msb url in homing cloudsite

This change adds a getMsbHost method
to homingUtils to enable correct configuration
of the msburl used in identity_services for
multicloud.

Issue-ID: SO-1180
Change-Id: Ib7adecda98b1d5f5770e2d17a2e76c970619ab46
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoMerge "Update Logic" into casablanca
Rob Daugherty [Thu, 1 Nov 2018 16:52:27 +0000 (16:52 +0000)]
Merge "Update Logic" into casablanca

5 years agoUpdate Logic 43/71643/2
Smokowski, Steve (ss835w) [Thu, 1 Nov 2018 15:23:04 +0000 (11:23 -0400)]
Update Logic

Update Regex Logic to take into account new scale out URI and generate
the UUID, Fix whitespace

Issue-ID: SO-117
Change-Id: I1a3c3b31e18701fce3d622d501dd68efc7ab6969

Change-Id: I1a3c3b31e18701fce3d622d501dd68efc7ab6969
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoSend correct resourceModuleName 86/71586/1
Marcus G K Williams [Wed, 31 Oct 2018 21:35:05 +0000 (14:35 -0700)]
Send correct resourceModuleName

Issue-ID: SO-1178
Change-Id: I593ec7db0bac3e0b343bd0eb960977d0110fd9b8
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoMerge "Fix Error, Check that vimID is present" into casablanca
Rob Daugherty [Mon, 29 Oct 2018 21:19:59 +0000 (21:19 +0000)]
Merge "Fix Error, Check that vimID is present" into casablanca

5 years agoFix Error, Check that vimID is present 47/71247/3
Marcus G K Williams [Thu, 25 Oct 2018 14:49:31 +0000 (07:49 -0700)]
Fix Error, Check that vimID is present

Issue-ID: SO-1156
Change-Id: I14445f0e6dbed00b37a189f3a7c05923c6d4e5ab
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoBug fixes October 26th 43/71343/1
Benjamin, Max (mb388a) [Fri, 26 Oct 2018 19:05:42 +0000 (15:05 -0400)]
Bug fixes October 26th

Set non-custom health diagnostic check code to a default value.
created custom java serialization for SimpleUri
changed property value for cloud-owner in unit test
converted aai call to use the AAI Client
Correct a JUnit data file to include userParams values that are
expected to be set.
Set userParams on requestContext to parameters that need to be passed
to downstream systems.

Change-Id: I3974691875ef967f90a15f076ae27bc0cd76ee8e
Issue-ID: SO-1169
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoResolve vf_module_id setting bug 70/71270/2
Marcus G K Williams [Thu, 25 Oct 2018 18:56:43 +0000 (11:56 -0700)]
Resolve vf_module_id setting bug

Do not remove vf_module_id and vnf_id
from parameters in HeatUtils.

Issue-ID: SO-1165
Change-Id: I6f00350a6f7dc419a8be9b90b28188228949cb43
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoPnf Spring Environment correction 37/71137/1
Lukasz Muszkieta [Thu, 4 Oct 2018 14:15:13 +0000 (16:15 +0200)]
Pnf Spring Environment correction

Change-Id: Ic9d83e2919bd1f947fdca07d8982bd5e794c9dbe
Issue-ID: SO-1102
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoMerge "Bug fixes October 23rd" into casablanca
Rob Daugherty [Tue, 23 Oct 2018 18:08:00 +0000 (18:08 +0000)]
Merge "Bug fixes October 23rd" into casablanca

5 years agoBug fixes October 23rd 84/71084/2
Benjamin, Max (mb388a) [Tue, 23 Oct 2018 16:02:27 +0000 (12:02 -0400)]
Bug fixes October 23rd

fixed the db status not being updated on delete SI
added a default sequence flow to isAsync_Gateway
Removed @Before and organized imports
Added check to prevent db query with only requestStatus
correct AAIObjectPlurals enum value name
Correct rollbackData setting and protect against null

Change-Id: Ic7c47dc968a29987c3d576da9aa50c7ddc8f28ee
Issue-ID: SO-1162
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFixing bpmn infra endpoint in so-monitoring yaml 80/71080/2
Waqas Ikram [Tue, 23 Oct 2018 16:51:32 +0000 (17:51 +0100)]
Fixing bpmn infra endpoint in so-monitoring yaml

Change-Id: I5db304c59176808f05138bc4c8a1cb6ce043eb66
Issue-ID: SO-1155
Signed-off-by: Waqas Ikram <waqas.ikram@ericsson.com>
5 years agoremoved att-aic from codebase 69/71069/2
Benjamin, Max (mb388a) [Tue, 23 Oct 2018 15:15:59 +0000 (11:15 -0400)]
removed att-aic from codebase

remove att-aic cloud owner from ONAP files

Change-Id: Ifba8ef6f53194ddca12d11973817f6d85e2fa7e3
Issue-ID: SO-1161
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agodefault cloud owner now configurable 61/71061/2
Benjamin, Max (mb388a) [Tue, 23 Oct 2018 13:43:26 +0000 (09:43 -0400)]
default cloud owner now configurable

default cloud owner can now be set via a property

Change-Id: I9b900cb2a5c7176a78e889ad2ce31a4ed9d38585
Issue-ID: SO-1158
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Fix Java Ex in Homing" into casablanca 1.3.1
Seshu Kumar M [Tue, 23 Oct 2018 04:58:46 +0000 (04:58 +0000)]
Merge "Fix Java Ex in Homing" into casablanca

5 years agoSet homingService in WorkflowAction 72/70972/1
Marcus G K Williams [Mon, 22 Oct 2018 18:48:47 +0000 (11:48 -0700)]
Set homingService in WorkflowAction

Issue-ID: SO-1153
Change-Id: I40ef5deb8699f7f0c602cb57e273c1a3dc814004
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoFix Java Ex in Homing 70/70970/1
Marcus G K Williams [Mon, 22 Oct 2018 18:42:57 +0000 (11:42 -0700)]
Fix Java Ex in Homing

Issue-ID: SO-1145
Change-Id: I35b28f9e4cd67536a7807f9e083b0c1c4fa9a03c
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoVersion should be 1.3.1 to release new dockers 57/70957/1
Rob Daugherty [Mon, 22 Oct 2018 15:57:29 +0000 (11:57 -0400)]
Version should be 1.3.1 to release new dockers

THIS IS FOR CASABLANCA ONLY

Change-Id: Ib261104ab7300ec10906386b9397301a653c992c
Issue-ID: SO-1157
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agobug fixes october 19th 17/70817/4
Benjamin, Max (mb388a) [Fri, 19 Oct 2018 13:32:18 +0000 (09:32 -0400)]
bug fixes october 19th

Fixed issue with resource version being added twice.
added silent success to orch validation when unassign is not found
Removed SNAPSHOT from dependency
Fixed failing BBInputSetup tests
Updated apih tests to use networkInstanceGroup
Updated ModelType enum and fixed compilation issues
Change the place where the data for multistage gets set
Update treatment of PENDING_ACTIVATION VF_MODULE CREATE entries to
SILENT_SUCCESS to support first stage of multistage.
Implement second stage of multistage design VF Module Creation
Implementation of the first stage of multistage design for VF Module
creation.

Change-Id: I6d76282d1f37c081355cee72797d8e13da4e3cb0
Issue-ID: SO-1149
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agologging-slf4j:1.2.2-SNAPSHOT does not exist 26/70826/1
Rob Daugherty [Fri, 19 Oct 2018 15:37:05 +0000 (11:37 -0400)]
logging-slf4j:1.2.2-SNAPSHOT does not exist

Change the dependency to the 1.2.2 release version.
Remove the exclusion for EELF, because 1.2.2 doesn't use it.

Change-Id: I0ccca79df59282d5d9d71eec4b3faa845d31814f
Issue-ID: SO-1152
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "remove unused code"
Seshu Kumar M [Fri, 19 Oct 2018 03:02:46 +0000 (03:02 +0000)]
Merge "remove unused code"

5 years agoMerge "Bug fixes October 16"
Rob Daugherty [Thu, 18 Oct 2018 12:43:33 +0000 (12:43 +0000)]
Merge "Bug fixes October 16"

5 years agoMerge "Fixing SO-Monitoring UI tests"
Marcus Williams [Wed, 17 Oct 2018 21:28:42 +0000 (21:28 +0000)]
Merge "Fixing SO-Monitoring UI tests"

5 years agoremove unused code 46/70646/2
Lukasz Muszkieta [Wed, 10 Oct 2018 14:08:53 +0000 (16:08 +0200)]
remove unused code

UUID parameter in AAIRestClientI interface is redundant - part 1

Issue-ID: SO-729

Change-Id: I7db331098911e6e183d921175f3109f62b7aedbd
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoBug fixes October 16 58/70658/1
Benjamin, Max (mb388a) [Tue, 16 Oct 2018 20:46:17 +0000 (16:46 -0400)]
Bug fixes October 16

Treat the VfModule returned from PrepareUpdateAAIVfModule call as an
AAI object
collection create, connect instanceGroup to cloudRegion
Fix a typo in the name of the method for getting a variable
testing mapping of instance group role
test NetworkInstanceGroup role to be SUB-INTERFACE
use enum value with hyphen for subtype
Some updates based on feedback to java codes
updated client to use optional instead of passing null
added case where client sends null due to mapping issue
added generic response object and pinc returns response
build relationship now correctly removes wrapper
Ensure that no null object gets referenced while checking if VNF is
empty.

Change-Id: I6177877518475c1f2e8e4e9dbd2ad1e2f3e10d18
Issue-ID: SO-1144
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "correlationId is now read from userParams"
Rob Daugherty [Wed, 17 Oct 2018 13:14:04 +0000 (13:14 +0000)]
Merge "correlationId is now read from userParams"

5 years agoMerge "Bug fixes for casablanca"
Rob Daugherty [Wed, 17 Oct 2018 13:11:41 +0000 (13:11 +0000)]
Merge "Bug fixes for casablanca"

5 years agoMerge "Fix OOF Config Ingestion"
maopeng zhang [Wed, 17 Oct 2018 05:03:54 +0000 (05:03 +0000)]
Merge "Fix OOF Config Ingestion"

5 years agoMerge "Fix variable to retrieve sdnc endpoint"
maopeng zhang [Wed, 17 Oct 2018 01:57:10 +0000 (01:57 +0000)]
Merge "Fix variable to retrieve sdnc endpoint"

5 years agoMerge "Prepare resources for service uuid req"
maopeng zhang [Wed, 17 Oct 2018 01:57:01 +0000 (01:57 +0000)]
Merge "Prepare resources for service uuid req"

5 years agoMerge "Return canonical stack id on multicloud create"
Marcus Williams [Wed, 17 Oct 2018 00:27:10 +0000 (00:27 +0000)]
Merge "Return canonical stack id on multicloud create"

5 years agoReturn canonical stack id on multicloud create 09/70609/1
Eric Multanen [Wed, 17 Oct 2018 06:36:20 +0000 (23:36 -0700)]
Return canonical stack id on multicloud create

When creating vfmodule via multicloud adapter, return
the canonical name of the stack <stackname>/<stack id>

Code was returning <stack id>/<stack id>

Change-Id: Iaa2a105ab779acc9638fe515c7bc4e5c23d7233e
Issue-ID: SO-1142
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoMerge "cloud owner support for SDNC interface"
Marcus Williams [Tue, 16 Oct 2018 21:54:12 +0000 (21:54 +0000)]
Merge "cloud owner support for SDNC interface"

5 years agoFix OOF Config Ingestion 04/70604/1
Marcus G K Williams [Tue, 16 Oct 2018 21:46:51 +0000 (14:46 -0700)]
Fix OOF Config Ingestion

Update Homing OOF Config Path

Issue-ID: SO-1127
Change-Id: I10ba6dcf23d474ba5e9832a6f4f35e52ead020b5
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoBug fixes for casablanca 87/70387/2
Benjamin, Max (mb388a) [Fri, 12 Oct 2018 18:03:02 +0000 (14:03 -0400)]
Bug fixes for casablanca

Updated builder to use String.format
Added exception specifically for issues interacting with
requestdbadapter
Updated exception message and added junit test case
Added case to handle when homing is not called during assign vnf.
include network ID for completion handler
Added exception handling for saving to requestdb
added null check to mdc and interceptors to sdnc cxf
confirm subnet map is not null in adapter response
shallow copy subnet before AAI udpate
update AAIObjectType to use uriTemplate
extract subnet data from adapter response
update correct AAIObjectType for subnet query
update subnet(s) in AAI on network create completion
updated how request db is set to failure in workflowA
updated in and out mapping to be generalBuildingBlock
change source out mapping to generalBuildingBlock
Use explicit conversion to JSON to read cloudConfiguration settings.
Use explicit conversion to JSON to read cloudConfiguration settings.
Correct the name of DeleteVfModuleBB subprocess.
Write the returned value from Homing to gBBInput
updated unit test coverage for update network
sync subnet status with network update
Added WorkflowException to out mapping which will trigger an exception
to be thrown when populated.
Correct the payload for HealthCheck APP-C Action to remove escaping and
change parameter name.
Added WorkflowException to out mapping which will trigger an exception
to be thrown when populated.
Commit a change that was not staged in previous commit
updated arguments to getConstructor method
forgot to extract throwable from Optional object
added throwable constructor to createException
fixed broken unit test and added a new test and method
set the network technology in the network request
remove namespace from added networkId payload element
- Updated SDWan test case to check the database to make sure the
VNFCustomization object exist.
- Updated code to only loop in iNotif.getResources() for VF resources,
all others are unnecessary and were causing issues with the Service
object.
- Removed modifiedHeatTemplate variable since this isn't needed in the
ONAP code base.
Make sure vnfResponseCode variable is set to 200 when VNF is correctly
retrieved from A&AI.
VRR VRRCreateVfModule - send availability_zone to SDNC Infra Assign
request
Safeguard the retrieval of Boolean setting for isRollbackEnabled.
Set isRollbackEnabled to opposite of suppressRollback early on in the
execution.
Reverse suppressRollback value to pass as backout parameter to VNF
Adapter
Add the exceptions to the calls to aai client queries
Correct retrieval of the object from Optional for A&AI queries.

Change-Id: I7d22e621b0316c14ce61bd51a9d5753473622697
Issue-ID: SO-1134
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix variable to retrieve sdnc endpoint 70/70170/6
subhash kumar singh [Wed, 10 Oct 2018 14:17:41 +0000 (19:47 +0530)]
Fix variable to retrieve sdnc endpoint

Fix variable to retrieve sdnc endpoint

Change-Id: Ib27049f90d545bceb34a73394f5b430c549c5e08
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoPrepare resources for service uuid req 65/70165/6
subhash kumar singh [Wed, 10 Oct 2018 06:40:17 +0000 (12:10 +0530)]
Prepare resources for service uuid req

Retrieve all the resource for queried service uuid.

Change-Id: If2beaa27570821c9897387d3b7098a939d99c895
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoMerge "Fix swapped parameters for multicloud DELETE"
maopeng zhang [Tue, 16 Oct 2018 08:42:40 +0000 (08:42 +0000)]
Merge "Fix swapped parameters for multicloud DELETE"

5 years agoFix swapped parameters for multicloud DELETE 12/70512/1
Eric Multanen [Tue, 16 Oct 2018 07:30:24 +0000 (00:30 -0700)]
Fix swapped parameters for multicloud DELETE

cloudSiteId and tenantId were swapped in call to
deleteStack().

Change-Id: I56bc326cb680dabb9d397cb7f0f918e406cb8bba
Issue-ID: SO-1139
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoUpdate msb-java-sdk to resolve license issues 18/70518/1
Gary Wu [Tue, 16 Oct 2018 01:55:10 +0000 (18:55 -0700)]
Update msb-java-sdk to resolve license issues

Upgrade or remove msb-java-sdk library version in
order to resolve possible license issues with
com.google.code.findbugs:annotations:2.0.1.

Change-Id: I8f16ec293fcd9f2e328dacb86eda9687fba3f8dc
Issue-ID: SO-1140
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agocloud owner support for SDNC interface 89/70489/1
Benjamin, Max (mb388a) [Mon, 15 Oct 2018 17:04:37 +0000 (13:04 -0400)]
cloud owner support for SDNC interface

added cloudOwner to SDNC gr api payloads

Change-Id: If8351ab9078bd0c0f503acdf21622d615eb5a5ab
Issue-ID: SO-1137
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agocorrelationId is now read from userParams 63/70063/7
biniek [Tue, 9 Oct 2018 13:05:08 +0000 (15:05 +0200)]
correlationId is now read from userParams

Change-Id: I92c6caad1370fde7daf067addbf39e45469e08aa
Issue-ID: SO-1116
Signed-off-by: biniek <lukasz.biniek@nokia.com>
5 years agoFix up request body of multicloud adapter body 33/70333/2
Eric Multanen [Fri, 12 Oct 2018 14:03:09 +0000 (07:03 -0700)]
Fix up request body of multicloud adapter body

Make some of the attributes json instead of json in a string.
Fixed up payload of request.

Change-Id: I7737fd19d44c8075bd7fef19068a72f8c0ec7e6d
Issue-ID: SO-1124
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
5 years agoUpdated aai dependency to 1.3.1 70/70370/1
Benjamin, Max (mb388a) [Fri, 12 Oct 2018 17:11:44 +0000 (13:11 -0400)]
Updated aai dependency to 1.3.1

Change-Id: I1e9f9e972b65607304f7076e0a63879159b8ae94
Issue-ID: SO-1133
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Dynamic Cloud Owner Support"
Rob Daugherty [Fri, 12 Oct 2018 15:11:07 +0000 (15:11 +0000)]
Merge "Dynamic Cloud Owner Support"

5 years agoDynamic Cloud Owner Support 14/70314/4
Benjamin, Max (mb388a) [Thu, 11 Oct 2018 17:55:37 +0000 (13:55 -0400)]
Dynamic Cloud Owner Support

added in cloud configuration object to request params
Fix Bean scanning so it picks up the resttemplate
removed unnecessary RestTemplate Bean configurations
corrected typo in CloudConfiguration class
updated gr api test cases with dynamic cloud owner
updated groovy files to allow for dynamic cloud owner values
updated GR API layer to include cloud owner
added enum for default cloud owner
add cloud owner variable to camunda in mapping
removed references to att-aic from BBInputSetup
updated aai schema dependency to 1.3.1 from 1.3.0
Fixed incorrect type AAIUri and updated logging in the method.
use existing service instance id instead of generating
Pass cloudOwner to process to propagate to subprocesses.

NOTE: our aai-schema dependency is 1.3.1-SNAPSHOT to be
compatible with the cloud owner changes here.  The
releaesed 1.3.0 version is NOT compatible.

Change-Id: I43b46774b77981d1c8bfe7c7a79b9434889e62ae
Issue-ID: SO-1128
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoFixing SO-Monitoring UI tests 64/70264/2
Ronan Kenny [Thu, 11 Oct 2018 14:48:26 +0000 (15:48 +0100)]
Fixing SO-Monitoring UI tests

Change-Id: I0601c024474196dc965ec7a7f16c4bca11af80f9
Issue-ID: SO-1125
Signed-off-by: Ronan Kenny <ronan.kenny@ericsson.com>
5 years agoMerge "Fix UserInput Exception"
Rob Daugherty [Thu, 11 Oct 2018 23:24:28 +0000 (23:24 +0000)]
Merge "Fix UserInput Exception"

5 years agoFix UserInput Exception 11/70211/4
Marcus G K Williams [Wed, 10 Oct 2018 23:50:52 +0000 (16:50 -0700)]
Fix UserInput Exception

This change fixes processing of
UserInput in prepareCreateServiceInstance
which causes an exception if any user-input
is passed into createRequest.

Issue-ID: SO-1121
Change-Id: Iae8b158dfb8771d55607e09bdb18471358a2d9cd
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoaai-schema:1.3.0-SNAPSHOT is gone 73/70273/1
Rob Daugherty [Thu, 11 Oct 2018 17:08:45 +0000 (13:08 -0400)]
aai-schema:1.3.0-SNAPSHOT is gone

We must now use the newly released 1.3.0 version

Change-Id: I5b7f0f8847031b776ab49b453f237f009e71804b
Issue-ID: SO-1129
Signed-off-by: Rob Daugherty <rd472p@att.com>
5 years agoMerge "Adding SO Monitoring swagger json and yaml files"
Seshu Kumar M [Wed, 10 Oct 2018 15:26:22 +0000 (15:26 +0000)]
Merge "Adding SO Monitoring swagger json and yaml files"

5 years agoMerge "Fix reading sdncurl property"
Seshu Kumar M [Wed, 10 Oct 2018 15:07:50 +0000 (15:07 +0000)]
Merge "Fix reading sdncurl property"

5 years agoMerge "Fix url for requestsdb"
Seshu Kumar M [Wed, 10 Oct 2018 15:07:36 +0000 (15:07 +0000)]
Merge "Fix url for requestsdb"

5 years agoAdding SO Monitoring swagger json and yaml files 47/70147/2
waqas.ikram [Wed, 10 Oct 2018 08:53:08 +0000 (09:53 +0100)]
Adding SO Monitoring swagger json and yaml files

Change-Id: Ie47ad22b1a960393928dc6a0df950c3a2cf22d8e
Issue-ID: SO-708
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
5 years agoFix reading sdncurl property 64/70164/1
subhash kumar singh [Wed, 10 Oct 2018 06:36:17 +0000 (12:06 +0530)]
Fix reading sdncurl property

Fix reading sdncurl property.

Change-Id: I785bd969db6e1ad7d08ccc7e37d8153f34751e86
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoFix rollback 71/70071/1
Benjamin, Max (mb388a) [Tue, 9 Oct 2018 14:10:47 +0000 (10:10 -0400)]
Fix rollback

removed useless error handling test case from workflow
changed method name and added junit coverage to errors
added max retry and success status after completed bb
added assertion that global count var was reset to 0
updated rollback to reset current sequence count var
revert the other change and fix the rollback logic instead
fixed current sequence and updated rollback code

Change-Id: Ifd3282de1dbda8b36d4d89e5b7135ad464a9b963
Issue-ID: SO-1107
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Save inputs into AAI when creating E2E service"
Seshu Kumar M [Tue, 9 Oct 2018 09:34:44 +0000 (09:34 +0000)]
Merge "Save inputs into AAI when creating E2E service"

5 years agoSave inputs into AAI when creating E2E service 45/70045/3
Yulian Han [Tue, 9 Oct 2018 07:09:58 +0000 (15:09 +0800)]
Save inputs into AAI when creating E2E service

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064402
Issue-ID: SO-791
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agoE2EService support model-driven resource sequence 37/70037/3
Yulian Han [Tue, 9 Oct 2018 04:50:59 +0000 (12:50 +0800)]
E2EService support model-driven resource sequence

Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064401
Issue-ID: SO-1114
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
5 years agoFix the Licesnse scan issue 01/69901/2
seshukm [Fri, 5 Oct 2018 09:16:44 +0000 (17:16 +0800)]
Fix the Licesnse scan issue

Change-Id: Ia39c5e902532d22f4eb3eaa6739ae0c941f8180e
Issue-ID: SO-1106
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoFix url for requestsdb 63/70163/1
subhash kumar singh [Mon, 8 Oct 2018 10:18:23 +0000 (15:48 +0530)]
Fix url for requestsdb

Fix url for requestsdb.

Change-Id: I0ee934a52785d282aecdd41464b62ba476f1733a
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoMerge "Add swagger html"
Chuanyu Chen [Mon, 8 Oct 2018 08:58:03 +0000 (08:58 +0000)]
Merge "Add swagger html"

5 years agoMerge "wan connection resource is Activate Required"
Chuanyu Chen [Mon, 8 Oct 2018 06:53:49 +0000 (06:53 +0000)]
Merge "wan connection resource is Activate Required"

5 years agoAdd swagger html 97/69897/1
seshukm [Fri, 5 Oct 2018 08:27:16 +0000 (16:27 +0800)]
Add swagger html

Change-Id: Ide0ac761fc0cd4c86648d5587129404bf8e2cf7e
Issue-ID: SO-675
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoAAI Distribution delay is now set during the flow 66/69666/4
Lukasz Muszkieta [Fri, 28 Sep 2018 13:09:04 +0000 (15:09 +0200)]
AAI Distribution delay is now set during the flow

Change-Id: I2afbe144608925fc8aef6bf200daef85151b5899
Issue-ID: SO-1099
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoupdate the swagger html and yaml 63/69463/2
seshukm [Fri, 28 Sep 2018 08:28:41 +0000 (16:28 +0800)]
update the swagger html and yaml

Change-Id: Ida589ae3e32fe0d10365e03b698655ca874eeca6
Issue-ID: SO-675
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "Fix CreateVfModule Instantiation Error"
Rob Daugherty [Tue, 2 Oct 2018 13:03:07 +0000 (13:03 +0000)]
Merge "Fix CreateVfModule Instantiation Error"

5 years agoTake generic VNF ID and vfModule ID from request 08/69608/2
Eric Multanen [Tue, 2 Oct 2018 01:53:43 +0000 (18:53 -0700)]
Take generic VNF ID and vfModule ID from request

In createVfModule (for multicloud adapter), take
the generic VNF ID and vfModuleId from the Web service
request.

Change-Id: I092e081fef2ccc70c9b71dd6d75bb038c5663fef
Issue-ID: SO-1082
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>