summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-03-13Fix Critical & Major issues in adaptersParshad Patel1-1/+1
The Cyclomatic Complexity of this method "createStackParam" is 16 which is greater than 10 authorized Either log or rethrow this exception Issue-ID: SO-1841 Change-Id: Ie5539a853a112ed751bbf891699f181479537e47 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2020-02-14Fix too many params issueParshad Patel2-17/+76
Methods should not have too many parameters Either log or rethrow this exception Issue-ID: SO-1841 Change-Id: Iabe32f4492560703228eb5d115b5e91ebeb17255 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2020-01-30WaitForPnfReadyBB message fixLukasz Muszkieta1-1/+1
fix problem with sending message to camunda process Issue-ID: SO-2606 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Iace8d283702968e0f3917feb498927eeacfed421
2020-01-29Merge "Create WaitForPnfReadyBB"Seshu Kumar M1-0/+99
2020-01-29AssignPnfBB connects PNF and service instance in AAIJoanna Jeremicz3-108/+0
Change-Id: I92ab4b45acb120d647ea3de7a455e2e873c12a72 Issue-ID: SO-2605 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-01-28Create WaitForPnfReadyBBLukasz Muszkieta1-0/+99
Issue-ID: SO-2606 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I55281130c8ce0fde68d7a0554dd9023e44b9f2b0 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-01-24decision point APIeeginux5-10/+219
ControllerRunnable interface: implemented by controller ControllerContext: Controller Context for controller execution ControllerPreparable interface:used to setup execution context ControllerExecutionBB:controller execution for building block ControllerExecutionDE:controller execution for camunda Skeleton implementation for APPC controller Skeleton implementation for SDNC controller Use ControllerExecutionDE for existing PNF configuration. Add integration tests for controllerExecutionBB/DE Add GenericControllerExecution activity for BuildingBlockExecution based Add GenericControllerExecutionDE activity for DelegateExecution based. CDS controller to be implemented by SO-CDS generic buildingBlock Actor seletion based on ingested metadata Issue-ID: SO-2070 Change-Id: I4020c2ce21468939690e2cef78bbadbfff4bd3e4 Signed-off-by: eeginux<henry.xie@est.tech>
2020-01-10Align AssignPnfBB with Service Macro CreateRemigiusz Janeczek4-40/+108
-move and align logic of BB delegates with tests -remove unnecessary classes -add tests cases for Pnfs in ExtractPojosForBBTests Issue-ID: SO-2568 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ic48e2c1c6ab852c33837091da3e7916b71c26466
2019-12-20Externalize AssignPnf Building Block and refactor existing code accordinglyRemigiusz Janeczek1-0/+40
Issue-ID: SO-2568 Change-Id: I1eec15862d6f0b5e8ae4c952b290be8d5fc786dd Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2019-11-26restoring the pnf dmaap client functionality to the proper working versionLukasz Muszkieta3-103/+19
Issue-ID: SO-2339 Change-Id: I2a12517fd7b37d3260058be6c5c27865e207b861 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-11-22improve error log scoresPlummer, Brittany2-2/+2
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
2019-09-18Prevent reading twice from ResponseEntity stream, since this caused IOErrors.grabinsk2-19/+11
Also moving empty response checks to parseJsonToGelAllPnfCorrelationId Issue-ID: SO-2349 Signed-off-by: grabinsk <maciej.grabinski@nokia.com> Change-Id: I316856d56106a1ae715812628695406f4147765d Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-09-11Merge "Integrate Logging Library"Steve Smokowski10-21/+21
2019-09-11bug fix - avoid npe in pnf flowLukasz Muszkieta3-40/+43
Change-Id: I8e848c2bdcec0822ae08280223297b4825e9b7c2 Issue-ID: SO-2289 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-09-10Integrate Logging LibraryPlummer, Brittany10-21/+21
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-09-05Log exceptionParshad Patel5-11/+21
Either log or rethrow this exception Use isEmpty() to check whether the collection is empty or not Issue-ID: SO-1841 Change-Id: Ia964a871497df8a7211260ad1ad8f1efa8ae4d42 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-19Close input streams via try-with-resourcesk.kazak1-9/+5
DefaultDmaapPropertiesImpl: close FileInputStream after loading ServicePluginFactory: close HttpClient if processing fails close application.properties InputStream after loading remove redundant catch block if behavior is the same add logging of exception in finally block BpmnInstaller: close csarFile if processing fails Change-Id: Ic6f942c401277c5150c5cc1297aba27ccd40694c Coverity-scan: CID-203903, CID-211476, CID-211615, CID-219308 Issue-ID: SO-2211 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-08-14public keyword removed for DoCreateServiceInstanceRollback.groovyanjali.walsatwar1-5/+5
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: If2b6f5d1416042dd8ce88ae9d467ae24b00a1c55
2019-08-14Merge "DoCreateVFCNetworkServiceInstance.groovy corrected"Lukasz Muszkieta1-6/+6
2019-08-13Merge "Enhance variable name-comply with regex"Lukasz Muszkieta1-1/+1
2019-08-13Merge "Replace with equalsIgnoreCase"Seshu Kumar M1-4/+4
2019-08-13Enhance variable name-comply with regexsindhu36721-1/+1
Enhance variable name-comply with regex bpmn ConfigCheckerDelegate class Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I11c06607cdb160f59c77e7e5af004364d53bddf5
2019-08-12Merge "Remove useless double assignment in ↵Lukasz Muszkieta1-1/+1
PnfEventReadyDmaapClient.​unregister"
2019-08-12Replace with equalsIgnoreCasesindhu36721-4/+4
Replace with equalsIgnoreCase bpmn ServicePluginFactory class Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I2860546bb921a1b685f824beb0cd790e826435ad
2019-08-12DoCreateVFCNetworkServiceInstance.groovy correctedanjali.walsatwar1-6/+6
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: I537a9a5ef72823f9aec9504e0475eee970c04a1a
2019-08-12DeleteVFCNSResource.groovy correctedanjali.walsatwar1-2/+2
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: I2fead52822d107ad712624ba9a37c959eae8c077
2019-08-12DeActivateSDNCNetworkResource.groovy correctedanjali.walsatwar1-5/+5
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: I2e9fd421f528ee147188f626817a5f3e68fa55fa
2019-08-12DoCreateServiceInstance.groovy correctedanjali.walsatwar1-11/+11
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: Ib67d724009c172aa86347853075b3cf7ee6be502
2019-08-12DoCreateResources.groovy correctedanjali.walsatwar1-8/+8
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: I1d4dc5370125a587b11cbf05b69fdaf8fcaa37aa
2019-08-12corrected CompareModelofE2EServiceInstance.groovyanjali.walsatwar1-5/+5
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: I42b005210df986b1a4f006982f9d89be54bffa7f
2019-08-11Merge changes Ia52d9db2,Iab16430bSeshu Kumar M1-6/+6
* changes: Remove unused public access modifier Add vfmodule support to e2e service instance
2019-08-11Merge changes I045619a9,Iadffb2af,Ie97c560dSeshu Kumar M15-137/+137
* changes: Remove unwanted semicolon from groovy files Remove unwanted semicolon Removed unrequired semicolon from groovy
2019-08-09Remove useless double assignment in PnfEventReadyDmaapClient.​unregisterArtem Naluzhnyy1-1/+1
Coverity-scan: CID-211458 Issue-ID: SO-2211 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I670bb1f5684b90f0d4d01542c77c882e3d4966e4
2019-08-09Merge "removed unwanted public for ActivateSDNCNetworkResource.groovy"subhash kumar singh1-5/+5
2019-08-09Remove unwanted semicolon from groovy filessubhash kumar singh6-69/+69
Remove unwanted semicolon from groovy files. Issue-ID: SO-2212 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: I045619a93597459d7ae5f656a880d36b4a46f001
2019-08-09Remove unwanted semicolonsubhash kumar singh9-68/+68
Remove unwanted semicolon. Issue-ID: SO-2212 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Iadffb2affff8597a8eb8258041b37cb8bf701f20
2019-08-09removed unwanted public for ActivateSDNCNetworkResource.groovyanjali.walsatwar1-5/+5
groovy file correction Issue-ID: SO-2212 Signed-off-by: anjali.walsatwar <anjali.walsatwar@huawei.com> Change-Id: I5f3adeb10b4f551f515144696695834a32493e97
2019-08-09Remove unused public access modifiersubhash kumar singh1-6/+6
Remove unused public access modifier. Issue-ID: SO-2212 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Ia52d9db2dc9b6500954f516cf456240f4b9e1bf0
2019-08-08remove not used BaseTask classLukasz Muszkieta2-5/+5
BaseTask class serves only as JavaDelegate implementation provider, should be removed Change-Id: I46f56cb850d12e4ef395db9429297d05f3a51b37 Issue-ID: SO-2187 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-08-08Fix NoClassDefFoundError for ServicePluginFactorysarada prasad sahoo1-6/+11
Fix NoClassDefFoundError for ServicePluginFactory appears when we run SO via docker-compose command Change-Id: I8ba5963edf28f81d948f71a9d698541f682de908 Issue-ID: SO-2206 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
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 sahoo4-114/+243
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.bogacki2-7/+20
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>