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/22 09:07:58 UTC

[camel-kamelets] branch master updated (1207414 -> a17a738)

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 1207414  Added SSH Source Kamelet
     new 6994fbc  Added AWS SQS Sink Kamelet
     new 6fb8258  Added AWS SQS Sink Kamelet
     new a17a738  Added AWS SQS 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:
 ...ource.kamelet.yaml => aws-sqs-sink.kamelet.yaml | 32 +++++++-------------
 .../{aws-sqs-source.svg => aws-sqs-sink.svg}       |  0
 docs/modules/ROOT/nav.adoc                         |  1 +
 .../{aws-sqs-source.adoc => aws-sqs-sink.adoc}     | 35 +++++++++++-----------
 4 files changed, 29 insertions(+), 39 deletions(-)
 copy aws-sqs-source.kamelet.yaml => aws-sqs-sink.kamelet.yaml (88%)
 copy docs/modules/ROOT/assets/images/kamelets/{aws-sqs-source.svg => aws-sqs-sink.svg} (100%)
 copy docs/modules/ROOT/pages/{aws-sqs-source.adoc => aws-sqs-sink.adoc} (66%)

[camel-kamelets] 03/03: Added AWS SQS 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 a17a738b55b2850d59ed4e3fd2b3b1f84b54ccbe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 22 08:00:21 2021 +0100

    Added AWS SQS Sink Kamelet
---
 .../ROOT/assets/images/kamelets/aws-sqs-sink.svg   | 81 ++++++++++++++++++++++
 docs/modules/ROOT/pages/aws-sqs-sink.adoc          | 66 ++++++++++++++++++
 2 files changed, 147 insertions(+)

diff --git a/docs/modules/ROOT/assets/images/kamelets/aws-sqs-sink.svg b/docs/modules/ROOT/assets/images/kamelets/aws-sqs-sink.svg
new file mode 100644
index 0000000..9676edf
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/aws-sqs-sink.svg
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   enable-background="new 0 0 100 100"
+   height="72.199997"
+   version="1.1"
+   viewBox="0 0 59.849998 72.199997"
+   width="59.849998"
+   xml:space="preserve"
+   id="svg145"
+   sodipodi:docname="download.svg"
+   inkscape:version="1.0.2 (e86c870879, 2021-01-15)"><metadata
+     id="metadata151"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+     id="defs149" /><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     id="namedview147"
+     showgrid="false"
+     fit-margin-top="0.1"
+     fit-margin-left="0.1"
+     fit-margin-right="0.1"
+     fit-margin-bottom="0.1"
+     inkscape:zoom="8.19"
+     inkscape:cx="29.925"
+     inkscape:cy="36.1"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg145" /><g
+     id="Amazon_CloudSearch"
+     transform="translate(-20.075,-13.9)"><g
+       id="g142"><polygon
+         fill="#d9a741"
+         points="23.987,36.201 54.462,40.494 54.46,59.506 23.985,63.793 "
+         id="polygon120" /><polygon
+         fill="#876929"
+         points="50.003,14 20.179,28.908 20.179,37.344 50.003,28.399 "
+         id="polygon122" /><polygon
+         fill="#876929"
+         points="49.997,86 20.19,71.094 20.19,62.654 49.999,71.6 "
+         id="polygon124" /><polygon
+         fill="#d9a741"
+         points="50.003,14 79.825,28.914 79.823,37.35 50.003,28.399 "
+         id="polygon126" /><polygon
+         fill="#d9a741"
+         points="49.997,86 79.806,71.099 79.806,62.66 49.999,71.6 "
+         id="polygon128" /><polygon
+         fill="#876929"
+         points="20.179,28.908 23.989,27.004 23.985,72.99 20.175,71.086 "
+         id="polygon130" /><polygon
+         fill="#876929"
+         points="50.001,40.832 39.019,42.229 39.017,57.762 49.999,59.16 "
+         id="polygon132" /><polygon
+         fill="#876929"
+         points="35.083,42.729 27.954,43.637 27.954,56.354 35.081,57.26 "
+         id="polygon134" /><polygon
+         fill="#624a1e"
+         points="79.823,37.35 54.481,40.496 23.987,36.201 50.003,28.399 "
+         id="polygon136" /><polygon
+         fill="#fad791"
+         points="79.806,62.66 54.46,59.506 23.985,63.793 49.999,71.6 "
+         id="polygon138" /><polygon
+         fill="#d9a741"
+         points="50.001,40.832 79.808,44.629 79.808,55.33 49.999,59.092 "
+         id="polygon140" /></g></g></svg>
diff --git a/docs/modules/ROOT/pages/aws-sqs-sink.adoc b/docs/modules/ROOT/pages/aws-sqs-sink.adoc
new file mode 100644
index 0000000..c4f612f
--- /dev/null
+++ b/docs/modules/ROOT/pages/aws-sqs-sink.adoc
@@ -0,0 +1,66 @@
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
+= image:kamelets/aws-sqs-sink.svg[] AWS SQS Sink
+
+*Provided by: "Apache Software Foundation"*
+
+Send message to an AWS SQS Queue
+
+== Configuration Options
+
+The following table summarizes the configuration options available for the `aws-sqs-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| | 
+| *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| 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| | 
+|===
+
+NOTE: Fields marked with ({empty}*) are mandatory.
+
+== Usage
+
+This section summarizes how the `aws-sqs-sink` can be used in various contexts.
+
+=== Knative Sink
+
+The `aws-sqs-sink` Kamelet can be used as Knative sink by binding it to a Knative object.
+
+.aws-sqs-sink-binding.yaml
+[source,yaml]
+----
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+  name: aws-sqs-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-sqs-sink
+    properties:
+      accessKey: "The Access Key"
+      queueNameOrArn: "The Queue Name"
+      region: "eu-west-1"
+      secretKey: "The Secret Key"
+
+----
+
+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-sqs-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-sqs-sink-binding.yaml
+----
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT

[camel-kamelets] 01/03: Added AWS SQS 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 6994fbc477995efab23cbe8a427e2f1b0e1d2a46
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 22 07:59:32 2021 +0100

    Added AWS SQS Sink Kamelet
---
 aws-sqs-sink.kamelet.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/aws-sqs-sink.kamelet.yaml b/aws-sqs-sink.kamelet.yaml
new file mode 100644
index 0000000..aaecaf3
--- /dev/null
+++ b/aws-sqs-sink.kamelet.yaml
@@ -0,0 +1,51 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: aws-sqs-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 SQS Sink
+    description: |-
+      Send message to an AWS SQS Queue
+    required:
+      - queueNameOrArn
+      - accessKey
+      - secretKey
+      - region
+    properties:
+      queueNameOrArn:
+        title: Queue Name
+        description: The SQS Queue 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
+  flow:
+    from:
+      uri: kamelet:source
+      steps:
+      - to:
+          uri: "aws2-sqs:{{queueNameOrArn}}"
+          parameters:
+            accessKey: "{{accessKey}}"
+            secretKey: "{{secretKey}}"
+            region: "{{region}}"

[camel-kamelets] 02/03: Added AWS SQS 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 6fb8258d6dd8032ef20ceea42fa072db2012d85c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 22 08:00:05 2021 +0100

    Added AWS SQS 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 d5095cb..8328b61 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -1,6 +1,7 @@
 // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
 * 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-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]
 * xref:ROOT:bitcoin-source.adoc[image:kamelets/bitcoin-source.svg[] Bitcoin Source]
 * xref:ROOT:earthquake-source.adoc[image:kamelets/earthquake-source.svg[] Earthquake Source]