so.git
5 years agoUpdate Working with SO Docker Documentation 93/78393/1
mohamed waly [Wed, 13 Feb 2019 14:42:45 +0000 (14:42 +0000)]
Update Working with SO Docker Documentation

patch description: Update Working with SO Docker
documentation for casablanca release.

Change-Id: If7a4601e83e0ca83f99a9f74e1f282abc3854bdd
Issue-ID: SO-1505
Signed-off-by: mohamed waly <mohamed.waly@orange.com>
5 years agoMerge "Add Pagination and sorting"
Steve Smokowski [Tue, 12 Feb 2019 13:00:16 +0000 (13:00 +0000)]
Merge "Add Pagination and sorting"

5 years agoMerge "Add junit tests for AdapterRestClient"
Steve Smokowski [Mon, 11 Feb 2019 22:12:16 +0000 (22:12 +0000)]
Merge "Add junit tests for AdapterRestClient"

5 years agoMerge "Fix for asdc service."
Steve Smokowski [Mon, 11 Feb 2019 22:12:06 +0000 (22:12 +0000)]
Merge "Fix for asdc service."

5 years agoMerge "Fix unmarshalling errors"
Steve Smokowski [Mon, 11 Feb 2019 22:12:00 +0000 (22:12 +0000)]
Merge "Fix unmarshalling errors"

5 years agoMerge "made max retries configurable via mso config"
Steve Smokowski [Mon, 11 Feb 2019 22:11:53 +0000 (22:11 +0000)]
Merge "made max retries configurable via mso config"

5 years agomade max retries configurable via mso config 51/78251/1
Benjamin, Max (mb388a) [Mon, 11 Feb 2019 20:08:59 +0000 (15:08 -0500)]
made max retries configurable via mso config

fixed an error with the wrong variable being printed
made max retries configurable via mso config

Change-Id: Iec6d209ec2868200ec5956e269b6a048d7619307
Issue-ID: SO-1495
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix for asdc service. 50/78250/1
Benjamin, Max (mb388a) [Mon, 11 Feb 2019 20:06:33 +0000 (15:06 -0500)]
Fix for asdc service.

Removed exception statements and added assert statements
Updated to make sure duplicate config resources aren't getting added
to the service.

Change-Id: Ic05421711622492e09bc83d8cc126300362ea119
Issue-ID: SO-1496
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix unmarshalling errors 49/78249/1
Benjamin, Max (mb388a) [Mon, 11 Feb 2019 20:05:27 +0000 (15:05 -0500)]
Fix unmarshalling errors

add data assertion to network update unit test
Fix unmarshalling errors on updateNetworkResp and err

Change-Id: Iddc13514198b3c89718b1b953a06cec6db190269
Issue-ID: SO-1494
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agorestructured a&ai client 48/78248/1
Benjamin, Max (mb388a) [Mon, 11 Feb 2019 19:56:03 +0000 (14:56 -0500)]
restructured a&ai client

made generics a bit safer and updated groovy tests

Change-Id: I6d7a2567cd9bf795e0cfa4914a7674a4ed5f50c4
Issue-ID: SO-1493
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAdd Pagination and sorting 39/78139/2
Andrei_Barcovschi [Fri, 8 Feb 2019 03:13:29 +0000 (03:13 +0000)]
Add Pagination and sorting

Change-Id: I1374472395a5a2af712c5f06c756c013de08bd27
Issue-ID: SO-1406
Signed-off-by: Andrei_Barcovschi <andrei.barcovschi@ericsson.com>
5 years agoMerge "added license headers to various java files"
Steve Smokowski [Mon, 11 Feb 2019 13:09:07 +0000 (13:09 +0000)]
Merge "added license headers to various java files"

5 years agoMerge "fix cvnfc bean and repository access"
Steve Smokowski [Mon, 11 Feb 2019 13:08:59 +0000 (13:08 +0000)]
Merge "fix cvnfc bean and repository access"

5 years agoMerge "Increase long poll DMaaP timeout value to 60"
Steve Smokowski [Mon, 11 Feb 2019 13:08:50 +0000 (13:08 +0000)]
Merge "Increase long poll DMaaP timeout value to 60"

5 years agoMerge "Remove resources that are not neutron networks"
Steve Smokowski [Mon, 11 Feb 2019 13:08:42 +0000 (13:08 +0000)]
Merge "Remove resources that are not neutron networks"

5 years agofix cvnfc bean and repository access 64/78164/1
Benjamin, Max (mb388a) [Fri, 8 Feb 2019 22:51:38 +0000 (17:51 -0500)]
fix cvnfc bean and repository access

