so.git
5 years agoEnhanced logic for multilevel list input 30/88130/2
sarada prasad sahoo [Tue, 21 May 2019 04:28:43 +0000 (09:58 +0530)]
Enhanced logic for multilevel list input

Optimized VF/GROUP/VFC level parsing logic
as per doCompareModel call flow

Change-Id: If934ee1407a1bad6c9adec9e32533166b5fb4d93
Issue-ID: SO-1393
Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
5 years agoMerge "Fix SDNC Resource creation workflow"
subhash kumar singh [Tue, 21 May 2019 07:06:24 +0000 (07:06 +0000)]
Merge "Fix SDNC Resource creation workflow"

5 years agoFix SDNC Resource creation workflow 10/88010/7
Isaac Manuel Raj [Fri, 17 May 2019 15:18:58 +0000 (20:48 +0530)]
Fix SDNC Resource creation workflow

Fix SDNC Resource Creation workflow

Issue-ID: SO-1393

Change-Id: Ia75150adf3695e623a2f3ec7ea5f720667142c1b
Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
5 years agoMerge "Initial checkin of updates for vf module replace"
Steve Smokowski [Mon, 20 May 2019 14:17:16 +0000 (14:17 +0000)]
Merge "Initial checkin of updates for vf module replace"

5 years agoMerge "Fix bad query, adjust sql to use non-att bb"
Steve Smokowski [Mon, 20 May 2019 14:17:08 +0000 (14:17 +0000)]
Merge "Fix bad query, adjust sql to use non-att bb"

5 years agoMerge "Altered bpmn and audit behavior on delete vf mod"
Steve Smokowski [Mon, 20 May 2019 14:17:03 +0000 (14:17 +0000)]
Merge "Altered bpmn and audit behavior on delete vf mod"

5 years agoMerge "Set workflowexceptionerrormessage in all cases"
Steve Smokowski [Mon, 20 May 2019 14:16:58 +0000 (14:16 +0000)]
Merge "Set workflowexceptionerrormessage in all cases"

5 years agoMerge "Audit service enhancements"
Steve Smokowski [Mon, 20 May 2019 14:16:50 +0000 (14:16 +0000)]
Merge "Audit service enhancements"

5 years agoMerge "END_TIME is not populated by bpmn as expected"
Steve Smokowski [Mon, 20 May 2019 14:16:29 +0000 (14:16 +0000)]
Merge "END_TIME is not populated by bpmn as expected"

5 years agoEnhanced logic for multilevel list input 85/87985/2
sarada prasad sahoo [Fri, 3 May 2019 06:54:32 +0000 (12:24 +0530)]
Enhanced logic for multilevel list input

Added extra VF/VFC level test cases,
also corrected first level index increment logic.

Change-Id: I18982b4b6821da4f7dc06743c3aeca0fa54176e3
Issue-ID: SO-1393
Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
5 years agoMerge "Add model type to resource model"
Seshu Kumar M [Mon, 20 May 2019 05:14:45 +0000 (05:14 +0000)]
Merge "Add model type to resource model"

5 years agoMerge "Fix null check for groups"
Seshu Kumar M [Mon, 20 May 2019 05:12:01 +0000 (05:12 +0000)]
Merge "Fix null check for groups"

5 years agoAdd model type to resource model 93/87993/3
subhash kumar singh [Fri, 17 May 2019 13:31:40 +0000 (19:01 +0530)]
Add model type to resource model

Add model type to resource model.

Change-Id: Ic1937d859cebca1b515d9c069c51c9811d6874ab
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoRecipe retrieval for groups 38/87938/4
subhash kumar singh [Fri, 17 May 2019 04:46:07 +0000 (10:16 +0530)]
Recipe retrieval for groups

Recipe retrieval for groups.

Change-Id: I2ba68777f3655ebc7794b75d357253022fe7739b
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoInitial checkin of updates for vf module replace 04/88004/2
Smokowski, Steven [Fri, 17 May 2019 14:31:27 +0000 (10:31 -0400)]
Initial checkin of updates for vf module replace

fix toString method and add unit tests for new code
Fix Null pointer issue in UT, extra chars
Initial checkin of updates for vf module replace

