summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
AgeCommit message (Collapse)AuthorFilesLines
2019-12-13Merge "add application id support to so"Steve Smokowski3-4/+1
2019-12-13Merge "Add simple query format, to limit response content"Steve Smokowski2-18/+67
2019-12-13Merge "Sonar fix logger"Lukasz Muszkieta1-1/+2
2019-12-13Sonar fix loggerArindam Mondal1-1/+2
Issue-ID: SO-2381 Change-Id: I11fb05f86bb4ff4c507a3a627753464cd0a2da17 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-12-12Add simple query format, to limit response contentSmokowski, Steven2-18/+67
Add simple query format, to limit response content Add simple query format, to limit response content Add simple query format, to limit response content Issue-ID: SO-2570 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7570828d7c47e0635239dba50d0f7f76bd17f4a8
2019-12-11add application id support to soBonkur, Venkat3-4/+1
add application id support to so api Issue-ID: SO-2561 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifc8c4dd5e178b68347a7df01ab1942a59baca9b0
2019-12-11Merge "SO CDS Metadata ingestion"Steve Smokowski1-0/+7
2019-12-09refactor fallouthandlerBoslet, Cory1-0/+35
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-04SO CDS Metadata ingestioneeginux1-0/+7
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-22Merge "vnf and vf module replace requests to make"Steve Smokowski19-159/+494
2019-11-22Merge "improve error log scores"Steve Smokowski11-39/+46
2019-11-22improve error log scoresPlummer, Brittany11-39/+46
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, Cory8-12/+117
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-20vnf and vf module replace requests to makePlummer, Brittany19-159/+494
Added cloudConfiguration when not sent in replace request Added robot test for vfModule request with no cloud config Started adding unit tests for ServiceInstances Added unit tests for BpmnRequestBuilder changes Added ServiceInstances tests to test replace without CloudConfig Removed unused wiremock stubbings from test Added check for replaceInstanceRetainAssignments action Added action to common package to fix failing robot tests Removed new test, updated existing vfModule replace Added jackson annotations to RequestError object Fixed failing unit tests apih common Issue-ID: SO-2523 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9470a0a9c7e356ef98ceb7269e066e79e0afb074
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, Mercy33-377/+125
Removed unused columns in db across codebase Issue-ID: SO-2516 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieedb61ed371bc3626ef94df0bf88b7a9cf139c82
2019-11-06remove the declaration from the methodmanisha071-1/+1
Issue-ID: SO-2512 Change-Id: Ic03d750d31455fdf0aa955eeb767278e5974e431 Signed-off-by: manisha07 <cmanis10@in.ibm.com>
2019-11-06Remove the declaration of thrown exception ↵manisha071-1/+1
'org.onap.so.apihandlerinfra.exceptions.ContactCamundaException', as it cannot be thrown from method's body Issue-ID: SO-2512 Change-Id: I08bbf8c00cac011228782618afd293faad58e14c Signed-off-by: manisha07 <cmanis10@in.ibm.com>
2019-11-04Merge "Add patch method"Steve Smokowski6-6/+29
2019-11-04Merge "refactor repeated duplicate check code to RequestHandlerUtils"Steve Smokowski3-36/+47
2019-11-04Merge "add new query for requestdb"Steve Smokowski2-0/+16
2019-11-04Merge "- Skip requestId lookup when uri is"Steve Smokowski2-7/+43
2019-11-04add timeout to apih for the camunda activity checkPlummer, Brittany4-364/+482
Added timeout for camunda history lookups Added error strings to be returned on task information lookup Renamed method for getTaskInformation Removed retry for taskInformation and updated logging for errors Added spring logging interceptors to restTemplate Made timeout and retry timeout configurable Issue-ID: SO-2508 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ibd5101fc2e0a933a2f8070077c40b02bbbcfea6f
2019-11-04Add patch methodMnushkin, Dmitry6-6/+29
add patch method to requests db client remove null values from junit mock matching Issue-ID: SO-2506 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I3d6c0b05943958a9e77557cbf643a90cf5bb556b
2019-10-31- Skip requestId lookup when uri isMerkel, Jeff2-7/+43
- Skip requestId lookup when uri is orchestrationRequests. - Reformatted code to fix the build error. - Updated mockContext in TC to mock up URI path. - Added a test that skips the requestId lookup. - Added verify to ensure the lookup method is not called. - Fixed the formatting to pass the verify build. Issue-ID: SO-2499 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I12a991032a8cd1b3664cc807fde568f89bf779fa
2019-10-24add new query for requestdbPlummer, Brittany2-0/+16
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-24refactor repeated duplicate check code to RequestHandlerUtilsPlummer, Brittany3-36/+47
Moved repeated code used when checking for duplicate requests to a new method in RequestHandlerUtils. Issue-ID: SO-2488 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I523bbb0823f384a458f098c349d8c4b17e782469
2019-10-16Merge "Removed variable and changed visibility"Steve Smokowski1-4/+1
2019-10-16Merge "update scheduled tasks to have mdc setup"Steve Smokowski1-1/+2
2019-10-15Merge "Cleaning up unused variables and redundant initializers to remove ↵Lukasz Muszkieta1-14/+2
static analyzer warnings"
2019-10-15Cleaning up unused variables and redundant initializers toOleksandr Moliavko1-14/+2
remove static analyzer warnings Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I5dee12e1935c152865963359d0fc869673393aad
2019-10-14Removed variable and changed visibilityMnushkin, Dmitry1-4/+1
Removed variable and changed visibility Issue-ID: SO-2455 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib4bd1129e69f4f2f84ca0847a1006c02ad2d5aef
2019-10-14Merge "General sonar fixes"Lukasz Muszkieta1-1/+0
2019-10-14update scheduled tasks to have mdc setupPlummer, Brittany1-1/+2
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-03General sonar fixesArindam Mondal1-1/+0
Issue-ID: SO-2381 Change-Id: I58c41ec7295838465a8af28721842625ee828a17 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-30Add null check for the InfraActiveRequests lookupBonkur, Venkat3-55/+66
Add null check for the InfraActiveRequests lookup move it into a separate method for InfraActiveRequests lookup Issue-ID: SO-2374 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I84ff23b4da12719b589d43135a7604a2d4b24fef
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven12-620/+735
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-0/+2
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-17Merge "Remove the declaration of thrown exception ↵Steve Smokowski1-2/+2
'org.onap.so.apihandlerinfra.infra.rest.exception.NoRecipeException', as it cannot be thrown from method's body."
2019-09-10Integrate Logging LibraryPlummer, Brittany9-61/+68
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-10Merge "remove the unused import"Steve Smokowski1-1/+1
2019-09-10Merge "updated all sql files including in tests to use"Steve Smokowski6-12/+12
2019-09-10Upgrade swagger apihandlerinfraArindam Mondal20-145/+324
Issue-ID: SO-2280 Change-Id: If9fb53295ce483b69ff20610da50227062ed5c48 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-09-10General sonar fixesArindam Mondal2-4/+0
+)Format logger ++) Remove toString() +++) Extract nested IF Issue-ID: SO-2226 Change-Id: Iff28408584b04ffd03b6aca0f647d0af9090a9c2 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-09-09updated all sql files including in tests to useChan, Mercy6-12/+12
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-02remove the unused importThugutla sailakshmi1-1/+1
remove the unused import Issue-ID: SO-2174 Change-Id: Idae5e586e08d6b39dcebfccfd5aca5e1c455eb34 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-09-02Remove the declaration of thrown exception ↵Thugutla sailakshmi1-2/+2
'org.onap.so.apihandlerinfra.infra.rest.exception.NoRecipeException', as it cannot be thrown from method's body. remove the exception Issue-ID: SO-2174 Change-Id: Ied64bf5774e3f9ba5d5e640d1f934eb3259e4173 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-29added fix for missing Error from SDNC prefixChan, Mercy2-1/+23
added fix for missing Error from SDNC prefix to SDNC callback flow reverted implementation from bpmn-tasks package and moved them to apih side, added junit test renamed error message constant, removed regex check, add error message porefix directly to actual message Issue-ID: SO-2267 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I440cf9eff12571f576fcc5f2d28d9f2c8130e4b6
2019-08-27Fix issue in mso-api-handler-infraParshad Patel4-45/+50
Either log or rethrow this exception Define a constant instead of duplicating this literal Immediately throw this expression instead of assigning it to the temporary variable Remove the declaration of thrown exception 'org.json.JSONException' which is a runtime exception Issue-ID: SO-1841 Change-Id: I193f21ec2c4214863c8b51faf25fc3561d6be818 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-26Added default value for when ErrorCode is null inBoslet, Cory4-130/+9
Added default value for when ErrorCode is null in mdc test to see if 404 log gets enhanced by change. Removed test id from class that was put to test via docker. Removed setting of partner name and tested with using try/catch Reverted change to request uri filter per comments Removed the request filter uri class that rerouted old uri orders Removed request filter from jersey config files Updated junit test that were pointing to the old uri to be failure test corrected formatting issues on ServiceInstancesTest Issue-ID: SO-2259 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id8f9daef139a82ee9e934d4d37906ffb7a7aadff