update repository id field type for
fix cvnfc bean and repository access

Change-Id: Ic4785387ffdbb544e649d9e7be40aed5e0ab9502
Issue-ID: SO-1489
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoIncrease long poll DMaaP timeout value to 60 63/78163/1
Benjamin, Max (mb388a) [Fri, 8 Feb 2019 22:47:52 +0000 (17:47 -0500)]
Increase long poll DMaaP timeout value to 60

Corrected a JUnit to include updated timeout value.
Increase long poll DMaaP timeout value to 60 seconds

Change-Id: I22a6f17bc694b17b14f25c7dccd6b57d89d0c2b7
Issue-ID: SO-1488
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadded license headers to various java files 62/78162/1
Benjamin, Max (mb388a) [Fri, 8 Feb 2019 22:46:52 +0000 (17:46 -0500)]
added license headers to various java files

added license headers to various java files

Change-Id: Icd93ba2943f9ab9a4298a7bf91a1b2e92f700e7a
Issue-ID: SO-1487
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRemove resources that are not neutron networks 60/78160/1
Benjamin, Max (mb388a) [Fri, 8 Feb 2019 22:40:25 +0000 (17:40 -0500)]
Remove resources that are not neutron networks

Remove resources that are not neutron networks

Change-Id: Ie136895f95273e53f86201fe3b58a12fa27c8fe6
Issue-ID: SO-1486
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadd DSL endpoint support to A&AI Client 59/78159/1
Benjamin, Max (mb388a) [Fri, 8 Feb 2019 22:39:18 +0000 (17:39 -0500)]
add DSL endpoint support to A&AI Client

add DSL endpoint support to A&AI Client

Change-Id: I4e5772354d1d79a343bfac78b4a10ca0c00e3edf
Issue-ID: SO-1485
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "provide correct custIds"
Steve Smokowski [Fri, 8 Feb 2019 15:21:47 +0000 (15:21 +0000)]
Merge "provide correct custIds"

5 years agoMerge "populate modelinfovfmodule from catalog db"
Steve Smokowski [Fri, 8 Feb 2019 15:21:39 +0000 (15:21 +0000)]
Merge "populate modelinfovfmodule from catalog db"

5 years agoAdd junit tests for AdapterRestClient 14/78114/1
Lukasz Muszkieta [Fri, 8 Feb 2019 13:14:12 +0000 (14:14 +0100)]
Add junit tests for AdapterRestClient

Change-Id: Ieb92404710b716c40762365965852dc9a00947c2
Issue-ID: SO-1480
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agomso is not updating the vip in aai for the vnf 96/78096/1
Benjamin, Max (mb388a) [Thu, 7 Feb 2019 22:25:53 +0000 (17:25 -0500)]
mso is not updating the vip in aai for the vnf

Update JUnits for multiple invocation argument verifications
Implement delete mechanism for network policies and vnf adapter params
in AAI.
Fix a JUnit for getNetworkPolicy().
Implement creation of network policies and setting of
openstack-provided params for vf module in AAI
CreateNetworkPolicies in AAI functionality update
Add the plumbing for create network policy in AAI.
Enable VnfAdapterBB to return fqdn and management ip info

Change-Id: Id34fe088846a52dbafaf3e7c754bebada05f1bf1
Issue-ID: SO-1478
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "store raw distribution notification in db"
Steve Smokowski [Thu, 7 Feb 2019 11:14:32 +0000 (11:14 +0000)]
Merge "store raw distribution notification in db"

5 years agostore raw distribution notification in db 25/78025/1
Benjamin, Max (mb388a) [Thu, 7 Feb 2019 02:17:24 +0000 (21:17 -0500)]
store raw distribution notification in db

updated the test case to verify ASDC notification sent is the same as
one persisted in the DB and verified it
updated the test case to verify ASDC notification sent is the same as
one persisted in the DB
Added unit test case for WatchdogServiceModVerIdLookup changes
Updated test resources schema.sql and data.sql to include changes to
watchdog_service_mod_ver_id_lookup table
Added length to consumer id column with WatchdogServiceModVerIdLookup
class
ASDC Controller has been enhanced to include the notification message
and consumer id as part of existing table
watchdog_service_mod_ver_id_lookup.

Change-Id: Iee805761ffc16f456d068c44b53804a7febc7933
Issue-ID: SO-1475
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoimprove vf module logic 24/78024/1
Benjamin, Max (mb388a) [Thu, 7 Feb 2019 02:16:05 +0000 (21:16 -0500)]
improve vf module logic

remove vf module from list when calculating index

