aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2024-07-08Upgrade SO to Java_17Sreeja Gattagouni8-34/+33
-Removal of aff and logging-filter-base dependencies. -CI build java17 branch-jdk17 version:https://gerrit.onap.org/r/c/ci-management/+/138252 Issue-ID: SO-4125 Change-ID: I58f07f888a814b999f92f8d89909b0666d0b9699 Signed-off-by: Sreeja Gattagouni <SG00744975@techmahindra.com>
2023-04-11Adding namespace supportwaqas.ikram2-21/+8
Change-Id: Iac15ae319f335dd67a660c2cf7ac051cf1c9077e Issue-ID: SO-4097 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-02-17[SO] SO changes to support Delete ASraviteja.karumuri4-35/+284
Issue-ID: SO-4084 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ib75076bdd98291b48149a9ad859fd383a551cd45
2023-02-16[SO] Pending Unit test cases for create changes in SOraviteja.karumuri3-0/+347
Issue-ID: SO-4070 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I75f0b41bc37f9c437fd1451a7efb85be803a001d
2023-02-13[SO] Pending Create changes for SO-API and BPMN-INFRA to support CNF's ↵raviteja.karumuri2-0/+356
through ASD Issue-ID: SO-4069 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I91e6d2dfc3ce84f7fe496b9b87c2a4ac6f521673
2023-02-10[SO] Create changes for SO-API and BPMN-INFRA to support CNF's through ASDraviteja.karumuri1-2/+2
Issue-ID: SO-4069 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ia8defe62c70e126df683ca523b10efe55a26db87
2022-08-31Merge "Enable long-running processes in ControllerExecutionBB"Lukasz Rajewski2-1/+33
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja2-0/+34
instantiated When instantiating a service with multiple PNFs, SO differentiates them using ModelCustomizationId. This causes issues when creating multiple instances of same model resource, and each lookup would return the same object. With this patch, Instead of using ModelCustomizationId, we enable SO to use instanceName parameter to differentiate the PNFs. Issue-ID: SO-3948 Signed-off-by: Aleem Raja <aleem.raja@t-systems.com> Change-Id: I9dd039ac786a60f7cf4d4a9c456c7681f64d6786
2022-08-05Merge branch 'recursive-orch'Lukasz Rajewski5-0/+706
Issue-ID: SO-3980 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie0cd0f973800196d5cb1e038db4a49208a6c4a3b
2022-06-29Enable long-running processes in ControllerExecutionBBJozsef Csongvai2-1/+33
Instead of blocking a thread while waiting for controller response, ControllerExecutionBB is now using camunda receive task to support long running processes without increasing the camunda job timeout. A new property was added to configure the gRPC client's keep alive ping mechanism, which will identify connection issues and prevent the process getting stuck when the controller crashes. Issue-ID: SO-3953 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Iaf6438dba76e715dba846bf45ef47b6a91239c4a
2022-05-30Enable DeleteChildService functionalitymamed.mamedov2-3/+76
Issue-ID: SO-3830 Change-Id: I5cf8b1a998839813fd59576eb70eb79c72f2c2fe Signed-off-by: mamed.mamedov <mamed.mamedov@telekom.com>
2022-05-09Switch over BBRollback to use DB lookups.Oleg Mitsura1-0/+90
Issue-ID: SO-3793 Use feature provided by SO-3720. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I31f2c00df738c37d04e5ad901dd94c9c6d4b147e
2022-03-17AAI Relationship for Parent - Child Services with Composed Resource Nodesanket123451-3/+1
-Code to add Relation between Parent & it's Child Services -Node used to connect parent and child in AAI is ComposedResource -Parent Service can be related with multiple Child Services via composedResource Node. Issue-ID: SO-3832 Change-ID: I73f97f986a817d423f92f8d922dcd9647b8a6adc Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2022-01-20Merge "delete redundant test dependency"Seshu Kumar M10-104/+238
2021-12-21Use resource list for SkipCDSBuildingBlockListenerJozsef Csongvai4-123/+104
The listener was using a customizationId from the requestPayload. Since the requestPayload is slightly different for VNF LCM requests, this logic was inconsistent and not working properly. By adding modelCustomizationId and modelVersionId to the Resource class, the SkipCDSBuildingBlockListener can leverage this to perform more reliable lookups for customization objects. This also enables SkipCDSBuildingBlockListener to run for delete requests. Previously this would have failed as the resourceKey is instance-id in the delete case and customization-id in for create. By using the explicit property of the resource object, there will be no confusion. Issue-ID: SO-3807 Change-Id: I0922e5e7373990d9b409651cb4365e11d5618558 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-11-26Enable CreateChildServiceBB for Service-Macro-CreateJozsef Csongvai1-0/+133
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I7979082a9f145a84f6f03cf2c44e9ccbca198c5a
2021-11-26Add service composition building blocksJozsef Csongvai1-0/+145
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I1f3eb0b6ae0e6ac1ce90dbd10d3737bb195c673b
2021-11-26Add request builder for child servicesJozsef Csongvai1-0/+236
The builder parses a child service request from the so request payload. Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I2db54160ae44e229f97190f66dd5b5cd89cc4598
2021-11-26Add REST client for Api-handlerJozsef Csongvai1-0/+121
This enables calling api-handler from bpmn-infra Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I59a6c7859505f9fca4729089914f43834ceb6323
2021-11-25delete redundant test dependencyLukasz Muszkieta10-104/+238
Issue-ID: SO-3772 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Ia49b9e849eb4a331295194282e8d656f5eafd75a
2021-10-20Add missing code for enabling VNF LCM featuresJozsef Csongvai3-1/+42
This ensures isBase is set on vf-modules in delete flows, which will ensure correct deletion order. It also adds a AAI lookup for vnfs to fetch modelCustomization ids, which are necessary for validations in service-macro-upgrade. Issue-ID: SO-3794 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I4a6f5eb21633b4a8be8107b290b04c77d854bc0d
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 M3-16/+251
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 Pruss3-16/+251
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-11Fix macro flow resource blocks processing orderLukasz Rajewski5-53/+416
Change-Id: I9941cf15d65b5c463126d99e03aa4eb0c2e8c183 Issue-ID: SO-3705 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
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 Muszkieta5-180/+379
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 Rzepecki5-180/+379
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 Rzepecki1-0/+219
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, DMITRY1-0/+22
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-01-29Merge "add junit coverage"Seshu Kumar M1-5/+78