summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2024-03-05[SO] Code improvement in bpmn-infra supporting kafka change1.13.0sushant531-0/+1
Code improvement in bpmn-infra supporting kafka change Issue-ID: SO-4122 Change-Id: I3924418d16f8f6d9270278f1894e224a216d1cf2 Signed-off-by: sushant53 <sushant.jadhav@t-systems.com>
2023-08-28[SO] Macro flow for PNF-Modify operationRupali Shirode4-1/+78
Macro flow for PNF-Modify operation Issue-ID: SO-4111 Change-Id: Ic51cbee5fe59f3aafb2ec41773504b183763d9ec Signed-off-by: Rupali Shirode <rupali.shirode@t-systems.com>
2023-05-03Code changes in BPMN infra for RAN Slice Use caseAbhishek Patil6-4/+165
New module so-bomn-moi is created. New bpmn flows : AssignRANNssiBB ActivateRANNssiBB ModifyRANNssiBB DeleteRANNssiBB Issue-ID: SO-4039 Signed-off-by: Patil <Abhishek.Patil@t-systems.com> Change-Id: Ifad4e0a65dc810a753d30123a84c08081bcfd987
2023-04-12Merge "Code changes in SO api-handler for RAN Slice"Lukasz Rajewski1-0/+1
2023-04-11Adding namespace supportwaqas.ikram1-20/+34
Change-Id: Iac15ae319f335dd67a660c2cf7ac051cf1c9077e Issue-ID: SO-4097 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-03-31Code changes in SO api-handler for RAN SliceAbhishek Patil1-0/+1
Issue-ID: SO-4038 Change-Id: Ifad4e0a65dc810a753d30741a84c08081bcfd258 Signed-off-by: Patil <Abhishek.Patil@t-systems.com>
2023-02-17[SO] SO changes to support Delete ASraviteja.karumuri7-61/+251
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.karumuri1-11/+11
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.karumuri5-15/+223
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.karumuri10-4/+457
Issue-ID: SO-4069 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ia8defe62c70e126df683ca523b10efe55a26db87
2023-01-11Add or Delete a PNF to an Active Servicesreeja gattagouni4-2/+143
-This feature Enables adding or deleting a PNF to an active Service. Issue-ID: SO-4046 Change-ID:I73f97f986a817d423f92f8d925dcd0947b8a2503 Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
2022-10-18Adding CNF Upgrade Code Enhancementssanket123451-1/+1
-Code Enhanced for CNF- Upgrade. -Code changes Deactivate older version of VfModule & VNFs while upgradation by giving older version inputs to SDNC. -Enabled onap-model-info true for Deactivate, which can be now seen in logs while Deactivation of VfModule/VNF. -New changes enable to fetch data from UserParams instead of RelatedInstanceList, which will further simplify the payload. Issue-ID: SO-3857 Change-Id: I99f71f025d813b413f82f1a802bab8867d0a9cbb Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2022-10-03Merge "Code & Workflow Enhancements for CNF - Upgrade"Lukasz Rajewski4-7/+9
2022-10-03Rollback Scenario for recursive orchestrationsreeja gattagouni1-2/+113
-Child Services may fail in any of the BB's while creation of composite services, to handle in efficient manner, it is complied with existing rollback logic. -In case of Child Services >1 , when Workflow fails, the instantiated child remains in COMPLETED status, thus rollback changes ensure that such services are Deleted by triggering DeleteChildSvcBB. -Parent Service is ROLLED-BACK in case of any child service failing in the workflow. Instantiated child services are Deleted from AAI as well. Issue-ID: SO-3982 Change-ID:I73f97f986a817d423f92f8d922dcd9647b8a2503 Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
2022-10-03Code & Workflow Enhancements for CNF - Upgradesanket123454-7/+9
- Adding New Building Block : VfModuleUpgradeBB, which delgates Workflow to next BB by just changing AAI Orch_status, else WF fails during Orchestration flow validation DB lookup. - Adding changes to BB Inputs to take new version VNF & VFM model details and pass to BBs, as done for Service-Macro-Upgrade. - Adding new operations in CDS to skip execution,when SDC Model has skipCDS=True. - Calling CNF Adapter with existing heatStackID & passing it for CNF-Upgrade with new customization details. Issue-ID: SO-3857 Change-Id: I69f71f825b812d423f82f1a902dcb8567d8a6adb Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2022-09-07Update nf_type for PNF in AAIaleem.raja@t-systems.com1-0/+1
Update nf_type for PNF in AAI to distinguish different PNFs nf_type value will come from SDC properties Issue-ID: SO-3967 Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com> Change-Id: I9dd039ac098a60f7cf4d4a9c456c7681f64d9987
2022-08-31Merge "Enable long-running processes in ControllerExecutionBB"Lukasz Rajewski1-0/+19
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja2-0/+4
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 Rajewski15-16/+795
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 Csongvai1-0/+19
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-06-07Merge "Enable DeleteChildService functionality" into recursive-orchrecursive-orchJozsef Csongvai4-15/+189
2022-05-30Enable DeleteChildService functionalitymamed.mamedov4-15/+189
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-74/+83
Issue-ID: SO-3793 Use feature provided by SO-3720. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I31f2c00df738c37d04e5ad901dd94c9c6d4b147e
2022-04-21Processing Priority for Nested Servicessreeja gattagouni1-0/+1
- Processing Priority For Nested Services. - Prioritising services by mentioning priority number while triggering requests will allow the Services to be instantiated as per the priority in a Nested-Services having Parent-Child Services Relationships. Issue-ID: SO-3855 Change-Id: I66d83f324c122d842f52f0b808dab5640b8c9abf Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
2022-03-17AAI Relationship for Parent - Child Services with Composed Resource Nodesanket123451-1/+40
-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-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-11-26Enable CreateChildServiceBB for Service-Macro-CreateJozsef Csongvai7-11/+101
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I7979082a9f145a84f6f03cf2c44e9ccbca198c5a
2021-11-26Add service composition building blocksJozsef Csongvai3-0/+169
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/+198
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-26Enable recursive model by adding services to resourcesJozsef Csongvai1-0/+4
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I13ea0986b9c81971432626163d323991b57f9545
2021-11-26Add REST client for Api-handlerJozsef Csongvai3-0/+104
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-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