aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks
AgeCommit message (Collapse)AuthorFilesLines
2022-10-27Adding 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> (cherry picked from commit 878a6668ed9031e61c672d5554573fb13ae05cde)
2022-10-03Merge "Code & Workflow Enhancements for CNF - Upgrade"Lukasz Rajewski2-5/+49
2022-10-03Rollback Scenario for recursive orchestrationsreeja gattagouni1-41/+132
-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 - Upgradesanket123452-5/+49
- 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-08-31Merge "Enable long-running processes in ControllerExecutionBB"Lukasz Rajewski1-28/+56
2022-08-05Merge branch 'recursive-orch'Lukasz Rajewski4-1/+262
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-28/+56
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.mamedov1-55/+43
Issue-ID: SO-3830 Change-Id: I5cf8b1a998839813fd59576eb70eb79c72f2c2fe Signed-off-by: mamed.mamedov <mamed.mamedov@telekom.com>
2022-03-17AAI Relationship for Parent - Child Services with Composed Resource Nodesanket123451-6/+6
-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-01CNF - Upgrade Functionality - BPMN Infrasanket123451-0/+215
-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-01-10CNF Healthcheck query based on helm statussreejatechm1-59/+91
-Enhancement of CNFO model with helm upgrade -Included code changes with respect to HealthCheckBB Issue-ID: SO-3814 Signed-off-by: sreejatechm <sg00744975@techmahindra.com> Change-Id: I44f11f156c132d713f42f0a855adb6730b7c6abe
2021-11-26Enable CreateChildServiceBB for Service-Macro-CreateJozsef Csongvai1-0/+1
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I7979082a9f145a84f6f03cf2c44e9ccbca198c5a
2021-11-26Add service composition building blocksJozsef Csongvai2-0/+270
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I1f3eb0b6ae0e6ac1ce90dbd10d3737bb195c673b
2021-11-26Add REST client for Api-handlerJozsef Csongvai1-1/+3
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-08-26Merge "Implementation of HealthCheckBB"Seshu Kumar M1-0/+102
2021-08-25Implementation of HealthCheckBBsanket123451-0/+102
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-57/+195
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-04Enable WorkflowActionBB to skip last building blockJozsef Csongvai1-12/+41
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-07-28Merge "Fix ControllerExecutionBB flow."Lukasz Muszkieta1-85/+102
2021-07-28Merge "Fix NPE for GenericVnfHealthCheckBB"Lukasz Muszkieta1-0/+1
2021-07-27Fix ControllerExecutionBB flow.k.kedron1-85/+102
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-26Fix NPE for GenericVnfHealthCheckBBk.kedron1-0/+1
Issue-ID: SO-3719 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ifb8d959f5cf4c814cb0427bbc068bbc18980d925
2021-06-30Reducing org.reflections package loggingwaqas.ikram1-0/+1
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-24Updating pom version to 1.9.0-SNAPSHOTwaqas.ikram1-1/+1
Change-Id: Idb3e497148225d4158390b944f74e82ff9f771c8 Issue-ID: SO-3688 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-04-01CNF release name deliverd to CNF adapterLukasz Rajewski1-80/+0
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-09version upgrades plus cleanupBOSLET, CORY33-54/+43
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-02-18remove sub process error handling that silent successesKalkere Ramesh, Sharan1-57/+23
Issue-ID: SO-3432 Change-Id: I0dc26542301bd39398326ba28823453f3183a8a6 Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2021-02-17Merge "update camunda and spring to latest versions"Steve Smokowski1-6/+12
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)1-6/+12
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-15update the version for the H releaseseshukm1-1/+1
Issue-ID: SO-2765 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I563295123f7f8de7164495a7db3bc58872863098
2020-12-09added in support for delete instance cnfKalkere Ramesh, Sharan2-296/+338
Issue-ID: SO-3404 Change-Id: I1dccebefdeea8f53c4889cc7c61108462de0bf9c Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-11-19updated createVfModuleBB to skip create inventoryKalkere Ramesh, Sharan1-138/+132
Issue-ID: SO-3395 Change-Id: Ia989cf98fc676b149444a3440de77de09a4bbca0 Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-11-04bug fix - SO sends rest request to cds twice per one operationLukasz Muszkieta1-11/+1
Issue-ID: SO-3364 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I06a115addeb78097c789517ff35aa8fae3c1bd11
2020-11-03Added to handle inventory failure errors in bpmn.Boslet, Cory2-106/+112
Added to handle inventory failure errors in bpmn. Issue-ID: SO-3358 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia578a4e629ac816c79338fbfff7717ad348e9bc4
2020-10-27Merge "Revert "PNF service instantiation using building blocks fails""1.7.7Lukasz Muszkieta1-295/+280
2020-10-27Revert "PNF service instantiation using building blocks fails"Steve Smokowski1-295/+280
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 Smokowski1-280/+295
2020-10-22PNF service instantiation using building blocks failsKalkere Ramesh, Sharan (sk720x)1-280/+295
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-21Removed audit codeBoslet, Cory3-605/+87
Updated to error on inventory therefore no longer need audit Removed the audit UT test from source Removed the audit from the task services. Updated the BB unit test to not have audit anymore Changed robots to fix for create inventory. Delete the vnfc by id after each robot Create pserver in aai that ci is using Continue to fix robot test for heat bridge Continue to fix robots due to heatbridge enabled More changes to simulator to account for heatbridge for replace scenrios Added get resources scenrio for heatbridge Added header and added version to simulator Added correct response file and header for base module id Fixed the remaining failing service instance robots Changed to get tenant id else where when null Fixed the macro robots for heatbridge and getting resources Added scenrios that are still needed for heatbridge Added to connect when already exist and missing relationships Updated unit test to account for change to code. Issue-ID: SO-3316 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8cefebd91261fcb8ff03d582afb48517dd34625a
2020-10-17Methods with same name get mixed upElena Kuleshov1-3/+3
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
2020-10-07add work step option for failuresKuleshov, Elena1-1/+1
Introduce new Policy and workStep to handle failures Reapply changes using correct camunda modeler version. Issue-ID: SO-3287 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7e0a36305322c255f6678529f0a27c023fd983ef
2020-09-09Bpmn to cnf adapter implementation testing bpmnKalkere Ramesh, Sharan (sk720x)1-1/+1
BPMN changes related to CNF Adapter Change-Id: I9ccff712cc731bcd7469bd2b6dadaae49133e20f Issue-ID: SO-3199 Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-09-02Bpmn to cnf adapter implementation testing bpmnKalkere Ramesh, Sharan (sk720x)1-0/+80
BPMN changes related to CNF Adapter Change-Id: I5b41b7b0a3dbc3036bbdce7f1f9cf62832b44c7f Issue-ID: SO-3199 Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-09-01Bpmn to cnf adapter implementationKalkere Ramesh, Sharan (sk720x)1-83/+133
BPMN changes related to CNF Adapter Change-Id: I4c984b9508076381bb7b3d159955fb6bf724eca8 Issue-ID: SO-3199 Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-08-07Add support for configAssignmharazin1-1/+1
Issue-ID: SO-2646 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: Id69b3afd2bbb22607782d7d63409e381a1a23255
2020-08-06bump the master to 1.7.1seshukm1-1/+1
Issue-ID: SO-2940 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I888677f7d32ff35619be0f5bb2b677f56215f2e0
2020-07-31Create DeactivatePnfBB and include it into Service-Macro-Delete flow.Mateusz Gołuchowski1-0/+56
- created DeactivatePnfBB which changes orchestration status to inventoried when invoked - included BB into flow in R_MacroData script which initializes database - added support for mapping of service relations to PNFs - changed version of logging-analytics to 1.6.7 Issue-ID: SO-3111 Change-Id: I375db2014887f1f634adac31d4d1af3675f5911c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-06-03Fixed logging and have flow error on auditBoslet, Cory1-48/+78
Fixed logging and have flow error on audit failure. Issue-ID: SO-2973 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I712fece759deb651368b1eb4c524ddb0b0e46686
2020-05-26added assert statements in JUnits in 4 filesRupinder1-0/+1
Issue-ID: SO-2804 Change-Id: I63c5ff0fd23d0d30beaf32658115b7403f0dcfbf Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-28Adding Generic VNF information in ControllerExeuctionBB flowSunil1-27/+7
Solving BlueprintName and BlueprintVersion issue Changing vf-module to vfmodule Updating AAI with Orchestration status Issue-ID: SO-2806 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I91aa653b946bae3940000f724710de87af3ce7df