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/11/10 12:37:17 UTC

[camel-kamelets] 07/12: Added Couchbase sink Kamelet

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

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

commit 1d18a0ecbd57eca05250303f896e3f604b10d665
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:34:14 2021 +0100

    Added Couchbase sink Kamelet
---
 couchbase-sink.kamelet.yaml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/couchbase-sink.kamelet.yaml b/couchbase-sink.kamelet.yaml
index c5ea08b..b2ee566 100644
--- a/couchbase-sink.kamelet.yaml
+++ b/couchbase-sink.kamelet.yaml
@@ -25,11 +25,11 @@ spec:
         title: Protocol
         description: The protocol to use
         type: string
-      hostname:
+      couchbaseHostname:
         title: Hostname
         description: The hostname to use
         type: string
-      port:
+      couchbasePort:
         title: Port
         description: The port to use
         type: int
@@ -62,6 +62,8 @@ spec:
         description: Auto Start Id or not
         type: boolean
         default: true
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:checkbox
   dependencies:
     - "camel:couchbase"
     - "camel:kamelet"
@@ -70,7 +72,7 @@ spec:
       uri: "kamelet:source"
       steps:
       - to:
-          uri: "couchbase:{{protocol}}://{{hostname}}"
+          uri: "couchbase:{{protocol}}://{{couchbaseHostname}}:{{couchbasePort}}"
           parameters:
             bucket: "{{bucket}}"
             autoStartIdForInserts: "{{autoStartId}}"