summaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
AgeCommit message (Collapse)AuthorFilesLines
2019-10-22Merge "Add flyway script to disable 18.5.2c for v1"Steve Smokowski1-0/+3
2019-10-18- Update ResourceInput column length and checkMerkel, Jeff1-0/+4
- Update ResourceInput column length and check for existing vnfc's. Issue-ID: SO-2462 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0b0168453d3c20bb6d88a33ec82788f449bf3593
2019-10-16Add flyway script to disable 18.5.2c for v1Mnushkin, Dmitry1-0/+3
Add flyway script to disable 18.5.2c for v1 Issue-ID: SO-2458 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic61b544c6047e110dfed19c0b39b1cb1f0c304e6
2019-10-16Merge "Add column to catalog db"Steve Smokowski1-0/+5
2019-10-16Merge "update scheduled tasks to have mdc setup"Steve Smokowski1-1/+1
2019-10-14Add column to catalog dbBoslet, Cory1-0/+5
Add column to catalog db for fabric support on cloud regions Issue-ID: SO-2442 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4c0ecf4eba1198277ccb99627f51682c1d29881c
2019-10-14update scheduled tasks to have mdc setupPlummer, Brittany1-1/+1
Added MDCSetup for Scheduled Tasks Added tests for ScheduledTasksMDCSetup Added required fields for audit log and markers Issue-ID: SO-2444 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I05e8032ed934abd76d898559c51230761d36b78c
2019-10-10Added throw statement for created exception objectOleksandr Moliavko1-2/+2
to prevent static analyzer warning about exception ending up never thrown; removed redundant initializer for serviceFromDB variable Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ic82acabfc213be3f1132e8525fdac188e6599338
2019-10-04Fix issue where user cannot create a recipe viaSmokowski, Steven1-0/+22
Fix issue where user cannot create a recipe via rest Issue-ID: SO-2394 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia21131a1179cbba2652aae30451a25a90ac00e51
2019-09-25Merge "Upgrade swagger in mso-catalog-db-adapter"Steve Smokowski4-28/+69
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven2-34/+9
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-19update logging to match onap logging libraryPlummer, Brittany1-1/+9
Updated to use changes added to logging library in ONAP Updated RestClient to set mdc rather than extend filter Updated filter removal to include new spring filter Updated to exclude filter causing failure in catdb Excluded filter causing failures in requestdb Updated requestdbatt to exclude filter Updated check for spring filters to fix failing tests Issue-ID: SO-2353 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idb081a0f5527690f9dc41c7914a2d721f9022aea
2019-09-16Upgrade swagger in mso-catalog-db-adapterArindam Mondal4-28/+69
Issue-ID: SO-2305 Change-Id: I25ac20a96cf44a7c8abaa3b78f3b256cb2002d3f Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-11Merge "Removed redundant null checks (at these points vnfCustom can be ↵Lukasz Muszkieta1-2/+2
empty, but not null)"
2019-09-11Removed redundant null checks (at these pointsOleksandr Moliavko1-2/+2
vnfCustom can be empty, but not null) Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I174635fd0df71811c05ea3ad52f8ec5e5b56c58c
2019-09-10Integrate Logging LibraryPlummer, Brittany4-20/+25
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-08Added ACTIVATED Orchestration Status same asSangalang, Felix1-0/+47
Added ACTIVATED Orchestration Status same as ACTIVE. Issue-ID: SO-2284 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia62b7ad228d80f3690c3748587a41ee2dc486087
2019-08-21Add generic neutron network parametersEric Multanen1-0/+5
Add the generic neutron network heat template parameters to the catalogdb. This will allow providing a name to networks different than the default network Change-Id: I22adea6eed11eeea7d99c9f3d753b6cf77088d6a Issue-ID: SO-2083 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-08-15Initial commit of validation framework to APIHSmokowski, Steven11-171/+459
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-09Merge "Add SO re-name the migration sql for version conflict"Steve Smokowski1-0/+0
2019-08-09Merge "add rainy day handling with SERVICE_ROLE and type"Steve Smokowski4-4/+9
2019-08-08add rainy day handling with SERVICE_ROLE and typeMnushkin, Dmitry4-4/+9
add rainy day handling with SERVICE_ROLE and type Issue-ID: SO-2205 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib85ccd787d4c8b210abb983e1f114da3d36be2b6
2019-08-08Add SO re-name the migration sql for version conflictBonkur, Venkat (vb8416)1-0/+0
Rename the version from V6.1 to V6.3 for V6.1__AlterColumnActionCategoryControllerSelectionCategory.sql There is another script with same version in the att ecomp. Issue-ID: SO-2209 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: Ia7e527419dfe149f8cbdd9d0748768f8b7bc9904
2019-08-08Avoid local variables shadow class fieldssindhu36721-15/+15
Avoid local variables shadow class fields mso catalog db adapter Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: Ie2a62a76ca43a5c7f2e0cdee00263230a2ae154d
2019-08-01Add SO Increase Action_category column widthBonkur, Venkat (vb8416)1-0/+3
Action_category column width in Controller_selection_category table is increased to accommodate activity categories like DistributeTrafficCheck which are longer than the column width. Issue-ID: SO-2185 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: Ia5c813bfabfc95d4502c7ade4413672c64ad8ada
2019-07-29Merge "Upgrade springboot.version from 2.0.5 to 2.1.5."Steve Smokowski1-0/+2
2019-07-26Upgrade springboot.version from 2.0.5 to 2.1.5.Sangalang, Felix1-0/+2
Upgrade springboot.version from 2.0.5 to 2.1.5. Fixed APIHandler junit test cases with expected DB error messages. Issue-ID: SO-2157 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I77ce873018b88268b9221226b95c9c106f93a8d0
2019-07-26Merge "Fixed sonar issue in QueryServiceVnfs.java"Seshu Kumar M1-3/+2
2019-07-18Removing application-local.yaml filesRoy, Amresh1-35/+0
Removing the application-local.yaml files because they're no longer maintained or working. Issue-ID: SO-2121 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I191c8775de931671a4657be8940e6aec64023359
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-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-05Fixed sonar issue in QueryServiceVnfs.javaArundathi Patil1-3/+2
Fixed sonar issues across this file Issue-ID: SO-2094 Change-Id: I51cb4711814c83786dafba22c735244bd1898331 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-06-25Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)1-144/+144
Change-Id: I2b91332563d9c7b0f469c9e45a35cc1376465c5e Issue-ID: SO-2058 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18Merge "Changes related to eviction of connections"Steve Smokowski3-6/+95
2019-06-18Added Retry in rainy day macro for ConfigDelpoyVnfBB for vDNS CDS use caseAbdelmuhaimen Seaudi1-2/+2
Issue-ID: SO-2026 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I43689eb6a63843be3a181080173265ed1eda6e9a
2019-06-17Changes related to eviction of connectionsBenjamin, Max (mb388a)3-6/+95
These are changes related to ASDC controller for evicting database connection pool when ip address changes Included other appllications such as requestDB, CatalogDB, API Handler, BPMN, OpenstackAdapter etc Change-Id: I9a96ea12fb0c10643a204a58d55360bebba326fe Issue-ID: SO-2018 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max2-0/+40
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-10Fix handling of NULL WorkflowAction northboundRequestMarcus G K Williams1-144/+144
Issue-ID: SO-1995 Change-Id: I16fd6067d4fe31ce66b399e292a7e0706fe05c0c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert1-0/+8
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 Smokowski5-179/+243
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-04Fix northbound_request_ref_lookup SERVICE_TYPE = '*'Marcus G K Williams1-28/+28
Make sure SERVICE_TYPE is not NULL so that GR_API alacarte requests work. Issue-ID: SO-1904 SO-1892 Change-Id: Ib4c617311b17f6d521a3eee0a71a6247d7770d54 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-1/+6
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-0/+5
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-05-31issue encoding openstack errorsSmokowski, Steven1-0/+12
Fix setting of port to fix unit test issues Fix formatting error on the file causing build issue Properly revert change that was made previously Fix issue where base java library not encoding properly Change-Id: I2bfa46825d9a99998195dbd7bd422f88fa76ef09 Issue-ID: SO-1965 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-26Modify scaleOut-related settingsElena Kuleshov1-3/+3
Corrections for execution of VfModule-ScaleOut Issue-ID: SO-1972 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ia654a223f1e86749d34d78b5918eda38a0a630c7
2019-05-24Persist native CM workflows in CatalogDBElena Kuleshov1-1/+7
Add native CM workflows to Workflow table to make them available to VID Issue-ID: SO-1942 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ifbf3ed8a513f4704583df8a565dba97344702ede
2019-05-22Add SO Update the repeatable Macro - northbound_request_ref_lookupBonkur, Venkat (vb8416)1-0/+1
Added dublin - Update repeatable Macro not to lose the ability to drive flows differently based on service type. UPDATE northbound_request_ref_lookup SET SERVICE_TYPE = '*' WHERE SERVICE_TYPE = NULL; Issue-ID: SO-1892 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I3fa58559fe4596b3a0e184a8391ac93fb9496a26
2019-05-21Merge "Missing modifications for DistributeTraffic actions" into dublinSteve Smokowski1-0/+15
2019-05-21Missing modifications for DistributeTraffic actionsLukasz Rajewski1-0/+15
Added input parameters for DistributeTraffic and DistributeTrafficCheck action Change-Id: I423979f6e8a682bff2aaff02bba4d79d2fbe22c8 Issue-ID: SO-1553 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-05-21Add SO WFD activity BBs to building_block_detailBonkur, Venkat (vb8416)1-19/+47
Added dublin-WFD activity BBs to building_block_detaili tbl Also updated the resource_type to NO_VALIDATE where target_action is CUSTOM During the execute of the Activity building blocks for the Workflow Designer running into orchestrationStatusValidation exception as it could not find the activity's name in building_block_detail table. Updated the test/resources/data.sql to reflect the above changes Issue-ID: SO-1901 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I9a5c60fc818ec4abc18005e3ef9b8c7b3313f55d