Change-Id: I4b88a679eb79bfac6f25a26b10671cca4cf3c48d
Issue-ID: SO-1476
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "logic to handle null values for vf module index"
Steve Smokowski [Wed, 6 Feb 2019 12:05:32 +0000 (12:05 +0000)]
Merge "logic to handle null values for vf module index"

5 years agopopulate modelinfovfmodule from catalog db 20/77920/1
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 22:21:11 +0000 (17:21 -0500)]
populate modelinfovfmodule from catalog db

add in a junit test to check if all vfModules model info get populated
populate all vf modules for the vnf not just the orchestrated

Change-Id: Icaed88f217f61861157313a0c7e09a28fff74fdb
Issue-ID: SO-1467
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoprovide correct custIds 19/77919/1
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 22:19:30 +0000 (17:19 -0500)]
provide correct custIds

correct variable name and use bean comparison
included object assertion in junit on catalog client
update test name to reflect return value
fix cvnfc query by 2 customization uuid relationships
provide customization ids to module query input

Change-Id: I99df11c417230e398f86554d889a40e9d157544c
Issue-ID: SO-1466
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agologic to handle null values for vf module index 17/77917/1
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 22:11:54 +0000 (17:11 -0500)]
logic to handle null values for vf module index

added logic to handle null values for vf module index

Change-Id: I53f4ed8b307a92187c22f19dbc7bb101d037fbd8
Issue-ID: SO-1465
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRemoved duplicate classes from api handler 16/77916/1
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 22:08:02 +0000 (17:08 -0500)]
Removed duplicate classes from api handler

removed duplicate classes

Change-Id: I5158e1b8ce197cb8c204e484b87a5411161f3d93
Issue-ID: SO-1464
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "auto generated vf module index param"
Steve Smokowski [Tue, 5 Feb 2019 14:57:37 +0000 (14:57 +0000)]
Merge "auto generated vf module index param"

5 years agoMerge "Updated fields on sniro request"
Steve Smokowski [Tue, 5 Feb 2019 12:45:57 +0000 (12:45 +0000)]
Merge "Updated fields on sniro request"

5 years agoMerge "Clean up Unit tests for audit"
Steve Smokowski [Tue, 5 Feb 2019 12:45:42 +0000 (12:45 +0000)]
Merge "Clean up Unit tests for audit"

5 years agoMerge "Merge Casablanca"
Seshu Kumar M [Tue, 5 Feb 2019 09:50:23 +0000 (09:50 +0000)]
Merge "Merge Casablanca"

5 years agoUpdated fields on sniro request 49/77849/1
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 01:10:13 +0000 (20:10 -0500)]
Updated fields on sniro request

Updated setter methods in avpn bonding classes.
Updated fields on sniro request to be idenitier instead of candidate

Change-Id: I67a98f742b28a93912c4b6fb05618449b629c883
Issue-ID: SO-1463
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoClean up Unit tests for audit 47/77847/1
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 01:04:30 +0000 (20:04 -0500)]
Clean up Unit tests for audit

Fix file names to adjust for case sensitivity
Clean up Unit tests for audit

Change-Id: I839b8a55d47c545cfd54c4c81eecda098b847fce
Issue-ID: SO-1462
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge Casablanca 95/77795/1
Steve Smokowski [Sun, 3 Feb 2019 20:00:19 +0000 (15:00 -0500)]
Merge Casablanca

Issue-ID: SO-1460
Change-Id: I102ab0dddb8c26ca4001320ee8eb5b34ae9f0238
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoMerge "add maven build properties to spring actuator"
Steve Smokowski [Mon, 4 Feb 2019 13:40:39 +0000 (13:40 +0000)]
Merge "add maven build properties to spring actuator"

5 years agoMerge "add in a retry function for cloud config migration"
Steve Smokowski [Mon, 4 Feb 2019 13:40:21 +0000 (13:40 +0000)]
Merge "add in a retry function for cloud config migration"

5 years agoMerge "compare resources from openstack to aai"
Steve Smokowski [Mon, 4 Feb 2019 13:40:09 +0000 (13:40 +0000)]
Merge "compare resources from openstack to aai"

5 years agoMerge "make sure the NetworkResourceUUID are correct."
Steve Smokowski [Mon, 4 Feb 2019 13:40:00 +0000 (13:40 +0000)]
Merge "make sure the NetworkResourceUUID are correct."

5 years agocompare resources from openstack to aai 47/77747/2
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 23:13:35 +0000 (18:13 -0500)]
compare resources from openstack to aai

