summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
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 Smokowski8-59/+85
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, Steven8-59/+85
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, Gilbert11-9/+618
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, Thomas1-3/+16
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>
2019-05-30Fixing infinte loop of flowwaqas.ikram1-3/+2
Change-Id: I80dc144750406d5afcec9b4da717a55a3840e503 Issue-ID: SO-1946 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-05-23Remove update of request statusSmokowski, Steven1-3/+1
fix unit test now that method does not update status Remove update of request status, should not be done Change-Id: I17958ef76ccfa059893da0c2bcea1baa124d6922 Issue-ID: SO-1915 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-17END_TIME is not populated by bpmn as expectedSangalang, Felix1-0/+20
Removed/Cleaned-up unnecessary lines/codes. Updated junit tests for END_TIME to any(Timestamp.class). END_TIME is not populated by bpmn when rainy day retry or rollback is executed. Change-Id: I614d66ca767629bf43aac8eee981423e5393015e Issue-ID: SO-1887 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-25Merge "Sniro BB now supports sole service proxies"Steve Smokowski1-1/+78
2019-04-24Configuration object status to InventoriedBenjamin, Max (mb388a)2-1/+13
Set initial OrchestrationStatus of Configuration object to Inventoried After Assign call, we need to set the configuration orchestration status to Assigned Change-Id: I4abaeb18d1d220b2bdd03269b3b5a2aba478bf64 Issue-ID: SO-1796 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-24Configuration object status to InventoriedBenjamin, Max (mb388a)2-1/+13
Set initial OrchestrationStatus of Configuration object to Inventoried After Assign call, we need to set the configuration orchestration status to Assigned Change-Id: I4abaeb18d1d220b2bdd03269b3b5a2aba478bf64 Issue-ID: SO-1796 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-23Sniro BB now supports sole service proxiesBenjamin, Max (mb388a)1-1/+78
Enhanced sniro BB to account for sole service proxies to support 1908. Change-Id: I4bf57c7c43de755be03d2284cde321d182255ceb Issue-ID: SO-1790 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-15Conditional Macro Action SelectionSunilB1-0/+49
Update orchestration_flow_reference table and changes in WorkflowActionBBTasks to Conditionally trigger ConfigAssignVnfBB And ConfigDeployVnfBB building block. Change-Id: I1bdb8a77223aef6855e4e1c9aa80dd026892e6f6 Issue-ID: SO-1702 Signed-off-by: sunilb <sb00577584@techmahindra.com>
2019-04-10Merge "Re-commit some changes which were lost"Steve Smokowski1-6/+0
2019-04-10Re-commit some changes which were lostBenjamin, Max (mb388a)1-6/+0
remove unused code Issue-ID: SO-1767 Change-Id: I12b8295ae4a5bc9e9154c8ccd1bb53f70886f929 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-09Refactor OofHomingV2Marcus G K Williams3-3/+608
Refactor OofHomingV2 Java to working state and fix IT tests. Issue-ID: SO-1469 Change-Id: I8647058adf5ed41c5bebebee79f9dbc4d80c2974 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)114-13849/+14689
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08Merge "fix delete vfmodule"Steve Smokowski1-0/+129
2019-04-08SDNHandler callback correlation issue.Benjamin, Max (mb388a)1-1/+24
SDNHandler callback correlation issue. Should not go back to waiting for callback when final_indicator=Y is receibed in callback. Raise an error when responseCode in callback mesage is not 200. Change-Id: Ia55ab5a9bafdfe877a1221b67d5f3258039a3900 Issue-ID: SO-1761 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08fix delete vfmoduleBenjamin, Max (mb388a)1-0/+129
corrected the vnfc customization id that is passed down add junit for getRelatedResourcesInVnfc method Change-Id: I943952a260191a49c8fc1c0813b1e111448f637b Issue-ID: SO-1759 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-05Fix Java OOF ClientMarcus G K Williams1-4/+131
Update IT tests to check correct post and update client to correct post behavior. Issue-ID: SO-1469 Change-Id: I8339cbff944587df5663d1fbff7f0cc41b7f2fe6 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-04-05Merge "Added Node status monitoring"Steve Smokowski1-0/+111
2019-04-05Added Node status monitoringLathish1-0/+111
Issue-ID: SO-1626 Change-Id: I0447549ca1024cd768b2bead2fe351895e314567 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>