This is an automated email from the ASF dual-hosted git repository. apupier 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 00f6551ae01 Regen (ElasticSearch related) 00f6551ae01 is described below commit 00f6551ae016029f6bde9aec8b617f82d0457476 Author: Aurélien Pupier <apup...@redhat.com> AuthorDate: Tue Jun 11 10:59:27 2024 +0200 Regen (ElasticSearch related) Signed-off-by: Aurélien Pupier <apup...@redhat.com> --- ...sticsearchRestClientEndpointBuilderFactory.java | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java index 681cf48d4d5..83c7535998c 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java @@ -393,6 +393,20 @@ public interface ElasticsearchRestClientEndpointBuilderFactory { } public interface ElasticsearchRestClientBuilders { + /** + * Elasticsearch Low level Rest Client (camel-elasticsearch-rest-client) + * Perform queries and other operations on Elasticsearch or OpenSearch + * (uses low-level client). + * + * Category: search + * Since: 4.3 + * Maven coordinates: org.apache.camel:camel-elasticsearch-rest-client + * + * @return the dsl builder for the headers' name. + */ + default ElasticsearchRestClientHeaderNameBuilder elasticsearchRestClient() { + return ElasticsearchRestClientHeaderNameBuilder.INSTANCE; + } /** * Elasticsearch Low level Rest Client (camel-elasticsearch-rest-client) * Perform queries and other operations on Elasticsearch or OpenSearch @@ -437,6 +451,66 @@ public interface ElasticsearchRestClientEndpointBuilderFactory { } } + /** + * The builder of headers' name for the Elasticsearch Low level Rest Client component. + */ + public static class ElasticsearchRestClientHeaderNameBuilder { + /** + * The internal instance of the builder used to access to all the + * methods representing the name of headers. + */ + private static final ElasticsearchRestClientHeaderNameBuilder INSTANCE = new ElasticsearchRestClientHeaderNameBuilder(); + + /** + * ID of the object to index or retrieve or delete. + * + * The option is a: {@code String} type. + * + * Group: producer + * + * @return the name of the header {@code ID}. + */ + public String iD() { + return "ID"; + } + /** + * The JSON Query to perform for search. + * + * The option is a: {@code String} type. + * + * Group: producer + * + * @return the name of the header {@code SEARCH_QUERY}. + */ + public String searchQuery() { + return "SEARCH_QUERY"; + } + /** + * Advanced - The JSON Index Settings and/or Mappings Query to perform + * to create an index. + * + * The option is a: {@code String} type. + * + * Group: producer + * + * @return the name of the header {@code INDEX_SETTINGS}. + */ + public String indexSettings() { + return "INDEX_SETTINGS"; + } + /** + * The Index name. + * + * The option is a: {@code String} type. + * + * Group: producer + * + * @return the name of the header {@code INDEX_NAME}. + */ + public String indexName() { + return "INDEX_NAME"; + } + } static ElasticsearchRestClientEndpointBuilder endpointBuilder(String componentName, String path) { class ElasticsearchRestClientEndpointBuilderImpl extends AbstractEndpointBuilder implements ElasticsearchRestClientEndpointBuilder, AdvancedElasticsearchRestClientEndpointBuilder { public ElasticsearchRestClientEndpointBuilderImpl(String path) {