aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
AgeCommit message (Collapse)AuthorFilesLines
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-0/+22
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-101911 create appc adapter micro serviceKuleshov, Elena1-2/+26
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-08Merge "consolidated security configuration"Steve Smokowski4-239/+2
2020-01-08Merge "Drop Resource Input Field if not valid JSON"Steve Smokowski6-6/+69
2020-01-07Drop Resource Input Field if not valid JSONSmokowski, Steven6-6/+69
Drop Resource Input Field if not valid JSON Drop Resource Input Field if not valid JSON Issue-ID: SO-2587 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I704981c6b3413872975b9e94a4b79cc0a1790795
2020-01-07consolidated security configurationBenjamin, Max4-239/+2
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2020-01-07find workflow by pnf model uuid with CatalogDbClientUbuntu1-1/+3
Issue-ID: SO-2558 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I62d9ae70befdd870d217de64cca36fe04a69e96e
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-10/+198
2019-12-18Merge "Implementing scope and action values from SO-DB to SO-Backend"Steve Smokowski1-0/+5
2019-12-18Merge "update so to use 1.6.3 snapshot from the logging"Steve Smokowski1-56/+0
2019-12-18Support for volume groups on replace VF Module.Kuleshov, Elena1-1/+35
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-16update so to use 1.6.3 snapshot from the loggingPlummer, Brittany1-56/+0
Updated snapshot to 1.6.3 and began fixing failing tests Update SOAPLoggingInInterceptor to use new InvocationID value Changed client and server keys to InvocationID BPRestCallback to use ServerInvocationId Removed logging MDC checking from unit tests Began switching bprestcallback to use resttemplate Removed changes to logback replacing invocationIds Updated logic where requestEntity is created on null message Added unit tests for BPRestCallback Set InvocationID in MDC in SOAPLoggingInInterceptor Send in URI to prevent encoding of URI causing % to change to %25 Updated restTemplate to fix issue with interceptors Issue-ID: SO-2571 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7e0d80eae9036c993414ae96ebd571c89cb9dfa9
2019-12-13add pnf_resource_to_workflow to catalogdbUbuntu1-0/+21
bind the pnf model uuid to pnf workflow Issue-ID: SO-2558 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I779ba8bef8ca3bb67ab6e9245eafec8b84571c85
2019-12-04SO CDS Metadata ingestioneeginux1-0/+23
Add support for controller_actor ingestion Add support for blueprint in service Add support for skip conf flag in vf module Ingest new properties into SO database Sample csar files are cleaned without comment and description Issue-ID: SO-2313 Change-Id: I657f997faf33a366f3c234c3e41b164275beedac Signed-off-by: eeginux<henry.xie@est.tech>
2019-11-21Added AAF Integration related changesRamesh Parthasarathy5-10/+198
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-10-24Fix for setting attributes in cloud sites on startupAndrewLamb1-2/+4
Change-Id: Id766ffd28e75d9d8465a3c04b74b540d08a17b4f Issue-ID: SO-2474 Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
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>