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:39:34 UTC
[camel-kamelets] branch main updated (c8c6d0b -> ac5e68b)
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 c8c6d0b Resync
new 7ae9950 Added Couchbase Sink Kamelet
new f09de07 Added Couchbase Sink Kamelet
new 2fc086c Added Couchbase Sink Kamelet
new 78f45a9 Added Couchbase Sink Kamelet
new 8373988 Added Couchbase Sink Kamelet
new 60be8ce Added Couchbase Sink Kamelet
new e418432 Added Couchbase sink Kamelet
new 5a319c1 Added Couchbase Sink Kamelet
new 3efd53a Added Couchbase sink Kamelet
new 3e7f85a Added Couchbase sink Kamelet
new 9d9c073 Added couchbase Sink Kamelet
new ac5e68b Added Couchbase Sink Kamelet
The 12 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:
couchbase-sink.kamelet.yaml | 81 ++++++++++++++++++++++
.../ROOT/assets/images/kamelets/couchbase-sink.svg | 1 +
docs/modules/ROOT/nav.adoc | 1 +
.../pages/{exec-sink.adoc => couchbase-sink.adoc} | 66 +++++++++---------
.../resources/kamelets/couchbase-sink.kamelet.yaml | 81 ++++++++++++++++++++++
...nk-binding.yaml => couchbase-sink-binding.yaml} | 10 +--
...nk-binding.yaml => couchbase-sink-binding.yaml} | 6 +-
7 files changed, 208 insertions(+), 38 deletions(-)
create mode 100644 couchbase-sink.kamelet.yaml
create mode 100644 docs/modules/ROOT/assets/images/kamelets/couchbase-sink.svg
copy docs/modules/ROOT/pages/{exec-sink.adoc => couchbase-sink.adoc} (51%)
create mode 100644 library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
copy templates/bindings/camel-k/{aws-ec2-sink-binding.yaml => couchbase-sink-binding.yaml} (63%)
copy templates/bindings/core/{exec-sink-binding.yaml => couchbase-sink-binding.yaml} (52%)
[camel-kamelets] 06/12: Added Couchbase 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 60be8cee7cf61e6896c6c3ccfebdde58d9791b65
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:30:58 2021 +0100
Added Couchbase Sink Kamelet
---
.../ROOT/assets/images/kamelets/couchbase-sink.svg | 1 +
docs/modules/ROOT/pages/couchbase-sink.adoc | 157 +++++++++++++++++++++
.../bindings/camel-k/couchbase-sink-binding.yaml | 20 +++
.../bindings/core/couchbase-sink-binding.yaml | 14 ++
4 files changed, 192 insertions(+)
diff --git a/docs/modules/ROOT/assets/images/kamelets/couchbase-sink.svg b/docs/modules/ROOT/assets/images/kamelets/couchbase-sink.svg
new file mode 100644
index 0000000..ac47508
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/couchbase-sink.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 68.343 68.343" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#A" x="2.171" y="2.171"/><symbol id="A" overflow="visible"><path d="M32.002 0C14.331.002.005 14.326 0 31.998c.005 17.67 14.328 31.993 31.998 31.998 17.67-.005 31.993-14.328 31.998-31.998C63.991 14.33 49.67.007 32.002 0zm21.606 37.609c0 1.933-1.112 3.626-3.288 4.013-3.77. [...]
\ No newline at end of file
diff --git a/docs/modules/ROOT/pages/couchbase-sink.adoc b/docs/modules/ROOT/pages/couchbase-sink.adoc
new file mode 100644
index 0000000..6644d33
--- /dev/null
+++ b/docs/modules/ROOT/pages/couchbase-sink.adoc
@@ -0,0 +1,157 @@
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
+
+= image:kamelets/couchbase-sink.svg[] Couchbase Sink
+
+*Provided by: "Apache Software Foundation"*
+
+*Support Level for this Kamelet is: "Preview"*
+
+Send documents to Couchbase.
+
+== Configuration Options
+
+The following table summarizes the configuration options available for the `couchbase-sink` Kamelet:
+[width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
+|===
+| Property| Name| Description| Type| Default| Example
+| *bucket {empty}* *| Bucket| The bucket to use| string| |
+| *hostname {empty}* *| Hostname| The hostname to use| string| |
+| *protocol {empty}* *| Protocol| The protocol to use| string| |
+| autoStartId| Auto Start Id| Auto Start Id or not| boolean| `true`|
+| password| Password| Password to connect to Couchbase.| string| |
+| port| Port| The port to use| int| `8091`|
+| startingId| Starting Id| The starting id| long| `1`|
+| username| Username| Username to connect to Couchbase.| string| |
+|===
+
+NOTE: Fields marked with an asterisk ({empty}*) are mandatory.
+
+
+== Dependencies
+
+At runtime, the `couchbase-sink Kamelet relies upon the presence of the following dependencies:
+
+- camel:couchbase
+- camel:kamelet
+
+== Usage
+
+This section describes how you can use the `couchbase-sink`.
+
+=== Knative Sink
+
+You can use the `couchbase-sink` Kamelet as a Knative sink by binding it to a Knative object.
+
+.couchbase-sink-binding.yaml
+[source,yaml]
+----
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+ name: couchbase-sink-binding
+spec:
+ source:
+ ref:
+ kind: Channel
+ apiVersion: messaging.knative.dev/v1
+ name: mychannel
+ sink:
+ ref:
+ kind: Kamelet
+ apiVersion: camel.apache.org/v1alpha1
+ name: couchbase-sink
+ properties:
+ bucket: "The Bucket"
+ hostname: "The Hostname"
+ protocol: "The Protocol"
+
+----
+
+==== *Prerequisite*
+
+You have xref:{camel-k-version}@camel-k::installation/installation.adoc[Camel K installed] on the cluster.
+
+==== *Procedure for using the cluster CLI*
+
+. Save the `couchbase-sink-binding.yaml` file to your local drive, and then edit it as needed for your configuration.
+
+. Run the sink by using the following command:
++
+[source,shell]
+----
+kubectl apply -f couchbase-sink-binding.yaml
+----
+
+==== *Procedure for using the Kamel CLI*
+
+Configure and run the sink by using the following command:
+
+[source,shell]
+----
+kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.hostname=The Hostname" -p "sink.protocol=The Protocol"
+----
+
+This command creates the KameletBinding in the current namespace on the cluster.
+
+=== Kafka Sink
+
+You can use the `couchbase-sink` Kamelet as a Kafka sink by binding it to a Kafka topic.
+
+.couchbase-sink-binding.yaml
+[source,yaml]
+----
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+ name: couchbase-sink-binding
+spec:
+ source:
+ ref:
+ kind: KafkaTopic
+ apiVersion: kafka.strimzi.io/v1beta1
+ name: my-topic
+ sink:
+ ref:
+ kind: Kamelet
+ apiVersion: camel.apache.org/v1alpha1
+ name: couchbase-sink
+ properties:
+ bucket: "The Bucket"
+ hostname: "The Hostname"
+ protocol: "The Protocol"
+
+----
+
+==== *Prerequisites*
+
+* You've installed https://strimzi.io/[Strimzi].
+* You've created a topic named `my-topic` in the current namespace.
+* You have xref:{camel-k-version}@camel-k::installation/installation.adoc[Camel K installed] on the cluster.
+
+==== *Procedure for using the cluster CLI*
+
+. Save the `couchbase-sink-binding.yaml` file to your local drive, and then edit it as needed for your configuration.
+
+. Run the sink by using the following command:
++
+[source,shell]
+----
+kubectl apply -f couchbase-sink-binding.yaml
+----
+
+==== *Procedure for using the Kamel CLI*
+
+Configure and run the sink by using the following command:
+
+[source,shell]
+----
+kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.hostname=The Hostname" -p "sink.protocol=The Protocol"
+----
+
+This command creates the KameletBinding in the current namespace on the cluster.
+
+== Kamelet source file
+
+https://github.com/apache/camel-kamelets/blob/main/couchbase-sink.kamelet.yaml
+
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
diff --git a/templates/bindings/camel-k/couchbase-sink-binding.yaml b/templates/bindings/camel-k/couchbase-sink-binding.yaml
new file mode 100644
index 0000000..e4ea102
--- /dev/null
+++ b/templates/bindings/camel-k/couchbase-sink-binding.yaml
@@ -0,0 +1,20 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+ name: couchbase-sink-binding
+spec:
+ source:
+ ref:
+ kind: KafkaTopic
+ apiVersion: kafka.strimzi.io/v1beta1
+ name: my-topic
+ sink:
+ ref:
+ kind: Kamelet
+ apiVersion: camel.apache.org/v1alpha1
+ name: couchbase-sink
+ properties:
+ bucket: "The Bucket"
+ hostname: "The Hostname"
+ protocol: "The Protocol"
+
\ No newline at end of file
diff --git a/templates/bindings/core/couchbase-sink-binding.yaml b/templates/bindings/core/couchbase-sink-binding.yaml
new file mode 100644
index 0000000..3977405
--- /dev/null
+++ b/templates/bindings/core/couchbase-sink-binding.yaml
@@ -0,0 +1,14 @@
+- route:
+ from:
+ uri: "kamelet:timer-source"
+ parameters:
+ period: 1000
+ message: "Hello Camel JBang"
+ steps:
+ - to:
+ uri: "kamelet:couchbase-sink"
+ parameters:
+ bucket: "The Bucket"
+ hostname: "The Hostname"
+ protocol: "The Protocol"
+
\ No newline at end of file
[camel-kamelets] 04/12: Added Couchbase 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 78f45a99f3055cfb283842b0cab32efa42f22f60
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:29:35 2021 +0100
Added Couchbase Sink Kamelet
---
.../src/main/resources/kamelets/couchbase-sink.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 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 da2b281..c5ea08b 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
@@ -5,7 +5,7 @@ metadata:
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,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNjguMzQzIDY4LjM0MyIgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHVzZSB4bGluazpocmVmPSIjQSIgeD0iMi4xNzEiIHk9IjIuMTcxIi8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxwYXRoIGQ9Ik0zMi4wMDIgMEMxNC4zMzEuMDAyLjAwNSAxNC4zMjYgMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Couchbase"
labels:
@@ -40,13 +40,13 @@ spec:
type: string
username:
title: Username
- description: Username to connect to Infinispan.
+ description: Username to connect to Couchbase.
type: string
x-descriptors:
- urn:camel:group:credentials
password:
title: Password
- description: Password to connect to Infinispan.
+ description: Password to connect to Couchbase.
type: string
format: password
x-descriptors:
@@ -55,7 +55,7 @@ spec:
startingId:
title: Starting Id
description: The starting id
- type: int
+ type: long
default: 1
autoStartId:
title: Auto Start Id
[camel-kamelets] 02/12: Added Couchbase 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 f09de078b24b39ccf1b5e5cd65658b252ae79083
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:27:57 2021 +0100
Added Couchbase Sink Kamelet
---
couchbase-sink.kamelet.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/couchbase-sink.kamelet.yaml b/couchbase-sink.kamelet.yaml
index 100352d..025e1b2 100644
--- a/couchbase-sink.kamelet.yaml
+++ b/couchbase-sink.kamelet.yaml
@@ -5,7 +5,7 @@ metadata:
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,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNjguMzQzIDY4LjM0MyIgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHVzZSB4bGluazpocmVmPSIjQSIgeD0iMi4xNzEiIHk9IjIuMTcxIi8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxwYXRoIGQ9Ik0zMi4wMDIgMEMxNC4zMzEuMDAyLjAwNSAxNC4zMjYgMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Couchbase"
labels:
[camel-kamelets] 01/12: Added Couchbase 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 7ae995036ae09936068205af86dfc067bc263ea8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:25:29 2021 +0100
Added Couchbase Sink Kamelet
---
couchbase-sink.kamelet.yaml | 79 ++++++++++++++++++++++
.../resources/kamelets/couchbase-sink.kamelet.yaml | 79 ++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/couchbase-sink.kamelet.yaml b/couchbase-sink.kamelet.yaml
new file mode 100644
index 0000000..100352d
--- /dev/null
+++ b/couchbase-sink.kamelet.yaml
@@ -0,0 +1,79 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: couchbase-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,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ camel.apache.org/kamelet.group: "Couchbase"
+ labels:
+ camel.apache.org/kamelet.type: "sink"
+spec:
+ definition:
+ title: "Couchbase Sink"
+ description: |-
+ Send documents to Couchbase.
+ required:
+ - protocol
+ - hostname
+ - bucket
+ type: object
+ properties:
+ protocol:
+ title: Protocol
+ description: The protocol to use
+ type: string
+ hostname:
+ title: Hostname
+ description: The hostname to use
+ type: string
+ port:
+ title: Port
+ description: The port to use
+ type: int
+ default: 8091
+ bucket:
+ title: Bucket
+ description: The bucket to use
+ type: string
+ username:
+ title: Username
+ description: Username to connect to Infinispan.
+ type: string
+ x-descriptors:
+ - urn:camel:group:credentials
+ password:
+ title: Password
+ description: Password to connect to Infinispan.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
+ startingId:
+ title: Starting Id
+ description: The starting id
+ type: long
+ default: 1
+ autoStartId:
+ title: Auto Start Id
+ description: Auto Start Id or not
+ type: boolean
+ default: true
+ dependencies:
+ - "camel:couchbase"
+ - "camel:kamelet"
+ flow:
+ from:
+ uri: "kamelet:source"
+ steps:
+ - to:
+ uri: "couchbase:{{protocol}}://{{hostname}}"
+ parameters:
+ bucket: "{{bucket}}"
+ autoStartIdForInserts: "{{autoStartId}}"
+ startingIdForInsertsFrom: "{{startingId}}"
+ username: "{{username}}"
+ password: "{{password}}"
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
new file mode 100644
index 0000000..da2b281
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
@@ -0,0 +1,79 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: couchbase-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,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ camel.apache.org/kamelet.group: "Couchbase"
+ labels:
+ camel.apache.org/kamelet.type: "sink"
+spec:
+ definition:
+ title: "Couchbase Sink"
+ description: |-
+ Send documents to Couchbase.
+ required:
+ - protocol
+ - hostname
+ - bucket
+ type: object
+ properties:
+ protocol:
+ title: Protocol
+ description: The protocol to use
+ type: string
+ hostname:
+ title: Hostname
+ description: The hostname to use
+ type: string
+ port:
+ title: Port
+ description: The port to use
+ type: int
+ default: 8091
+ bucket:
+ title: Bucket
+ description: The bucket to use
+ type: string
+ username:
+ title: Username
+ description: Username to connect to Infinispan.
+ type: string
+ x-descriptors:
+ - urn:camel:group:credentials
+ password:
+ title: Password
+ description: Password to connect to Infinispan.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
+ startingId:
+ title: Starting Id
+ description: The starting id
+ type: int
+ default: 1
+ autoStartId:
+ title: Auto Start Id
+ description: Auto Start Id or not
+ type: boolean
+ default: true
+ dependencies:
+ - "camel:couchbase"
+ - "camel:kamelet"
+ flow:
+ from:
+ uri: "kamelet:source"
+ steps:
+ - to:
+ uri: "couchbase:{{protocol}}://{{hostname}}"
+ parameters:
+ bucket: "{{bucket}}"
+ autoStartIdForInserts: "{{autoStartId}}"
+ startingIdForInsertsFrom: "{{startingId}}"
+ username: "{{username}}"
+ password: "{{password}}"
[camel-kamelets] 09/12: Added Couchbase 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 3efd53a008656747af22f9a03956cee9bd3ca6fd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:35:02 2021 +0100
Added Couchbase sink Kamelet
---
docs/modules/ROOT/pages/couchbase-sink.adoc | 10 ++++------
templates/bindings/camel-k/couchbase-sink-binding.yaml | 1 -
templates/bindings/core/couchbase-sink-binding.yaml | 1 -
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/docs/modules/ROOT/pages/couchbase-sink.adoc b/docs/modules/ROOT/pages/couchbase-sink.adoc
index 6644d33..e5f83a6 100644
--- a/docs/modules/ROOT/pages/couchbase-sink.adoc
+++ b/docs/modules/ROOT/pages/couchbase-sink.adoc
@@ -15,11 +15,11 @@ The following table summarizes the configuration options available for the `couc
|===
| Property| Name| Description| Type| Default| Example
| *bucket {empty}* *| Bucket| The bucket to use| string| |
-| *hostname {empty}* *| Hostname| The hostname to use| string| |
| *protocol {empty}* *| Protocol| The protocol to use| string| |
| autoStartId| Auto Start Id| Auto Start Id or not| boolean| `true`|
+| couchbaseHostname| Hostname| The hostname to use| string| |
+| couchbasePort| Port| The port to use| int| `8091`|
| password| Password| Password to connect to Couchbase.| string| |
-| port| Port| The port to use| int| `8091`|
| startingId| Starting Id| The starting id| long| `1`|
| username| Username| Username to connect to Couchbase.| string| |
|===
@@ -62,7 +62,6 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
- hostname: "The Hostname"
protocol: "The Protocol"
----
@@ -88,7 +87,7 @@ Configure and run the sink by using the following command:
[source,shell]
----
-kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.hostname=The Hostname" -p "sink.protocol=The Protocol"
+kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.protocol=The Protocol"
----
This command creates the KameletBinding in the current namespace on the cluster.
@@ -117,7 +116,6 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
- hostname: "The Hostname"
protocol: "The Protocol"
----
@@ -145,7 +143,7 @@ Configure and run the sink by using the following command:
[source,shell]
----
-kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.hostname=The Hostname" -p "sink.protocol=The Protocol"
+kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.protocol=The Protocol"
----
This command creates the KameletBinding in the current namespace on the cluster.
diff --git a/templates/bindings/camel-k/couchbase-sink-binding.yaml b/templates/bindings/camel-k/couchbase-sink-binding.yaml
index e4ea102..d49ad97 100644
--- a/templates/bindings/camel-k/couchbase-sink-binding.yaml
+++ b/templates/bindings/camel-k/couchbase-sink-binding.yaml
@@ -15,6 +15,5 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
- hostname: "The Hostname"
protocol: "The Protocol"
\ No newline at end of file
diff --git a/templates/bindings/core/couchbase-sink-binding.yaml b/templates/bindings/core/couchbase-sink-binding.yaml
index 3977405..f26e972 100644
--- a/templates/bindings/core/couchbase-sink-binding.yaml
+++ b/templates/bindings/core/couchbase-sink-binding.yaml
@@ -9,6 +9,5 @@
uri: "kamelet:couchbase-sink"
parameters:
bucket: "The Bucket"
- hostname: "The Hostname"
protocol: "The Protocol"
\ No newline at end of file
[camel-kamelets] 03/12: Added Couchbase 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 2fc086cfd98296f053c5b992daeb12c3bf389d1e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:28:21 2021 +0100
Added Couchbase Sink Kamelet
---
couchbase-sink.kamelet.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/couchbase-sink.kamelet.yaml b/couchbase-sink.kamelet.yaml
index 025e1b2..c5ea08b 100644
--- a/couchbase-sink.kamelet.yaml
+++ b/couchbase-sink.kamelet.yaml
@@ -40,13 +40,13 @@ spec:
type: string
username:
title: Username
- description: Username to connect to Infinispan.
+ description: Username to connect to Couchbase.
type: string
x-descriptors:
- urn:camel:group:credentials
password:
title: Password
- description: Password to connect to Infinispan.
+ description: Password to connect to Couchbase.
type: string
format: password
x-descriptors:
[camel-kamelets] 11/12: Added couchbase 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 9d9c07353e0ce9f423795c19ee5ecce92f86f48d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:36:04 2021 +0100
Added couchbase Sink Kamelet
---
.../src/main/resources/kamelets/couchbase-sink.kamelet.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 b2ee566..e0b97f1 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
@@ -17,7 +17,7 @@ spec:
Send documents to Couchbase.
required:
- protocol
- - hostname
+ - couchbaseHostname
- bucket
type: object
properties:
[camel-kamelets] 12/12: Added Couchbase 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 ac5e68b3a9f4a52066bc68fad6d073d261517fb3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:36:29 2021 +0100
Added Couchbase Sink Kamelet
---
docs/modules/ROOT/pages/couchbase-sink.adoc | 8 +++++---
templates/bindings/camel-k/couchbase-sink-binding.yaml | 1 +
templates/bindings/core/couchbase-sink-binding.yaml | 1 +
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/docs/modules/ROOT/pages/couchbase-sink.adoc b/docs/modules/ROOT/pages/couchbase-sink.adoc
index e5f83a6..2f7d698 100644
--- a/docs/modules/ROOT/pages/couchbase-sink.adoc
+++ b/docs/modules/ROOT/pages/couchbase-sink.adoc
@@ -15,9 +15,9 @@ The following table summarizes the configuration options available for the `couc
|===
| Property| Name| Description| Type| Default| Example
| *bucket {empty}* *| Bucket| The bucket to use| string| |
+| *couchbaseHostname {empty}* *| Hostname| The hostname to use| string| |
| *protocol {empty}* *| Protocol| The protocol to use| string| |
| autoStartId| Auto Start Id| Auto Start Id or not| boolean| `true`|
-| couchbaseHostname| Hostname| The hostname to use| string| |
| couchbasePort| Port| The port to use| int| `8091`|
| password| Password| Password to connect to Couchbase.| string| |
| startingId| Starting Id| The starting id| long| `1`|
@@ -62,6 +62,7 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
+ couchbaseHostname: "The Hostname"
protocol: "The Protocol"
----
@@ -87,7 +88,7 @@ Configure and run the sink by using the following command:
[source,shell]
----
-kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.protocol=The Protocol"
+kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.couchbaseHostname=The Hostname" -p "sink.protocol=The Protocol"
----
This command creates the KameletBinding in the current namespace on the cluster.
@@ -116,6 +117,7 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
+ couchbaseHostname: "The Hostname"
protocol: "The Protocol"
----
@@ -143,7 +145,7 @@ Configure and run the sink by using the following command:
[source,shell]
----
-kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.protocol=The Protocol"
+kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.couchbaseHostname=The Hostname" -p "sink.protocol=The Protocol"
----
This command creates the KameletBinding in the current namespace on the cluster.
diff --git a/templates/bindings/camel-k/couchbase-sink-binding.yaml b/templates/bindings/camel-k/couchbase-sink-binding.yaml
index d49ad97..4612a8a 100644
--- a/templates/bindings/camel-k/couchbase-sink-binding.yaml
+++ b/templates/bindings/camel-k/couchbase-sink-binding.yaml
@@ -15,5 +15,6 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
+ couchbaseHostname: "The Hostname"
protocol: "The Protocol"
\ No newline at end of file
diff --git a/templates/bindings/core/couchbase-sink-binding.yaml b/templates/bindings/core/couchbase-sink-binding.yaml
index f26e972..4f8948c 100644
--- a/templates/bindings/core/couchbase-sink-binding.yaml
+++ b/templates/bindings/core/couchbase-sink-binding.yaml
@@ -9,5 +9,6 @@
uri: "kamelet:couchbase-sink"
parameters:
bucket: "The Bucket"
+ couchbaseHostname: "The Hostname"
protocol: "The Protocol"
\ No newline at end of file
[camel-kamelets] 05/12: Added Couchbase 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 83739882156a7625f71c236ab08d5b69c89d3670
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:30:43 2021 +0100
Added Couchbase 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 cc7b464..65f5d45 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -31,6 +31,7 @@
* xref:ROOT:cassandra-source.adoc[image:kamelets/cassandra-source.svg[] Cassandra Source]
* xref:ROOT:chuck-norris-source.adoc[image:kamelets/chuck-norris-source.svg[] Chuck Norris Source]
* xref:ROOT:chunk-template-action.adoc[image:kamelets/chunk-template-action.svg[] Chunk Template Action]
+* xref:ROOT:couchbase-sink.adoc[image:kamelets/couchbase-sink.svg[] Couchbase Sink]
* xref:ROOT:cron-source.adoc[image:kamelets/cron-source.svg[] Cron Source]
* xref:ROOT:dns-dig-action.adoc[image:kamelets/dns-dig-action.svg[] DNS DIG Action]
* xref:ROOT:dns-ip-action.adoc[image:kamelets/dns-ip-action.svg[] DNS IP Action]
[camel-kamelets] 08/12: Added Couchbase 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 5a319c191b709b747a54005d4c487f49bf29ec45
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}}"
[camel-kamelets] 07/12: Added Couchbase 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 e418432eba4aadcd560eaa8949a2cee2d6fb8707
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}}"
[camel-kamelets] 10/12: Added Couchbase 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 3e7f85ab8c2b59e4b14d33ed3d2bfd743695e961
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:35:40 2021 +0100
Added Couchbase sink Kamelet
---
couchbase-sink.kamelet.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/couchbase-sink.kamelet.yaml b/couchbase-sink.kamelet.yaml
index b2ee566..e0b97f1 100644
--- a/couchbase-sink.kamelet.yaml
+++ b/couchbase-sink.kamelet.yaml
@@ -17,7 +17,7 @@ spec:
Send documents to Couchbase.
required:
- protocol
- - hostname
+ - couchbaseHostname
- bucket
type: object
properties: