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/12/06 12:05:34 UTC
[camel-kamelets] 02/03: Added Username/Password fields in Solr Sink Kamelet
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch solr-sink-creds
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 59099c81a53080976e6ac45e7a2befb44c8eb35a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 6 13:04:04 2021 +0100
Added Username/Password fields in Solr Sink Kamelet
---
.../src/main/resources/kamelets/solr-sink.kamelet.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
index c4f2c90..f27387b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
@@ -51,6 +51,20 @@ spec:
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ username:
+ title: Username
+ description: Username to connect to Solr.
+ type: string
+ x-descriptors:
+ - urn:camel:group:credentials
+ password:
+ title: Password
+ description: Password to connect to Solr.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
types:
in:
mediaType: application/json
@@ -75,3 +89,5 @@ spec:
uri: "solr:{{servers}}/solr/{{collection}}"
parameters:
autocommit: "{{autocommit}}"
+ username: "{{?username}}"
+ password: "{{?password}}"