Address Review comments on pull request
Update Unit test to have proper variable for testing
update logic inside bpmn to reflect proper variable
Update unit test to check property for audit
Add flag to turn on and off audit behavior
Add license headers, remove un-used files
Update Building Block Tests and Activity Names
Fix additional unit tests in so-bpmn-tasks layer
Fix broken Junit Test, and correct Bug in if statement
Add annotation to ignore class under test profile
Additional bug fixes and unit tests for classes
Add Additional JUNITS, add more sample data
Add Openstack Audit functionality to Adapter

Change-Id: I0492063271e991eefc608b56336a5cdf1d5a7778
Issue-ID: SO-1456
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadd maven build properties to spring actuator 50/77750/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 23:38:16 +0000 (18:38 -0500)]
add maven build properties to spring actuator

add maven build properties to spring actuator

Change-Id: I3208ac9b82648762956881ae4b09b33942a0fff1
Issue-ID: SO-1459
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoauto generated vf module index param 49/77749/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 23:35:25 +0000 (18:35 -0500)]
auto generated vf module index param

added test for when this is the first vfmodule added
unit test no longer tests already created vnf
refactored test to be more clear about uuid grouping
Added javadoc for getLowestUnusedVfModIndex method.
Increment index by vf module model invariant uuid
Fix unnecessary whitespace delta for GenericVnf file
Fix GenericVnf and modify junit for setting vfmodules

Change-Id: Iacd31c5bf73c971c0b3c06e790d4c5193c3c9860
Issue-ID: SO-1458
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadd in a retry function for cloud config migration 48/77748/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 23:28:08 +0000 (18:28 -0500)]
add in a retry function for cloud config migration

add in a retry function into cloud config migration

Change-Id: Iee5dd2ece0262cc7087021b567d9661e0ef91d72
Issue-ID: SO-1457
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agomake sure the NetworkResourceUUID are correct. 46/77746/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 23:01:32 +0000 (18:01 -0500)]
make sure the NetworkResourceUUID are correct.

- Added test asserts to show that the NetworkResourceUUID was updated
correctly.
- Added a NetworkResourceCustomization Audit to make sure the
NetworkResourceUUID are correct.

Change-Id: Id4fbf224aa00d6bd34481bab6a907af12fba56dd
Issue-ID: SO-1455
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Add setting of serviceId to productFamilyId"
Steve Smokowski [Fri, 1 Feb 2019 13:16:19 +0000 (13:16 +0000)]
Merge "Add setting of serviceId to productFamilyId"

5 years agoMerge "Removed check for ServiceProxyCustomization"
Steve Smokowski [Fri, 1 Feb 2019 13:16:10 +0000 (13:16 +0000)]
Merge "Removed check for ServiceProxyCustomization"

5 years agoMerge "added list of flows to execution for cockpit"
Steve Smokowski [Fri, 1 Feb 2019 13:16:02 +0000 (13:16 +0000)]
Merge "added list of flows to execution for cockpit"

5 years agoRemoved check for ServiceProxyCustomization 88/77688/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 04:03:34 +0000 (23:03 -0500)]
Removed check for ServiceProxyCustomization

- Added test records for the testServiceProxy testcase
- Removed check for existing ServiceProxyCustomization since multiple
services can associate to the same customization record.

Change-Id: Iedf9958759139484a678b29d75291bf143507667
Issue-ID: SO-1454
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAdd setting of serviceId to productFamilyId 86/77686/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 04:02:46 +0000 (23:02 -0500)]
Add setting of serviceId to productFamilyId

Add setting of serviceId to productFamilyId and provStatus to PREPROV
on GenericVnf creation

Change-Id: I6b09e8dff522af6c0b32a0bfe30dc6b0623fc900
Issue-ID: SO-1453
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadded list of flows to execution for cockpit 85/77685/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 03:57:53 +0000 (22:57 -0500)]
added list of flows to execution for cockpit

added list of flows to execution for cockpit readability

Change-Id: Ia289ab59627b315320b097adaf2cf43cd5dc7543
Issue-ID: SO-1452
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agouse OE from AAI with sdc 84/77684/1
Benjamin, Max (mb388a) [Fri, 1 Feb 2019 03:56:35 +0000 (22:56 -0500)]
use OE from AAI with sdc

Updated the SDC API call with the ECOMP OE from AAI relationship
instead of VNF OE value.

Change-Id: I576ed83364f11213f36781c033f7c2d56f98f1c6
Issue-ID: SO-1451
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoUpdated:wrong redirection of link & allignment. 23/77623/1
Manish Kumar [Thu, 31 Jan 2019 03:46:04 +0000 (09:16 +0530)]
Updated:wrong redirection of link & allignment.

Issue-ID: SO-1440

