aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks/src/main
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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>
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, Cory2-579/+84
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-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-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
2020-04-17openstack inventory captureSmokowski, Steven3-257/+243
Begin heatbridge refactor initial check in of heatbridge Additional commits of heatbridge Update Heat bridge to write more AAI data Update to utlize HeatBrdige to populate AAI Adjust simulator endpoints to work again Remove not needed BB Test case, fix tc Refactor how AAI relationships are being built Issue-ID: SO-2777 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iffccc24e18b278188c3fe98bcb1ad9685229d0a2
2020-04-16move network adapter to an external client taskBoslet, Cory6-156/+226
Began impelenting new network external task. Made the vnfAdapterTask subflow an openstack subflow, refactored infra flows and BB to call it for network functions. Fixed bugs discovered through a robot dry run, added unit test, added support for rollback network request Updated junit test files for comparison due to not polling for response Removed the no longer used network adapter rest task from bpmn tasks Removed the unused network adapter async and its beans Removed network async client package from open pojo scan Issue-ID: SO-2813 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4c25892012cc86659ab122448ed1aca5cab91671
2020-04-14Correcting ControllerExecutionBB Idsunilb1-2/+2
Issue-ID: SO-2805 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: Ie827c5079267e947c3c982f82693eb82316255dd (cherry picked from commit c2e0e14578992ba50a37a72ba474be724e28b5be)
2020-04-08BB workflow with post instantiation is not workingSebastien Premont-Tendland3-17/+19
The new BB AbstractCDSProcessingBB was not using the InjectExecution.execute causing which seemed to be de-serialization issue. Issue-ID: SO-2797 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I323deee87d9cfd58d34a6edeca84843b7c87d0bf
2020-03-30Merge "convert openstack to external tasks"Steve Smokowski1-29/+28
2020-03-26convert openstack to external tasksBoslet, Cory1-29/+28
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-25mso vnf configuration update composite flowBonkur, Venkat1-0/+67
Existing Change Management VNF Configuration Update flow migrated to the generic building blocks Introduced Activity BB VNFConfigModifyActivity.bpmn Updates to AppcOrcherationPreProcessor, ApplicationControllerTaskImpl to handle the ConfigModify Activity block. Updates to the catalog migration scripts to include VNF-Config-Update Macro flow. Issue-ID: SO-2768 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I06be7a83fb2738b91b0257e1ec84298a7dafc1a1
2020-02-27SW UP building block and workflowEricMoore3-6/+6
This commit creates two bpmn 1. PNFSoftwareUpgrade.bpmn 2. PNFSWUPDownload.bpmn Respective Testcases are also written for both bpmns. Issue-ID: SO-2514 Issue-ID: SO-2515 Change-Id: Icb1706f1974341182f13b9125e09418b61571c52 Signed-off-by: EricMoore <eric.e.moore@est.tech>
2020-02-17Based on Controller Actor calling CDS or APPC(Current Flow)Manamohan1-0/+241
-Added BBNameSelectionReference table having bbName along with action,scope,actor -Updated CatalogDbClient to use BBNameSelectionReference Table -Updated ControllerExecution bmpn to select flow as per Controller Actor -Corrected Format Error Issue-ID: SO-2316 Signed-off-by: Pooja03 <pm00501616@techmahindra.com> Change-Id: I21fad846249f773308e34abcac134d3ee0694027 Signed-off-by: Manamohan <MS00534989@techmahindra.com>
2020-02-10Merge "modifications to create network to add lob"Steve Smokowski1-70/+115
2020-02-07AssignPnfBB - set orchestration status to Assigned after successful assignmentmharazin1-15/+26
Issue-ID: SO-2642 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I4247e464b1533025638880763ea9e2fe629b10c3
2020-02-05WaitForPnfReadyBB - set orchestration status to Register and then RegisteredLukasz Muszkieta1-33/+57
Issue-ID: SO-2644 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I2796baf4afabd47536ffa0d4deb5096608fc5cce
2020-02-03modifications to create network to add lobSmokowski, Steven1-70/+115
Add platform and line of business to network Update to split out network Issue-ID: SO-2637 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5cbc3bc77986b6d4d420d2158df46924fcd74c0b
2020-01-30Merge "Create ActivatePnfBB"Lukasz Muszkieta1-0/+56
2020-01-30Merge "add manual handling to rainy day handling for bbs"Steve Smokowski2-50/+300
2020-01-30Create ActivatePnfBBRemigiusz Janeczek1-0/+56
Issue-ID: SO-2607 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I1115defe4ddf417a7ea94f659cf2bea119029ebb
2020-01-29Merge "Create WaitForPnfReadyBB"Seshu Kumar M1-0/+156
2020-01-29AssignPnfBB connects PNF and service instance in AAIJoanna Jeremicz1-79/+23
Change-Id: I92ab4b45acb120d647ea3de7a455e2e873c12a72 Issue-ID: SO-2605 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-01-28Create WaitForPnfReadyBBLukasz Muszkieta1-0/+156
Issue-ID: SO-2606 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I55281130c8ce0fde68d7a0554dd9023e44b9f2b0 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena2-50/+300
Initial Manual Handling addition to Rainy Day BB handling. Reenable task API, add task variable setup. TaskTimeout will come from the configuration settings. Update the base path for the APIH manual tasks junit. Additional JUNIT tests for manual handling Add Manual as a primary policy for Change Management BBs. Error handling changes and robot tests for manual handling. Correct failure data retrieval when serviceSubscription is unavailable. Correct failure data retrieval when serviceSubscription is unavailable. Keep WorkflowException when manual pause gets invoked; improved error reporting. Issue-ID: SO-2616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I98a84c1a489bb7b24b68e567f604aeb074fd7bf9
2020-01-24decision point APIeeginux4-0/+118
ControllerRunnable interface: implemented by controller ControllerContext: Controller Context for controller execution ControllerPreparable interface:used to setup execution context ControllerExecutionBB:controller execution for building block ControllerExecutionDE:controller execution for camunda Skeleton implementation for APPC controller Skeleton implementation for SDNC controller Use ControllerExecutionDE for existing PNF configuration. Add integration tests for controllerExecutionBB/DE Add GenericControllerExecution activity for BuildingBlockExecution based Add GenericControllerExecutionDE activity for DelegateExecution based. CDS controller to be implemented by SO-CDS generic buildingBlock Actor seletion based on ingested metadata Issue-ID: SO-2070 Change-Id: I4020c2ce21468939690e2cef78bbadbfff4bd3e4 Signed-off-by: eeginux<henry.xie@est.tech>
2020-01-16Merge "1911 create appc adapter micro service"Steve Smokowski21-65/+144
2020-01-10Align AssignPnfBB with Service Macro CreateRemigiusz Janeczek1-17/+5
-move and align logic of BB delegates with tests -remove unnecessary classes -add tests cases for Pnfs in ExtractPojosForBBTests Issue-ID: SO-2568 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ic48e2c1c6ab852c33837091da3e7916b71c26466
2020-01-101911 create appc adapter micro serviceKuleshov, Elena21-65/+144
Added new appc adapter micro service. Made required code changes to use the new adapter. Issue-ID: SO-2596 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I880ecace64ec85ca4094a82bc1210798fd3bb85d