summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
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-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.iakovidis4-22/+148
Change-Id: Ie4a63dd06279713c9f13062a09b44eb0e7f2e6bc Issue-ID: SO-1815 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>
2019-04-11Revert the change to avoid break PNF PnPeeginux3-65/+10
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 Smokowski3-9/+67
2019-04-09PNF WF post instantiation configurationeeginux3-9/+67
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 Huang2-0/+271
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)43-1547/+1570
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.kazak1-116/+139
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 IPAddresseeginux1-2/+7
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 Smokowski3-2/+3
2019-04-04Merge "PNF WF post instantiation configuration"Steve Smokowski6-1/+392
2019-04-04PNF WF post instantiation configurationeeginux6-1/+392
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.kazak3-2/+3
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 Mondal1-11/+66
Issue-ID: SO-1577 Change-Id: I0bb4790ce179330cf7f942021725f2b72d1a0829 Signed-off-by: Arindam Mondal <arind.mondal@samsung.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 Smokowski9-0/+38
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 Multanen9-0/+38
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 Muszkieta1-1/+1
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>
2019-03-14Cleaned up content of MsoLoggerr.bogacki43-346/+365
Cleaned java and groovy code from 'getServiceName' method in MsoLogger. Change-Id: I23c3fc8005db5f89e94b87271bb60b7bcce72064 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-13Merge "Removed MsoLogger from UUIDChecker"Steve Smokowski1-1/+1
2019-03-13Run groovy bpmn/vcpe testsk.kazak1-0/+1
Fixed groovy tests in bpmn/vcpe/scripts to be runnable Added them to build Reformatted the code and removed unnecessary imports Change-Id: Id85c88bee666fc7f513042e0a4e83f337ab2765c Issue-ID: SO-1649 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-03-13Removed MsoLogger from UUIDCheckerr.bogacki1-1/+1
Cleaned UUIDChecker from MsoLogger. Fixed imports. Change-Id: Ieecea2fcd08025f950025f3bf8a679dee1626a25 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-12Remove MsoLogger form BPMN infrastructure scriptsk.kazak76-3375/+3873
Replaced MsoLogger with plain slf4j. Refactored loging output. Fixed imports. Replaced utils.log() with respective logger calls. Change-Id: I1154682f58206d6e97ae605f4eb9ba8ef8a10e1f Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com> Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-03-08Remove MsoLogger from BPMN VCPE scriptsFicio8-456/+508
Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Replaced utils.log() with respective logger calls. Issue-ID: LOG-631 Signed-off-by: Witold Kopel <w.kopel@samsung.com> Change-Id: I7c0f0e4a6b46e9e99f58e7c287b19bb93abc8677
2019-03-01Implement a separate task to query CatalogDB forBenjamin, Max (mb388a)1-19/+1
Restore script value for the script task Implement a separate task to query CatalogDB for CloudSite info for CM flows. Change-Id: Id9dc4da9a7d50b50b691f30a8e0a5ce68eec1739 Issue-ID: SO-1586 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-28CorrelationId cleanupJoanna Jeremicz12-56/+56
Remove old correlationId field and references from ServiceInstancesRequest and rename correlationId to pnfCorrelationId Change-Id: I5d8861aebe14c68574b6c54bc8d4eadf2967478b Issue-ID: SO-1274 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>