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 2018/01/23 14:39:04 UTC

[camel] branch master updated (d7d1df1 -> 6c7a2d7)

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

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


    from d7d1df1  Upgrade Narayana to version 5.7.2.Final
     new fcd88c3  Camel-AWS DDBStream - check if client or accessKey/secretKey are defined before istantiate endpoint
     new 4a3ea6f  Camel-AWS Kinesis Firehose - Fixed log message
     new 50241cf  Camel-AWS Kinesis - check if client or accessKey/secretKey are defined before istantiate endpoint
     new 6c7a2d7  Camel-AWS Simple Workflow - check if client or accessKey/secretKey are defined before istantiate endpoint

The 4 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:
 .../org/apache/camel/component/aws/ddbstream/DdbStreamComponent.java  | 4 +++-
 .../apache/camel/component/aws/firehose/KinesisFirehoseComponent.java | 2 +-
 .../java/org/apache/camel/component/aws/kinesis/KinesisComponent.java | 4 +++-
 .../main/java/org/apache/camel/component/aws/swf/SWFComponent.java    | 4 +++-
 4 files changed, 10 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.

[camel] 01/04: Camel-AWS DDBStream - check if client or accessKey/secretKey are defined before istantiate endpoint

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

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

commit fcd88c3bce2d54762cfe1604397a71e268a4c97c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 15:29:21 2018 +0100

    Camel-AWS DDBStream - check if client or accessKey/secretKey are defined before istantiate endpoint
---
 .../org/apache/camel/component/aws/ddbstream/DdbStreamComponent.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/DdbStreamComponent.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/DdbStreamComponent.java
index 46d4a44..a9586a1 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/DdbStreamComponent.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/DdbStreamComponent.java
@@ -66,7 +66,9 @@ public class DdbStreamComponent extends DefaultComponent {
         if (ObjectHelper.isEmpty(configuration.getRegion())) {
             setRegion(region);
         }
-        
+        if (configuration.getAmazonDynamoDbStreamsClient() == null && (configuration.getAccessKey() == null || configuration.getSecretKey() == null)) {
+            throw new IllegalArgumentException("amazonDDBStreamsClient or accessKey and secretKey must be specified");
+        }
         DdbStreamEndpoint endpoint = new DdbStreamEndpoint(uri, configuration, this);
         setProperties(endpoint, parameters);
         return endpoint;

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.

[camel] 03/04: Camel-AWS Kinesis - check if client or accessKey/secretKey are defined before istantiate endpoint

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

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

commit 50241cfbfb87c4734973bdec417e09ad48d821cc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 15:35:11 2018 +0100

    Camel-AWS Kinesis - check if client or accessKey/secretKey are defined before istantiate endpoint
---
 .../java/org/apache/camel/component/aws/kinesis/KinesisComponent.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/KinesisComponent.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/KinesisComponent.java
index 6eec875..a5d8c1c 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/KinesisComponent.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/KinesisComponent.java
@@ -60,7 +60,9 @@ public class KinesisComponent extends DefaultComponent {
         if (ObjectHelper.isEmpty(configuration.getRegion())) {
             setRegion(region);
         }
-        
+        if (configuration.getAmazonKinesisClient() == null && (configuration.getAccessKey() == null || configuration.getSecretKey() == null)) {
+            throw new IllegalArgumentException("amazonKinesisClient or accessKey and secretKey must be specified");
+        }        
         KinesisEndpoint endpoint = new KinesisEndpoint(uri, configuration, this);
         setProperties(endpoint, parameters);
         return endpoint;

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.

[camel] 02/04: Camel-AWS Kinesis Firehose - Fixed log message

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

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

commit 4a3ea6fc75276563fc348950d0046b239c9cfa3b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 15:34:06 2018 +0100

    Camel-AWS Kinesis Firehose - Fixed log message
---
 .../apache/camel/component/aws/firehose/KinesisFirehoseComponent.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/firehose/KinesisFirehoseComponent.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/firehose/KinesisFirehoseComponent.java
index 9fec233..065fc9f 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/firehose/KinesisFirehoseComponent.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/firehose/KinesisFirehoseComponent.java
@@ -60,7 +60,7 @@ public class KinesisFirehoseComponent extends DefaultComponent {
             setRegion(region);
         }
         if (configuration.getAmazonKinesisFirehoseClient() == null && (configuration.getAccessKey() == null || configuration.getSecretKey() == null)) {
-            throw new IllegalArgumentException("AmazonKinesisClient or accessKey and secretKey must be specified");
+            throw new IllegalArgumentException("AmazonKinesisFirehoseClient or accessKey and secretKey must be specified");
         }
         KinesisFirehoseEndpoint endpoint = new KinesisFirehoseEndpoint(uri, configuration, this);
         return endpoint;

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.

[camel] 04/04: Camel-AWS Simple Workflow - check if client or accessKey/secretKey are defined before istantiate endpoint

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

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

commit 6c7a2d78b563e9011fa9dd8bbb359ba95fbbb0e3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 15:38:17 2018 +0100

    Camel-AWS Simple Workflow - check if client or accessKey/secretKey are defined before istantiate endpoint
---
 .../main/java/org/apache/camel/component/aws/swf/SWFComponent.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/SWFComponent.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/SWFComponent.java
index 2fb6798..26cf001 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/SWFComponent.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/SWFComponent.java
@@ -68,7 +68,9 @@ public class SWFComponent extends DefaultComponent {
         if (ObjectHelper.isEmpty(configuration.getRegion())) {
             setRegion(region);
         }
-
+        if (configuration.getAmazonSWClient() == null && (configuration.getAccessKey() == null || configuration.getSecretKey() == null)) {
+            throw new IllegalArgumentException("AmazonSWClient or accessKey and secretKey must be specified.");
+        }
         return new SWFEndpoint(uri, this, configuration);
     }
     

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.