so.git
5 years agoMerge "fix critical sonar bugs"
Steve Smokowski [Mon, 18 Feb 2019 13:28:05 +0000 (13:28 +0000)]
Merge "fix critical sonar bugs"

5 years agoUse APIH credentials in 'mso.db.auth' 02/78602/1
Benjamin, Max (mb388a) [Fri, 15 Feb 2019 22:49:16 +0000 (17:49 -0500)]
Use APIH credentials in 'mso.db.auth'

Updated to use methods: env.getRequiredProperty() and msoLogger.error().
Added the msoKey and the CryptoUtils.decrypt() code, and used
"mso.camundaAuth".
Used APIH credentials in 'mso.db.auth' as source instead of
'mso.camundaAuth' (need decrypt code by CryptoUtils).

Change-Id: I66c9d96db8137c1d9a5b56aa33d14587cbaa7b9e
Issue-ID: SO-1517
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "query clients now set their expected object"
Steve Smokowski [Fri, 15 Feb 2019 14:23:49 +0000 (14:23 +0000)]
Merge "query clients now set their expected object"

5 years agoMerge "fix issue where we attempt audit with no servers"
Steve Smokowski [Fri, 15 Feb 2019 12:40:24 +0000 (12:40 +0000)]
Merge "fix issue where we attempt audit with no servers"

5 years agoMerge "updated camunda springboot version"
Steve Smokowski [Fri, 15 Feb 2019 12:40:15 +0000 (12:40 +0000)]
Merge "updated camunda springboot version"

5 years agoMerge "Process query of Network Policies from A&AI"
Steve Smokowski [Fri, 15 Feb 2019 12:39:02 +0000 (12:39 +0000)]
Merge "Process query of Network Policies from A&AI"

5 years agoMerge "extract subinterface_network_quantity from policy"
Steve Smokowski [Fri, 15 Feb 2019 12:38:58 +0000 (12:38 +0000)]
Merge "extract subinterface_network_quantity from policy"

5 years agoquery clients now set their expected object 34/78534/1
Benjamin, Max (mb388a) [Fri, 15 Feb 2019 00:59:07 +0000 (19:59 -0500)]
query clients now set their expected object

unit test is using the wrong number of keys for aai uri
query clients now set their expected object for method

Change-Id: I622c76cee0e9d47be35a78156267bf1c22cbf404
Issue-ID: SO-1514
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofix issue where we attempt audit with no servers 33/78533/1
Benjamin, Max (mb388a) [Fri, 15 Feb 2019 00:54:00 +0000 (19:54 -0500)]
fix issue where we attempt audit with no servers

fix issue where we attempt audit with no servers

Change-Id: I47f76121c616bf65a5f8be73910adcc0d7088bdb
Issue-ID: SO-1513
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoupdated camunda springboot version 32/78532/1
Benjamin, Max (mb388a) [Fri, 15 Feb 2019 00:52:29 +0000 (19:52 -0500)]
updated camunda springboot version

Added required unimplemented methods to classes

Change-Id: I1ab6333582f2f09c6c363786c8168fdf54936bf8
Issue-ID: SO-1512
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoProcess query of Network Policies from A&AI 28/78528/1
Benjamin, Max (mb388a) [Thu, 14 Feb 2019 23:14:00 +0000 (18:14 -0500)]
Process query of Network Policies from A&AI

Process query of Network Policies from A&AI as a NetworkPolicies object.

Change-Id: I01b4c00e3732a5518ddc21d08740c0684de86d5e
Issue-ID: SO-1511
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoextract subinterface_network_quantity from policy 27/78527/1
Benjamin, Max (mb388a) [Thu, 14 Feb 2019 23:12:24 +0000 (18:12 -0500)]
extract subinterface_network_quantity from policy

- Removed duplicate code that was causing a NumberFormatException
- Changed name from crTarget to policyNetworkCollection
- Added code to check we are setting the quantity on the correct
NetworkCollection
- Added code to extract the subinterface_network_quantity from the
nodeTemplate policy

