From 8ce3614191e9c018d92e078d58fc6f7dc2b38200 Mon Sep 17 00:00:00 2001 From: JiriOndrusek Date: Mon, 8 Jul 2024 11:12:48 +0200 Subject: [PATCH] Fixed twilio and langchain4j conflict --- .../component/twilio/it/TwilioResource.java | 5 ++++- poms/bom/pom.xml | 22 +++++++++++++++++++ .../src/main/generated/flattened-full-pom.xml | 20 +++++++++++++++++ .../main/generated/flattened-reduced-pom.xml | 20 +++++++++++++++++ .../flattened-reduced-verbose-pom.xml | 20 +++++++++++++++++ 5 files changed, 86 insertions(+), 1 deletion(-) diff --git a/integration-tests/twilio/src/main/java/org/apache/camel/quarkus/component/twilio/it/TwilioResource.java b/integration-tests/twilio/src/main/java/org/apache/camel/quarkus/component/twilio/it/TwilioResource.java index c81d4054a89e..4b38c2db2335 100644 --- a/integration-tests/twilio/src/main/java/org/apache/camel/quarkus/component/twilio/it/TwilioResource.java +++ b/integration-tests/twilio/src/main/java/org/apache/camel/quarkus/component/twilio/it/TwilioResource.java @@ -22,6 +22,7 @@ import com.twilio.constant.EnumConstants; import com.twilio.http.HttpClient; +import com.twilio.http.IRequest; import com.twilio.http.NetworkHttpClient; import com.twilio.http.Request; import com.twilio.http.TwilioRestClient; @@ -80,8 +81,10 @@ public TwilioRestClient restClient() { Optional wireMockUrl = ConfigProvider.getConfig().getOptionalValue("wiremock.url", String.class); if (wireMockUrl.isPresent()) { HttpClient client = new NetworkHttpClient() { + @Override - public com.twilio.http.Response makeRequest(Request originalRequest) { + public com.twilio.http.Response makeRequest(T r) { + Request originalRequest = (Request) r; String url = originalRequest.getUrl(); Request modified = new Request(originalRequest.getMethod(), diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 5f7d920a52f6..4919376b8d4c 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -1808,11 +1808,33 @@ org.apache.camel camel-langchain4j-chat ${camel.version} + + + + langchain4j-core + dev.langchain4j + + + langchain4j + dev.langchain4j + + org.apache.camel camel-langchain4j-core ${camel.version} + + + + langchain4j-core + dev.langchain4j + + + langchain4j + dev.langchain4j + + org.apache.camel diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index de847b669266..4e64abb35b12 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -1745,11 +1745,31 @@ org.apache.camel camel-langchain4j-chat 4.7.0-SNAPSHOT + + + dev.langchain4j + langchain4j-core + + + dev.langchain4j + langchain4j + + org.apache.camel camel-langchain4j-core 4.7.0-SNAPSHOT + + + dev.langchain4j + langchain4j-core + + + dev.langchain4j + langchain4j + + org.apache.camel diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 972c01556805..58e1b37565ed 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -1745,11 +1745,31 @@ org.apache.camel camel-langchain4j-chat 4.7.0-SNAPSHOT + + + dev.langchain4j + langchain4j-core + + + dev.langchain4j + langchain4j + + org.apache.camel camel-langchain4j-core 4.7.0-SNAPSHOT + + + dev.langchain4j + langchain4j-core + + + dev.langchain4j + langchain4j + + org.apache.camel diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml index da490756489a..80f014e96dcc 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -1745,11 +1745,31 @@ org.apache.camel camel-langchain4j-chat 4.7.0-SNAPSHOT + + + dev.langchain4j + langchain4j-core + + + dev.langchain4j + langchain4j + + org.apache.camel camel-langchain4j-core 4.7.0-SNAPSHOT + + + dev.langchain4j + langchain4j-core + + + dev.langchain4j + langchain4j + + org.apache.camel