aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2023-12-07[SO] Remove DMaap Dependency in SO-bpmn-infraRupali Shirode1-0/+51
Remove DMaap Dependency in SO-bpmn-infra Issue-ID: SO-4122 Change-Id: I8fbe5761430c21b3f49b31a45ede095fdb72628f Signed-off-by: Rupali Shirode <rupali.shirode@t-systems.com>
2022-08-31Merge "Enable long-running processes in ControllerExecutionBB"Lukasz Rajewski1-0/+5
2022-06-29Enable long-running processes in ControllerExecutionBBJozsef Csongvai1-0/+5
Instead of blocking a thread while waiting for controller response, ControllerExecutionBB is now using camunda receive task to support long running processes without increasing the camunda job timeout. A new property was added to configure the gRPC client's keep alive ping mechanism, which will identify connection issues and prevent the process getting stuck when the controller crashes. Issue-ID: SO-3953 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Iaf6438dba76e715dba846bf45ef47b6a91239c4a
2022-06-23add junit coverageLukasz Muszkieta1-0/+45
Issue-ID: SO-3796 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: Ife3fe722b654eaaf31eda734ec73910d0c11530a
2022-04-21Add UT to increase code coveragepwielebs1-0/+109
Issue-ID: SO-3928 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: I0a4e708c60a8fedc711df09ac1b8516fd366ed3f
2021-08-03Update ccsdk version to 1.1.5Jozsef Csongvai1-2/+2
New version reverts the name change that broke backward compatibility. Issue-ID: SO-3725 Change-Id: I4d41f578e2c4eef0a5d0c899b70d19d137f89839 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-06-30Reducing org.reflections package loggingwaqas.ikram1-0/+2
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-04-22Update CDS and grpc dependenciesJozsef Csongvai1-2/+2
Issue-ID: SO-3628 Change-Id: Ia1c5c3d2d38d83609410c94068cd0d4533d9ad40 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-16wrap logger patterns in masking classBENJAMIN, MAX2-0/+116
wrap logger patterns in masking class Issue-ID: SO-3589 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: Ic7893001b77a9791cd43c958b9bad7065d7a4e2a
2021-03-04retry on ResponseProcessingExceptionBENJAMIN, MAX1-0/+16
retry on ResponseProcessingException Issue-ID: SO-3570 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I62745d3833bec8fb5f33007aa613ff4626b5486d
2021-02-01allow RestClient to configure custom headersBenjamin, Max (mb388a)4-30/+40
allow RestClient to configure custom headers always load the first implementation on the classpath Issue-ID: SO-3495 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9c433cdaed33a7db6182af259421676c088a1fae
2021-02-01set connection timeout as well as read timeoutBenjamin, Max (mb388a)1-0/+6
set connection timeout as well as read timeout correct dependency version in openstack pom limit timeout test to a single retry add connection timeout property for A&AI client Issue-ID: SO-3491 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I576c143822ba45fc79648fd0a1edb6ccd3aff8b2
2020-11-19add caching to graph inventory clientBenjamin, Max2-47/+48
add caching to graph inventory client updated properties files to read cache properties Issue-ID: SO-3398 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib3e67ae014b6668c9b004aae1e8b5d49b9ce6b06
2020-11-11added configurable read timeout value for A&AIBenjamin, Max1-3/+58
added configurable read timeout value for A&AI Issue-ID: SO-3370 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1216608a09f6a8649a57aa4b320fbea4982a7efe
2020-08-06changes for java 11 upgradationarun chapagain1-4/+4
Issue-ID: SO-3082 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: Icb14f1a29d06d828307f0acc23d4414fecbbfaa3
2020-07-13CDS client gRPC SSL/TLS supportMichal Jagiello2-3/+10
Issue-ID: SO-3003 Change-Id: Id9150c7da5c29fc0854ebaf13d845adf89fc60ff Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2020-04-28move aai-client into its own projectBenjamin, Max56-4517/+0
move aai-client into its own project Issue-ID: SO-2837 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20b700d160efbdf81ff22c9ca0fab73b28d3649b
2020-03-26convert openstack to external tasksBoslet, Cory2-14/+18
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-17reworked dsl client code to check for outputsBenjamin, Max1-29/+30
reworked dsl client code to check for outputs Issue-ID: SO-2744 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id57bc03c68ec1ae0b0b0797d3a5824026aa8133f
2020-03-16split single and plural graph inventory urisBenjamin, Max13-60/+209
split single and plural graph inventory uris updated all object references in MSO using graph inventory plurals corrected unit test stubbings added additional unit tests correct interfaces to return plural after related-to modified the way http aware uris are built reformated interfaces to no longer duplicate methods corrected issues with identity of unbuilt uris removed AAIUri references from groovy files fixed clone behavior on Uri objects Issue-ID: SO-2743 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I37aa2a13dcbf010b6c82ad73af3be5db5d9bd673
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany1-83/+0
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-10Merge "Initial commit to check client alive"Steve Smokowski1-0/+62
2020-02-07Initial commit to check client aliveSmokowski, Steven1-0/+62
Initial commit to check client alive Issue-ID: SO-2653 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib9f4cf7f5815bd9b8d0d42417f3e5fd83382547a
2020-02-07add retry sequence levelsBoslet, Cory1-1/+1
Added retry sequence levels so that the different services can specify their desire. Updated to be medium and added to be long sequence in audit. Change retry level to be final and changed default constructor to private Changed default constructor to public so its visible. Updated unit test to reflect change and get verify job to pass Added and updated the unit test for add graph Issue-ID: SO-2649 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I981b90a5dbb1dca5354fba37589b26dabbfc0b0e
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena4-172/+0
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-0/+1
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
2019-12-11Merge "Add so-simulator project"Java-11-upgrade1212masterMax Benjamin1-61/+0
2019-12-11Add so-simulator projectMnushkin, Dmitry1-61/+0
contribute simulator to onap project Issue-ID: SO-2463 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0a3a71fdeb47cbbd686830045a8bc40769102a29
2019-11-22improve error log scoresPlummer, Brittany1-1/+1
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-19add junit coverageLukasz Muszkieta1-43/+75
Change-Id: I060660abd9b07e6262d08efde3eafcbf29fa762b Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-11-07remove unused columns infra active requestsChan, Mercy1-0/+1
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-14update scheduled tasks to have mdc setupPlummer, Brittany1-0/+83
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-09Improved error handlingMichaelMorris1-2/+3
Change-Id: Iac436f6a950bf61ac6321ef1d427a7bb14774e30 Issue-ID: SO-2395 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-09-24check for null before setting headersMnushkin, Dmitry1-0/+96
check for null before setting headers Issue-ID: SO-2356 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I51bd332b13f687df09bc80489cf93baebc84ceb8
2019-09-19update logging to match onap logging libraryPlummer, Brittany1-0/+4
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-11Merge "error message formatter now handles percent"Steve Smokowski1-0/+16
2019-09-10error message formatter now handles percentBenjamin, Max1-0/+16
error message formatter now handles percent encoding Issue-ID: SO-2303 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If4784ab54023b1df43eb7ee266a2797c9a12731b
2019-09-10Integrate Logging LibraryPlummer, Brittany4-9/+98
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-08Created external task utils in a common locationBoslet, Cory2-0/+126
Created external task utils in a common location then refactored external task to use these common utils Updated junit errors and failures in openstack Removed env param and updated unit test with class Remove env file from parm in unit test class Match argu to match class abstract to con. removed implementation within anonymous class Issue-ID: SO-2291 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I47c2850d750cbfe7ef67e2396fcb46db43e3cb97
2019-08-16fixed dsl builder to correctly add outputBenjamin, Max1-0/+27
fixed dsl builder to correctly add output look for lambda key rather than parent class null Issue-ID: SO-2233 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I251b9b8b4c391354b9759ee16a2462df43c188f9
2019-08-09query builder now handles more than just stringsBenjamin, Max1-0/+10
query builder now handles more than just strings Issue-ID: SO-2215 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib138d96cf8578a0e3055120f9c3e036c690e7eae
2019-08-06updated delete payloads for bulk deletesBenjamin, Max4-9/+31
updated delete payloads for bulk deletes moved test-request.json to the correct location Issue-ID: SO-2203 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8d9d4d0bbe45f32d4e07a1ba0128e627d3b27795
2019-08-01Handle no pservers case on lock checkElena Kuleshov1-0/+7
Check for null return value from pservers query Issue-ID: SO-2184 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I34c71601e694241a6d3cfefa8227200e715e2ed3
2019-06-27Update failsafe dependency to 2.0.1Benjamin, Max1-14/+14
Updated calls to failsafe 2.0.1 API Change-Id: I2c86ca02d56a07262e330ee5f8f088d1a1f5b4a7 Issue-ID: SO-2057 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-17Changes related to eviction of connectionsBenjamin, Max (mb388a)1-0/+19
These are changes related to ASDC controller for evicting database connection pool when ip address changes Included other appllications such as requestDB, CatalogDB, API Handler, BPMN, OpenstackAdapter etc Change-Id: I9a96ea12fb0c10643a204a58d55360bebba326fe Issue-ID: SO-2018 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max2-0/+40
moved around classes to packages that make more sense updated license headers in java files converted MultiStage logic to FlowManipulator moved tests to new package location and fixed issues allow for custom listeners before flowsToExecute moved validation classes to listener.validation Change-Id: Ic5416812ef9c5611fe19bf9b6aa316373b110ec6 Issue-ID: SO-2021 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski2-58/+46
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-05-31apih resume request handling more genericPlummer, Brittany2-0/+62
getInstanceName throws exception if requestScope doesn't match modelType Updated to combine separate return statements Replaced if statements for modelType and added tests Replace if statements for modelType in ResumeOrchestrationRequest and added tests Added coverage for setId in ModelType Updated to use ModelType setters/getters model type can now get and set generically Added modelInfo to RequestBody for resume request Added getModelType call and unit tests Moved getModelType from ServiceInstances Moved getModelType and added unit tests Added tests for getIsBaseVfModule Added more tests for isBaseVfModule Began adding tests for getIsBaseVfModule Updated currentActiveRequest creation and isBaseVfModule Updated recipe lookup and setting of aLaCarte to be more general Updated concurrency control to include other resources Change-Id: I12ad011d0a021c3ee066e16b4c8a4526d040cbe3 Issue-ID: SO-1963 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-22HttpLookupUri is now serializable againBenjamin, Max (mb388a)1-0/+46
cachedValue is now transient added custom serialization created serialization unit test for ServiceInstancesUri Change-Id: Idbc414a8483a4eae9c93ae8b06a1e77cbe683ca8 Issue-ID: SO-1906 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-16License agreement changesSunilB1-11/+19
License agreement changes Issue-ID: SO-1481 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I475d25bb040907a0c48b579f6d3091c41ccfec25