summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
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-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
2019-10-07Add model info on CHANGEASSIGN req to SDNCKuleshov, Elena1-0/+65
Add model info on CHANGEASSIGN req to SDNC Issue-ID: SO-2397 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieaf61e065273581512d797055dd7aef6f2a942d7
2019-10-04bug fix with wrong json handling in ConfigAssignVnfLukasz Muszkieta1-14/+64
Change-Id: Ib1a51a69bf421e33e439da6f1cb0abafd760cca2 Issue-ID: SO-2382 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-10-01Improve fall out case handlingSmokowski, Steven2-4/+3
Update Openstack adapter to handle fall out cases with greater stability Issue-ID: SO-2376 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20116cbd3b63bb29c9bf4ed99e92bd5f2b691da5
2019-10-01mso should not send content type http header toPlummer, Brittany1-1/+17
Updated getHeaders to not add Content-Type header on GET requests Updated getHttpHeaders boolean to includeContentType Issue-ID: SO-2366 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I476bf02791d699cda2ca4118c8f578c96461097e
2019-09-26Set WorkflowException on BPMN WF errorElena Kuleshov1-0/+13
WorkflowException needs to be set when execution of a custom workflows fails due to an error from BPMN Issue-ID: SO-2369 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ie5ab66105681588000693fdbb3ca89310aee8a7c
2019-09-25Merge "sdn post 1908 rollback and resume mso should"Steve Smokowski2-0/+72
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven1-6/+10
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-09-24sdn post 1908 rollback and resume mso shouldGamboa, Gilbert2-0/+72
Do not remove UnassignFabricConfigurationBB when rolling back to created Do not remove UnassignFabricConfigurationBB when rolling back to created. Added unit test. Enhace error message for unassign and deactivate fabric flows if they fail during rollback Looks like a bad whitespace in pom file Updated rollback failure message for fabric. Added unit test and robot tests. Issue-ID: SO-2364 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I72d570826ade865e9c12ca7571b01cccbe920865
2019-09-23Merge "Fix default homing"Marcus Williams1-0/+149
2019-09-20Merge "Exception string in checkRelationshipRelatedTo"Steve Smokowski1-2/+9
2019-09-19Exception string in checkRelationshipRelatedToBhatt, Prema1-2/+9
Exception string in checkRelationshipRelatedTo not being returned properly. Added a new exception - UnassignNetworkException. Added a new unit test to test the exception case as per review comment. Updated UnassignNetworkBBTest.java file to fix the formatting errors. Updated unit test , removed setVariable, it wasn't needed to do as it was performed in the actual method call. Updated pom.xmp file to fix the formatting errors. Updated pom.xml file to fix the formatting errors. Issue-ID: SO-2346 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I617dfbcb07d6080598a3ef8138aad5c7008dcee2
2019-09-18Fix default homingkurczews1-0/+149
Issue-ID: SO-2307 Change-Id: Iee2562c6f38a440006d3a6108ce6f6fd6dbedcf6 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-09-17Merge "Build payload APPC parameter from UserParams"Steve Smokowski1-0/+17
2019-09-16Use the configurationId associated to vnfc ifBonkur, Venkat1-0/+18
Use the configurationId associated to vnfc if present. removing the autowiring of the Configuration bean class Issue-ID: SO-2343 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I29f8f9e50ed04014f74b7f6dfaa2cdedb2f334d0
2019-09-12Build payload APPC parameter from UserParamsElena Kuleshov1-0/+17
If a payload parameter is not specified on VID request for APPC interaction, we will need to build it from UserParams from requestCOntext. Issue-ID: SO-2311 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ie6affe2bad031d80c43c0358a49cb252fb04f5e2
2019-09-11Merge "Integrate Logging Library"Steve Smokowski3-13/+14
2019-09-11Merge "fix of the instanceParams adding to the CDS request"Seshu Kumar M1-36/+119
2019-09-10Integrate Logging LibraryPlummer, Brittany3-13/+14
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-09-10Merge "Added ACTIVATED Orchestration Status same as"Steve Smokowski1-4/+91
2019-09-09fix of the instanceParams adding to the CDS requestLukasz Muszkieta1-36/+119
Change-Id: I3bff9b5cac47d5fa29fbe503e2c3752a2b207aab Issue-ID: SO-2208 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-09-08Added ACTIVATED Orchestration Status same asSangalang, Felix1-4/+91
Added ACTIVATED Orchestration Status same as ACTIVE. Issue-ID: SO-2284 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia62b7ad228d80f3690c3748587a41ee2dc486087
2019-09-05Set AAIClient on AAIValidatorImplElena Kuleshov1-0/+2
AAIValidatorImpl requires setting an initialized AAIClient before validation calls Issue-ID: SO-2286 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I254e8e01812e47af2855e1c1afaa5904ed792d22
2019-08-30fix create call to A&AIGamboa, Gilbert1-5/+3
createIfNotExists should be used rather than create Issue-ID: SO-2269 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I03af6a83460acbb1d7bde01f108d2a5a03d05adf
2019-08-29Update requestStatus to FAILED on activity error.Elena Kuleshov1-1/+33
Update status and related fields in Requests DB on activity error, add a junit to verify error reporting. Issue-ID: SO-2263 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I1a2e97afb95e4510b4860486c2b7836b014f990e
2019-08-26Javadoc and logging improvementManamohan1-2/+2
Added Javadocs and logging for these classes. Change-Id: I26dd974357cfb9ccaed3f9afd0510dc07e9bc33e Issue-ID: SO-2052 Signed-off-by: Manamohan <MS00534989@Techmahindra.com>
2019-08-16Merge "Add retrieval of vmIds and vServerIds for APPC"Steve Smokowski3-1/+128
2019-08-15Initial commit of validation framework to APIHSmokowski, Steven1-20/+2
Move ListenerRunner to common location Adjust request params name, update junit tests Update validations to work properly Properly escape period for the string split Issue-ID: SO-2232 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia468cf7062cccf30e28afeb7a5cddc37ceb2e002
2019-08-13Add retrieval of vmIds and vServerIds for APPCElena Kuleshov3-1/+128
2nd take, resolving build issu - port retrieval of vmIds and vserverIds from groovy to java Issue-ID: SO-2189 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ic666a65336e40eb38ab91c0037b85236ec1eebb5