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/03/10 08:49:34 UTC

[camel] branch main updated: Upgrade fhir hapi 4.2.0

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

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


The following commit(s) were added to refs/heads/main by this push:
     new f781fee  Upgrade fhir hapi 4.2.0
f781fee is described below

commit f781feeabdd8abf3059b3a1a811ea72ac916230c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Mar 10 09:09:49 2022 +0100

    Upgrade fhir hapi 4.2.0
---
 camel-dependencies/pom.xml                                  |  2 +-
 .../component/fhir/FhirCustomClientConfigurationIT.java     | 13 ++++++-------
 parent/pom.xml                                              |  2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 3fe33ff..76f9c5e 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -251,7 +251,7 @@
     <hadoop3-guava-version>29.0-jre</hadoop3-guava-version>
     <hadoop3-version>3.3.2</hadoop3-version>
     <hamcrest-version>2.2</hamcrest-version>
-    <hapi-fhir-version>4.1.0</hapi-fhir-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 247dc00..e0fbc44 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;
@@ -297,6 +296,11 @@ public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
         }
 
         @Override
+        public void registerInterceptor(Object o) {
+
+        }
+
+        @Override
         public IInterceptorService getInterceptorService() {
             return null;
         }
@@ -332,11 +336,6 @@ public class FhirCustomClientConfigurationIT extends AbstractFhirTestSupport {
         }
 
         @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) {
 
         }
 
diff --git a/parent/pom.xml b/parent/pom.xml
index fcb61c8..ffaed31 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -233,7 +233,7 @@
         <hadoop3-guava-version>29.0-jre</hadoop3-guava-version>
         <hamcrest-version>2.2</hamcrest-version>
         <hapi-version>2.3</hapi-version>
-        <hapi-fhir-version>4.1.0</hapi-fhir-version>
+        <hapi-fhir-version>4.2.0</hapi-fhir-version>
         <hawtbuf-version>1.11</hawtbuf-version>
         <hawtdispatch-version>1.22</hawtdispatch-version>
         <hazelcast-version>5.1</hazelcast-version>