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/09/05 16:31:08 UTC
[camel-kamelets] branch main updated: mongodb-source: Changed
properties username and password as optional.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new aac2439 mongodb-source: Changed properties username and password as optional.
aac2439 is described below
commit aac24391a1c30ffaf8a5f0f1a264c1fec2d7b6b9
Author: Andrea Tarocchi <an...@tarocch.it>
AuthorDate: Sun Sep 5 17:35:59 2021 +0200
mongodb-source: Changed properties username and password as optional.
A Mongodb server can be configured without authentication, for example for testing purposes.
---
mongodb-source.kamelet.yaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/mongodb-source.kamelet.yaml b/mongodb-source.kamelet.yaml
index 3738e3e..995df36 100644
--- a/mongodb-source.kamelet.yaml
+++ b/mongodb-source.kamelet.yaml
@@ -22,8 +22,6 @@ spec:
required:
- hosts
- collection
- - password
- - username
- database
type: object
properties:
@@ -74,8 +72,8 @@ spec:
parameters:
hosts: "{{hosts}}"
collection: "{{collection}}"
- password: "{{password}}"
- username: "{{username}}"
+ password: "{{?password}}"
+ username: "{{?username}}"
database: "{{database}}"
persistentTailTracking: "{{persistentTailTracking}}"
tailTrackIncreasingField: "{{?tailTrackIncreasingField}}"