aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test
AgeCommit message (Collapse)AuthorFilesLines
2021-10-04delete redundant test dependencyLukasz Muszkieta6-107/+203
Issue-ID: SO-3772 Change-Id: I0539bf648e4879efc739d65ed77fd826d296de93 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2021-08-13Merge "Add new endpoint and macro for service upgrade"Seshu Kumar M1-0/+156
2021-08-13Merge "Enable ControllerExecutionBB for service scope"1.9.0Seshu Kumar M1-0/+14
2021-08-13Merge "Update ccsdk version to 1.1.5"Seshu Kumar M1-3/+3
2021-08-04Add new endpoint and macro for service upgradeJozsef Csongvai1-0/+156
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-04Enable WorkflowActionBB to skip last building blockJozsef Csongvai1-1/+1
WorkflowActionBB does not take into account flowmanipulators such as SkipCDSBuildingBlockListener, which increment the current index of building blocks to execute. In the case where ControllerExecutionBB is the last building block and should be skipped, the index would be incremented beyond bounds and cause exception. WorkflowActionBB needs to check if the flow has been completed before it tries to execute the next building block. Issue-ID: SO-3678 Change-Id: I635c12a568c3b98031cbeb37ef521663d96b852b Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-08-04Enable ControllerExecutionBB for service scopeJozsef Csongvai1-0/+14
Also make userParams.service optional to support usecases where it is not being passed. Issue-ID: SO-3627 Change-Id: I7e0abfffe54e11935b32f6c6829400de88fb4bd0 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-08-04Merge "Support instantiation of same model vnfs/vf-modules"Seshu Kumar M4-16/+438
2021-08-03Update ccsdk version to 1.1.5Jozsef Csongvai1-3/+3
New version reverts the name change that broke backward compatibility. Issue-ID: SO-3725 Change-Id: I4d41f578e2c4eef0a5d0c899b70d19d137f89839 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-07-31Merge "add junit coverage"Seshu Kumar M1-1/+34
2021-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss4-16/+438
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-19Merge "Fix macro flow resource blocks processing order"Seshu Kumar M6-53/+573
2021-07-11Fix macro flow resource blocks processing orderLukasz Rajewski6-53/+573
Change-Id: I9941cf15d65b5c463126d99e03aa4eb0c2e8c183 Issue-ID: SO-3705 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
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-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 Csongvai2-37/+55
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 Muszkieta6-180/+427
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-20SO refactor - extract junit from WorkflowActionTest to ServiceEBBLoaderTestMarcin Rzepecki6-180/+427
Issue-ID: SO-3489 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I54b3a72e1ddd34b3039eccbb3ef3c32a3428ad99
2021-03-29SO refactor - extract Workflow type ServiceMarcin Rzepecki3-13/+24
Issue-ID: SO-3581 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I5bbe63371045333213542c275e763ac7305369a1
2021-03-24request db endpoint and bpmn cleanupKULESHOV, ELENA1-8/+6
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-15SO refactor - extract Workflow type VNFpwielebs1-0/+5
Issue-ID: SO-3581 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: If5fe112f618c8fa8f7063df69af341df2db6b8f7
2021-03-09Add junit tests for UserParamsServiceTraversal classMarcin Rzepecki2-0/+291
Issue-ID: SO-3489 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I7c9304534e566f6ec36f420ae058cf5b81e797da
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-04restore not NULL verificationMNUSHKIN, DMITRY2-0/+84
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 classpwielebs1-0/+23
Change-Id: I87ce8344f2f2329066639e6aa2d415eac06ef622 Issue-ID: SO-3538 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
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-01-29Merge "add junit coverage"Seshu Kumar M1-5/+78
2021-01-19SO WorkflowAction refactor IIpwielebs2-45/+100
- 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
2021-01-15add junit coverageLukasz Muszkieta1-5/+78
Issue-ID: SO-3433 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I04e8bcc47b92c20bd9eb2a61c243a808e1e312fd Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2021-01-05only add config create after activate is doneBenjamin, Max (mb388a)2-22/+44
only add config create after activate is done fix unit tests that were broken from last commit fixed unit test that failed as request details was not set Issue-ID: SO-3466 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9616d64f5d73e29c4a37b31887fcfec5d96b5af1
2021-01-05Merge "add junit coverage"Max Benjamin1-0/+88
2021-01-05Merge "add junit coverage"Max Benjamin1-0/+102
2021-01-04SO WorkflowAction refactorLukasz Muszkieta2-913/+769
- extracting validateResourceIdInAAI method from WorkflowAction class to new ResourceIdValidator class - all test for validateResourceIdInAAI method are moved to corresponding new class - the content of the method and tests is not changed Issue-ID: SO-3447 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I70e20f59ab67857601aee2793967632d1ce06d65 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-12-21add junit coverageLukasz Muszkieta1-0/+88
Issue-ID: SO-3433 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I1e4866ca235cc987f7303e40253a7935c2081e04
2020-12-17SO WorkflowAction refactorpwielebs2-4/+49
- extract traverseUserParamsService() method from WorkflowAction class to UserParamsServiceTraversal class - move methods used only in traverseUserParamsService() method to UserParamsServiceTraversal class - change method signature from traverseUserParamsService to getResourceListFromUserParams() - create WorkFlowActionCommon for duplicated code Issue-ID: SO-3422 Signed-off-by: pwielebs <piotr.wielebski@nokia.com> Change-Id: Ic6a567eb7b323939e47335aa7938b83498f7a8f8
2020-12-11add junit coverageLukasz Muszkieta1-0/+102
Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I1c9d552ef4a44daace0d789a6b83728622fac3fd Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-11-19incorrect filtering of config bbs onKuleshov, Elena1-14/+133
Fix configuration BB setup for replaceInstance cases Fix configuration BB setup for replaceInstance cases Formatting fixes for workflowAction. Issue-ID: SO-3396 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia08e5d9c9057d2b991fb33fa89bfd833afc50d12
2020-11-12added in fix for new vnfc model id populate inKalkere Ramesh, Sharan1-0/+92
added in fix for new vnfc model id populate in tasks added junit for postProcessingExecuteBBActivateVfModule added confirmation test for cust ID update on replace Issue-ID: SO-3379 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id638d091f0f2d8c7ebb2c7651cce5139f82e272b
2020-11-03ensure default flags are set on executionMnushkin, Dmitry1-0/+4
ensure default flags are set on execution Issue-ID: SO-3362 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6b579cb8d26ab6a8e12c44372101bfb37480e12f
2020-10-27Merge "Revert "PNF service instantiation using building blocks fails""1.7.7Lukasz Muszkieta2-41/+5
2020-10-27Revert "PNF service instantiation using building blocks fails"Steve Smokowski2-41/+5
This reverts commit eeaf0330f835b237812bbbf26ca5bba3c44f4671. Reason for revert: <revert change to preform testing> Change-Id: I866ca90e763bfeca73e4a734bb47102f69fecf79 Issue-ID: SO-3322 Signed-off-by: Smokowski, Steve <ss835w@att.com>
2020-10-23Merge "PNF service instantiation using building blocks fails"Steve Smokowski2-5/+41
2020-10-22pnf service instantiation fix - IndexOutOfBoundsExceptionLukasz Muszkieta1-0/+2
Issue-ID: SO-3322 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I6c978cbe788281eac25fa7be6f4ff24c4bff9810 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-10-22PNF service instantiation using building blocks failsKalkere Ramesh, Sharan (sk720x)2-5/+41
End flow if ControllerExecutionBB is last in list Change-Id: Ia7020572a4418e7cbd5a9d167788f6476ff3554a Issue-ID: SO-3322 Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-10-17Methods with same name get mixed upElena Kuleshov1-2/+2
Methods with the same name and number of arguments but operating on different execution types get sometimes mixed up in Camunda. Issue-ID: SO-3270 Signed-off-by: Kuleshov, Elena (ek1439) <evn@att.com> Change-Id: I40319a185644c93c86a7883765a615129ee19f1e