aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-04-28move aai-client into its own projectBenjamin, Max12-5/+450
move aai-client into its own project Issue-ID: SO-2837 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20b700d160efbdf81ff22c9ca0fab73b28d3649b
2020-04-28Merge "Adding Generic VNF information in ControllerExeuctionBB flow"Steve Smokowski2-2/+40
2020-04-28Merge "add junit coverage"Lukasz Muszkieta1-14/+64
2020-04-28Adding Generic VNF information in ControllerExeuctionBB flowSunil2-2/+40
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-22add junit coverageLukasz Muszkieta1-14/+64
Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I993537873f19329753a958faf708119b5aafa9b7
2020-04-17openstack inventory captureSmokowski, Steven2-0/+111
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-17Updating etsi-sol003-lcm-api modulewaqas.ikram10-24/+23
Change-Id: If9711155d87d3f09e291b8b18e004ccff875e11e Issue-ID: SO-2771 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-04-16move network adapter to an external client taskBoslet, Cory4-305/+32
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-07add junit coverageLukasz Muszkieta1-1/+43
Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Idbe2e35eecb16706d4ddf5447e4cc1efc0aa78fd
2020-04-04Added logic to update the requests DB when aBoslet, Cory1-2/+136
Added logic to update the requests DB when a Create or Delete BB is silent success and updated enum Updated regrex and add junit test for orch validator and formatted files Formatted pom files that were not formatted correctly. Removed use of ternary operator if statement and moved enum to static final. Updated equals method to include resource status message for mockito verify Removed resourceStatusMessage from equals and used argument capture instead Issue-ID: SO-2782 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I3a292f57d2771200ce85a99e845e776e2f3bd600
2020-03-31simplify fabric into add/delete stepsKuleshov, Elena1-11/+6
Implement AddFabricConfigurationBB and supporting functionality. Add verifications for Add/Delete FabricConfigurationBBs. Implement DeleteFabricConfigurationBB and related functionality Issue-ID: SO-2774 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I58ad9b6155750c73b0c83fed9ca7b35a7e12b617
2020-03-30Merge "convert openstack to external tasks"Steve Smokowski7-32/+32
2020-03-26convert openstack to external tasksBoslet, Cory7-32/+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/+56
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-03-25Merge "Ingest and Process Service Function"Steve Smokowski1-0/+3
2020-03-24Ingest and Process Service FunctionSmokowski, Steven1-0/+3
Intial commit of writing service function to AAI Update schema.sql table to pass all unit tests Update local sql to setup CI server for test Update schema to work and fix passwords Issue-ID: SO-2763 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c517a485841574cde849e1c4e86c3bb7b7dcf89
2020-03-24Use setVariablesLocal for setting task variablesKuleshov, Elena1-2/+2
Use setVariablesLocal for setting task variables in a correct scope in Camunda. Wait for task to be created before query to address robot test slowdown. Issue-ID: SO-2761 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8229326f48936dc4bc59162341c12355a64982a5
2020-03-19remove duplicated and not used codeLukasz Muszkieta1-55/+0
Issue-ID: SO-2634 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I06894b2d4bb0bdc9b33cccd50df1055d79d89080
2020-03-16split single and plural graph inventory urisBenjamin, Max10-59/+41
split single and plural graph inventory uris updated all object references in MSO using graph inventory plurals corrected unit test stubbings added additional unit tests correct interfaces to return plural after related-to modified the way http aware uris are built reformated interfaces to no longer duplicate methods corrected issues with identity of unbuilt uris removed AAIUri references from groovy files fixed clone behavior on Uri objects Issue-ID: SO-2743 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I37aa2a13dcbf010b6c82ad73af3be5db5d9bd673
2020-03-12Implementation of GenericPnfCDSProcessingBBmharazin2-4/+156
Issue-ID: SO-2646 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: Ie146210b2cc0ea15f02d19261510d24a7bc50043
2020-03-09add junit coverageLukasz Muszkieta1-5/+64
Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Icaf515e64cab5cae2968e5e370d3e032487d56a7
2020-03-05Support PNF software upgrade workflow using SDNC LCM APIEnbo Wang2-4/+135
Issue-ID: SO-2589 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I4b6940c21b70eeeaf96e8781762cb7029572e7ae
2020-02-27SW UP building block and workflowEricMoore2-4/+4
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-26Move workflowResourceIds Ids setting logic from WorkflowActionRemigiusz Janeczek1-0/+124
Introduce WorkflowResourceIds Extension Other minor changes: Improve utilization of Streams API Remove some dead code Simplify exception creation when northBoundRequest is null Issue-ID: SO-2634 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I0cf5b4c508e0d3d46d91c36bfd6b9cc6529136a0
2020-02-21Merge "SO-CDS PNF BB"Seshu Kumar M3-54/+274
2020-02-20Merge "Skips the VfModule or VNF Configassign/ConfigDeploy action."Max Benjamin1-0/+202
2020-02-20SO-CDS PNF BBtragait3-54/+274
This commit implements code for PNF BB for pnf software upgrade usecase. Issue-ID: SO-2090 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I3da3ba965bc92fda0ecc542d42afe694f19e06e1 Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-02-19Generic cds payload for vnf/vf-module/service.tragait2-1/+203
Things done- -Fixed review comments. -Added logic to create payload using scope and action. -Populate instance parameters from SO-request to CDS payload for VNF. -Implementation of setting orchestration status after CDS completes its operation based on SO scope. -Make use of ControllerRunnable interface. -Changed actionname to actionName to action.value as per Oscar's suggestion. -Setting orchestration status after CDS completes its operation for VF-Module. -Populate instance paraneters from SO to CDS for VF-Module. Issue-ID: SO-2312 Signed-off-by: prathamesh <prathamesh_morde@yahoo.ca> Change-Id: I026d9f7909e486c68f274b7e56c8bd7c8fdcd521 Signed-off-by: prathamesh <prathamesh_morde@yahoo.ca> Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-02-18Merge "Based on Controller Actor calling CDS or APPC(Current Flow)"Steve Smokowski1-0/+127
2020-02-17Based on Controller Actor calling CDS or APPC(Current Flow)Manamohan1-0/+127
-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-14Added logic to prevent exceptionbuilder fromPlummer, Brittany1-0/+72
Added logic to prevent double exception creation Issue-ID: SO-2661 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib575d5914a57b0417b7c6b830cdead8451438e12
2020-02-13Skips the VfModule or VNF Configassign/ConfigDeploy action.Manamohan1-0/+202
Change-Id: Ic34900cc3664944c9ecd3b5636d87deefb178aee Issue-ID: SO-2317 Change-Id: I102d340b248ab67a9801af178e6b76a9a15821be Signed-off-by: Manamohan <MS00534989@techmahindra.com>
2020-02-11AssignPnfBB - store model related PNF parameters in AAIJoanna Jeremicz1-0/+32
Issue-ID: SO-2640 Change-Id: Ie30c928e730ab858e9fe4ac5a4b14cebf6c0f806 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-02-07AssignPnfBB - set orchestration status to Assigned after successful assignmentmharazin1-0/+19
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-0/+20
Issue-ID: SO-2644 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I2796baf4afabd47536ffa0d4deb5096608fc5cce
2020-01-30Merge "Create ActivatePnfBB"Lukasz Muszkieta2-14/+54
2020-01-30Merge "Updated to send back actual exception message"Steve Smokowski2-1/+27
2020-01-30Merge "add manual handling to rainy day handling for bbs"Steve Smokowski2-7/+101
2020-01-30Create ActivatePnfBBRemigiusz Janeczek2-14/+54
Issue-ID: SO-2607 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I1115defe4ddf417a7ea94f659cf2bea119029ebb
2020-01-29Updated to send back actual exception messagePlummer, Brittany2-1/+27
Updated to send back actual exception message Updated exception to include message Issue-ID: SO-2619 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id4ac60dee682b6b6e18c6ccbabcc60a61c2a1db7
2020-01-29AssignPnfBB connects PNF and service instance in AAIJoanna Jeremicz3-0/+110
Change-Id: I92ab4b45acb120d647ea3de7a455e2e873c12a72 Issue-ID: SO-2605 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena2-7/+101
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 APIeeginux13-0/+1219
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 ExecuteBuildingBlockkjaniak5-225/+165
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 "Use the timeout from the heat template instead of"Steve Smokowski1-3/+4
2020-01-16Merge "1911 create appc adapter micro service"Steve Smokowski2-0/+178
2020-01-15Use the timeout from the heat template instead ofBoslet, Cory1-3/+4
Use the timeout from the heat template instead of hardcode WIP Added custom uuid to vf adapter delete rest request Added and fixed compilations errors due to interface change added logic to check that the timeout is less than 120 Set the cust model uuid in bpmn so its avaiable to adapter. Added to use timeout from heat template for network. Updated unit test to account for new param change to method. Fixed and added missing param to deletevf in vnfadapterrestv2 Fixed failing junits due to adding model cust id to request Issue-ID: SO-2601 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6ac276f37d4b6423501fb07fe081828ea3bed235
2020-01-101911 create appc adapter micro serviceKuleshov, Elena2-0/+178
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
2020-01-09move population of instance names in requestdbPlummer, Brittany1-1/+106
Removed saving instanceName in BBInputSetup Removed test for setting instanceName in BBInputSetup Moved saving instanceName to workflowaction Started adding tests for setting instanceName Added unit tests for setting instanceName Updated last modified by from apih to bpmn Updated access modifier for method no longer needed Removed requestId parameter no longer used Updated test to match parameter changes in BBInputSetup Added volumeGroup lookup by vnf and volumeGroup id Issue-ID: SO-2595 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib1bbc53d00ae0257f2678756a1e8f9291d8e7fa2
2019-12-18Merge "add junit coverage"Steve Smokowski1-9/+83