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

nfilotto 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 ab0a7f170ca CAMEL-18608: camel-elasticsearch - Adapt the test to 
behavior change in elasticsearch-java 8.5.1+ with ObjectMapper default config
ab0a7f170ca is described below

commit ab0a7f170ca8dfca81cc693f7ee340ab0399cad4
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Tue Nov 29 16:08:22 2022 +0100

    CAMEL-18608: camel-elasticsearch - Adapt the test to behavior change in 
elasticsearch-java 8.5.1+ with ObjectMapper default config
---
 .../es/integration/ElasticsearchGetSearchDeleteExistsUpdateIT.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchGetSearchDeleteExistsUpdateIT.java
 
b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchGetSearchDeleteExistsUpdateIT.java
index 5dcae928c2e..a6673bf931b 100644
--- 
a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchGetSearchDeleteExistsUpdateIT.java
+++ 
b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchGetSearchDeleteExistsUpdateIT.java
@@ -40,6 +40,7 @@ import 
co.elastic.clients.elasticsearch.core.msearch.MultisearchBody;
 import co.elastic.clients.elasticsearch.core.msearch.MultisearchHeader;
 import co.elastic.clients.elasticsearch.core.msearch.RequestItem;
 import co.elastic.clients.elasticsearch.core.search.HitsMetadata;
+import com.fasterxml.jackson.annotation.JsonInclude;
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.node.ObjectNode;
 import org.apache.camel.builder.RouteBuilder;
@@ -831,6 +832,7 @@ class ElasticsearchGetSearchDeleteExistsUpdateIT extends 
ElasticsearchTestSuppor
         };
     }
 
+    @JsonInclude(JsonInclude.Include.NON_NULL)
     public static class Product {
 
         private String id;

Reply via email to