Change-Id: I10d7d466457db6c94299bee490fa8f7f091aa429
Signed-off-by: Manish Kumar <manishjpiet@gmail.com>
5 years agoUpdate the SO release notes 90/77490/2 so-1407
seshukm [Tue, 29 Jan 2019 06:48:23 +0000 (12:18 +0530)]
Update the SO release notes

Issue-ID: SO-1428

Change-Id: I4c04f1da9d080cec39ff48b39fab170663aa7a44
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "Merge 'origin/casablanca' into master"
Marcus Williams [Mon, 28 Jan 2019 20:43:35 +0000 (20:43 +0000)]
Merge "Merge 'origin/casablanca' into master"

5 years agoMerge 'origin/casablanca' into master 75/77475/1
Benjamin, Max (mb388a) [Fri, 25 Jan 2019 22:08:41 +0000 (17:08 -0500)]
Merge 'origin/casablanca' into master

Issue-ID: SO-1435
Change-Id: If065ef5c91e769452fd6701fa6c28a23b4bdf2b2
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
5 years agoMerge "add custom object support to a ai client"
Steve Smokowski [Mon, 28 Jan 2019 13:53:02 +0000 (13:53 +0000)]
Merge "add custom object support to a ai client"

5 years agoupdated the SDC tosca to 1.4.63 33/77433/1
seshukm [Mon, 28 Jan 2019 06:36:55 +0000 (12:06 +0530)]
updated the SDC tosca to 1.4.63

Issue-ID: SDC-1955

Change-Id: I9009c8afd8fbaed20d0015f4a066802e8e3630d1
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agopool is now serializable 28/77428/1
Benjamin, Max (mb388a) [Sun, 27 Jan 2019 15:42:17 +0000 (10:42 -0500)]
pool is now serializable

add implements Serializable to openstack Pool object
Make Openstack Pool object serializable - for netwk

Change-Id: I9ba294b68a0896c528558ebc1d66d909a7787b47
Issue-ID: SO-1430
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadd custom object support to a ai client 27/77427/1
Benjamin, Max (mb388a) [Sun, 27 Jan 2019 15:40:07 +0000 (10:40 -0500)]
add custom object support to a ai client

enhanced custom support of objects in client
simplified the way objects are added to the type map
attempt to search all packages with ClasspathHelper
do not allow reflections to log so much
former enums are now serializable again
added the ability to create custom object types for A&AI client

Change-Id: I47aae99bc42ccb0ab3d60d4d5d1fe0558cd1a273
Issue-ID: SO-1429
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agosupport alloc pool from dhcpStart/end 64/76364/1
Benjamin, Max (mb388a) [Fri, 25 Jan 2019 18:19:17 +0000 (13:19 -0500)]
support alloc pool from dhcpStart/end

Fix to include alloc pool from dhcpStart End on reqs

Change-Id: I6df666d80d48e1a87198b64ef7397b9c4739090a
Issue-ID: SO-1427
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Removed deprecated Matcher imports"
Steve Smokowski [Fri, 25 Jan 2019 13:53:23 +0000 (13:53 +0000)]
Merge "Removed deprecated Matcher imports"

5 years agoMerge "update all inprogress checks in apih handler"
Steve Smokowski [Fri, 25 Jan 2019 13:53:16 +0000 (13:53 +0000)]
Merge "update all inprogress checks in apih handler"

5 years agoMerge "Upgraded tosca parser to version 1.4.8"
Steve Smokowski [Fri, 25 Jan 2019 13:53:06 +0000 (13:53 +0000)]
Merge "Upgraded tosca parser to version 1.4.8"

5 years agoupdate all inprogress checks in apih handler 46/76146/3
Benjamin, Max (mb388a) [Tue, 22 Jan 2019 17:55:57 +0000 (12:55 -0500)]
update all inprogress checks in apih handler

Added second mapper for error responses
Removed method level ObjectMapper instantiation
Fixed formatting of resource file
Added db update if responsne from history lookup is empty
Fixed url and added it to yaml file
Removed space added to the end of line
Removed unused test resource file
Changed wording of exception message name
Added more JUnit tests and fixed auth lookup
Added path for checking process-instance history
Added ContactCamundaException for camundaHistoryCheck
Began adding auth header to send on request to camunda
Added unit tests for completed and terminated requests
Began adding test for camundaHistoryCheck
Added HistoricProcessInstance object for camunda response
Test commit, added comment to camundaHistoryCheck
Began adding method for checking camundaHistory

Change-Id: Ia9d94613fa5e78f2b8690874c39f032d60599e5e
Issue-ID: SO-1414
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRemoved deprecated Matcher imports 43/76143/3
Benjamin, Max (mb388a) [Tue, 22 Jan 2019 16:56:59 +0000 (11:56 -0500)]
Removed deprecated Matcher imports

