You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/08/03 14:09:08 UTC

[camel] branch camel-3.14.x updated: Fix build after some camel-fhir backports

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.14.x by this push:
     new 3754a4feca7 Fix build after some camel-fhir backports
3754a4feca7 is described below

commit 3754a4feca7902658dfa2a834f57f062882bf2aa
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Aug 3 16:08:54 2022 +0200

    Fix build after some camel-fhir backports
---
 camel-dependencies/pom.xml                                  |  3 ++-
 .../component/fhir/FhirCustomClientConfigurationIT.java     | 13 ++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 20847007a2f..588571c81f6 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -249,7 +249,8 @@
     <hadoop3-guava-version>29.0-jre</hadoop3-guava-version>
     <hadoop3-version>3.3.1</hadoop3-version>
     <hamcrest-version>2.2</hamcrest-version>
-    <hapi-fhir-version>4.1.0</hapi-fhir-version>
+    <hapi-base-version>2.3</hapi-base-version>
+    <hapi-fhir-version>4.2.0</hapi-fhir-version>
     <hapi-version>2.3</hapi-version>
     <hawtbuf-version>1.11</hawtbuf-version>
     <hawtdispatch-version>1.22</hawtdispatch-version>
diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
index 247dc0093a2..e0fbc44ce05 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java
@@ -29,7 +29,6 @@ import ca.uhn.fhir.rest.api.RequestFormatParamStyleEnum;
 import ca.uhn.fhir.rest.api.RequestTypeEnum;
 import ca.uhn.fhir.rest.api.SummaryEnum;
 import ca.uhn.fhir.rest.client.api.Header;
-import ca.uhn.fhir.rest.client.api.IClientInterceptor;
 import ca.uhn.fhir.rest.client.api.IGenericClient;
 import ca.uhn.fhir.rest.client.api.IHttpClient;
 import ca.uhn.fhir.rest.client.api.IRestfulClient;
@@ -296,6 +295,11 @@ public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
             return null;
         }
 
+        @Override
+        public void registerInterceptor(Object o) {
+
+        }
+
         @Override
         public IInterceptorService getInterceptorService() {
             return null;
@@ -331,11 +335,6 @@ public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
             return null;
         }
 
-        @Override
-        public void registerInterceptor(IClientInterceptor theInterceptor) {
-
-        }
-
         @Override
         public void setEncoding(EncodingEnum theEncoding) {
 
@@ -367,7 +366,7 @@ public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
         }
 
         @Override
-        public void unregisterInterceptor(IClientInterceptor theInterceptor) {
+        public void unregisterInterceptor(Object o) {
 
         }