You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/03/26 08:19:40 UTC

[camel-kamelets] branch master updated (e906c40 -> 5033f29)

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

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


    from e906c40  Added Fhir Source Kamelet
     new 5ae9fb4  Added AWS SNS Sink Kamelet
     new 63af29d  Added AWS SNS Sink Kamelet
     new f2f01f3  Added AWS SNS Sink Kamelet
     new 2cae38c  Added AWS SNS Sink Kamelet
     new 0c6e26f  Added AWS SNS Sink Kamelet
     new 5033f29  Added AWS SNS Sink Kamelet

The 6 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:
 aws-sns-sink.kamelet.yaml                          | 59 ++++++++++++++++++++++
 .../ROOT/assets/images/kamelets/aws-sns-sink.svg   | 14 +++++
 docs/modules/ROOT/nav.adoc                         |  1 +
 .../pages/{aws-sqs-sink.adoc => aws-sns-sink.adoc} | 26 +++++-----
 4 files changed, 87 insertions(+), 13 deletions(-)
 create mode 100644 aws-sns-sink.kamelet.yaml
 create mode 100644 docs/modules/ROOT/assets/images/kamelets/aws-sns-sink.svg
 copy docs/modules/ROOT/pages/{aws-sqs-sink.adoc => aws-sns-sink.adoc} (69%)

[camel-kamelets] 06/06: Added AWS SNS Sink Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5033f2978f9c9e2736f6ad538657f8abe4541488
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:07:31 2021 +0100

    Added AWS SNS Sink Kamelet
---
 docs/modules/ROOT/pages/aws-sns-sink.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/aws-sns-sink.adoc b/docs/modules/ROOT/pages/aws-sns-sink.adoc
index 2bc703a..9ce2f28 100644
--- a/docs/modules/ROOT/pages/aws-sns-sink.adoc
+++ b/docs/modules/ROOT/pages/aws-sns-sink.adoc
@@ -3,7 +3,7 @@
 
 *Provided by: "Apache Software Foundation"*
 
-Send message to an AWS SNS Queue
+Send message to an AWS SNS Topic
 
 == Configuration Options
 

[camel-kamelets] 04/06: Added AWS SNS Sink Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2cae38c7e997952ff8611082a6a7d69f82c51ef2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:06:22 2021 +0100

    Added AWS SNS Sink Kamelet
---
 .../ROOT/assets/images/kamelets/aws-sns-sink.svg   | 14 +++++
 docs/modules/ROOT/pages/aws-sns-sink.adoc          | 67 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/docs/modules/ROOT/assets/images/kamelets/aws-sns-sink.svg b/docs/modules/ROOT/assets/images/kamelets/aws-sns-sink.svg
