aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-10Merge "Remove unused param"Steve Smokowski4-7/+11
2020-02-07Remove unused paramSmokowski, Steven4-7/+11
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, Brittany10-123/+62
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, Elena3-3/+3
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, Elena2-1/+4
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 "Removed CLIENT_ID from tests that was removed from"Steve Smokowski4-11/+11
2020-01-06Merge "Remove references to AIC"Steve Smokowski11-17/+17
2020-01-03Remove references to AICBhatt, Prema11-17/+17
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-01Removed CLIENT_ID from tests that was removed fromPlummer, Brittany4-11/+11
Removed CLIENT_ID from tests that was removed from logging library Fixed formatting and imports on tests Issue-ID: SO-2579 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If886afdb6cc5154055a7e3821e4a24b4458ed45b
2020-01-02SO API to support custom PNF workflowYulian Han9-12/+192
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-12/+194
2019-12-18Merge "update so to use 1.6.3 snapshot from the logging"Steve Smokowski3-125/+4
2019-12-16Fix requestId returned in GetPlummer, Brittany2-5/+13
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-16update so to use 1.6.3 snapshot from the loggingPlummer, Brittany3-125/+4
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-13Merge "add application id support to so"Steve Smokowski1-1/+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, Venkat1-1/+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-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 Smokowski15-54/+482
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, Cory3-3/+53
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-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, Brittany15-54/+482
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, Mercy22-85/+32
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 Smokowski3-6/+6
2019-11-04Merge "refactor repeated duplicate check code to RequestHandlerUtils"Steve Smokowski3-36/+47
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, Dmitry3-6/+6
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-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-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, Steven5-612/+596
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, Brittany8-59/+66
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 Smokowski3-6/+6
2019-09-10Upgrade swagger apihandlerinfraArindam Mondal19-141/+314
Issue-ID: SO-2280 Change-Id: If9fb53295ce483b69ff20610da50227062ed5c48 Signed-off-by: arind.mondal <arind.mondal@samsung.com>