Change-Id: I2d62f5c2077cd022ccf796d126494e526ad48c54
Issue-ID: SO-1893
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAltered bpmn and audit behavior on delete vf mod 07/88007/1
Boslet, Cory [Fri, 17 May 2019 14:36:25 +0000 (10:36 -0400)]
Altered bpmn and audit behavior on delete vf mod

Renamed variable from contin to flowShouldContinue.
Updated bpmn junits and exceptionbuilder junits.
Updated bpmns to use non interrupting escalation event.
Altered bpmn and audit behavior on delete vf module

Change-Id: I4ade4c934a9193099cfd29d740c68e60633c03e5
Issue-ID: SO-1896
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix bad query, adjust sql to use non-att bb 06/88006/1
Smokowski, Steven [Fri, 17 May 2019 14:34:49 +0000 (10:34 -0400)]
Fix bad query, adjust sql to use non-att bb

Fix bad query, adjust sql to use non-att bb

Change-Id: Ifb231dee77242b37b1d8145f5a33fb3a87974b63
Issue-ID: SO-1895
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix null check for groups 41/87341/4
subhash kumar singh [Thu, 9 May 2019 09:50:48 +0000 (15:20 +0530)]
Fix null check for groups

Fix null check for groups.

Change-Id: I2432707e4a6dc6bfe49d23eddc9318562c2c43b3
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
5 years agoEND_TIME is not populated by bpmn as expected 03/88003/1
Sangalang, Felix [Fri, 17 May 2019 14:16:27 +0000 (10:16 -0400)]
END_TIME is not populated by bpmn as expected

Removed/Cleaned-up unnecessary lines/codes.
Updated junit tests for END_TIME to any(Timestamp.class).
END_TIME is not populated by bpmn when rainy day retry or rollback is
executed.

Change-Id: I614d66ca767629bf43aac8eee981423e5393015e
Issue-ID: SO-1887
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoSet workflowexceptionerrormessage in all cases 02/88002/1
Boslet, Cory [Fri, 17 May 2019 14:14:26 +0000 (10:14 -0400)]
Set workflowexceptionerrormessage in all cases

Removed white spaces so that they are gone.
Change to set workflowexceptionerrormessage in all cases so that its
available to workflowactionbb.

Change-Id: I66130b80eab0c0a0f96c3a7a5509bb70dda26884
Issue-ID: SO-1886
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAudit service enhancements 01/88001/1
Boslet, Cory [Fri, 17 May 2019 14:06:55 +0000 (10:06 -0400)]
Audit service enhancements

Update number of threads used for openstack audit
Refactored post construct audit service and added junits

Change-Id: Ic5bd42cda98835305d2e2d5d09a5c039376316a5
Issue-ID: SO-1898
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "refactor so-mon-ui code"
Steve Smokowski [Wed, 15 May 2019 21:16:55 +0000 (21:16 +0000)]
Merge "refactor so-mon-ui code"

5 years agoMerge "store openstack request status in requestdb"
Steve Smokowski [Wed, 15 May 2019 21:02:51 +0000 (21:02 +0000)]
Merge "store openstack request status in requestdb"

5 years agomapped host routes into gbb l3 network object 98/87798/1
Kalkere Ramesh, Sharan [Wed, 15 May 2019 18:34:33 +0000 (14:34 -0400)]
mapped host routes into gbb l3 network object

mapped host routes into gbb l3 network object

Change-Id: Ie3ab4693f7584946b1e2020d43143412bec62631
Issue-ID: SO-1885
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agostore openstack request status in requestdb 97/87797/1
Smokowski, Steven [Wed, 15 May 2019 18:19:49 +0000 (14:19 -0400)]
store openstack request status in requestdb

Openstack request status now stored in request db

Change-Id: Ida8f4f613d406c2b834ab190e01d5aaf2f16dd3d
Issue-ID: SO-1867
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoFix sdnc nb snapshot version, fix build 20/87720/1
Marcus G K Williams [Wed, 15 May 2019 00:33:36 +0000 (17:33 -0700)]
Fix sdnc nb snapshot version, fix build

Issue-ID: SO-1877
Change-Id: I2b8f25311e92d35bffe1c70490041d32be217c5a
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agoFix common ccsdk dependency and build 96/87596/1
Marcus G K Williams [Mon, 13 May 2019 21:20:33 +0000 (14:20 -0700)]
Fix common ccsdk dependency and build