replaced org.mockito.Matchers with ArgumentMatchers

Change-Id: I2feb4d4fb314cd14aca0719c4cc29b1a0510cbf7
Issue-ID: SO-1413
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoUpgraded tosca parser to version 1.4.8 22/76322/1
Benjamin, Max (mb388a) [Thu, 24 Jan 2019 22:35:39 +0000 (17:35 -0500)]
Upgraded tosca parser to version 1.4.8

- Upgraded tosca parser to version 1.4.8 and updated imports

Change-Id: Ic9549375d3d70598606056691e4e8baabfbd83d1
Issue-ID: SO-1426
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agobugfixes jan 24th 20/76320/1
Benjamin, Max (mb388a) [Thu, 24 Jan 2019 22:06:39 +0000 (17:06 -0500)]
bugfixes jan 24th

Fix null pointer exception when no requestParameters are specified
Add configurable timer in ActivateVfModuleBB to delay call to SDNC
activate - Use raw slf4j logger - use {} formatting
Add configurable timer in ActivateVfModuleBB to delay call to SDNC
activate - Use raw slf4j logger
Add configurable timer in ActivateVfModuleBB to delay call to SDNC
activate - removed unused references in test class
Add configurable timer in ActivateVfModuleBB to delay call to SDNC
activate
Update PortGroup objects separately from the parent VCE object -
restore setVariable calls back into vce object - they might be needed
later.
Update PortGroup objects separately from the parent VCE object -
updated test class
extra call to get PortGroups
Update PortGroup objects separately from the parent VCE object - use
PortGroup.getInterfaceRole() getter method instead of accessing field
directly.
Update PortGroup objects separately from the parent VCE object
Added back required headers for tenant isolation.
removed workflow exception from outmapping in execute
Fix possible null ptr exception, fix to add braces.
Default networkTechnology in Update as done in Create
Fix failing junits, mapper force upper case nwtech
update exception builder to properly throw exception error message
supporting assign service instance a la carte as well
adding in proper exception handling in network rest v1
add the unassign action to R macro data file

Change-Id: Ide420514f81b8083b4c76c762c064de199624cf7
Issue-ID: SO-1424
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix typo 04/76304/1
subhash kumar singh [Thu, 24 Jan 2019 17:52:27 +0000 (23:22 +0530)]
Fix typo

Fix typo for typo in method name.

Change-Id: I8dde10a5e161ad376469ff1bdc4d649d7fa89c02
Issue-ID: SO-1422
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoFix AR receipe retrival 82/76282/1
subhash kumar singh [Thu, 24 Jan 2019 11:30:09 +0000 (17:00 +0530)]
Fix AR receipe retrival

Fix AR receipe retrival.

Change-Id: I5675fef17c1ee6375dd6c68a311d5f0568438879
Issue-ID: SO-1422
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoFix get of operationType 87/76187/1
subhash kumar singh [Wed, 23 Jan 2019 11:12:13 +0000 (16:42 +0530)]
Fix get of operationType

OperationType should return empty from db request instead of "null".

Change-Id: I5df3df5aead6008c4e14961ee385cafe64c37959
Issue-ID: SO-1417
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agovalidate number of uri keys 42/76142/1
Benjamin, Max (mb388a) [Tue, 22 Jan 2019 16:48:03 +0000 (11:48 -0500)]
validate number of uri keys

test was setting unnecessary keys on uri
changed plural to singular AAI class
added in validation for number of keys provided

Change-Id: I86f61301aa5f2ea676678908bae1e88b86d7e570
Issue-ID: SO-1409
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofixed incorrect object reference 41/76141/1
Benjamin, Max (mb388a) [Tue, 22 Jan 2019 16:46:47 +0000 (11:46 -0500)]
fixed incorrect object reference

changed plural to singular AAI class

Change-Id: I6205d95b881d011e377669858fc85dc2ff0a17f6
Issue-ID: SO-1412
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Either log or rethrow this exception."
Steve Smokowski [Tue, 22 Jan 2019 14:41:31 +0000 (14:41 +0000)]
Merge "Either log or rethrow this exception."

5 years agoMerge "Fix CSAR distribution on CCVPN service" into casablanca
Steve Smokowski [Tue, 22 Jan 2019 13:56:52 +0000 (13:56 +0000)]
Merge "Fix CSAR distribution on CCVPN service" into casablanca

5 years agoFix CSAR distribution on CCVPN service 01/76101/3
subhash kumar singh [Tue, 22 Jan 2019 07:26:29 +0000 (12:56 +0530)]
Fix CSAR distribution on CCVPN service

