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:18 UTC

[camel-kamelets] 08/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 c260818028e6c487f89d90b05c5f7c9e356fd638
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:34:38 2021 +0100

    Added Couchbase Sink Kamelet
---
 .../src/main/resources/kamelets/couchbase-sink.kamelet.yaml       | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
index c5ea08b..b2ee566 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/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}}"