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/05/05 12:03:55 UTC

[camel-kamelets] branch groups-aws created (now 58f2dc9)

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

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


      at 58f2dc9  Add group label to all kamelets - AWS SQS

This branch includes the following new commits:

     new d465c10  Generalize the idea for checking the body in action like replace field etc.
     new 2dc7c70  Add group label to all kamelets - AWS DDB Streams
     new 7cc4afe  Add group label to all kamelets - AWS Kinesis Firehose
     new 26e8a94  Add group label to all kamelets - AWS Kinesis
     new 694fe36  Add group label to all kamelets - AWS Lambda
     new 40c47b8  Add group label to all kamelets - AWS S3
     new 5f3b55c  Add group label to all kamelets - AWS SNS
     new 58f2dc9  Add group label to all kamelets - AWS SQS

The 8 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.


[camel-kamelets] 08/08: Add group label to all kamelets - AWS SQS

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

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

commit 58f2dc92e64767496b5425990e3b0d8d4c6701e5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 14:02:24 2021 +0200

    Add group label to all kamelets - AWS SQS
---
 aws-sqs-batch-sink.kamelet.yaml | 1 +
 aws-sqs-fifo-sink.kamelet.yaml  | 1 +
 aws-sqs-sink.kamelet.yaml       | 1 +
 aws-sqs-source.kamelet.yaml     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/aws-sqs-batch-sink.kamelet.yaml b/aws-sqs-batch-sink.kamelet.yaml
index a1100a8..9389466 100644
--- a/aws-sqs-batch-sink.kamelet.yaml
+++ b/aws-sqs-batch-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS SQS"
 spec:
   definition:
     title: AWS SQS Batch Sink
diff --git a/aws-sqs-fifo-sink.kamelet.yaml b/aws-sqs-fifo-sink.kamelet.yaml
index 0417d29..33ab834 100644
--- a/aws-sqs-fifo-sink.kamelet.yaml
+++ b/aws-sqs-fifo-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS SQS"
 spec:
   definition:
     title: AWS SQS FIFO Sink
diff --git a/aws-sqs-sink.kamelet.yaml b/aws-sqs-sink.kamelet.yaml
index 94e7b89..0715edd 100644
--- a/aws-sqs-sink.kamelet.yaml
+++ b/aws-sqs-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS SQS"
 spec:
   definition:
     title: AWS SQS Sink
diff --git a/aws-sqs-source.kamelet.yaml b/aws-sqs-source.kamelet.yaml
index df46b6d..1402ae8 100644
--- a/aws-sqs-source.kamelet.yaml
+++ b/aws-sqs-source.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: "source"
+    camel.apache.org/kamelet.group: "AWS SQS"
 spec:
   definition:
     title: "AWS SQS Source"

[camel-kamelets] 05/08: Add group label to all kamelets - AWS Lambda

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

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

commit 694fe363336b30e43007f40afe1cc2cb1eda8fe0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 13:57:35 2021 +0200

    Add group label to all kamelets - AWS Lambda
---
 aws-lambda-sink.kamelet.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aws-lambda-sink.kamelet.yaml b/aws-lambda-sink.kamelet.yaml
index e467698..893c2b1 100644
--- a/aws-lambda-sink.kamelet.yaml
+++ b/aws-lambda-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS Lambda"
 spec:
   definition:
     title: AWS Lambda Sink

[camel-kamelets] 03/08: Add group label to all kamelets - AWS Kinesis Firehose

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

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

commit 7cc4afed1890506178514cf5b58df463c2fa5af6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 13:38:24 2021 +0200

    Add group label to all kamelets - AWS Kinesis Firehose
---
 aws-kinesis-firehose-sink.kamelet.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aws-kinesis-firehose-sink.kamelet.yaml b/aws-kinesis-firehose-sink.kamelet.yaml
index 9b0479a..00019cb 100644
--- a/aws-kinesis-firehose-sink.kamelet.yaml
+++ b/aws-kinesis-firehose-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS Kinesis Firehose"
 spec:
   definition:
     title: AWS Kinesis Firehose Sink

[camel-kamelets] 01/08: Generalize the idea for checking the body in action like replace field etc.

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

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

commit d465c10483b0ec2d763226a05ed316bf74c6d4e9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 13:13:23 2021 +0200

    Generalize the idea for checking the body in action like replace field etc.
---
 .../org/apache/camel/kamelets/utils/transform/ReplaceField.java     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ReplaceField.java b/library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ReplaceField.java
index 9ec117c..2ea2ed5 100644
--- a/library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ReplaceField.java
+++ b/library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ReplaceField.java
@@ -61,7 +61,11 @@ public class ReplaceField {
                 updatedBody.put(renameOptional(fieldName, renamingMap), fieldValue);
             }
         }