Change-Id: Id12fa0241f16bfd4467209f08af5068d57b2d049
Issue-ID: SO-1510
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoalways increment gCurrentSequence 26/78526/1
Benjamin, Max (mb388a) [Thu, 14 Feb 2019 23:10:29 +0000 (18:10 -0500)]
always increment gCurrentSequence

always increment gCurrentSequence to properly interact with retry and
rollback logic

Change-Id: I7e99973682f93f891c8d35a4f3699ba17a05bc15
Issue-ID: SO-1509
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "fix fields not set correctly in Fabric Policy dist"
Marcus Williams [Thu, 14 Feb 2019 20:02:18 +0000 (20:02 +0000)]
Merge "fix fields not set correctly in Fabric Policy dist"

5 years agoMerge "cloud config migration from openstack to catdb"
Steve Smokowski [Thu, 14 Feb 2019 16:34:28 +0000 (16:34 +0000)]
Merge "cloud config migration from openstack to catdb"

5 years agoMerge "fix major sonar bug"
Steve Smokowski [Thu, 14 Feb 2019 16:33:22 +0000 (16:33 +0000)]
Merge "fix major sonar bug"

5 years agoMerge "fixed CandidateType json serialization"
Steve Smokowski [Thu, 14 Feb 2019 16:32:40 +0000 (16:32 +0000)]
Merge "fixed CandidateType json serialization"

5 years agoMerge "add new functionality to aai client"
Steve Smokowski [Thu, 14 Feb 2019 16:32:33 +0000 (16:32 +0000)]
Merge "add new functionality to aai client"

5 years agoMerge "workflow action should read config for max retries"
Steve Smokowski [Thu, 14 Feb 2019 16:32:24 +0000 (16:32 +0000)]
Merge "workflow action should read config for max retries"

5 years agoMerge "Update Working with SO Docker Documentation"
Steve Smokowski [Thu, 14 Feb 2019 16:32:13 +0000 (16:32 +0000)]
Merge "Update Working with SO Docker Documentation"

5 years agoMerge "Remove un-needed cacheing layer for OS Clients"
Steve Smokowski [Thu, 14 Feb 2019 16:31:37 +0000 (16:31 +0000)]
Merge "Remove un-needed cacheing layer for OS Clients"

5 years agoMerge "Strip off TenantId from self link url"
Steve Smokowski [Thu, 14 Feb 2019 13:14:09 +0000 (13:14 +0000)]
Merge "Strip off TenantId from self link url"

5 years agofix critical sonar bugs 91/78391/3
k.kazak [Thu, 14 Feb 2019 08:20:50 +0000 (09:20 +0100)]
fix critical sonar bugs

Restore interrupted state when InterruptedException is thrown in SDNCRestClient
Added test for this case
Replaced formatting anchor with text empty object in GraphInventoryResultWrapper
Escaped anchor is also considered as bug by sonar
Case is already covered in AAIResultWrapperTest
Marked comparison of the same object as false positive in EqualsAndHashCodeTester
Added clearer comment to this comparison

Change-Id: I24496c2323c33599db99a3d3b59fc4f6a008cf1f
Issue-ID: SO-1492
Signed-off-by: k.kazak <k.kazak@samsung.com>
5 years agoStrip off TenantId from self link url 99/78399/2
Benjamin, Max (mb388a) [Wed, 13 Feb 2019 15:18:48 +0000 (10:18 -0500)]
Strip off TenantId from self link url

Strip off TenantId from self link url

Change-Id: I58ac9fe693059eb8cb93d85fb88604cb9c0a0db2
Issue-ID: SO-1502
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofixed CandidateType json serialization 12/78412/1
Benjamin, Max (mb388a) [Wed, 13 Feb 2019 16:44:35 +0000 (11:44 -0500)]
fixed CandidateType json serialization

fixed CandidateType json serialization

Change-Id: Icafa5884db5424167c7fac08ad6aae5781bdafa5
Issue-ID: SO-1503
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "Associate PNF instance with Service"
Lukasz Muszkieta [Wed, 13 Feb 2019 16:39:49 +0000 (16:39 +0000)]
Merge "Associate PNF instance with Service"