Fix db schema to allow CCVPN service witout heat artifacts.

Change-Id: I4f79881a6a04f01f8984835eea88907a61c640db
Issue-ID: SO-1407
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoFix Integer cast exception in getResourceInput 05/76105/1 so-1408
subhash kumar singh [Tue, 22 Jan 2019 08:57:55 +0000 (14:27 +0530)]
Fix Integer cast exception in getResourceInput

Fix Integer cast exception in getResourceInput.

Change-Id: I2022ec07fe12bfe1764f734f1776f6bd32143b84
Issue-ID: SO-1408
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoEither log or rethrow this exception. 56/75856/3
Shubhada Ramkrishna Vaze [Wed, 16 Jan 2019 09:34:13 +0000 (15:04 +0530)]
Either log or rethrow this exception.

Location:DistributionClientEmulator.java

Change-Id: I38b1b3fed9db0d24a6045352127e48b98cce6b63
Issue-ID: SO-1397
Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
5 years agoMerge "Bug fixes from AT&T January 20th"
Steve Smokowski [Mon, 21 Jan 2019 20:42:51 +0000 (20:42 +0000)]
Merge "Bug fixes from AT&T January 20th"

5 years agoBug fixes from AT&T January 20th 41/76041/3
Benjamin, Max (mb388a) [Sun, 20 Jan 2019 21:10:18 +0000 (16:10 -0500)]
Bug fixes from AT&T January 20th

sorted vfmodules by base last for negative action reqs
store Response in execution as String on network delete
added functionality to skip rollback based on flag # Conflicts: #
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflo
w/tasks/WorkflowAction.java
require XML in the header for delete network request
Update APP-C LCM Client library version to 1.7.0.
replaced wiremock style test with mockito test
Handle AAIClient Exps in CreateCustomerV1 getServiceInstance()
changed default status code to be configurable
Replace vnfType by nfRole in the healthcheck request to SDNO.
updated error messages in sdnc handler and flow status
updated flow status message on completion of flow
Send GenericVnf object for AAI VNF update for vnf-api updates
Add a JUnit test file for SDNOValidatorImpl.java
Set nodeType on the inner SDNO request as per update from SDNO.
updated rollbackToAssigned logic to remove unassign flows
updated sdnc handler error message for client error
added exception handling for httpclienterror in sdnc
out map workflow exception so error is reported
throws sdnc error message on bad response from sdnc
add catalog entries for TRANSPORT service delete flows
change script number that was duplicate
add find method to NorthBoundRequestRepository
include serviceType in hash code
use asterisk for all non-TRANSPORT flow db entries
alacart true, rm not needed transport srvc model steps
correct insert query syntax for orchestration_flow
support serviceType (TRANSPORT) process flow
fix SDNCAdapterException causing no callback to bpmn
use JsonAlias for alternate case when deserializing
GRM client will accept both "serviceEndPointList" and
"ServiceEndPointList" root node in the JSON response.
AAIRestClient now uses getSystemName in headers
finishtime should not be returned in requeststatus

Change-Id: I81a185252b057020f7f36f125c85c3357756da88
Issue-ID: SO-1403
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "convert from sync to async"
Steve Smokowski [Mon, 21 Jan 2019 13:45:42 +0000 (13:45 +0000)]
Merge "convert from sync to async"

5 years agoUpdate the SDC-Tosca version 62/76062/5
seshukm [Mon, 21 Jan 2019 11:21:38 +0000 (16:51 +0530)]
Update the SDC-Tosca version

Issue-ID: SDC-1955

Change-Id: I6de3ac0509755b5b4ce54015c761d8651467347b
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoconvert from sync to async 46/76046/1
Benjamin, Max (mb388a) [Sun, 20 Jan 2019 23:30:39 +0000 (18:30 -0500)]
convert from sync to async

fixed network adapter object mapper test issues
fixed all test issues and compilation issues
remove setting of notification url for rollback
covert sync calls for create and delete network to async
removed async after from invoke sdnc adapter task
remove unwanted changes that were committed earlier
fix unmarshalling of response back from openstack adap
added in code to throw an error when AIC issue

Change-Id: Ic9fa39584ed2bcb70804fbd74586f1cc119c7d8b
Issue-ID: SO-1404
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoensure data for si matches on macro requests 42/76042/1
Benjamin, Max (mb388a) [Mon, 21 Jan 2019 01:17:45 +0000 (20:17 -0500)]
ensure data for si matches on macro requests