new file mode 100644
index 0000000..192b2c8
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/aws-sns-sink.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg   viewBox="0 0 256 257" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
+	<g>
+		<path d="M98.875,232.033 L72.442,224.625 L47.441,196.117 L78.713,195.254 L98.875,232.033" fill="#995B80"></path>
+		<path d="M37.75,213.233 L22.875,209.067 L8.817,193.033 L25.899,190.224 L37.75,213.233" fill="#995B80"></path>
+		<path d="M0,191.017 L15.204,194.108 L17.411,190.226 L17.411,58.503 L15.204,55.942 L0,64.6 L0,191.017" fill="#7B3F65"></path>
+		<path d="M73.933,69.708 L15.208,55.942 L15.208,194.108 L24.006,193.29 L37.75,213.233 L48.35,191.028 L73.933,188.65 L73.933,69.708" fill="#C17B9D"></path>
+		<path d="M33.958,198.133 L60.021,203.383 L61.737,199.338 L61.737,37.44 L60.021,33.775 L33.958,46.983 L33.958,198.133" fill="#7B3F65"></path>
+		<path d="M208.734,81.516 L60.021,33.775 L60.021,203.387 L77.242,201.171 L98.875,232.033 L116.001,196.183 L208.734,184.25 L208.734,81.516" fill="#C17B9D"></path>
+		<path d="M181.833,256.492 L144.267,245.967 L108.758,205.467 L154.791,204.999 L181.833,256.492" fill="#995B80"></path>
+		<path d="M89.591,208.95 L127.921,216.367 L130.898,213.801 L130.898,4.117 L127.921,0 L89.591,19.158 L89.591,208.95" fill="#7B3F65"></path>
+		<path d="M256,64.033 L127.925,0 L127.925,216.367 L150.522,211.839 L181.833,256.492 L208.734,200.183 L208.717,200.181 L256,190.708 L256,64.033" fill="#C17B9D"></path>
+	</g>
+</svg>
diff --git a/docs/modules/ROOT/pages/aws-sns-sink.adoc b/docs/modules/ROOT/pages/aws-sns-sink.adoc
new file mode 100644
index 0000000..2bc703a
--- /dev/null
+++ b/docs/modules/ROOT/pages/aws-sns-sink.adoc
@@ -0,0 +1,67 @@
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
+= image:kamelets/aws-sns-sink.svg[] AWS SNS Sink
+
+*Provided by: "Apache Software Foundation"*
+
+Send message to an AWS SNS Queue
+
+== Configuration Options
+
+The following table summarizes the configuration options available for the `aws-sns-sink` Kamelet:
+[width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
+|===
+| Property| Name| Description| Type| Default| Example
+| *accessKey {empty}* *| Access Key| The access key obtained from AWS| string| | 
+| *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"`
+| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| | 
+| *topicNameOrArn {empty}* *| Topic Name| The SQS Topic name or ARN| string| | 
+| autoCreateTopic| Autocreate topic| Setting the autocreation of the SNS topic.| boolean| `false`| 
+|===
+
+NOTE: Fields marked with ({empty}*) are mandatory.
+
+== Usage
+
+This section summarizes how the `aws-sns-sink` can be used in various contexts.
+
+=== Knative Sink
+
+The `aws-sns-sink` Kamelet can be used as Knative sink by binding it to a Knative object.
+
+.aws-sns-sink-binding.yaml
+[source,yaml]
+----
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+  name: aws-sns-sink-binding
+spec:
+  source:
+    ref:
+      kind: InMemoryChannel
+      apiVersion: messaging.knative.dev/v1
+      name: mychannel
+  sink:
+    ref:
+      kind: Kamelet
+      apiVersion: camel.apache.org/v1alpha1
+      name: aws-sns-sink
+    properties:
+      accessKey: "The Access Key"
+      region: "eu-west-1"
+      secretKey: "The Secret Key"
+      topicNameOrArn: "The Topic Name"
+
+----
+
+Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to.
+
+Save the `aws-sns-sink-binding.yaml` file into your hard drive, then configure it according to your needs.
+
+You can run the sink using the following command:
+
+[source,shell]
+----
+kubectl apply -f aws-sns-sink-binding.yaml
+----
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT

[camel-kamelets] 01/06: Added AWS SNS Sink Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5ae9fb4bb6f88d94fcb92ac477652456fd1ab252
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:03:41 2021 +0100

    Added AWS SNS Sink Kamelet
---
 aws-sns-sink.kamelet.yaml | 59 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/aws-sns-sink.kamelet.yaml b/aws-sns-sink.kamelet.yaml
new file mode 100644
index 0000000..10b18ac
--- /dev/null
+++ b/aws-sns-sink.kamelet.yaml
@@ -0,0 +1,59 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: aws-sns-sink
+  annotations:
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+  labels:
+    camel.apache.org/kamelet.type: sink
+spec:
+  definition:
+    title: AWS SNS Sink
+    description: |-
+      Send message to an AWS SNS Queue
+    required:
+      - topicNameOrArn
+      - accessKey
+      - secretKey
+      - region
+    properties:
+      topicNameOrArn:
+        title: Topic Name
+        description: The SQS Topic name or ARN
+        type: string
+      accessKey:
+        title: Access Key
+        description: The access key obtained from AWS
+        type: string
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+      secretKey:
+        title: Secret Key
+        description: The secret key obtained from AWS
+        type: string
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+      region:
+        title: AWS Region
+        description: The AWS region to connect to
+        type: string
+        example: eu-west-1
+      autoCreateTopic:
+        title: Autocreate topic
+        description: Setting the autocreation of the SNS topic. 
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
+  flow:
+    from:
+      uri: kamelet:source
+      steps:
+      - to:
+          uri: "aws2-sns:{{topicNameOrArn}}"
+          parameters:
+            autoCreateTopic: "{{autoCreateTopic}}"
+            accessKey: "{{accessKey}}"
+            secretKey: "{{secretKey}}"
+            region: "{{region}}"

[camel-kamelets] 03/06: Added AWS SNS Sink Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f2f01f3476cafb5ce8f6128d1df6ccdcf0d285c5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:06:09 2021 +0100

    Added AWS SNS 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 c8fedb9..d5611f7 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -2,6 +2,7 @@
 * xref:ROOT:aws-ddb-streams-source.adoc[image:kamelets/aws-ddb-streams-source.svg[] AWS DynamoDB Streams Source]
 * xref:ROOT:aws-kinesis-source.adoc[image:kamelets/aws-kinesis-source.svg[] AWS Kinesis Source]
 * xref:ROOT:aws-s3-source.adoc[image:kamelets/aws-s3-source.svg[] AWS S3 Source]
+* xref:ROOT:aws-sns-sink.adoc[image:kamelets/aws-sns-sink.svg[] AWS SNS Sink]
 * xref:ROOT:aws-sqs-fifo-sink.adoc[image:kamelets/aws-sqs-fifo-sink.svg[] AWS SQS FIFO Sink]
 * xref:ROOT:aws-sqs-sink.adoc[image:kamelets/aws-sqs-sink.svg[] AWS SQS Sink]
 * xref:ROOT:aws-sqs-source.adoc[image:kamelets/aws-sqs-source.svg[] AWS SQS Source]

[camel-kamelets] 02/06: Added AWS SNS Sink Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 63af29d0603338a4957f21028fe7beaa22e33251
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:05:48 2021 +0100

    Added AWS SNS Sink Kamelet
---
 aws-sns-sink.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aws-sns-sink.kamelet.yaml b/aws-sns-sink.kamelet.yaml
index 10b18ac..1c30514 100644
--- a/aws-sns-sink.kamelet.yaml
+++ b/aws-sns-sink.kamelet.yaml
@@ -3,7 +3,7 @@ kind: Kamelet
 metadata:
   name: aws-sns-sink
   annotations:
-    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnICAgdmlld0JveD0iMCAwIDI1NiAyNTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPg0KCTxnPg0KCQk8cGF0aCBkPSJNOTguODc1LDIzMi4wMzMgTDcyLjQ0MiwyMjQuNjI1IEw0Ny40NDEsMTk2LjExNyBMNzguNzEzLDE5NS4yNTQgTDk4Ljg3NSwyMzIuMDMzIiBmaWxsPSIjOTk1QjgwIj [...]
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink

[camel-kamelets] 05/06: Added AWS SNS Sink Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0c6e26f3bbe92f17a436b49139ec561f15bbabf5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 26 09:07:19 2021 +0100

    Added AWS SNS Sink Kamelet
---
 aws-sns-sink.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aws-sns-sink.kamelet.yaml b/aws-sns-sink.kamelet.yaml
index 1c30514..6a668e0 100644
--- a/aws-sns-sink.kamelet.yaml
+++ b/aws-sns-sink.kamelet.yaml
@@ -11,7 +11,7 @@ spec:
   definition:
     title: AWS SNS Sink
     description: |-
-      Send message to an AWS SNS Queue
+      Send message to an AWS SNS Topic
     required:
       - topicNameOrArn
       - accessKey