summaryrefslogtreecommitdiffstats
path: root/adapters/mso-requests-db-adapter
AgeCommit message (Collapse)AuthorFilesLines
2020-06-30merged ONAP refactor and fluent builder methodBenjamin, Max1-1/+1
WorkflowAction refactoring merged ONAP refactor and fluent builder method types Issue-ID: SO-3005 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5c2a7dbcdf645efe408f81c1abbc7bfe8770fe9e
2020-06-18Prepare for java 11Benjamin, Max2-4/+41
final changes for java11 groovy compatibility removed unnecessary dependencies and cleaned up poms added missing jaxws-api dependency to pom.xml java8 profile is now active by default in parent pom update beans to have RemoteResource annotation always use the compiler plugin from parent pom Update external task timeout to longer value to hold lock update remote resource annotation to match catalog db client add remote resource annotation to bean for bowman completely remove bowman from requests db client Issue-ID: SO-2059 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If6f0df36e8077ccd703abce9f64290daed63955b
2020-06-02make sure maven plugins only run when we wantBenjamin, Max1-3/+4
make sure maven plugins only run when we want Issue-ID: SO-2972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5fe1b4836f597cf6bda5fee02ca6c234c7917f33
2020-05-20Began adding pluging to lifecycle mappingBoslet, Cory1-0/+13
Began adding pluging to lifecycle mapping metadata to get rid of eclipse workspace pom errors/markers Issue-ID: SO-2948 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I78946c59e6aaf440e014ed06e9ff476bac5c2613
2020-05-19Merge "put appropriate annotations"Lukasz Muszkieta2-13/+13
2020-05-13switch to docker-maven-plugin because that's allBenjamin, Max1-1/+1
switch to docker-maven-plugin because that's all we need Issue-ID: SO-2933 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I65783d3a7c172f4ce7fc39d64a3987eeae58feed
2020-05-08interface getServiceOperationStatus in request-db-adapter not existhetengjiao2-0/+28
Issue-ID: SO-2905 Change-Id: I2f66a0efa2e0ba894c8750bdd4d302bcf8924103 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-05-06put appropriate annotationsRupinder2-13/+13
Issue-ID: SO-2804 Change-Id: I325543a52c13f7bb02c6cf3c30bf9f878617c3c0 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-07Add workflowName and operationName to v8 ofKuleshov, Elena2-0/+9
Add workflowName and operationName to v8 of orchestrationRequests response. Fix typo in the schema for infra_active_requests. Change version matching for the new interface fields. Issue-ID: SO-2799 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Icc7f3c6271023a578df2c1d969c807a578cc9577
2020-03-24Update Subprocess to use COMPLETE statusSmokowski, Steven1-0/+4
Update Subprocess to use COMPLETE status Update Subprocess to use COMPLETE status Fix column name to be request_status Issue-ID: SO-2762 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8307524b3c226a25795247a47c95753b150076fe
2020-03-10Merge "false positive on network creates"Steve Smokowski2-2/+7
2020-03-08false positive on network createsBoslet, Cory2-2/+7
Added a new resourceStatusMessage field to the GET orch request API added new column to infra active request table updated openstack adapter to record the resource status added support of v8 on GET orch request API. Issue-ID: SO-2718 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73b35f1562de4df477bf7e5cef01de13440ba98a
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany3-19/+11
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-02-28Merge "Modification of VFC adapter code to make it SOL005 compliant"Seshu Kumar M4-0/+94
2020-02-27Modification of VFC adapter code to make it SOL005 compliantSambasiva K4-0/+94
Change-Id: Ife06298197bed8c1e3766083c7bec39132610f84 Issue-ID: SO-1579 Signed-Off-by: Sambasiva K<sambasiva.kokkirala@verizon.com>
2020-02-26bump the versions for all the SO to 1.6.0seshukm1-1/+1
Issue-ID: SO-2519 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Id0993b244b0978375ff8476e4bf8ef79e1bb9e68
2020-02-24Merge "Rename migration script"Steve Smokowski2-2/+6
2020-02-22Rename migration scriptBenjamin, Max2-2/+6
renamed script because you cannot change flyway scripts Issue-ID: SO-2675 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ie60f6b081b4af8d21353268d3f73137c8776f597
2020-02-21mso to add tenant name and product family name toKuleshov, Elena2-0/+9
Add productFamilyName and tenantName to requests DB and request status results. Add more JUnits, fix JUnit schema files. Robot test adjustments to create service object in AAI when needed. Update robot tests to verify presence of productFamilyName and tenantName in return data. Add missing return of retrieved productFamilyName in robot test Add checking of tenantName on return to another robot test. Update archiving of infra requests for tenantName and productFamilyName. Issue-ID: SO-2674 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2950b7783ee863dc59360c6124f38bee89cb2140
2020-02-21use pnfName in custom pnf workflow execution procedureUbuntu1-2/+2
Issue-ID: SO-2071 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: Ia97604b3b3d109d758914c04232256cdb262e121
2020-02-20Merge "Add script to create OrchestrationTask table"Chuanyu Chen1-0/+12
2020-02-19Add script to create OrchestrationTask tableHarry Huang1-0/+12
Issue-ID: SO-2368 Add SQL script to create OrchestrationTask table Change-Id: Ic59fe76a954c8808a32bb8f89eca3a933d559b02 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-19Add controller for OrchestrationTaskHarry Huang1-0/+62
Issue-ID: SO-2368 Add custom controller for OrchestrationTask in requestDB adapter Change-Id: I88ee0f7ee06131400d12b2f085853823af1a035c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-01-07consolidated security configurationBenjamin, Max3-238/+0
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2020-01-06Merge "Remove references to AIC"Steve Smokowski4-5/+5
2020-01-03Remove references to AICBhatt, Prema4-5/+5
Removed AIC prefix from java files, wherever column AIC_CLOUD_REGION was referenced. Removed AIC prefix from test data files, wherever column AIC_CLOUD_REGION was referenced. Issue-ID: SO-2572 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib380bc39eedf61fff27daa74132d1df20a3ae4b7
2020-01-02SO API to support custom PNF workflowYulian Han1-0/+4
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064418 Issue-ID: SO-2071 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-10/+198
2019-12-16update so to use 1.6.3 snapshot from the loggingPlummer, Brittany1-27/+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-10Merge "Update Shedlock to proper version for"Steve Smokowski1-8/+2
2019-12-09refactor fallouthandlerBoslet, Cory2-9/+11
Created a new update method to allow accessibility from groovy Ignore test that do not function in groovy. Fixed typo and bug in request db client class Fixed failing junits for falloouthandler Add the request factory to the rest template so that patch works updated check payload keyword to check response Issue-ID: SO-2555 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iebfea31b659a02069bd6c59c09f025fdc6a99843
2019-12-03Update Shedlock to proper version forSmokowski, Steven1-8/+2
Update Shedlock to proper version for compatibility Update Shedlock to proper version for compatibility Update Shedlock to proper version for compatibility Update Shedlock to proper version for compatibility Update Shedlock to proper version for compatibility Issue-ID: SO-2550 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5378d1e964b5eaa88b9ac33ef3759d6120c76150
2019-11-22Merge "improve error log scores"Steve Smokowski1-2/+2
2019-11-22improve error log scoresPlummer, Brittany1-2/+2
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
2019-11-21Updated and added to get request processing dataBoslet, Cory3-6/+39
Updated and added to get request processing data by internal data flag Committing file that I forgot to commit. Added junit test and change method to not use bowman client. Added and updated orch request unit test ran formatter so verify job will pass and not cry Added an intergration test for new jpa method. Format unit test class for the verify job build Update param key in jpa and also changed return type. Updated method name in request client to avoid confusion Issue-ID: SO-2534 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I420f1a887835dd0d9d0ad991e5b17dddb1db5376
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-11-08removed global configuration of jar pluginBenjamin, Max1-0/+3
removed global configuration of jar plugin to prevent extra artifacts Issue-ID: SO-2518 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5b25150089f39792452cf67cac1c916ef2069bed
2019-11-07remove unused columns infra active requestsChan, Mercy8-44/+30
Removed unused columns in db across codebase Issue-ID: SO-2516 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieedb61ed371bc3626ef94df0bf88b7a9cf139c82
2019-10-24add new query for requestdbPlummer, Brittany3-10/+76
Updated RequestDbClient to call new request mapping to query for IN_PROGRESS volumeGroup and vfModule requests older than two minutes. Issue-ID: SO-2490 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idd4c077a13c15dd6c22ef168d164f2df2aed4cff
2019-10-14update scheduled tasks to have mdc setupPlummer, Brittany1-1/+12
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-09-19update logging to match onap logging libraryPlummer, Brittany2-2/+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-13Remove unused table requestdb.active_requests.Sangalang, Felix1-0/+4
Remove unused table requestdb.active_requests. renamed file to nearest flyway versioned number Issue-ID: SO-2332 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I82d3f7b643e486c9d6cc32cd36d3366aa78e2db5
2019-09-10Integrate Logging LibraryPlummer, Brittany3-5/+10
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-09updated all sql files including in tests to useChan, Mercy2-1/+13
updated all sql files including in tests to use the correct column name. Updated hibernate mapping to use the correct column name as well. Issue-ID: SO-2297 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4a2d3e82a7b182ea1d67d297c0a0d3a35c856255
2019-09-05Added index infra_active_requests optimal queryParthasarathy, Ramesh1-0/+21
Added index infra_active_requests optimal query Issue-ID: SO-2285 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia8af787661701c8ae5593c54581e76ba1696d967
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-18Removing application-local.yaml filesRoy, Amresh1-51/+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-18Merge "We need to expand column request_status"Steve Smokowski1-0/+3
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, Cory1-0/+23
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