summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-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-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>
2019-04-11Revert the change to avoid break PNF PnPeeginux6-101/+25
Revert PnfEventReadyDmaapClient PnfEventReadyDmaapClientTest Update the IT CreateVcpeResCustServiceSimplifiedTest Bug SO-1779 raise to fix the issue with Configure Issue-ID: SO-1506 Change-Id: I8f0e474405db7f0c23266208cee89df12ac6c0a2 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-11Merge "Modify the SO to support BBS usecase"Seshu Kumar M1-0/+84
2019-04-11Modify the SO to support BBS usecasemarios.iakovidis1-0/+84
Modify the SO to support BBS usecase. Change-Id: I359380bcea9ff4ebb4e021b0425f727392ac590f Issue-ID: SO-1578 Signed-off-by: marios.iakovidis <marios.iakovidis@huawei.com>
2019-04-11Add support of OLT resource in SDNCCreateResourcesubhash kumar singh1-0/+88
Add support of OLT resource in SDNCCreateResource. Issue-ID: SO-1578 Change-Id: Ibf01dae8966a6d63ee15c3911d6b0aa88e20365c Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-11Merge "Fixed latest Sonar blocker issues"Seshu Kumar M1-15/+16
2019-04-11Merge "Support for SO to ExtAPI"Seshu Kumar M1-1/+2
2019-04-10Fixed latest Sonar blocker issuesr.bogacki1-15/+16
Fixed blockers according to Sonar analysis. Change-Id: I2c2d053b66019b74ee20b0a56fb7b93bf931bb61 Issue-ID: SO-1734 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Signed-off-by: Katsia Kazak <k.kazak@samsung.com>
2019-04-10Merge "PNF WF post instantiation configuration"Steve Smokowski5-11/+95
2019-04-09PNF WF post instantiation configurationeeginux5-11/+95
Fix the PNF registration issue Use the applicationEvent to notify about PNF ID Issue-ID: SO-1506 Change-Id: I4c5ebfdd4ed319408ef99e1360c37124688fd7f1 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-09Service instance modificationZhuoyao Huang3-0/+572
extend update interface for service instance modification on CCVPN use case extension Issue-ID: SO-1393 Change-Id: Ib21843be32738de0197185906ba38c61f1095f24 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)72-2353/+2306
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08fix sonar bugs in ServicePluginFactoryk.kazak2-116/+326
Fixed potential NullPointerException in lines: 123, 286, 480 and 607 - uuiObject is nullable here Change-Id: I01b30d090add7faccf3958f2fa37c7905d4bd5a3 Issue-ID: SO-1490 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-05Change to use OAM IPAddresseeginux2-4/+9
Change to use ipaddress-v4/6-oam for the config deploy Add more assertions to the integration test Issue-ID: SO-1506 Change-Id: I5ba45b055569f90f91308b6e9d4bd85a1d4e99fe Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-05Merge "Fix runtime bugs in bpmn groovy"Steve Smokowski9-1748/+1602
2019-04-04Merge "PNF WF post instantiation configuration"Steve Smokowski10-2/+865
2019-04-04PNF WF post instantiation configurationeeginux10-2/+865
Add PNF ipv4/v6 address for config Deploy Add Integration test for CreateVcpeResCustService_simplified.bpmn Modify the PnfEventReadyDmaapClient to avoid one more running thread Refactor the so-bpmn-infrastructure-flows test resources Modify the CreateVcpeResCustService_simplified.bpmn Add ConfigurePnfResource.bpmn Add Delegates Issue-ID: SO-1506 Change-Id: Iffb69d1441ef0b485ee8cd3fb5da5f1a35279a95 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-03Fix runtime bugs in bpmn groovyk.kazak9-1748/+1602
DoDeleteVfModuleV2: non-existing variable uri (was renamed to resourceUri) DoUpdateNetworkInstance: queryIdResponse type is expected to be L3Network UpdateVfModuleVolumeInfraV1: non-existing variable cloudOwner Include tests for those fixes to build Change-Id: Icaea91260fbf6603f134df893a64ec1ca5ac40ab Issue-ID: SO-1649 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-03Implement builderArindam Mondal2-93/+151
Issue-ID: SO-1577 Change-Id: I0bb4790ce179330cf7f942021725f2b72d1a0829 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)22-108/+61
trying to get the tests that can be threaded to pass started to remove fixed port references Change-Id: I7bfe067a8f36c908039700646571681321e9a6f5 Issue-ID: SO-1676 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-29Refactored SDNCAdapterUtils (groovy)Witold Ficio Kopel26-32/+32
Standardized usage of MsoUtils class in all methods of SDNCAdapterUtils. Removed AbstractServiceTaskProcessor from constructor parameter. Change-Id: I45263aefc980163a927d8a6dce886e299691e025 Issue-ID: SO-1700 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-26Eliminated printStackTrace() callsWitold Ficio Kopel9-33/+23
Eliminated calls to printStackTrace() on Throwable as they go to stdout and are not handled by logger. Occurences has been replaced by calls to logger or modifications to nearby logger calls (Throwable passed as last parameter). Occurences in unit test classes left without modification. Change-Id: I6a771d60a3ea69ceecc29bb21358e565aa5ce101 Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-20Merge "Add cloudOwner to VNF adapter call"Steve Smokowski12-0/+43
2019-03-20Support for SO to ExtAPIVodafone1-1/+2
Change-Id: I5789ceb1fd4bd22d3b5ca706e55efe1bf4a3f51a Issue-ID: SO-1421 Co-authored-by: gopal.sabhadiya@vodafone.com Signed-off-by: Vodafone <onap@vodafone.com>
2019-03-19Add cloudOwner to VNF adapter callEric Multanen12-0/+43
The BPMN layer has the CloudRegion which includes the CloudOwner attribute, but this is not passed to the VNF adapter layer. Calls to the Multicloud infrastructure workload need the CloudOwner as well. This patch adds CloudOwner to the VNF adapter API. While the intended usage is primarily for the multicloud adapter, it touches a log of other files - though those do not make use of it at this point. Change-Id: I88028096fbd84fc3fe5d53786c70b3c8806bb711 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-03-19Removed logXXX() methods from MsoUtilsWitold Ficio Kopel5-7/+0
Following methods has been removed from MsoUtils (.groovy) class: logContext(requestId, serviceInstanceId) logMetrics(elapsedTime, logtxt) logAudit(logtxt) as no longer required. Remaining uses of them in other groovy clases has been deleted/replaced by apropriate use of logback. Change-Id: I473f01b65c67e90667311cff3b2a671e719f7258 Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-19Merge "Removed MsoLogger class"Steve Smokowski49-312/+250
2019-03-19Back to the correlationId value nameLukasz Muszkieta3-7/+7
Change-Id: I0dee6adb4e7c28b557aaed50a75c938e82a9bced Issue-ID: SO-1274 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-03-18Removed MsoLogger classr.bogacki49-312/+250
Bye bye MsoLogger class. Extracted constants to separated classes. Fixed imports. Change-Id: I7c8e0527e7dbd097d3ea93b9dab279354652da47 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>