5 years agoworkflow action should read config for max retries 00/78400/1
Benjamin, Max (mb388a) [Wed, 13 Feb 2019 15:19:40 +0000 (10:19 -0500)]
workflow action should read config for max retries

workflow action should also read config for max retries

Change-Id: Ib0617b59ca95df7c82fb2ab54895c9c83586f02f
Issue-ID: SO-1504
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoadd new functionality to aai client 98/78398/1
Benjamin, Max (mb388a) [Wed, 13 Feb 2019 15:06:03 +0000 (10:06 -0500)]
add new functionality to aai client

Remove only the first occurrence of parentUri from uriTemplate.
add createIfNotExists to transaction clients
moved classes to generic GraphInventory location
removed unused interfaces from graphinventory client
refactored all graph inventory clients

Change-Id: I2b946674ff92c44d33fff2f327e96655ed5c0195
Issue-ID: SO-1501
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRemove un-needed cacheing layer for OS Clients 95/78395/1
Benjamin, Max (mb388a) [Wed, 13 Feb 2019 15:01:47 +0000 (10:01 -0500)]
Remove un-needed cacheing layer for OS Clients

Remove un-needed cacheing layer for OS Clients

Change-Id: I7fbb6e23a3c34f65286202ec4dad1fb051991cf0
Issue-ID: SO-1500
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agofix fields not set correctly in Fabric Policy dist 94/78394/1
Benjamin, Max (mb388a) [Wed, 13 Feb 2019 14:58:59 +0000 (09:58 -0500)]
fix fields not set correctly in Fabric Policy dist

- Added a null check for vfModuleMemberName.
- Added some extra logging to show the VF members and cvnfc template
name
- Updated to fix fields not set correctly in Fabric Policy
distributions.

Change-Id: Iaef2114a910ad10ff788b2178953883b0c5269da
Issue-ID: SO-1499
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
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 "Fixed possible NPE in ResourceRequestBuilder"
Steve Smokowski [Wed, 13 Feb 2019 14:01:53 +0000 (14:01 +0000)]
Merge "Fixed possible NPE in ResourceRequestBuilder"

5 years agoMerge "use encrypted auth for dmaap"
Steve Smokowski [Wed, 13 Feb 2019 14:01:02 +0000 (14:01 +0000)]
Merge "use encrypted auth for dmaap"

5 years agoAssociate PNF instance with Service 62/75862/4
Lukasz Muszkieta [Wed, 16 Jan 2019 10:29:46 +0000 (11:29 +0100)]
Associate PNF instance with Service

Change-Id: I19e25e0daae042b30138bbfc074b0e651b8b1c01
Issue-ID: SO-1274
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoFixed possible NPE in ResourceRequestBuilder 81/78281/4
r.bogacki [Tue, 12 Feb 2019 10:41:29 +0000 (11:41 +0100)]
Fixed possible NPE in ResourceRequestBuilder

According to Sonar current implementation could cause
NullPointerException.
Added JUnit test.

Change-Id: I840c018bed346d85e2042c7308bdd27197f50b46
Issue-ID: SO-1498
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
5 years agofix major sonar bug 25/78225/3
k.kazak [Tue, 12 Feb 2019 14:22:29 +0000 (15:22 +0100)]
fix major sonar bug

Removed useless 'instanceof' operator as it always resolves as true
Replaced it with checking for null
Removed unused imports
Added information about modifications on the top
Added junit tests for the method

Change-Id: I7a902ad2852e0ed0d507a6309857a1bab74921de
Issue-ID: SO-1491
Signed-off-by: k.kazak <k.kazak@samsung.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 agocloud config migration from openstack to catdb 46/77846/2
Benjamin, Max (mb388a) [Tue, 5 Feb 2019 01:02:38 +0000 (20:02 -0500)]
cloud config migration from openstack to catdb

remove the wait and sleep code in migration
move cloud config migration from openstack to catdb

Change-Id: Id887a37ce12665e5d8a604308ea251744529491c
Issue-ID: SO-1461
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
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>