Issue-ID: SO-1874
Change-Id: I898049fc986abef8c7eba0c402088686ecb20b34
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
5 years agorefactor so-mon-ui code 40/87240/5
Andrei_Barcovschi [Wed, 8 May 2019 12:54:37 +0000 (13:54 +0100)]
refactor so-mon-ui code

Change-Id: I026496a4bfd5485484394409d09df52f7d59a9da
Issue-ID: SO-1691
Signed-off-by: Andrei_Barcovschi <andrei.barcovschi@ericsson.com>
5 years agoMerge "fix newest sonar bugs"
Seshu Kumar M [Mon, 13 May 2019 04:57:52 +0000 (04:57 +0000)]
Merge "fix newest sonar bugs"

5 years agoMerge "Remove unused logger,replace type specification"
Seshu Kumar M [Mon, 13 May 2019 04:50:36 +0000 (04:50 +0000)]
Merge "Remove unused logger,replace type specification"

5 years agoMerge "Update Rainy day handling to be more robust"
Steve Smokowski [Fri, 10 May 2019 16:43:19 +0000 (16:43 +0000)]
Merge "Update Rainy day handling to be more robust"

5 years agoMerge "Updated closing gateway to be inclusive instead."
Steve Smokowski [Fri, 10 May 2019 16:43:16 +0000 (16:43 +0000)]
Merge "Updated closing gateway to be inclusive instead."

5 years agoMerge "Remove triple logging of VNF adapter response"
Steve Smokowski [Fri, 10 May 2019 16:43:13 +0000 (16:43 +0000)]
Merge "Remove triple logging of VNF adapter response"

5 years agoMerge "APIH should ensure valid requestId UUID"
Steve Smokowski [Fri, 10 May 2019 16:43:09 +0000 (16:43 +0000)]
Merge "APIH should ensure valid requestId UUID"

5 years agoMerge "Added to write variablles on audit failure"
Steve Smokowski [Fri, 10 May 2019 16:43:06 +0000 (16:43 +0000)]
Merge "Added to write variablles on audit failure"

5 years agoUpdate Rainy day handling to be more robust 61/87461/2
Smokowski, Steven [Fri, 10 May 2019 14:01:06 +0000 (10:01 -0400)]
Update Rainy day handling to be more robust

Clean up unused tests and code, update UT
Fix issue with junits and conflicts on id field
Update Rainy day handling to be more robust

Change-Id: I2ce9a1288457017613dece19357e44b8566867c5
Issue-ID: SO-1866
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoUpdated closing gateway to be inclusive instead. 63/87463/1
Boslet, Cory [Fri, 10 May 2019 14:02:49 +0000 (10:02 -0400)]
Updated closing gateway to be inclusive instead.

Updated closing gateway to be inclusive instead.

Change-Id: If877bf71b406d00f7a0e277b88f9e3064e642be0
Issue-ID: SO-1868
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAPIH should ensure valid requestId UUID 60/87460/1
Bhatt, Prema [Fri, 10 May 2019 13:55:00 +0000 (09:55 -0400)]
APIH should ensure valid requestId UUID

Added logic to check if the requestId sent in GET orchestrationRequest
query is a valid UUID. Updated existing unit tests and added a new test
for invalid UUID scenario.

Change-Id: I424bef8aa75dd7e47de8145603899820dfb99725
Issue-ID: SO-1865
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoCreated custom BadResponseException class 59/87459/1
Plummer, Brittany [Fri, 10 May 2019 13:52:31 +0000 (09:52 -0400)]
Created custom BadResponseException class

Created custom BadResponseException class

Change-Id: I9b7288c5c489e155a84f2b98956df8f3f8f53bb4
Issue-ID: SO-1864
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoRemove triple logging of VNF adapter response 58/87458/1
Mcblain, Thomas [Fri, 10 May 2019 13:51:05 +0000 (09:51 -0400)]
Remove triple logging of VNF adapter response

Remove triple logging of VNF adapter response to bpel

Change-Id: Ia8f3d3b9b76616e9dcc9f638ba5ca58dcac3ab8b
Issue-ID: SO-1863
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoAdded to write variablles on audit failure 57/87457/1
Boslet, Cory [Fri, 10 May 2019 13:49:24 +0000 (09:49 -0400)]
Added to write variablles on audit failure

Added to write variablles on audit failure so bpmn knows whether
success or not.

