aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks/src
AgeCommit message (Collapse)AuthorFilesLines
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
2020-04-17openstack inventory captureSmokowski, Steven5-465/+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, Cory7-159/+229
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 Smokowski2-33/+32
2020-03-26convert openstack to external tasksBoslet, Cory2-33/+32
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, Venkat2-0/+121
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-13Disable JUnits for PauseForManualHandling due toKuleshov, Elena1-5/+5
Disable JUnits for PauseForManualHandling due to sporadic errors. Issue-ID: SO-2659 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I56f69a6023c3a8e9f536576acc70ba6fb76d9d09
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 Smokowski3-50/+397
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, Elena3-50/+397
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 APIeeginux7-0/+234
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-22Add fluent setters for BuildingBlocks and ExecuteBuildingBlockkjaniak1-12/+4
Test which check more than one functionallity were separarted. Minor code improvements around BB and EBB. Issue-ID: SO-2582 Change-Id: I318f8ac299f7204fdd6799108182a29e519724d9 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-01-16Merge "1911 create appc adapter micro service"Steve Smokowski38-174/+277
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, Elena38-174/+277
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
2019-12-20Externalize AssignPnf Building Block and refactor existing code accordinglyRemigiusz Janeczek1-0/+137
Issue-ID: SO-2568 Change-Id: I1eec15862d6f0b5e8ae4c952b290be8d5fc786dd Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2019-11-04Call WorkflowActionTasks.sendErrorSyncAck()Gamboa, Gilbert1-1/+1
Call WorkflowActionTasks.sendErrorSyncAck() instead of WorkflowActionTasks.sendSyncAck() from WorkflowActionBB in error handling subroutine. Call WorkflowActionTasks.sendErrorSyncAck() instead of WorkflowActionTasks.sendSyncAck() from WorkflowActionBB in error handling subroutine. Issue-ID: SO-2489 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c1c2bb6af70d5e76cfbfd3ce54fb506ab653cf7
2019-10-23Adjust listener to actually execute on process endSmokowski, Steven1-164/+167
Adjust listener to actually execute on process end Issue-ID: SO-2481 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I97b284ac2ac14e2052fa845427494406e0274d36
2019-10-21Merge "Removed unused SerializableChecker class; updated imports in ↵Lukasz Muszkieta1-163/+0
SerializationTest class"
2019-10-15Removed unused SerializableChecker class; updatedOleksandr Moliavko1-163/+0
imports in SerializationTest class Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ifcbe5352bf5710a3527eeb394e516d3d864537db
2019-10-07Changed task names in bpmnBoslet, Cory1-21/+21
Changed task names in bpmn to be more understandable Issue-ID: SO-2396 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I270dbb6a40fc32eb61b7c382b3a81c98ce97e71a
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven1-111/+147
Updated with the error log messages Changed the code to do string compare for eventName update workflowaction to only persist if not resume Issue-ID: SO-2363 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I139f2427ae0f0253a15cc51003318686568cb514
2019-08-08Added null check for listFiles() result to prevent crashOleksandr Moliavko1-10/+17
at iterating through file list; replaced System.out.println calls with logger calls Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6b4a49228903f013127b39244db9d1b67c0ff2f0
2019-08-01Use correct name and id for VNFUnsetClosedLoopDisabledFlagActivityElena Kuleshov2-5/+5
Set name and id for VNFUnsetClosedLoopDisabledFlagActivity to VNFUnsetClosedLoopDisabledFlagActivity Issue-ID: SO-2183 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I401258b2db32c43566019a903a57ca61e30649e0
2019-07-26Use BuildingBlockExecution for PauseForManualTasksElena Kuleshov2-6/+7
Fix variable settings and execution object usage for manual tasks. Issue-ID: SO-2113 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I3fa24d70b46658ce5afcdc843d5482e157641112
2019-07-18Merge "Fixes in WorkflowAction"Steve Smokowski1-2/+3
2019-07-17add query stack data and populate table stepBoslet, Cory2-173/+247
Need to check if audit is enabled first in the delete record task Updates to audit delete redeisgn and data to table Various updates to logging, audit object, added tag to query, updated tag value. Updated write method to make sure an entry for this heat stack doesnt already exist to avoid duplicate entrys Updated unit test to account for get query Added so that id is not hidden from query results Updated the was delete is done plus minor updates. Updated delete method to use resttemplate instead of bowman client Combined the write and get stack data task into the external tasks. Removed the task to delete the stack data from db Updates to junit request id so its not a random id for test Updated service tasks in att BB to call external task Update to be a real uuid format due to failing unit test Updated fields to protected and updated unit test Issue-ID: SO-2111 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Change-Id: I8f479a046cf837403f60c330ed6ad8bc08a9c82f
2019-07-12Fixes in WorkflowActionr.bogacki1-2/+3
Fixes in WorkflowAction according to the Sonar analysis: -Fixed String comparison. -Removed unnecessary method parameters. -Updated junit test. Issue-ID: SO-2107 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I7522269e237f736521a627bcd1c8f77b0c776a70
2019-07-05mso will support new requeststate valuesGamboa, Gilbert1-101/+103
Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Added default FAILED request status in case rollback is not needed. Variable rollbackTargetState needs to be returned to WorkflowAction flow Variable rollbackTargetState needs to in to ExecuteBuildingBlock as well. Add new RequestDb migration file to expand infra_active_requests column request_status to 25 bytes to fit new request states. Change-Id: I0da2f8013001a28dcc20f64eb9455e4cfd3dd197 Issue-ID: SO-2093 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-07-05update bpmn to save extsystemerrorsourcePlummer, Brittany3-59/+77
Added ext error source to workflow exception Updated all lines that create this exception with source Added unit tests and updated existing ones Change-Id: Id9b3b1e6e24368224214a6370ea2d450ae667bfb Issue-ID: SO-2092 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-25Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)1-1/+12
Change-Id: I2b91332563d9c7b0f469c9e45a35cc1376465c5e Issue-ID: SO-2058 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18pass request-id to adapter call to match searchMnushkin, Dmitry2-0/+2
pass mso-request-id to adapter call to match search Change-Id: Ie9e4f8559fd9153d503ad5913838d7c5d175e7bd Issue-ID: SO-2033 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18Fixing NullPointerException thrown by EtsiVnfDeleteBBwaqas.ikram1-1/+12
Change-Id: I219989c25f05c94d01c7c697425da93997114216 Issue-ID: SO-2029 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max1-1/+1
moved around classes to packages that make more sense updated license headers in java files converted MultiStage logic to FlowManipulator moved tests to new package location and fixed issues allow for custom listeners before flowsToExecute moved validation classes to listener.validation Change-Id: Ic5416812ef9c5611fe19bf9b6aa316373b110ec6 Issue-ID: SO-2021 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski4-10/+16
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-15/+15
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-15/+15
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>