This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch solr-source-creds in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 124cd741e615e59fbd26631919ba7a8d5daf996f Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Dec 6 12:38:56 2021 +0100 Added Username/Password fields in Solr Source Kamelet --- kamelets/solr-source.kamelet.yaml | 16 ++++++++++++++++ .../src/main/resources/kamelets/solr-source.kamelet.yaml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/kamelets/solr-source.kamelet.yaml b/kamelets/solr-source.kamelet.yaml index c9ce707..35817c6 100644 --- a/kamelets/solr-source.kamelet.yaml +++ b/kamelets/solr-source.kamelet.yaml @@ -55,6 +55,19 @@ spec: title: Query description: The query to submit to Solr type: string + username: + title: Username + description: Username to connect to Infinispan. + type: string + x-descriptors: + - urn:camel:group:credentials + password: + title: Password + description: Password to connect to Infinispan. + type: string + format: password + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:password types: in: mediaType: application/json @@ -80,6 +93,9 @@ spec: name: "content-type" - to: uri: "solr:{{servers}}/solr/{{collection}}" + parameters: + username: "{{?username}}" + password: "{{?password}}" - marshal: json: library: Jackson diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml index c9ce707..35817c6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml @@ -55,6 +55,19 @@ spec: title: Query description: The query to submit to Solr type: string + username: + title: Username + description: Username to connect to Infinispan. + type: string + x-descriptors: + - urn:camel:group:credentials + password: + title: Password + description: Password to connect to Infinispan. + type: string + format: password + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:password types: in: mediaType: application/json @@ -80,6 +93,9 @@ spec: name: "content-type" - to: uri: "solr:{{servers}}/solr/{{collection}}" + parameters: + username: "{{?username}}" + password: "{{?password}}" - marshal: json: library: Jackson
