You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/07/14 16:32:02 UTC
[camel-kamelets] 02/02: ElasticSearch Search Source Kamelet: User
and password are optional
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch elasticsearch-search-sink
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 0ce164a89e1c28e94d7aba363cb30f5c21840cbd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jul 14 18:30:57 2021 +0200
ElasticSearch Search Source Kamelet: User and password are optional
---
.../resources/kamelets/elasticsearch-search-source.kamelet.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
index 8b17f11..5c4832e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
@@ -48,6 +48,9 @@ spec:
title: Password
description: Password to connect to ElasticSearch.
type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
enableSSL:
title: Enable SSL
description: Do we want to connect using SSL?
@@ -95,8 +98,8 @@ spec:
indexName: "{{indexName}}"
hostAddresses: "{{hostAddresses}}"
enableSSL: "{{enableSSL}}"
- user: "{{user}}"
- password: "{{password}}"
+ user: "{{?user}}"
+ password: "{{?password}}"
- marshal:
json:
library: Gson