aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common
AgeCommit message (Collapse)AuthorFilesLines
2019-08-07Fix Critical Bug - print array content correctlyLukasz Muszkieta1-1/+1
Change-Id: I525c2f3d2731a38183de108d4674d9dcef43bcb7 Issue-ID: SO-2187 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-07-29Vulnerability fixes in ServicePluginFactoryr.bogacki1-7/+8
Vulnerability fixes in ServicePluginFactory according to the Sonar. -Made constants final. -Changed access scopes from public to private. Issue-ID: SDC-2106 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Iabaca0bd138b5dee22c95a4a0cc6cb5ebe442fd2
2019-07-26Enhanced List Level flow with backward supportsarada prasad sahoo5-115/+244
Modified the e2e service instance flow to support both new list types groups along with backward compatibility to support old types alloted resources, network etc. Change-Id: I1cb128e259c54b80009840914b2c1cee8cf8a4df Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-07-24Fix delete of generic neutron networkEric Multanen1-1/+1
Delete of Generic Neutron network was not working. Logic checking for association with vf-module appears to have been reversed. Change-Id: If541c1133322f75c70f86cd77d8bccd88b94f356 Issue-ID: SO-2082 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-07-23Merge "Enhanced List Level flow with backward support"Seshu Kumar M10-327/+530
2019-07-22Vulnerability fixes in ServicePluginFactoryr.bogacki1-1/+1
Sonar vulnerability fixes in ServicePluginFactory: -Added logger. Issue-ID: SO-2139 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Id1752ea35db970b20d02e730dac9900c411958ca
2019-07-18Merge "Major Sonar fixes"Steve Smokowski1-1/+1
2019-07-12Major Sonar fixesr.bogacki1-1/+1
Major Sonar fixes in different classes: -Removed unused variables. -Simplified diamond operators. -Removed unnecessary imports. -Removed unnecessary code. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ib54fbe048700a4e31042481f0a9b13838552aee7
2019-07-12Vulnerability fixes in ServicePluginFactoryr.bogacki3-7/+38
Sonar vulnerability fixes in ServicePluginFactory. -Moved hardcoded IP addresses to the property file. -Added junit test. Issue-ID: SO-2106 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Id33e17f7845c106212bbf4d4a8ca78641cea1396
2019-07-02Enhanced List Level flow with backward supportsarada prasad sahoo10-327/+530
Modified the e2e service instance flow to support both new list types groups along with backward compatibility to support old types alloted resources, network etc. Change-Id: Ie8fc8a4550a90b44736b6b9de058e2a2e187570c Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-06-24Sonar fixes and improvementsr.bogacki1-1/+3
General fixes and improvements according to the Sonar analysis. -Fixed imports. -Removed unnecessary code. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I4299f3efc4444625f70fc36e65b57c500b113596
2019-06-10Merge "replaced String.repeat with static final strings"Steve Smokowski41-182/+182
2019-06-10replaced String.repeat with static final stringsBenjamin, Max41-182/+182
replaced String.repeat with static final strings Change-Id: Ife14fde70e8f648881a03e9343ae8faf9cb87e2e Issue-ID: SO-1999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10Improvements in JsonUtilForPnfCorrelationIdr.bogacki1-4/+8
General fixes and improvements according to the Sonar analysis -Added private constructor for a utility class. -Refactored lambda expression. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ife8cfdf9c341dc89a1699fd616ec68cba734a5d5
2019-06-08Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)2-1/+39
Change-Id: Ib8eaae7ee4a404bde568803afaf6c4e183cbbd53 Issue-ID: SO-2004 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert2-4/+4
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski9-35/+107
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-05Changed service orc status to Assignedmarios.iakovidis1-1/+1
Issue-ID: SO-1938 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I68d684f837f2dea9decb2e577742ab905f825d04
2019-06-05Added post process to AAI in HandlePNFmarios.iakovidis1-0/+38
Issue-ID: SO-1993 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I6abec916438221669817b49997431b6164ee1a76
2019-06-03Cleaned up duplicated literalsrob.bog41-141/+183
Cleaned up Sonar code smells related to the duplicated literals in loggers. Issue-ID: SO-1932 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I58c48cec0012c42b7b892ae76c24c6a087c60c7e
2019-06-03Added orchestration status to servicemarios.iakovidis3-3/+50
Issue-ID: SO-1938 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I78cc401a746ef4dbca41a869729b9791210038f4
2019-06-02Merge "New GroupLevel DeleteE2EServiceInstance flow"Seshu Kumar M4-188/+342
2019-05-31Corrected enum formatting by pluginBenjamin, Max (mb388a)1-28/+27
enums are now single item per line Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7 Issue-ID: SO-1970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31New GroupLevel DeleteE2EServiceInstance flowsarada prasad sahoo4-188/+342
Modified the subprocess 'DoDeleteE2EServiceInstance' to support Group level instances. Change-Id: I8dfd154bc6eb9c9f7c7dc932bdce215a3b9fd800 Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-30Merge "Fix DeleteE2EServiceInstance flow"Seshu Kumar M3-163/+139
2019-05-28Fix request body for SDNC reqsubhash kumar singh2-1/+1
Fix request body for SDNC req. Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Ia8112b81fa29f886e282445b3c0dc068d487cadd
2019-05-30added extra parametersmarios.iakovidis1-19/+37
Issue-ID: SO-1933 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I7fdd9ff5373e2f27d225f265ff13b4e14a8b3abc
2019-05-29Renamed accessId to remoteidmarios.iakovidis1-4/+4
Issue-ID: SO-1933 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I6b63286f10ebc129b72a36cf41f0bb85b797f9ef
2019-05-28Corrected instance namesmarios.iakovidis1-4/+4
Issue-ID: SO-1931 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I4c3700cdc1cc058f3a37a77d087d38b2aadad29d
2019-05-27fixed typos and added SERVICE_INSTANCE_IDmarios.iakovidis1-2/+10
Change-Id: I68174bf2e67280a4bf65d8f26b04793b76896f04 Issue-ID: SO-1913 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>
2019-05-22removed unused CatalogDbUtils instantiationmarios.iakovidis1-12/+10
Issue-ID: SO-1910 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com> Change-Id: I50a2c75e2ce59a4eb7b6fb60076a34cae5482344
2019-05-22SDNC request body fixsubhash kumar singh2-34/+67
Request body fix for sdnc requests. Change-Id: Id3e454be18c62ab8c2e5ee572de55bf3ef7c18a3 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-21Set VariableSmokowski, Steve (ss835w)1-1/+2
Fix issue here variable is not set if SI is found. Issue-ID: SO-1419 Change-Id: If9a75fc57e280c2aba5361096e4ebf01ab13056f Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-05-21Fix DeleteE2EServiceInstance flowsarada prasad sahoo3-163/+139
Fixed the issue when subprocess 'DoDeleteE2EServiceInstance' calls 'AAI GenericGetService' sub-process which is deleted from SO common-bpmn. Change-Id: I8f5dce0135031c2d44fccd51676a709f014ef3c7 Issue-ID: SO-1809 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-21Enhanced logic for multilevel list inputsarada prasad sahoo1-1/+1
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>
2019-05-21Fix SDNC Resource creation workflowIsaac Manuel Raj3-190/+361
Fix SDNC Resource Creation workflow Issue-ID: SO-1393 Change-Id: Ia75150adf3695e623a2f3ec7ea5f720667142c1b Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
2019-05-20Enhanced logic for multilevel list inputsarada prasad sahoo1-5/+2
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>
2019-05-20Merge "Add model type to resource model"Seshu Kumar M1-3/+5
2019-05-19Add model type to resource modelsubhash kumar singh1-3/+5
Add model type to resource model. Change-Id: Ic1937d859cebca1b515d9c069c51c9811d6874ab Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-17Fix null check for groupssubhash kumar singh1-1/+1
Fix null check for groups. Change-Id: I2432707e4a6dc6bfe49d23eddc9318562c2c43b3 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-16Fix DeleteE2EServiceInstance flowsarada prasad sahoo3-111/+112
Fixed the issue when subprocess 'DoDeleteE2EServiceInstance' calls 'AAI GenericGetService' sub-process which is deleted from SO common-bpmn Change-Id: Ie170b430a21df6dc8e7ff95a9d7f2091c11a600b Issue-ID: SO-1809 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-07fix newest sonar bugsk.kazak1-1/+2
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>
2019-05-06Invoke prepare instance resource list from bpmnsubhash kumar singh1-7/+7
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>
2019-05-02Merge "Sonar fix NullPointerException"Seshu Kumar M1-1/+3
2019-05-02Enhanced logic for multilevel list input reading from UUIsarada prasad sahoo2-2/+7
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>
2019-05-01build sndc and user directives in groovyEric Multanen3-11/+32
Fill out the sdnc_directives and user_directives used by the multicloud vnf plugin adapter when invoked via the groovy path. Change-Id: Ia11680be682b38756f188c71e3e000bc21c15aa9 Issue-ID: SO-1822 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-30Sonar fix NullPointerExceptionArindam Mondal1-1/+3
Issue-ID: SO-1829 Change-Id: I2b09733698391607989c2289b8c9f8ba5cdfabe4 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-04-28Add parsing for support of new CCVPN modelsubhash kumar singh1-0/+11
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>
2019-04-27Enhance resource sequence to add groupsubhash kumar singh1-1/+18
Enhance resource sequence to add group. Change-Id: I9f7ad2a437cd66ba3b8382f3937b0b04752a184a Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-26 Removed hardcoded values for PNF creation (cvlan, svlan, remoteId)marios.iakovidis8-27/+256
Change-Id: Ie4a63dd06279713c9f13062a09b44eb0e7f2e6bc Issue-ID: SO-1815 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>