summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2020-02-17Sonar issue - RefactorTomasz Wrobel7-120/+97
Issue-ID: SO-1841 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I4871b18efea1eb1a881bfe512b7437233d9ba33c
2020-02-07AssignPnfBB - set orchestration status to Assigned after successful assignmentmharazin1-0/+9
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-3/+20
Issue-ID: SO-2644 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I2796baf4afabd47536ffa0d4deb5096608fc5cce
2020-01-30Merge "Create ActivatePnfBB"Lukasz Muszkieta2-0/+30
2020-01-30Merge "Updated to send back actual exception message"Steve Smokowski1-3/+3
2020-01-30Merge "change error logs to warning logs in"Steve Smokowski1-1/+1
2020-01-30Merge "add manual handling to rainy day handling for bbs"Steve Smokowski4-80/+322
2020-01-30Create ActivatePnfBBRemigiusz Janeczek2-0/+30
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-3/+3
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-29change error logs to warning logs inKalkere Ramesh, Sharan1-1/+1
change error logs to warning logs in workflowaction Issue-ID: SO-2618 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I148c64f942be0cc5903762c8311e2b543475a4b0
2020-01-29AssignPnfBB connects PNF and service instance in AAIJoanna Jeremicz3-1/+75
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, Elena4-80/+322
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 APIeeginux14-0/+1142
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 ExecuteBuildingBlockkjaniak3-87/+67
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-0/+4
2020-01-16Merge "1911 create appc adapter micro service"Steve Smokowski3-2/+193
2020-01-15Use the timeout from the heat template instead ofBoslet, Cory1-0/+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, Elena3-2/+193
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-0/+55
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-20Add pnfs resources handling in service macro createpwielebs1-11/+10
Issue-ID: SO-2568 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: If6c6ad5469c9637af119c811e6f87ea00a282f18
2019-12-19support for pnf BB handlingLukasz Muszkieta2-74/+54
Issue-ID: SO-2568 Change-Id: Ic2fd1f25da0a8a9d9e008c988db071cc65c95dbd Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-12-18Merge "Implementing scope and action values from SO-DB to SO-Backend"Steve Smokowski1-0/+5
2019-12-18Support for volume groups on replace VF Module.Kuleshov, Elena2-6/+101
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-17Implementing scope and action values from SO-DB to SO-BackendManamohan1-0/+5
Issue-ID: SO-2513 Change-Id: I002a35a2a8ff4730d45c23d54f0acd4496b8b585 Signed-off-by: Manamohan <MS00534989@Techmahindra.com>
2019-12-13Refactor WorkflowAction.valiadteResourceIdInAAI -Gamboa, Gilbert1-140/+158
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-5/+23
2019-12-13Added a call to buildAndThrowException when vfBhatt, Prema1-5/+23
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-2/+11
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-4/+12
2019-12-05serviceinstanceid being overwritten by vnfid inPlummer, Brittany1-4/+12
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-0/+17
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-5/+7
updated uri regular expression to support resume Issue-ID: SO-2522 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0a44a374d46c7b3892acabe31c0621d37103b37a
2019-11-08fix wrong handling of checking null valuesLukasz Muszkieta1-15/+19
Checking null values is handled by catching null pointer exception, this is not acceptable. Change-Id: I0c43bc8853b67579a50bc9e69c599b93b978f741 Issue-ID: SO-2187 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-11-04Merge "Adding preload capability using userParams"Steve Smokowski8-44/+246
2019-10-28Merge "General sonar improvements"Lukasz Muszkieta1-5/+0
2019-10-28General sonar improvementsArindam Mondal1-5/+0
+) Format logger witth log formatter ++) remove unused imports Issue-ID: SO-2381 Change-Id: If8b8f2377ae3b7c8d8a270792eaf99a04cfa7ef0 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com> Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-10-23Adding preload capability using userParamswaqas.ikram8-44/+246
Change-Id: Id107f2c9c2da643ecb57daaef26dfa2bfd89f8aa Issue-ID: SO-1635 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-10-22Merge "add junit coverage and sonar fix"Steve Smokowski2-5/+13
2019-10-21Fortify scan reports vulnerability onGamboa, Gilbert1-0/+3
Fortify scan reports vulnerability on SDCRequestTasks.java. Recommends to set following features on XML factory factory.setFeature("http://xml.org/sax/features/external-general-entitie s", false); factory.setFeature("http://xml.org/sax/features/external-parameter-entit ies", false); factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl ", true); Issue-ID: SO-2465 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I33d9b16e8836af102523d7d6bc3fc7c2a09d5b64
2019-10-18add junit coverage and sonar fixLukasz Muszkieta2-5/+13
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 Smokowski2-5/+7
2019-10-09Merge "Add model info on CHANGEASSIGN req to SDNC"Steve Smokowski1-0/+4
2019-10-09Improved error handlingMichaelMorris1-3/+6
Change-Id: Iac436f6a950bf61ac6321ef1d427a7bb14774e30 Issue-ID: SO-2395 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-10-07Add model info on CHANGEASSIGN req to SDNCKuleshov, Elena1-0/+4
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-4/+5
Change-Id: Ib1a51a69bf421e33e439da6f1cb0abafd760cca2 Issue-ID: SO-2382 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-10-01Improve fall out case handlingSmokowski, Steven4-4/+6
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, Brittany2-5/+7
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-1/+3
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-1/+14
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven2-14/+11
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