summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test
AgeCommit message (Collapse)AuthorFilesLines
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 Smokowski7-1/+638
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 Kuleshov7-1/+638
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
2019-07-29Merge "validate model info for existing service with"Steve Smokowski1-46/+316
2019-07-29Merge "Use BuildingBlockExecution for PauseForManualTasks"Steve Smokowski1-6/+10
2019-07-26validate model info for existing service withMnushkin, Dmitry1-46/+316
verify modelVersionId equals during SI AAI validation correct SI name in junit test update SI name in junit test comparison add name/module id verifications for other objects add back junit file after merge from remote format jnit file after verify job failure updated test input values for clarity update name verifications with related ID values adding junit for Configuration name verification updated aai verify call, service dup error msg removed aai depth 2 and refactored private test method implement SI name verification with 3 additional fields fix formatting comment line length limitation Issue-ID: SO-2161 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I43f5cb0601dfa8b41f474615b639fce0572f5613
2019-07-26Use BuildingBlockExecution for PauseForManualTasksElena Kuleshov1-6/+10
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-25set multi-stage flag in listener to log successBenjamin, Max1-0/+2
fixed null pointer error when multistage not set Issue-ID: SO-2159 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1f2313d074bea404776877ef56607a814e46e514
2019-07-24set multi-stage flag in listener to log successMnushkin, Dmitry1-2/+17
set multi-stage flag in listener to log success msg added post listener for requests db object Issue-ID: SO-2153 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4b27cbb69b983bd2f7c0d72c8ebb4d9c43201120
2019-07-22Update SO to handle Async VNF operations to SDNCSmokowski, Steven7-59/+69
Update SO to handle Async VNF operations to SDNC Issue-ID: SO-2141 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20037306e9ce5b8df434511a46c0a3399e335c3d
2019-07-19Merge "Set networkName value to the name from L3network"Steve Smokowski1-2/+24
2019-07-18Set networkName value to the name from L3networkKuleshov, Elena1-2/+24
Set networkName value to the name from L3network object. Add JUnit argument captures for naming creates Fix formatting errors in the JUnit file. Issue-ID: SO-2123 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ie4d2bd86f1a47bd5742aa7786dc9cba47fa11392
2019-07-18Remove duplicate name check in createAAITasks.Gamboa, Gilbert1-59/+0
Remove duplicate name check in createAAITasks. This hould be done prior to status check in WorkflowAction or BBInputSetup. Issue-ID: SO-2119 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Change-Id: I0d6d34476b1ab2b351314c9a23926f2fff0e4f89
2019-07-18Merge "Add requestContext to unassignVfModule tasks and"Steve Smokowski2-7/+9
2019-07-17Add requestContext to unassignVfModule tasks andMcblain, Thomas2-7/+9
Add requestContext to unassignVfModule tasks and tests Issue-ID: SO-2115 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Change-Id: Ifddfe32fab9406afb69ad9192351500cfbed3610
2019-07-17add query stack data and populate table stepBoslet, Cory2-4/+32
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-05mso will support new requeststate valuesGamboa, Gilbert1-1/+53
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-6/+79
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-07-01do not overwrite status message with rollbackMnushkin, Dmitry1-0/+34
update rollback error for rollback and not original msg run code formatting on updated files add unit test for false value of isRollback flag Change-Id: I25d8fb9771766461b1192e3758237dfc199787f8 Issue-ID: SO-2081 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27enhance workflowaction to handle resume funcMnushkin, Dmitry1-0/+61
init code for RESUME with junit passing overwrite URI on resume op from original request Change-Id: I1eee2bd66aa20804ba4a2834d269b5947565b9dc Issue-ID: SO-2055 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27Merge "handle multiple cvnfc configs"Steve Smokowski2-3/+3
2019-06-27handle multiple cvnfc configsMerkel, Jeff2-3/+3
- Handle multiple cvnfc configs with the same model uuid. - Update CvnfcConfigurationCustomization to a List from a Set Change-Id: I8c026510d813ebb6294a9cedd39d4d4b8f4b9dcf Issue-ID: SO-2056 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27Fix macro delete instance bug.Gamboa, Gilbert2-22/+19
Fix macro delete instance bug. vf-modules not being sorted correctly because isbaseboolean field is not being set. Change-Id: Id196e152977d922bee6c9bb797ad240bb70fbf47 Issue-ID: SO-2053 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18nullpointer in vnfadaptervfmoduleobjectmapperBhatt, Prema1-0/+35
Added code block to throw exception when we get a 'Name' wthout a 'Value' tag in the SDNC vf-module-topology. Right now we are seeing oam0_net_id is missing a value tag. Added Unit test to test this code change. Change-Id: I765d5a4eb9d351b7613d4c3561a2a5dbe37e4781 Issue-ID: SO-2031 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-16Validate ServiceInstance name using createNodesUriSangalang, Felix2-0/+33
Validate ServiceInstance name using createNodesUri. Change-Id: I5194dd933dc98064888250bc9a38e6ee9716fc01 Issue-ID: SO-2024 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-15Merge "Validate names before writing to A&AI"Max Benjamin4-1/+94
2019-06-15Merge "update multi stage code to accurately skip bbs"Max Benjamin8-17/+190
2019-06-14Merge "support async operation for vf module operations"Steve Smokowski10-61/+87
2019-06-14Validate names before writing to A&AISangalang, Felix4-1/+94
Validate name for InstanceGroup, Configuration and Network. Change-Id: I494749e17a40c6c0cdd51dd28d9c9bca371410ac Issue-ID: SO-2022 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14mso to validate the name uniqueness in A&AIGamboa, Gilbert4-1/+114
Need to change query by name using nodes query to make sure names are globally unique. Added new Exception type for duplicate A&AI object names. Added tests for AAIVfModulResources. Change-Id: I71558d0881d7060819f5f807fe58779be6edfa6f Issue-ID: SO-2020 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max8-17/+190
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-14support async operation for vf module operationsSmokowski, Steven10-61/+87
support async operation for vf module operations with sdnc Update Junit comparison data to be valid for new code Modify coded to support usage of ASYNC response sdnc Change-Id: I95b955cb257dcead152d68cd4cc4fb0fbcdfd708 Issue-ID: SO-2015 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-07Merge "vrfvalidation exceptions not getting logged"Steve Smokowski2-2/+24
2019-06-06vrfvalidation exceptions not getting loggedGamboa, Gilbert2-2/+24
Remove unused imports in VrfValidation class Check for null AAI network and vpn-bindings. Do not catch exceptions in WorkflowAction.traverseVrfCondifuration. Propagate exceptions and let calling method selectExecutionList() handle exceptions. Change-Id: I26adfdb351cee6dc111f496901558340b8152a2a Issue-ID: SO-1988 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Enhance naming service supportMnushkin, Dmitry3-37/+13
correct sourcing for service-model-name in NamingMS remove zone ID from NamingMS input for service name follow up removal of autowired on NamingRequestObject Change-Id: Icba2e32c07ee0c7d7739ce21bd547e3030c1e271 Issue-ID: SO-1976 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert17-17/+668
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski4-45/+179
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-05Fix ConfigAssign/Deploy null return of BlueprintName/Versionsunilb1-12/+16
Fix ConfigAssign/Deploy null return of BlueprintName/Version Issue-ID: SO-1985 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I15b6d38a21320eae6ca58a1e3d515813b9c243fd
2019-06-02Fixing EtSI BB ClassCastExceptionwaqas.ikram2-30/+161
Change-Id: Ia5a37f80392693f603d6597760ca9725882de169 Issue-ID: SO-1971 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-05-31Handle multiple host routes correctly for networksMcblain, Thomas2-3/+69
unit test for the method that creates subnets Remove project name from junit test data Handle multiple host routes correctly for networks Change-Id: I537b9bbb68c11901c06ed2366591cedeb3b29acd Issue-ID: SO-1961 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>