Change-Id: I1eb0827a10ee75f4ee89bfb36d13035a2612e032
Issue-ID: SO-1862
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
5 years agoMerge "use logger to log exception"
Steve Smokowski [Fri, 10 May 2019 12:02:27 +0000 (12:02 +0000)]
Merge "use logger to log exception"

5 years agoMerge "add junit coverage for InstantiateOperationProgressor"
Steve Smokowski [Thu, 9 May 2019 12:30:38 +0000 (12:30 +0000)]
Merge "add junit coverage for InstantiateOperationProgressor"

5 years agoMerge "Removed null checks from ResourceRequestBuilder"
Steve Smokowski [Thu, 9 May 2019 12:30:27 +0000 (12:30 +0000)]
Merge "Removed null checks from ResourceRequestBuilder"

5 years agoadd junit coverage for InstantiateOperationProgressor 39/87339/2
Lukasz Muszkieta [Thu, 9 May 2019 09:38:01 +0000 (11:38 +0200)]
add junit coverage for InstantiateOperationProgressor

Change-Id: I8409877b8db74871ccd2a3d20a1cdc8faacbe568
Issue-ID: SO-1576
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
5 years agoUpdate License info 21/87321/1
seshukm [Thu, 9 May 2019 04:58:35 +0000 (10:28 +0530)]
Update License info

Issue-ID: SO-1854

Change-Id: Icd347db4fddb50a8543193394c71e61d9bd69282
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
5 years agouse logger to log exception 18/87318/2
Arindam Mondal [Thu, 9 May 2019 04:25:50 +0000 (13:25 +0900)]
use logger to log exception

sonar link:https://sonar.onap.org/project/issues?id=org.onap.so%3Aso&resolved=false&types=VULNERABILITY

Issue-ID: SO-1859
Change-Id: I599ca396db3d24cbef56bb3aea8f83b2d52ff26d
Signed-off-by: arindamm <arind.mondal@samsung.com>
6 years agoMerge "Fix resourceIndex to model"
Seshu Kumar M [Wed, 8 May 2019 08:12:11 +0000 (08:12 +0000)]
Merge "Fix resourceIndex to model"

6 years agoFix resourceIndex to model 09/87209/1
subhash kumar singh [Tue, 7 May 2019 17:20:30 +0000 (22:50 +0530)]
Fix resourceIndex to model

Fix resourceIndex to model in json mapping.

Change-Id: Ia609d3eb381b14fc5654774e83f8417a4d876e91
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
6 years agofix newest sonar bugs 00/86800/2
k.kazak [Thu, 2 May 2019 09:58:21 +0000 (11:58 +0200)]
fix newest sonar bugs

OperationProgressor: restore interrupted state
PnfEventReadyDmaapClient: remove useless check for null that never happens
Test for this case already exists in
PnfEventReadyDmaapClientTest.pnfCorrelationIdIsNotFoundInHttpResponse

Change-Id: Ic7e4d0cb701721ee4d9a8bc46d65dc1d847d7704
Issue-ID: SO-1811
Signed-off-by: k.kazak <k.kazak@samsung.com>
6 years agoUpdate the format of resourceInput 54/87054/2
zm330 [Mon, 6 May 2019 16:07:22 +0000 (00:07 +0800)]
Update the format of resourceInput

Save format when resource is list type
e.g.
{key2:[vf_prop_list,INDEX,key]|default}

Issue-ID: SO-1393

Change-Id: Ibb5e7bb31114fa3bbd7a3e1af5f2152a98941a4b
Signed-off-by: zm330 <zhangminyj@chinamobile.com>
6 years agoRemoved null checks from ResourceRequestBuilder 09/87109/1
r.bogacki [Tue, 7 May 2019 06:22:38 +0000 (08:22 +0200)]
Removed null checks from ResourceRequestBuilder

Removed unnecessary null checks from ResourceRequestBuilder
according to comments from https://gerrit.onap.org/r/#/c/87001/

Change-Id: I21140d812982713229c322d772e6a10f7c7c044d
Issue-ID: SO-1498
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
6 years agoRemove unused logger,replace type specification 88/85888/2
Sindhuri.A [Sat, 20 Apr 2019 08:46:52 +0000 (14:16 +0530)]
Remove unused logger,replace type specification

Remove unused logger,replace type specification sdnc beans and mapper classes

