aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-18Remove duplicate name check in createAAITasks.Gamboa, Gilbert2-96/+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 "Commented out initialization of workflowResponse to prevent static ↵Steve Smokowski1-1/+2
analyzer warning about workflowResponse never being set to anything but null."
2019-07-18Merge "Fixes in WorkflowAction"Steve Smokowski2-5/+8
2019-07-18Merge "Major Sonar fixes"Steve Smokowski6-16/+11
2019-07-18Merge "Vulnerability fixes in ServicePluginFactory"Steve Smokowski3-7/+38
2019-07-18Merge "Add requestContext to unassignVfModule tasks and"Steve Smokowski4-10/+14
2019-07-18Merge "Add SO BPMN name for NAME in tbl workflow"Steve Smokowski1-2/+2
2019-07-18Merge "We need to expand column request_status"Steve Smokowski1-0/+3
2019-07-18Add SO BPMN name for NAME in tbl workflowBonkur, Venkat (vb8416)1-2/+2
Added SO update the R__WorkflowDesignerData.sql script to insert name of BPMN process instead of description in the NAME field of workflow table for VnfInPlaceUpdate and VnfConfigUpdate Issue-ID: SO-2112 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I288a1159e95c3798c37ff41a599662e5df8317ba
2019-07-17Add requestContext to unassignVfModule tasks andMcblain, Thomas4-10/+14
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-17We need to expand column request_statusGamboa, Gilbert1-0/+3
New script to expand column request_status on table archived_infra_requests as well. Issue-ID: SO-2114 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Change-Id: Ife1168e658bbb9e7fa69541de42173947564cac8
2019-07-17add query stack data and populate table stepBoslet, Cory21-205/+879
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-12Fixing ASDCRestInterface for CSIT to simulate SDC reqwaqas.ikram5-62/+102
Change-Id: I6331d08441b9bf1f621f56ec1b7d911851010e62 Issue-ID: SO-1948 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-07-12Commented out initialization of workflowResponse to preventOleksandr Moliavko1-1/+2
static analyzer warning about workflowResponse never being set to anything but null. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ib150e3836fda9b7d9785a574f904b2c61bfa39f4
2019-07-12Fixes in WorkflowActionr.bogacki2-5/+8
Fixes in WorkflowAction according to the Sonar analysis: -Fixed String comparison. -Removed unnecessary method parameters. -Updated junit test. Issue-ID: SO-2107 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I7522269e237f736521a627bcd1c8f77b0c776a70
2019-07-12Major Sonar fixesr.bogacki6-16/+11
Major Sonar fixes in different classes: -Removed unused variables. -Simplified diamond operators. -Removed unnecessary imports. -Removed unnecessary code. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ib54fbe048700a4e31042481f0a9b13838552aee7
2019-07-12Vulnerability fixes in ServicePluginFactoryr.bogacki3-7/+38
Sonar vulnerability fixes in ServicePluginFactory. -Moved hardcoded IP addresses to the property file. -Added junit test. Issue-ID: SO-2106 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Id33e17f7845c106212bbf4d4a8ca78641cea1396
2019-07-11Merge "Sonar Fix: SDNCAdapterApplication.java"Steve Smokowski1-2/+2
2019-07-10Merge "Major Sonar fixes in E2EServiceInstances"Lukasz Muszkieta1-27/+10
2019-07-10Sonar Fix: SDNCAdapterApplication.javaArundathi Patil1-2/+2
Removed unused imports from the file Issue-ID: SO-2103 Change-Id: Id126f5203789d866b340d86b55bbc616991afc99 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-09Merge "Sonar fix in CreateInventoryTask.java"Marcus Williams1-4/+8
2019-07-09Merge "Sonar fixes in ManualTasks"Lukasz Muszkieta1-10/+3
2019-07-09Merge "Sonar fixes in OrchestrationRequests"Lukasz Muszkieta1-8/+4
2019-07-09Major Sonar fixesr.bogacki4-18/+21
Major Sonar fixes in different classes: -Removed unnecessary code. -Removed unused variables. -Removed unnecessary imports. -Simplified diamond operators. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I098e3dcd93b804e58220bb41ea15325e820e3a59
2019-07-09Sonar fixes in OrchestrationRequestsr.bogacki1-8/+4
Sonar fixes in OrchestrationRequests according to the Sonar analysis. -Removed unnecessary code. -Removed unused variables. Issue-ID: SO-2101 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I564f35519c5063028e1cf540eb81ab81cf923fd5
2019-07-09Sonar fixes in ManualTasksr.bogacki1-10/+3
Code fixes in ManualTasks according to the Sonar analysis. -Removed unnecessary code. -Removed unused imports. -Removed unused variables. Issue-ID: SO-2100 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I79848456cc88b7f2cb812f7054bb6cec12b584c0
2019-07-09Major Sonar fixes in E2EServiceInstancesr.bogacki1-27/+10
Major code fixes in E2EServiceInstances according to the Sonar analysis. -Removed unnecessary code. -Removed unnecessary method parameters. -Removed unused variables. Issue-ID: SO-2099 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I0e217174455a6748c663b3d5cc92fdc22b67ce2d
2019-07-09Sonar fix in CreateInventoryTask.javaArundathi Patil1-4/+8
Fixed multiple sonar issues in this file Issue-ID: SO-2098 Change-Id: I7da9ffae8ee11d8475445b5263bc7cfb78834a9c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-08Merge "remove unneeded code"Steve Smokowski1-12/+10
2019-07-08Merge "Added null check to prevent call of getVnfResources() method for null ↵Steve Smokowski1-2/+4
vf object"
2019-07-08Merge "Added null check for heatStack to prevent crash at getCanonicalName() ↵Steve Smokowski1-1/+1
call"
2019-07-08Merge "add junit coverage for VnfmHelper"Steve Smokowski2-1/+109
2019-07-08Merge "Fixed sonar issue in QueryGroups.java"Seshu Kumar M1-1/+2
2019-07-05Fixed sonar issue in QueryGroups.javaArundathi Patil1-1/+2
Fixed sonar issues across this file Issue-ID: SO-2096 Change-Id: Ib2b9fb5d12da2eb1f99562466c5a5d9039b0e50f Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-05mso will support new requeststate valuesGamboa, Gilbert6-103/+214
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, Brittany21-115/+657
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-05add junit coverage for VnfmHelperLukasz Muszkieta2-1/+109
Change-Id: I0db84333f1c5ffa09ec78f504a101b75343157a3 Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-07-04fix global-jjb migration issuesarada prasad sahoo1-3/+3
fix global-jjb migration issue - VNFSDK, SO Issue-ID: SO-1992 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: I2e11f0c151c54151e526efdebf92f49621dc0f7f
2019-07-04remove unneeded codeLukasz Muszkieta1-12/+10
Change-Id: Ib7c692b2a7fd8bc5f40d6a4acba504948cc7fc1b Issue-ID: SO-729 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-07-04fix global-jjb migration issuesarada prasad sahoo1-1/+1
fix global-jjb migration issue - VNFSDK, SO Issue-ID: SO-1992 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: Idaee5994614a9264e0b0edc57be6e529a343b807
2019-07-02Added null check to prevent call of getVnfResources() methodOleksandr Moliavko1-2/+4
for null vf object Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I0c2ea5de5ed9ab55ad78f58f3a68241e7cb2d064
2019-07-02Added null check for heatStack to prevent crash atOleksandr Moliavko1-1/+1
getCanonicalName() call Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Icf49b7db336002ad56769b221ec61101fac04fd5
2019-07-01Merge "do not overwrite status message with rollback"Steve Smokowski2-1/+40
2019-07-01do not overwrite status message with rollbackMnushkin, Dmitry2-1/+40
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-07-01support new query param formatChan, Mercy30-105/+248
- added format query parameter (optional), implemented logic to populate requestStatus field based on whether or not format is present moved request status constants to its own class visible globally. - changed @requestParam to @QueryParam in GET endpoint (OrchestrationRequests class. updated unit tests to call method being tested directly rather than from another private function - moved setting requestStatus to a separate method, also updated unit tests to separate out each scenarion into its own method - added unit test for when format=detail, corrected existing unit tests to test result to be FAILED - updated Status.java to include extra request status values; moved Status class to common org.onap.so.constants package Change-Id: Ic593de5fdfdcbc3121f481c86d1e261406082260 Issue-ID: SO-2080 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-07-01Added check for null response to prevent crash atOleksandr Moliavko1-0/+5
response.getEntity() method call. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Id796f4426f33cf419bbe5ed07500452ac0c7c775
2019-06-27enhance workflowaction to handle resume funcMnushkin, Dmitry6-125/+362
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 "improved logging when no exception data is found"Steve Smokowski1-1/+5
2019-06-27Merge "Update failsafe dependency to 2.0.1"Steve Smokowski6-34/+48
2019-06-27Merge "handle multiple cvnfc configs"Steve Smokowski6-22/+36