This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 12e33f8f8565a1f2ce2da0d1a828e16150ea41a1
Author: nicolaferraro <[email protected]>
AuthorDate: Tue Oct 19 10:27:49 2021 +0200

    chore: regen docs
---
 docs/modules/ROOT/pages/mqtt-sink.adoc                      |  2 ++
 docs/modules/ROOT/pages/mqtt-source.adoc                    |  2 ++
 .../src/main/resources/kamelets/mqtt-sink.kamelet.yaml      | 13 +++++++++++++
 .../src/main/resources/kamelets/mqtt-source.kamelet.yaml    | 13 +++++++++++++
 4 files changed, 30 insertions(+)

diff --git a/docs/modules/ROOT/pages/mqtt-sink.adoc 
b/docs/modules/ROOT/pages/mqtt-sink.adoc
index 65afdf9..a401e16 100644
--- a/docs/modules/ROOT/pages/mqtt-sink.adoc
+++ b/docs/modules/ROOT/pages/mqtt-sink.adoc
@@ -16,6 +16,8 @@ The following table summarizes the configuration options 
available for the `mqtt
 | Property| Name| Description| Type| Default| Example
 | *brokerUrl {empty}* *| Broker URL| The URL of the broker where to establish 
the connection| string| | `"tcp://mosquitto:1883"`
 | *topic {empty}* *| Topic| The topic to send messages to| string| | 
`"mytopic"`
+| password| Password| Password to use when connecting to the MQTT broker| 
string| | 
+| username| Username| Username to use when connecting to the MQTT broker| 
string| | 
 |===
 
 NOTE: Fields marked with an asterisk ({empty}*) are mandatory.
diff --git a/docs/modules/ROOT/pages/mqtt-source.adoc 
b/docs/modules/ROOT/pages/mqtt-source.adoc
index be5b291..8d213a7 100644
--- a/docs/modules/ROOT/pages/mqtt-source.adoc
+++ b/docs/modules/ROOT/pages/mqtt-source.adoc
@@ -17,6 +17,8 @@ The following table summarizes the configuration options 
available for the `mqtt
 | *brokerUrl {empty}* *| Broker URL| The URL of the broker where to establish 
the connection| string| | `"tcp://mosquitto:1883"`
 | *topic {empty}* *| Topic| The topic to subscribe to| string| | `"mytopic"`
 | clientId| Client ID| The client ID to use when connecting to the resource| 
string| `"mqtt-source"`| 
+| password| Password| Password to use when connecting to the MQTT broker| 
string| | 
+| username| Username| Username to use when connecting to the MQTT broker| 
string| | 
 |===
 
 NOTE: Fields marked with an asterisk ({empty}*) are mandatory.
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/mqtt-sink.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/mqtt-sink.kamelet.yaml
index e279e74..39e1331 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/mqtt-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/mqtt-sink.kamelet.yaml
@@ -30,6 +30,17 @@ spec:
         description: The URL of the broker where to establish the connection
         type: string
         example: "tcp://mosquitto:1883"
+      username:
+        title: Username
+        description: Username to use when connecting to the MQTT broker
+        type: string
+      password:
+        title: Password
+        description: Password to use when connecting to the MQTT broker
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
   dependencies:
     - "camel:paho"
     - "camel:kamelet"
@@ -41,3 +52,5 @@ spec:
           uri: paho:{{topic}}
           parameters:
             brokerUrl: "{{brokerUrl}}"
+            userName: "{{?username}}"
+            password: "{{?password}}"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/mqtt-source.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/mqtt-source.kamelet.yaml
index 1ae863a..e3d69e0 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/mqtt-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/mqtt-source.kamelet.yaml
@@ -35,6 +35,17 @@ spec:
         description: The client ID to use when connecting to the resource
         type: string
         default: "mqtt-source"
+      username:
+        title: Username
+        description: Username to use when connecting to the MQTT broker
+        type: string
+      password:
+        title: Password
+        description: Password to use when connecting to the MQTT broker
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
   dependencies:
     - "camel:paho"
     - "camel:kamelet"
@@ -44,5 +55,7 @@ spec:
       parameters:
         brokerUrl: "{{brokerUrl}}"
         clientId: "{{clientId}}"
+        userName: "{{?username}}"
+        password: "{{?password}}"
       steps:
       - to: kamelet:sink

Reply via email to