-        return updatedBody;
+        if (!updatedBody.isEmpty()) {
+            return updatedBody;
+        } else {
+            return body;
+        }
     }
 
     boolean filterNames(String fieldName, List<String> enabledFields, List<String> disabledFields) {

[camel-kamelets] 06/08: Add group label to all kamelets - AWS S3

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

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

commit 40c47b85172776f2269a3797739a7ba8ad1b051e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 14:00:16 2021 +0200

    Add group label to all kamelets - AWS S3
---
 aws-s3-sink.kamelet.yaml   | 1 +
 aws-s3-source.kamelet.yaml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/aws-s3-sink.kamelet.yaml b/aws-s3-sink.kamelet.yaml
index c4330f9..a9449c7 100644
--- a/aws-s3-sink.kamelet.yaml
+++ b/aws-s3-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: "sink"
+    camel.apache.org/kamelet.group: "AWS S3"
 spec:
   definition:
     title: "AWS S3 Sink"
diff --git a/aws-s3-source.kamelet.yaml b/aws-s3-source.kamelet.yaml
index 71a2195..618c71f 100644
--- a/aws-s3-source.kamelet.yaml
+++ b/aws-s3-source.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: "source"
+    camel.apache.org/kamelet.group: "AWS S3"
 spec:
   definition:
     title: "AWS S3 Source"

[camel-kamelets] 04/08: Add group label to all kamelets - AWS Kinesis

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

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

commit 26e8a949bfe415be4ac669f4f3c862ef522f7f2a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 13:56:40 2021 +0200

    Add group label to all kamelets - AWS Kinesis
---
 aws-kinesis-sink.kamelet.yaml   | 1 +
 aws-kinesis-source.kamelet.yaml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/aws-kinesis-sink.kamelet.yaml b/aws-kinesis-sink.kamelet.yaml
index cbe0da4..2d5f3d3 100644
--- a/aws-kinesis-sink.kamelet.yaml
+++ b/aws-kinesis-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS Kinesis"
 spec:
   definition:
     title: "AWS Kinesis Sink"
diff --git a/aws-kinesis-source.kamelet.yaml b/aws-kinesis-source.kamelet.yaml
index d4d656d..3e95c98 100644
--- a/aws-kinesis-source.kamelet.yaml
+++ b/aws-kinesis-source.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: "source"
+    camel.apache.org/kamelet.group: "AWS Kinesis"
 spec:
   definition:
     title: "AWS Kinesis Source"

[camel-kamelets] 07/08: Add group label to all kamelets - AWS SNS

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

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

commit 5f3b55cddbd134409e362dfa2121c47fa71a2a4e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 14:01:33 2021 +0200

    Add group label to all kamelets - AWS SNS
---
 aws-sns-fifo-sink.kamelet.yaml | 1 +
 aws-sns-sink.kamelet.yaml      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/aws-sns-fifo-sink.kamelet.yaml b/aws-sns-fifo-sink.kamelet.yaml
index 251cbe9..bfa0ec8 100644
--- a/aws-sns-fifo-sink.kamelet.yaml
+++ b/aws-sns-fifo-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS SNS"
 spec:
   definition:
     title: AWS SNS FIFO Sink
diff --git a/aws-sns-sink.kamelet.yaml b/aws-sns-sink.kamelet.yaml
index 88c3b81..2cc0e9f 100644
--- a/aws-sns-sink.kamelet.yaml
+++ b/aws-sns-sink.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: sink
+    camel.apache.org/kamelet.group: "AWS SNS"
 spec:
   definition:
     title: AWS SNS Sink

[camel-kamelets] 02/08: Add group label to all kamelets - AWS DDB Streams

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

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

commit 2dc7c70489a90be008ea7e2fd32e810e0fcaa983
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 5 13:36:53 2021 +0200

    Add group label to all kamelets - AWS DDB Streams
---
 aws-ddb-streams-source.kamelet.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aws-ddb-streams-source.kamelet.yaml b/aws-ddb-streams-source.kamelet.yaml
index 637de34..3fbab7e 100644
--- a/aws-ddb-streams-source.kamelet.yaml
+++ b/aws-ddb-streams-source.kamelet.yaml
@@ -7,6 +7,7 @@ metadata:
     camel.apache.org/provider: "Apache Software Foundation"
   labels:
     camel.apache.org/kamelet.type: "source"
+    camel.apache.org/kamelet.group: "AWS DynamoDB Streams"
 spec:
   definition:
     title: "AWS DynamoDB Streams Source"