aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Add new endpoint and macro for service upgradeJozsef Csongvai7-2/+307
This enables upgrading an existing service instance by updating its model UUID's in AAI and md-sal. Issue-ID: SO-3636 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ic5f067a1267053a61f46e2d9563ca4e4ac869bdf
2021-08-04Merge "Support instantiation of same model vnfs/vf-modules"Seshu Kumar M8-27/+527
2021-07-31Merge "add junit coverage"Seshu Kumar M1-1/+34
2021-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss8-27/+527
When instantiating a service with multiple vnfs and/or vfmodules SO would differentiate using ModelCustomizationId. This would cause issues when creating multiple instances of same model resource, and each lookup would return the same object. Instead of using ModelCustomizationId, this patch enables SO to use instanceName parameter to differentiate the resources. Validation was added to ensure that instanceNames are provided if there are multiple resources of the same model. If there are no duplicate resources and instanceName is not set, SO will default to previous logic using ModelCustomizationId. In order to properly associate vfmodules with their parent vnfs, the Resource class was augmented with a parent reference which maintains the relationship in further processing. Id generation logic was corrected to ensure that multiple resources of the same model are assigned unique instance ids and references to parent instanceId. Issue-ID: SO-3677 Change-Id: If39a0138f501177e12262f8e911137012e287fca Signed-off-by: Michael Pruss <michael.pruss@bell.ca>
2021-07-28Merge "Fix ControllerExecutionBB flow."Lukasz Muszkieta1-9/+12
2021-07-28Change rb-definition-version identifierLukasz Rajewski2-27/+36
Change rb-definition-version identifier. As a consequnece the vf-module-model-customization-uuid will be used to identify the version of the rb definition. Also cleaned property setup for CNFAdapter create instance request Issue-ID: MULTICLOUD-1377 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ieafc7be91a6b25df3bec89701fa2c26c6d7a47d8
2021-07-27Fix ControllerExecutionBB flow.k.kedron1-9/+12
Adding the condition block on the end, like in the CDS actor path. Issue-ID: SO-3719 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I3ff8f4b63fda8e4404594b630fb6e5411540c697
2021-07-19Merge "Fix macro flow resource blocks processing order"Seshu Kumar M13-228/+1059
2021-07-11Fix macro flow resource blocks processing orderLukasz Rajewski13-228/+1059
Change-Id: I9941cf15d65b5c463126d99e03aa4eb0c2e8c183 Issue-ID: SO-3705 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2021-06-30Fixing XML parsers security bugwaqas.ikram1-6/+12
Change-Id: I1fbf2b2bd42669d9a3c059c32bb39278bd483d60 Issue-ID: SO-3668 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-30Reducing org.reflections package loggingwaqas.ikram1-0/+36
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-29Fixing XML parsers security bugwaqas.ikram1-2/+7
Change-Id: I8a4f156196af47272a2732b1fbddafb6f0eb1f4d Issue-ID: SO-3668 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-28Fixing XML parsers sonar issuewaqas.ikram1-7/+17
Change-Id: Id67c01bbe19057902127e8a66ba0382589789537 Issue-ID: SO-3665 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-23add junit coverageLukasz Muszkieta1-1/+34
Issue-ID: SO-3433 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I600dc68c6f38597fedfd0e8d962fe879a6abb976
2021-06-18Add VNF-Macro-Create and VNF-Macro-DeleteJozsef Csongvai7-92/+112
These macros enable creation and deletion of a vnf with vfmodules for an existing service instance using building blocks. Also: - No longer force alaCarte=true for these use cases - Fix broken vfModule sorting logic for baseFirst/baseLast - Minor refactoring replacing String literals with constants Issue-ID: SO-3635 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I16975f3561f2d978dede20679927ac3531def900
2021-06-17Merge "add junit coverage"Seshu Kumar M1-0/+102
2021-05-25add junit coverageLukasz Muszkieta1-8/+58
Issue-ID: SO-3433 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Ie099e0482c8581426c3ddf16d9a34bb0f39ca937 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2021-05-24Increase code coverage for VnfEbbLoader classpwielebs1-0/+85
Issue-ID: SO-3489 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Ic18200fac5d5ce527abeb923ef3f7caa40c72097
2021-05-21add junit coverageLukasz Muszkieta1-0/+102
Issue-ID: SO-3661 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Ib3faeb85000345313c52e53d13cf75746a4f3bfb
2021-04-30Merge "SO refactor - extract junit from WorkflowActionTest to ↵Lukasz Muszkieta9-183/+428
ServiceEBBLoaderTest Issue-ID: SO-3489"
2021-04-22Update CDS and grpc dependenciesJozsef Csongvai1-4/+3
Issue-ID: SO-3628 Change-Id: Ia1c5c3d2d38d83609410c94068cd0d4533d9ad40 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-04-21Added logging statements for skip post inst conf classKalkere Ramesh, Sharan (sk720x)2-4/+12
Issue-ID: SO-3626 Change-Id: I618b6b6b6049f94bc6c9bfe6be893ac022f2449e Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2021-04-20SO refactor - extract junit from WorkflowActionTest to ServiceEBBLoaderTestMarcin Rzepecki9-183/+428
Issue-ID: SO-3489 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I54b3a72e1ddd34b3039eccbb3ef3c32a3428ad99
2021-04-06Merge "CNF release name deliverd to CNF adapter"Seshu Kumar M3-44/+13
2021-04-01CNF release name deliverd to CNF adapterLukasz Rajewski3-44/+13
CNF release name deliverd to CNF adapter from SO request allows to provide custome name of the release what helps to avoid problem with incorrect name geenrated today from vf-module-id Issue-ID: SO-3607 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I579b4d78d409701b28306763d11c60b9e75dd0ea
2021-03-29SO refactor - extract Workflow type ServiceMarcin Rzepecki8-444/+528
Issue-ID: SO-3581 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I5bbe63371045333213542c275e763ac7305369a1
2021-03-24request db endpoint and bpmn cleanupKULESHOV, ELENA3-53/+49
added new request db adapter endpoint use bpmn constants when available allow bpmn input setup parameter to be extended Issue-ID: SO-3606 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: Ibde4d82cc7432ea3cdd9a75aef0dc695ebbf9a1b
2021-03-19Merge "SO refactor II - refactor VnfEBBLoader.java"Byung-Woo Jun1-68/+74
2021-03-18SO refactor - refactor class UserParamsServiceTraversalMarcin Rzepecki1-43/+39
Issue-ID: SO-3489 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I3f465fdd1846686c66f34c7a3e2868fa1f1b5845
2021-03-16Merge "SO refactor - extract private method from ↵Lukasz Muszkieta1-91/+136
getResourceListFromUserParams Issue-ID: SO-3489"
2021-03-16SO refactor II - refactor VnfEBBLoader.javapwielebs1-68/+74
Issue-ID: SO-3581 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I1567a025e18ac4bf1f77ae4b2d7a499dfca0a4cc
2021-03-15SO refactor - extract Workflow type VNFpwielebs4-114/+196
Issue-ID: SO-3581 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: If5fe112f618c8fa8f7063df69af341df2db6b8f7
2021-03-15SO refactor - extract private method from getResourceListFromUserParamsMarcin Rzepecki1-91/+136
Issue-ID: SO-3489 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I12e988127c1944ecb63cd0ec7af4ea0cf165195a
2021-03-09version upgrades plus cleanupBOSLET, CORY1-1/+1
Removed over 125 dependencies and added to dependency management Added in a few dependencies and removed some Change the swagger version to so pom Removed version property reference in the pom Added in missing dependency for bpmn blocks Added in missing dependecy for common bpmn Updated the camunda-bpm-assert to use a version that is compatible with assertj-core 3.11. The camunda-bpm-assert namespace group also changed. This fixes the no method found error. Updated unit test to account for class name change Updated the unit test to account for lib change Fixed unit test for software upgrade stuff Exclude older versions of javassist to fix null pointer caused by incompatible javassist version with hibernate and bowman Added in missing dependency for task test Added missing dependency and fixed formatting Remove files that got added back in by merge conflict Use the new namespace for the swagger annotations Need to exclude swagger annoatations from the old namespace Updated to fix compilation error due to use of legacy swagger and cxf swagger Use the swagger v3 plugin for gen resources Use the openapi v3 swagger in all bpmn packages Fix null pointer to create the OpenApiFeature in cxf Issue-ID: SO-3578 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I7093376b2d8271e9c5b911b901133e01b957da84
2021-03-09Add junit tests for UserParamsServiceTraversal classMarcin Rzepecki3-1/+293
Issue-ID: SO-3489 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I7c9304534e566f6ec36f420ae058cf5b81e797da
2021-03-09Merge "add junit coverage"Max Benjamin2-3/+83
2021-03-07improve error handling in postProcessingExecuteBBKALKERE RAMESH, SHARAN1-11/+18
improve error handling in postProcessingExecuteBB Issue-ID: SO-3572 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: Idcccdf8f5f10db8445a42536d0bd891bc2cf5a42 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2021-03-05Merge "create post flow manipulator"Max Benjamin5-8/+10
2021-03-04add junit coverageLukasz Muszkieta2-3/+83
Issue-ID: SO-3433 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: If00e2a209cf28a57caa52a840bc8c10164a58ff4 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2021-03-04create post flow manipulatorBENJAMIN, MAX5-8/+10
create post flow manipulator Issue-ID: SO-3568 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I8afe9cb0184c1f52754097f9912e123e56cfab98 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2021-03-04restore not NULL verificationMNUSHKIN, DMITRY3-2/+88
restore not NULL verification on user params include test file missed in commit Issue-ID: SO-3564 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I2ad7cff33081b1ccc5369cfc54dccf0eab1f6fbf Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2021-02-18Increase code coverage for ExecuteBuildingBlockBuilder classpwielebs2-1/+24
Change-Id: I87ce8344f2f2329066639e6aa2d415eac06ef622 Issue-ID: SO-3538 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2021-02-17Merge "update camunda and spring to latest versions"Steve Smokowski1-120/+270
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)1-120/+270
Updated camunda to 7.14 and updated spring boot camunda to 3.4 Started to clean up duplicate maven dependencies Issue-ID: SO-3521 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic65b04772b91dd989e41d6b6b93872978bc4e4e2
2021-02-04sonar fixLukasz Muszkieta2-20/+38
- improving logging - throwing more specific excpetions - using "Optional" improvement Issue-ID: SO-3428 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I873ad4b557265778e7dc0321a1e39439cfa77155
2021-01-29Merge "add junit coverage"Seshu Kumar M1-5/+78
2021-01-29Merge "WorkflowAction refactor - separate code for macro and alaCarte"Seshu Kumar M1-136/+153
2021-01-22Merge "updated post skip instantiation to non primitive"Steve Smokowski2-2/+2
2021-01-21WorkflowAction refactor - separate code for macro and alaCarteLukasz Muszkieta1-136/+153
selectExecutionList method is enormous with lots of if...else statements. The code for macro and alaCarte service is separated to private methods. Issue-ID: SO-3489 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Ie1fc725316fb42216d0b16d00c4371608882999c Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2021-01-19SO WorkflowAction refactor IIpwielebs5-213/+354
- extract buildExecuteBuildingBlock(), buildExecuteBuildingBlockList() methods from WorkflowAction class and move it to new ExecuteBuildingBlockBuilder class in the same package as WorkflowAction - all methods used only in traverseUserParamsService() also moved - all existing tests for moved methods, moved to corresponding test class Issue-ID: SO-3422 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: I64110de339fed4a0c80c746e45302cefd5e194ff