aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21use pnfName in custom pnf workflow execution procedureUbuntu4-23/+16
Issue-ID: SO-2071 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: Ia97604b3b3d109d758914c04232256cdb262e121
2020-02-19Add Get API for OrchestrationTaskHarry Huang1-0/+119
Issue-ID: SO-2368 Add methods for get all orchestrationTask and get an specific one by querying id. Change-Id: I9fb444def7640a4d70357681637a924cf546314b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-18extend query parameter to support pnfModelVersionIdYaoguang Wang1-10/+51
Issue-ID: SO-2559 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I51cb15f6750b378a9de3435951e3ea1644184a55
2020-02-12Fix Sonar issue - Refactor nested for if while if..Tomasz Wrobel4-246/+135
Issue-ID: SO-1841 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I65380661dc11cd0e5d77b59a72aa5a25a955a638
2020-02-10Merge "Remove unused param"Steve Smokowski3-6/+10
2020-02-07Remove unused paramSmokowski, Steven3-6/+10
Remove unused param from request parameters Issue-ID: SO-2651 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1c9a8e05aa329ee65f9910ab25319a0a61d54675
2020-02-06optimize camunda process instance historyPlummer, Brittany2-16/+28
Set buinessKey to requestId. Added plugin to pass businessKey to subprocesses Updated process-instance and activity-instance lookups to filter response Removed duplicate tests and updated att history lookup Updated businessKey to be set to mso-request-id Updated snapshot version to fix build issues Removed query param from properties. added uribuilder Updated to use uriBuilder.build().toString() Updated unit tests to lookup by procesInstanceId to fix build failure Issue-ID: SO-2650 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I357053c52a75ee5149a56392ce866dbb654b541d
2020-02-05Fix Sonar issue with throw generic exception on apihandlerinfraTomasz Wrobel5-22/+50
Issue-ID: SO-2645 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I111ca7c7bef271386bd075e2b948f29d7c2b4516
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-1/+1
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-1/+2
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-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 Smokowski3-3/+3
2020-01-03Remove references to AICBhatt, Prema3-3/+3
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 Han5-12/+138
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 M3-12/+194
2019-12-16Fix requestId returned in GetPlummer, Brittany1-2/+6
Set requestId to be returned to requestId sent on incoming request Issue-ID: SO-2573 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7ac20400f2b5f4dc9abff81b263acef5ad52a2fa
2019-12-13Merge "Add simple query format, to limit response content"Steve Smokowski1-17/+33
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, Steven1-17/+33
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-11-22Merge "vnf and vf module replace requests to make"Steve Smokowski5-23/+98
2019-11-22Merge "improve error log scores"Steve Smokowski10-32/+37
2019-11-22improve error log scoresPlummer, Brittany10-32/+37
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, Cory1-3/+3
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 Parthasarathy3-12/+194
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-20vnf and vf module replace requests to makePlummer, Brittany5-23/+98
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-07remove unused columns infra active requestsChan, Mercy7-8/+0
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 "refactor repeated duplicate check code to RequestHandlerUtils"Steve Smokowski2-36/+21
2019-11-04add timeout to apih for the camunda activity checkPlummer, Brittany2-61/+86
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-10-24refactor repeated duplicate check code to RequestHandlerUtilsPlummer, Brittany2-36/+21
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-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, Venkat1-54/+54
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, Steven3-605/+589
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-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, Brittany3-5/+7
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-10Upgrade swagger apihandlerinfraArindam Mondal19-141/+314
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-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, Mercy1-1/+7
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, Cory2-65/+2
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