Issue-ID: SO-1490

Change-Id: I9a671f0ade5b86dbfd4cce1fbc6c07c0fdcf38a8
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
6 years agoMerge "Resume APIH Functionality"
Steve Smokowski [Mon, 6 May 2019 14:24:20 +0000 (14:24 +0000)]
Merge "Resume APIH Functionality"

6 years agoMerge "Fixed NPE in ResourceRequestBuilder"
Seshu Kumar M [Mon, 6 May 2019 11:44:35 +0000 (11:44 +0000)]
Merge "Fixed NPE in ResourceRequestBuilder"

6 years agoFixed NPE in ResourceRequestBuilder 01/87001/2
r.bogacki [Mon, 6 May 2019 07:25:02 +0000 (09:25 +0200)]
Fixed NPE in ResourceRequestBuilder

Fixed possible NullPointerException in ResourceRequestBuilder
according to the Sonar analysis.

Change-Id: Ide97a1a6439342ef55fc490916c945d194d4e518
Issue-ID: SO-1498
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
6 years agoMerge "update the version of plugin to fix jenkins docker"
Seshu Kumar M [Mon, 6 May 2019 09:24:11 +0000 (09:24 +0000)]
Merge "update the version of plugin to fix jenkins docker"

6 years agoMerge "Check variable to determine audit success"
Seshu Kumar M [Mon, 6 May 2019 09:23:06 +0000 (09:23 +0000)]
Merge "Check variable to determine audit success"

6 years agoMerge "Invoke prepare instance resource list from bpmn"
Seshu Kumar M [Mon, 6 May 2019 09:19:13 +0000 (09:19 +0000)]
Merge "Invoke prepare instance resource list from bpmn"

6 years agoInvoke prepare instance resource list from bpmn 92/86992/3
subhash kumar singh [Mon, 6 May 2019 05:07:09 +0000 (10:37 +0530)]
Invoke prepare instance resource list from bpmn

Invoke prepare instance resource list from bpmn.

Change-Id: I9a116eaee3800bfc061f986e0e5aea75d2f88598
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
6 years agoupdate the version of plugin to fix jenkins docker 78/86978/1
Kalkere Ramesh, Sharan [Sun, 5 May 2019 15:27:36 +0000 (11:27 -0400)]
update the version of plugin to fix jenkins docker

update the version of fabric8 to fix jenkins docker push

Change-Id: I5b827bd56bf4d58763bf9d5eaa87d3218ba85c1c
Issue-ID: SO-1848
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoCheck variable to determine audit success 77/86977/1
Boslet, Cory [Sun, 5 May 2019 15:24:32 +0000 (11:24 -0400)]
Check variable to determine audit success

Added gateway to check variable to determine audit success due to
external task not throwing bpmn error.

Change-Id: I35acbb46ea40d83f2af78e2bf99f07193401a2a6
Issue-ID: SO-1832
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoResume APIH Functionality 76/86976/1
Plummer, Brittany [Sun, 5 May 2019 15:21:20 +0000 (11:21 -0400)]
Resume APIH Functionality

Updated license for 2019 and added null check test
Moved record creation to RequestHandlerUtils
Updated uri retrieval to obtain full uri
Updated verify based on actual objects
Renamed tests for better description
Removed use of Spring in unit tests
Moved constant to other logger files
Added new class to JerseyConfiguration
Separated resume request work to separate file
Updated value that progress is saved as in db
Added new original_partner_name key for partnername retrieval
Added column for progress to be saved to db
Added additional columns to be saved to requestDb
Added inProgress request check to resume

Change-Id: I9ef1e61829be49da348b29bc255beb073b48639d
Issue-ID: SO-1831
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoMerge "Update oparent version"
Marcus Williams [Fri, 3 May 2019 18:01:51 +0000 (18:01 +0000)]
Merge "Update oparent version"

6 years agoMerge "Merge remote-tracking branch 'origin/dublin'"
Marcus Williams [Fri, 3 May 2019 18:01:07 +0000 (18:01 +0000)]
Merge "Merge remote-tracking branch 'origin/dublin'"

6 years agoMerge remote-tracking branch 'origin/dublin' 27/86627/2
Benjamin, Max (mb388a) [Tue, 30 Apr 2019 14:07:45 +0000 (10:07 -0400)]
Merge remote-tracking branch 'origin/dublin'