Fixed failing ValidationExceptionTest
Moved MacroRequest.json to test specific folder
Moved resource files to test specific folder
Cleaned up comments from UserParamsValidationTest
Refactored modelInfoValidation method
Removed unused constants from ValidationException
Removed unused ValidationException
ADded overrideExistingMessage boolean
Added test for missing modelType in userParams service object
Fixed failing JUnit tests in MsoRequestTest
Started fixing failing JUnit tests
Began adding validation and tests for userParams modelInfo
Began adding validation for instanceName

Change-Id: I442f6b660af4e716d75746f8d8155aac1e183e80
Issue-ID: SO-1405
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Correct the URLs in swagger"
Seshu Kumar M [Fri, 18 Jan 2019 16:47:49 +0000 (16:47 +0000)]
Merge "Correct the URLs in swagger"

5 years agoMerge "remove unused uuid parameter"
Steve Smokowski [Fri, 18 Jan 2019 13:07:28 +0000 (13:07 +0000)]
Merge "remove unused uuid parameter"

5 years agoCorrect the URLs in swagger 78/75978/1
seshukm [Fri, 18 Jan 2019 08:41:47 +0000 (14:11 +0530)]
Correct the URLs in swagger

Issue-ID: SO-675

Change-Id: I55dbc4d64f41dbf0a38e38ee11ba35d4ed7f2cfd
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoupdate the interface doc for Dublin 77/75977/1
seshukm [Fri, 18 Jan 2019 08:40:05 +0000 (14:10 +0530)]
update the interface doc for Dublin

Issue-ID: SO-675

Change-Id: I07a20a651e95ea114caeeec797a7881c3a1bc663
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agobump the SO version to 1.3.7 76/75976/1
seshukm [Fri, 18 Jan 2019 08:31:27 +0000 (14:01 +0530)]
bump the SO version to 1.3.7

Issue-ID: SO-1400

Change-Id: Iaab560b348dee04f47d173855516171f5058a384
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agoMerge "Sonar:Critical"
Steve Smokowski [Thu, 17 Jan 2019 17:42:09 +0000 (17:42 +0000)]
Merge "Sonar:Critical"

5 years agoMerge "Change size for resource input" into casablanca
Steve Smokowski [Thu, 17 Jan 2019 17:41:45 +0000 (17:41 +0000)]
Merge "Change size for resource input" into casablanca

5 years agoChange size for resource input 21/75921/3
subhash kumar singh [Thu, 17 Jan 2019 08:58:43 +0000 (14:28 +0530)]
Change size for resource input

Change size for resource input.

Change-Id: Ic6856e6baa2623867d0ae688c98ed24dbb245036
Issue-ID: SO-1400
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoMerge "Fix url for catalog query" into casablanca
Steve Smokowski [Thu, 17 Jan 2019 13:28:28 +0000 (13:28 +0000)]
Merge "Fix url for catalog query" into casablanca

5 years agoAdded CorsConfigurer class and cleaned up typos 18/75918/1
Eoin Hanan [Wed, 16 Jan 2019 16:30:32 +0000 (16:30 +0000)]
Added CorsConfigurer class and cleaned up typos

Change-Id: If133419e4ddb7aa4b8b0a199a57e1eaf9a8386c7
Issue-ID: SO-1335
Signed-off-by: Eoin Hanan <eoin.hanan@ericsson.com>
(cherry picked from commit ae993816c1dbe800dffe0c9e0dada126a57860e6)

5 years agoremove unused uuid parameter 15/75915/1
Lukasz Muszkieta [Thu, 17 Jan 2019 07:49:22 +0000 (08:49 +0100)]
remove unused uuid parameter

Change-Id: I0c4d5d6fcbf5d7c48c82b4485980adf2fde809cd
Issue-ID: SO-729
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoJSON objects now displaying as string 28/75528/2
Eoin Hanan [Fri, 7 Dec 2018 09:57:04 +0000 (09:57 +0000)]
JSON objects now displaying as string

Change-Id: I659f56dd28e8a1f44bf88c7a23c961866d081cca
Issue-ID: SO-1286
Signed-off-by: Eoin Hanan <eoin.hanan@ericsson.com>
(cherry picked from commit b19a518ceecc27255505616eed878abcff260f25)

5 years agoChanges to UI Time Variables 27/75527/2
Eoin Hanan [Wed, 5 Dec 2018 11:34:22 +0000 (11:34 +0000)]
Changes to UI Time Variables

Change-Id: If1289c7a7addf032b6c8d98fd58fca92ffcd5a7c
Issue-ID: SO-1265
Signed-off-by: Eoin Hanan <eoin.hanan@ericsson.com>
(cherry picked from commit 5df9c2d914e0b8bd6ade407a799fd6c159e54deb)