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 2022/03/15 14:20:05 UTC

[camel-kamelets] branch main updated (e469410 -> 7b29150)

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

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


    from e469410  Added Mqtt5 v5 Source Kamelet
     new 3a8a2c1  Added Mqtt5 v5 Sink Kamelet
     new 6840065  Added Mqtt5 v5 Sink Kamelet
     new 7b29150  Added Mqtt5 v5 Sink Kamelet

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/modules/ROOT/nav.adoc                               |  1 +
 .../mqtt5-sink.kamelet.yaml                              | 16 ++++++++--------
 .../{mqtt-sink.kamelet.yaml => mqtt5-sink.kamelet.yaml}  | 16 ++++++++--------
 3 files changed, 17 insertions(+), 16 deletions(-)
 copy library/camel-kamelets/src/main/resources/kamelets/mqtt-sink.kamelet.yaml => kamelets/mqtt5-sink.kamelet.yaml (94%)
 copy library/camel-kamelets/src/main/resources/kamelets/{mqtt-sink.kamelet.yaml => mqtt5-sink.kamelet.yaml} (94%)

[camel-kamelets] 03/03: Added Mqtt5 v5 Sink Kamelet

Posted by ac...@apache.org.
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

commit 7b29150cfccc209f56d021ccec7b4a57e73e09de
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 15 14:55:13 2022 +0100

    Added Mqtt5 v5 Sink Kamelet
---
 docs/modules/ROOT/nav.adoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 14f8ca6..beef989 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -117,6 +117,7 @@
 * xref:mongodb-source.adoc[]
 * xref:mqtt-sink.adoc[]
 * xref:mqtt-source.adoc[]
+* xref:mqtt5-sink.adoc[]
 * xref:mqtt5-source.adoc[]
 * xref:mustache-template-action.adoc[]
 * xref:mvel-template-action.adoc[]

[camel-kamelets] 02/03: Added Mqtt5 v5 Sink Kamelet

Posted by ac...@apache.org.
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

commit 6840065e847d8eca953fd4e5628817d610bfe6c9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 15 14:51:25 2022 +0100

    Added Mqtt5 v5 Sink Kamelet
---
 .../resources/kamelets/mqtt5-sink.kamelet.yaml     | 75 ++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/mqtt5-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mqtt5-sink.kamelet.yaml
new file mode 100644
index 0000000..aa9cdc8
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/mqtt5-sink.kamelet.yaml
@@ -0,0 +1,75 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: mqtt5-sink
+  annotations:
+    camel.apache.org/kamelet.support.level: "Preview"
+    camel.apache.org/catalog.version: "main-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMiIgYmFzZVByb2ZpbGU9InRpbnkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIKCSB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMjAgMzIwIiBvdmVyZmxvdz0idmlzaWJsZSIgeG1sOnNwYWNlPSJwcm [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "MQTT v5"
+  labels:
+    camel.apache.org/kamelet.type: "sink"
+spec:
+  definition:
+    title: "MQTT v5 Sink"
+    description: |-
+      Allows sending messages to any endpoint that supports the MQTT v5 protocol, such as a message broker.
+    required:
+    - topic
+    - brokerUrl
+    type: object
+    properties:
+      topic:
+        title: Topic
+        description: The topic to send messages to
+        type: string
+        example: "mytopic"
+      brokerUrl:
+        title: Broker URL
+        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 v5 compliant broker
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      password:
+        title: Password
+        description: Password to use when connecting to the MQTT v5 compliant broker
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+  dependencies:
+    - "camel:paho-mqtt5"
+    - "camel:kamelet"
+  template:
+    from:
+      uri: kamelet:source
+      steps:
+      - to:
+          uri: paho-mqtt5:{{topic}}
+          parameters:
+            brokerUrl: "{{brokerUrl}}"
+            userName: "{{?username}}"
+            password: "{{?password}}"

[camel-kamelets] 01/03: Added Mqtt5 v5 Sink Kamelet

Posted by ac...@apache.org.
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

commit 3a8a2c1e477912bd3d698376c5b44e7d9b854a69
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 15 14:50:17 2022 +0100

    Added Mqtt5 v5 Sink Kamelet
---
 kamelets/mqtt5-sink.kamelet.yaml | 75 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/kamelets/mqtt5-sink.kamelet.yaml b/kamelets/mqtt5-sink.kamelet.yaml
new file mode 100644
index 0000000..aa9cdc8
--- /dev/null
+++ b/kamelets/mqtt5-sink.kamelet.yaml
@@ -0,0 +1,75 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: mqtt5-sink
+  annotations:
+    camel.apache.org/kamelet.support.level: "Preview"
+    camel.apache.org/catalog.version: "main-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMiIgYmFzZVByb2ZpbGU9InRpbnkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIKCSB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMjAgMzIwIiBvdmVyZmxvdz0idmlzaWJsZSIgeG1sOnNwYWNlPSJwcm [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "MQTT v5"
+  labels:
+    camel.apache.org/kamelet.type: "sink"
+spec:
+  definition:
+    title: "MQTT v5 Sink"
+    description: |-
+      Allows sending messages to any endpoint that supports the MQTT v5 protocol, such as a message broker.
+    required:
+    - topic
+    - brokerUrl
+    type: object
+    properties:
+      topic:
+        title: Topic
+        description: The topic to send messages to
+        type: string
+        example: "mytopic"
+      brokerUrl:
+        title: Broker URL
+        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 v5 compliant broker
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      password:
+        title: Password
+        description: Password to use when connecting to the MQTT v5 compliant broker
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+  dependencies:
+    - "camel:paho-mqtt5"
+    - "camel:kamelet"
+  template:
+    from:
+      uri: kamelet:source
+      steps:
+      - to:
+          uri: paho-mqtt5:{{topic}}
+          parameters:
+            brokerUrl: "{{brokerUrl}}"
+            userName: "{{?username}}"
+            password: "{{?password}}"