merged dublin into master branch

Change-Id: Ifb78d405611b65764fd4f01558b0e703551ed663
Issue-ID: SO-1830
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
6 years agoMerge "add resource input Save format when resource is list type e.g. {key2:vf_prop_l...
Seshu Kumar M [Fri, 3 May 2019 06:38:08 +0000 (06:38 +0000)]
Merge "add resource input Save format when resource is list type e.g. {key2:vf_prop_list,INDEX,key|default}"

6 years agoUpdate oparent version 69/86869/1
Jessica Wagantall [Thu, 2 May 2019 23:08:07 +0000 (16:08 -0700)]
Update oparent version

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

Change-Id: I50382154cac487247c3824cff802fb7993b5c3ae
Issue-ID: CIMAN-234
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoMerge "test suite file moving"
Seshu Kumar M [Thu, 2 May 2019 15:39:53 +0000 (15:39 +0000)]
Merge "test suite file moving"

6 years agoMerge "replace System.out by logger"
Seshu Kumar M [Thu, 2 May 2019 15:08:12 +0000 (15:08 +0000)]
Merge "replace System.out by logger"

6 years agoMerge "Modify instance resource list creation"
Seshu Kumar M [Thu, 2 May 2019 12:29:41 +0000 (12:29 +0000)]
Merge "Modify instance resource list creation"

6 years agotest suite file moving 10/86810/1
Lukasz Muszkieta [Thu, 2 May 2019 11:27:09 +0000 (13:27 +0200)]
test suite file moving

not all test are taken into suite, the test suite file should be moved up

Change-Id: I4ee4911bee9ee583a6fe3ec4f5edd8c669f75b4d
Issue-ID: SO-1843
Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
6 years agoModify instance resource list creation 80/86580/3
subhash kumar singh [Tue, 30 Apr 2019 01:34:39 +0000 (07:04 +0530)]
Modify instance resource list creation

Modify instance resource list creation to avoid hard locking of
model name in UUI request.

