summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2020-04-24Adding 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: Ibaad1a61d3c966041cfe86134803ad78cc31b58b
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 Smokowski1-0/+25
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, Brittany1-0/+25
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 APIeeginux12-0/+1213
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 "1911 create appc adapter micro service"Steve Smokowski1-0/+166
2020-01-101911 create appc adapter micro serviceKuleshov, Elena1-0/+166
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
2019-12-18Support for volume groups on replace VF Module.Kuleshov, Elena1-0/+366
Support for volume groups on replace VF Module. [MSO-8375 R2002} Add full JUnit coverage for replaceVFModule scenarios, add replace changes to general macro data. Fix a JUnit to pass correct parameters to a method. Add back setting volume group id for new volume group on replace action. Issue-ID: SO-2577 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73289da21e0c7de7451b63e99e184692e800aaf0
2019-12-17add junit coverageLukasz Muszkieta1-9/+83
Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I2ca18a7154ff07801defa17d2f4a19ea9dba7962
2019-12-13Refactor WorkflowAction.valiadteResourceIdInAAI -Gamboa, Gilbert1-12/+496
Refactor WorkflowAction.valiadteResourceIdInAAI - break up the method into smaller pieces to handle different resouce type separately. Include aai object id info in MultipleObjectsException. Do not throw DuplicateNameException when MultipleObjectsFoundException is caught. Handle BAU and let MOFException be thrown as illegal state exception. Issue-ID: SO-2564 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib78fbbe9fbea3e4815a7b19071ea2ce30dce6c25
2019-12-13Merge "Added a call to buildAndThrowException when vf"Steve Smokowski1-0/+51
2019-12-13Added a call to buildAndThrowException when vfBhatt, Prema1-0/+51
Added a call to buildAndThrowException when vf module not in AAI. Updated the main error message and added Unit test. Replaced call to buildAndThrowException with AAIEntityNotFoundException when vf module not in AAI. Updated Unit test. Updated Unit test name. Deleted unused code. Issue-ID: SO-2560 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7bc22465147d6fa6dc2caeb77fc3e51a86a4ee31
2019-12-11Need to globally check object name duplicates inGamboa, Gilbert1-0/+52
Need to globally check object name duplicates in AAI for vf-module, volumegroup and configuration. Issue-ID: SO-2563 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I88a89a4a3ba02d5d9d586593d259580bf4546c96
2019-12-10Merge "serviceinstanceid being overwritten by vnfid in"Steve Smokowski1-0/+3
2019-12-05serviceinstanceid being overwritten by vnfid inPlummer, Brittany1-0/+3
Added check for vnfReplace before setting serviceInstanceId Added test to make sure serviceInstanceId is not overwritten Removed unused action import from WorkflowAction Formatted WorkflowActionTest to fix build failure Issue-ID: SO-2553 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I04cc668d4afbecd67b169f4e9d357ffc68cab02a
2019-12-04use config value to set enable heatbridge flagMnushkin, Dmitry2-4/+45
use config value to set enable heatbridge flag Issue-ID: SO-2552 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0d92b15cc2f31ce01c60c901f0f3af1c4105e06c
2019-11-15updated uri regular expression to support resumeSmokowski, Steven1-0/+21
updated uri regular expression to support resume Issue-ID: SO-2522 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0a44a374d46c7b3892acabe31c0621d37103b37a
2019-10-23Adding preload capability using userParamswaqas.ikram7-137/+520
Change-Id: Id107f2c9c2da643ecb57daaef26dfa2bfd89f8aa Issue-ID: SO-1635 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-10-18add junit coverage and sonar fixLukasz Muszkieta1-17/+53
Change-Id: I80632046b259cd75b0ab57e2c7bf673c3d021bcd Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-10-09Merge "mso should not send content type http header to"Steve Smokowski1-1/+17
2019-10-09Merge "Add model info on CHANGEASSIGN req to SDNC"Steve Smokowski1-0/+65
2019-10-07Converted tests to use LATESTGamboa, Gilbert1-8/+10
Always use LATEST for A&AI based tests rather than a particular version Issue-ID: SO-2398 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7840b46f8d50b74a6e6b98270c4f3febc4d0b993