aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
AgeCommit message (Collapse)AuthorFilesLines
2020-02-12Merge "Add table for OrchestrationTask in requestDB"Seshu Kumar M1-0/+143
2020-02-10Merge "Remove unused param"Steve Smokowski4-7/+11
2020-02-10Add table for OrchestrationTask in requestDBHarry Huang1-0/+143
Issue-ID: SO-2368 OrchestrationTask will be used to store the slicing options which can be reviewed by the maintainer. OrchestrationTask itself is designed to be generic and parameters stored inside can be customized based on different use cases. Change-Id: Iec1cb31ea93659b498b30d098879a9acb711c1ee Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
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-08Merge "consolidated security configuration"Steve Smokowski3-238/+0
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-07Merge "Bug fix for Multi-result row data order"Chuanyu Chen1-2/+2
2020-01-06Merge "Removed CLIENT_ID from tests that was removed from"Steve Smokowski4-11/+11
2020-01-06Merge "Remove references to AIC"Steve Smokowski15-26/+26
2020-01-06Bug fix for Multi-result row data orderYulian Han1-2/+2
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064419 Issue-ID: SO-2071 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2020-01-03Remove references to AICBhatt, Prema15-26/+26
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 Han14-15/+209
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 M6-12/+205
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 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-21Added AAF Integration related changesRamesh Parthasarathy6-12/+205
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, 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