e.g.
VF resource and gruop resource has resource input
vf { resource_input : { key1:value2, key2:[vf_prop_list,INDEX,key]|default}

Derive the key ("vf_prop_list") from resource input and use this
info to map UUI request.

UUI req:
{
...
  resourceInput: {
          vf_prop_list :   /// mapped with resource input of resource
                  {
....

Change-Id: Ic40079a094b2628bcf6f5758121b7492ee3c1353
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
6 years agoMerge "Removal of unused local variables. Removal of unused local variables as per...
Seshu Kumar M [Thu, 2 May 2019 10:53:43 +0000 (10:53 +0000)]
Merge "Removal of unused local variables. Removal of unused local variables as per guidelines. Issue-ID: SO-1490"

6 years agoMerge "Sonar fix NullPointerException"
Seshu Kumar M [Thu, 2 May 2019 10:43:03 +0000 (10:43 +0000)]
Merge "Sonar fix NullPointerException"

6 years agoreplace System.out by logger 01/86801/1
k.kazak [Thu, 2 May 2019 10:13:54 +0000 (12:13 +0200)]
replace System.out by logger

Fix sonar issues connected to using System.out instead of Logger:
VnfInstantiationNotification,
VnfmAdapterCreationNotification,
VnfmAdapterDeletionNotification

Change-Id: I7385cbbf41c68d752e76c6ad277aec004a3cca8a
Issue-ID: SO-1811
Signed-off-by: k.kazak <k.kazak@samsung.com>
6 years agoEnhanced logic for multilevel list input reading from UUI 84/86784/2
sarada prasad sahoo [Thu, 2 May 2019 05:22:46 +0000 (10:52 +0530)]
Enhanced logic for multilevel list input reading from UUI

Logic modified to support VF and VFC/group level user input reading
from the list and automatically incrementing/maintaining index of
list for fetching data from User input and map to service inputs.

Change-Id: I9faa7e9a689324e80c1e5123e0d4c2ebedd1bf76
Issue-ID: SO-1393
Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
6 years agoAdd Model Version Query 92/86692/1
Smokowski, Steven [Wed, 1 May 2019 01:00:08 +0000 (21:00 -0400)]
Add Model Version Query

Fix the sql migration version numbering to be proper
Fix marking test as private, mark public
Clean up public declarations to private
Fix schema.sql to have new column for unit test
Revert POM Change, add License, clean up comments
Fix bad spelling of method name issue
Update catalog db to support new rest endpoint
Update local query service and mappers
Localstaging of potential catalog db changes
Update logic to write overall distro status

Change-Id: I84d53b972ede3176c5af32d13444583a36606efa
Issue-ID: SO-1820
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoadd resource input 17/86617/1
zm330 [Tue, 30 Apr 2019 12:11:22 +0000 (20:11 +0800)]
add resource input
Save format when resource is list type
e.g.
{key2:vf_prop_list,INDEX,key|default}

Change-Id: I1cde294eb790df0be6df13cfae9959310b93f366
Issue-ID: SO-1393
Signed-off-by: zm330 <zhangminyj@chinamobile.com>
6 years agoSonar fix NullPointerException 91/86591/1
Arindam Mondal [Tue, 30 Apr 2019 06:04:26 +0000 (15:04 +0900)]
Sonar fix NullPointerException

Issue-ID: SO-1829
Change-Id: I2b09733698391607989c2289b8c9f8ba5cdfabe4
Signed-off-by: arind.mondal <arind.mondal@samsung.com>
6 years agoRemoved static fields from ASDCRestInterface 38/86538/1
Witold Ficio Kopel [Mon, 29 Apr 2019 14:51:05 +0000 (16:51 +0200)]
Removed static fields from ASDCRestInterface

Fix to Sonar issue - misuse of private static fields within class.
Refactored to local variables.

Issue-ID: SO-1490
Change-Id: I4e2f3dc5b5424198263bdfc0ff16ae123969db48
Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
6 years agoCheck to make sure Heat records do not exist. 41/86541/1
Merkel, Jeff [Mon, 29 Apr 2019 14:48:13 +0000 (10:48 -0400)]
Check to make sure Heat records do not exist.

- Replaced index assert statements with stream().
- Updated the UT to retrieve from the service object for the assert
statements.
- Added check to make sure Heat records don't already exist.

Change-Id: Ife02303e7b3f5c7d132fb9c1baebaa3787a18494
Issue-ID: SO-1818
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoMerge "VNFM simulator implementation for delete flow"
Steve Smokowski [Mon, 29 Apr 2019 13:36:05 +0000 (13:36 +0000)]
Merge "VNFM simulator implementation for delete flow"

6 years agoMerge "Fixed issues found in delete integration testing"
Steve Smokowski [Mon, 29 Apr 2019 13:36:00 +0000 (13:36 +0000)]
Merge "Fixed issues found in delete integration testing"

6 years agoMerge "Store Cloud Request in Database"
Steve Smokowski [Mon, 29 Apr 2019 13:35:51 +0000 (13:35 +0000)]
Merge "Store Cloud Request in Database"

6 years agoMerge "created new custom exception"
Steve Smokowski [Mon, 29 Apr 2019 13:35:45 +0000 (13:35 +0000)]
Merge "created new custom exception"

6 years agoMerge "repeat distribution transaction error" into dublin
Steve Smokowski [Mon, 29 Apr 2019 12:40:42 +0000 (12:40 +0000)]
Merge "repeat distribution transaction error" into dublin

6 years agoVNFM simulator implementation for delete flow 05/86505/1
MichaelMorris [Mon, 29 Apr 2019 10:17:43 +0000 (10:17 +0000)]
VNFM simulator implementation for delete flow

Issue-ID: SO-1773
Change-Id: I14c8325dbb8fbdaebff7b7ec674fd0ddbb5930c3
Signed-off-by: MichaelMorris <michael.morris@est.tech>
6 years agoFixed issues found in delete integration testing 04/86504/1
MichaelMorris [Mon, 29 Apr 2019 10:16:49 +0000 (10:16 +0000)]
Fixed issues found in delete integration testing

Issue-ID: SO-1827
Change-Id: I73fdcad3d466634cea850e4df10291a66ec2aa61
Signed-off-by: MichaelMorris <michael.morris@est.tech>
6 years agoMerge "Do not need to retry on inventory exception" into dublin
Seshu Kumar M [Mon, 29 Apr 2019 09:41:47 +0000 (09:41 +0000)]
Merge "Do not need to retry on inventory exception" into dublin

6 years agoRemoval of unused local variables. 71/86271/2
h00397475 [Thu, 25 Apr 2019 11:10:48 +0000 (16:40 +0530)]
Removal of unused local variables.
Removal of unused local variables as per guidelines.
Issue-ID: SO-1490

Change-Id: I2513b2b2751d31c94d7a0d8ba29c55139856d3a4
Signed-off-by: h00397475 <hena.choudhury@huawei.com>
6 years agoStore Cloud Request in Database 51/86451/2
Smokowski, Steven [Sat, 27 Apr 2019 01:10:25 +0000 (21:10 -0400)]
Store Cloud Request in Database

Store Cloud Request in Database, add to request service
Add query Param to Plural to include cloud data

Change-Id: If906d28d0dc9c0c804e550e2074af3d75ba46d32
Issue-ID: SO-1807
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoMerge "Sonar comments fixed Removed commented lines/ Change static string litrals...
Seshu Kumar M [Sun, 28 Apr 2019 13:37:59 +0000 (13:37 +0000)]
Merge "Sonar comments fixed Removed commented lines/ Change static string litrals name according to the guidelines. Issue-ID: SO-1490"

6 years agoMerge "Sonar comments fixed Removed commented lines/ Change static string litrals...
Seshu Kumar M [Sun, 28 Apr 2019 13:35:55 +0000 (13:35 +0000)]
Merge "Sonar comments fixed Removed commented lines/ Change static string litrals name according to the guidelines. Issue-ID: SO-1490"

6 years agoAdd parsing for support of new CCVPN model 55/86455/1
subhash kumar singh [Sat, 27 Apr 2019 21:40:37 +0000 (03:10 +0530)]
Add parsing for support of new CCVPN model

Update the resource_list logic to create the resource as per new
CCVPN model.

e.g. new model UUI request to create the service with this input
     // [
        // { VFB1 : [GrpA1, GrA2, GrB1]},
        // { VFB2 : [GrpA1, GrB1]},
        // { VFA1 : [GrpC1]}
        // ]

should be converted to
// [
        // { VFA1 : [GrpA1, GrA2, GrB1]},
        // { VFA2 : [GrpA1, GrB1]},
        // { VFB1 : [GrpC1]}
        // ]

as per resource ordering.

Change-Id: I79a30d5080d2551eb7e1944cc4f25d5332d22d4f
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
6 years agorepeat distribution transaction error 54/86454/1
Parthasarathy, Ramesh [Sat, 27 Apr 2019 15:08:55 +0000 (11:08 -0400)]
repeat distribution transaction error

implemented existence of tosca csar first before processing the
notification
implemented changes to verify if a csar already exists with tosca_csar
table before processing the distribution.
Updated code to set the SO component status when the
csarIsAlreadyDeployed.

Change-Id: I777ec603cb2f2f004adaa84e07196a961cebd646
Issue-ID: SO-1808
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
6 years agoEnhance resource sequence to add group 48/86448/2
subhash kumar singh [Sat, 27 Apr 2019 07:01:21 +0000 (12:31 +0530)]
Enhance resource sequence to add group

Enhance resource sequence to add group.

Change-Id: I9f7ad2a437cd66ba3b8382f3937b0b04752a184a
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
6 years agoEnhanced Service decomposition to handle gruop 98/86398/9
subhash kumar singh [Fri, 26 Apr 2019 11:38:40 +0000 (17:08 +0530)]
Enhanced Service decomposition to handle gruop

Enhanced Service decomposition to handle gruop and vnfcs

Issue-ID: SO-1393
Change-Id: If28416e4776f2ff645abdd0d1059d28c9ca6e52f
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
6 years agoSonar comments fixed 53/86353/2
Subhosree Pan [Fri, 26 Apr 2019 06:06:18 +0000 (06:06 +0000)]
Sonar comments fixed
Removed commented lines/ Change static string litrals name according to the guidelines.
Issue-ID: SO-1490

Change-Id: I77a0b2a5067d71ede2de8e090ed4d0b1fb61e219
Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>
6 years agoSonar comments fixed 52/86352/2
Subhosree Pan [Thu, 25 Apr 2019 11:56:52 +0000 (11:56 +0000)]
Sonar comments fixed
Removed commented lines/ Change static string litrals name according to the guidelines.
Issue-ID: SO-1490

Change-Id: I4ffee97269f0f0bdcb23f5b297df8fddb0c133f1
Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>