This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.9.x-1056 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 86caa9c00f4c44df7b180b586699855e14068cd7 Author: Andrea Cosentino <[email protected]> AuthorDate: Fri Sep 30 09:36:52 2022 +0200 Elasticsearch-search-source won't let me define basic authentication --- kamelets/elasticsearch-search-source.kamelet.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kamelets/elasticsearch-search-source.kamelet.yaml b/kamelets/elasticsearch-search-source.kamelet.yaml index 70695247..9b420f49 100644 --- a/kamelets/elasticsearch-search-source.kamelet.yaml +++ b/kamelets/elasticsearch-search-source.kamelet.yaml @@ -93,6 +93,9 @@ spec: beans: - name: local-es type: "#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent" + properties: + user: "{{?user}}" + password: "{{?password}}" from: uri: timer:tick parameters: @@ -110,8 +113,6 @@ spec: indexName: "{{indexName}}" hostAddresses: "{{hostAddresses}}" enableSSL: "{{enableSSL}}" - user: "{{?user}}" - password: "{{?password}}" - marshal: json: library: Gson
