aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/main
AgeCommit message (Collapse)AuthorFilesLines
2022-08-10[SO] Enhance Delete AS Workflow(s) to launch SO CNFM for Delete ASraviteja.karumuri6-73/+168
Issue-ID: SO-3886 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I7776fee0ea812e17052553e03a015863004e9f5d Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech>
2022-07-27[SO] SO BPMN Infra changes for sending resourceId to CNFM.raviteja.karumuri1-1/+3
Issue-ID: SO-3979 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I7931fa8025af09def6bb3356072fb79bc03dbf63
2022-07-22[SO] SO BPMN Infra shall trigger Delete AS Instance workflow(s).raviteja.karumuri1-0/+82
Issue-ID: SO-3885 Change-Id: I6e5a1501fcbb68b98ce0c7787d67996b96fa95f2 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech>
2022-07-19[SO] CNF Lifecycle parameters updateSagarS1-2/+30
Change-Id: Idc5e4c19825da65c50deac8fc6e2fed73755885a Signed-off-by: SagarS <sagar.shetty@est.tech> Issue-ID: SO-3885
2022-07-12[CNFM] Adding sattus monitoring changesSagarS5-9/+201
Change-Id: I35a1441a61e858f5724ea3dcc884ad9bc3a1c8b1 Signed-off-by: SagarS <sagar.shetty@est.tech> Issue-ID: SO-3950
2022-06-16[SO] Fixing build issuewaqas.ikram1-1/+1
Change-Id: I559a9ff94bc077652336aa5abc80aef942d9cae9 Issue-ID: SO-3905 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2022-06-16[SO] CNF Invoke AS instance updatesSagarS4-11/+77
Change-Id: I221df282a8cf1b9b4b0c579517393d2818eafaf2 Signed-off-by: SagarS <sagar.shetty@est.tech> Issue-ID: SO-3905
2022-06-10[SO] Adding logic to invoke cnfmwaqas.ikram8-60/+383
Change-Id: I2c0e625724a394fe091a0ed1c6efabcd98e606ff Issue-ID: SO-3905 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2022-06-08[SO] CNF Updates bpm updatesSagarS1-40/+8
Change-Id: I3ae0e4b96ce45ebdc7daf13d6666f570e05d95c5 Signed-off-by: SagarS <sagar.shetty@est.tech> Issue-ID: SO-3905
2022-06-07[SO] CNF UpdatesSagarS1-0/+2
Change-Id: I85ca8e675ca408d33ede87703d97c0ffd212f316 Signed-off-by: SagarS <sagar.shetty@est.tech> Issue-ID: SO-3905
2022-05-12[SO] Implementing CNFM API endpointSagarS3-3/+96
Change-Id: I45202df4cd3a418414b1189cfc59bb845c37edd4 Signed-off-by: SagarS <sagar.shetty@est.tech> Issue-ID: SO-3905
2022-03-03Merge "CNF - Upgrade Functionality - BPMN Infra"Lukasz Rajewski3-0/+10
2022-03-01CNF - Upgrade Functionality - BPMN Infrasanket123453-0/+10
-Adding new blocking UpgradeVfModuleBB -Integrating new block in bpmn-infra wih new macro-action in catalogDB. -Changes added in Workflow to call UpgradeVfModuleBB. Issue-ID: SO-3857 Change-Id: I98f81f325a311d723f62f0a802bcd8641b9a6cbc Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Signed-off-by: Lukasz.Rajewski <lukasz.rajewski@orange.com>
2022-02-22CNF - Upgrade Functionality - CNF Adaptersanket123454-0/+332
-Added new endpoint in CNF Adapter for CNF-Upgrade. Issue-ID: SO-3858 Change-Id: I68f32f215d232d723f44f1a103acf5431d6c7abe Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2021-12-21Use resource list for SkipCDSBuildingBlockListenerJozsef Csongvai5-42/+106
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-10-20Add missing code for enabling VNF LCM featuresJozsef Csongvai3-6/+12
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-09-15Cnf-adapter is not able to update relationship in AAIsanket123452-4/+39
Passing 2 more parameters vnfId and vfmoduleId from bpmn-infra to cnf-adapter Issue-ID: SO-3761 Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Change-Id: I79f12f115d112d713f32f0a400aeb6532d7c6ade
2021-08-26Merge "Implementation of HealthCheckBB"Seshu Kumar M10-0/+435
2021-08-25Implementation of HealthCheckBBsanket1234510-0/+435
Code changes to implement HealthCheckBB Issue-ID: SO-3691 Change-Id: I88d22f125c122d813f42f0b800aeb6530d7c6acf Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2021-08-25Implement Building Blocks for CNF AAI updatesanket123453-0/+189
Code changes to implement Building Blocks for CNF AAI update and delete Issue-ID: SO-3717 Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Change-Id: I93b555800a24048f6ecf4e7e786e4bdefa6952fc
2021-08-13Merge "Add new endpoint and macro for service upgrade"Seshu Kumar M6-2/+151
2021-08-13Merge "Enable ControllerExecutionBB for service scope"1.9.0Seshu Kumar M5-7/+29
2021-08-04Add new endpoint and macro for service upgradeJozsef Csongvai6-2/+151
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-7/+12
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 Csongvai5-7/+29
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-11/+89
2021-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss4-11/+89
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 M7-175/+486
2021-07-11Fix macro flow resource blocks processing orderLukasz Rajewski7-175/+486
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-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-18Add VNF-Macro-Create and VNF-Macro-DeleteJozsef Csongvai5-55/+57
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-04-30Merge "SO refactor - extract junit from WorkflowActionTest to ↵Lukasz Muszkieta3-3/+1
ServiceEBBLoaderTest Issue-ID: SO-3489"
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 Rzepecki3-3/+1
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 Rzepecki5-431/+504
Issue-ID: SO-3581 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I5bbe63371045333213542c275e763ac7305369a1
2021-03-24request db endpoint and bpmn cleanupKULESHOV, ELENA2-45/+43
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 VNFpwielebs3-114/+191
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