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:33 UTC
[camel-kamelets] 01/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 6e436c7d7186ad5f93006507ee72b88843dc4300
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 6 13:03:12 2021 +0100
Added Username/Password fields in Solr Sink Kamelet
---
kamelets/solr-sink.kamelet.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/kamelets/solr-sink.kamelet.yaml b/kamelets/solr-sink.kamelet.yaml
index c4f2c90..f27387b 100644
--- a/kamelets/solr-sink.kamelet.yaml
+++ b/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}}"