From 1533364ce918becf25cd7a79aad420263125c611 Mon Sep 17 00:00:00 2001 From: Oleg Smelov Date: Wed, 27 Mar 2024 11:29:17 +0400 Subject: [PATCH] no log4j JsonAlias fixed --- build.gradle | 4 +--- .../com/exactpro/th2/hand/schema/CustomConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 70edc56..c73edf1 100644 --- a/build.gradle +++ b/build.gradle @@ -59,9 +59,7 @@ repositories { dependencies { api platform('com.exactpro.th2:bom:4.5.0') - implementation('com.exactpro.remotehand:remotehand:1.7.3-TH2-4662-4046816762-SNAPSHOT') { - exclude group: "org.slf4j", module: "slf4j-log4j12" - } + implementation('com.exactpro.remotehand:remotehand:1.7.3-TH2-4662-no-log4j-8448098275-SNAPSHOT') implementation("com.exactpro.th2:grpc-hand:3.0.0-RM-84612-+") { exclude group: "com.google.guava", module: "guava" // for compatibility with Selenium 3.141.59 } diff --git a/src/main/java/com/exactpro/th2/hand/schema/CustomConfiguration.java b/src/main/java/com/exactpro/th2/hand/schema/CustomConfiguration.java index 81ff1e0..8af1993 100644 --- a/src/main/java/com/exactpro/th2/hand/schema/CustomConfiguration.java +++ b/src/main/java/com/exactpro/th2/hand/schema/CustomConfiguration.java @@ -59,7 +59,7 @@ public class CustomConfiguration { private int responseTimeout = DEFAULT_RESPONSE_TIMEOUT; @JsonProperty(value="use-transport") - @JsonAlias("responseTimeoutSec") + @JsonAlias("useTransport") private boolean useTransport = true; public Map getDriversMapping() {