camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 27/45: CAMEL-12884 - Camel-AWS Lambda: Add support for event source mapping, fix LambdaOperationsTest
Date Thu, 18 Oct 2018 16:02:51 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 040f5406e0e90506b44398b25973c29d672cbd55
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Tue Oct 16 13:56:19 2018 +0200

    CAMEL-12884 - Camel-AWS Lambda: Add support for event source mapping, fix LambdaOperationsTest
---
 .../org/apache/camel/component/aws/lambda/LambdaOperationsTest.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/src/test/java/org/apache/camel/component/aws/lambda/LambdaOperationsTest.java
b/components/camel-aws/src/test/java/org/apache/camel/component/aws/lambda/LambdaOperationsTest.java
index 7929b9b..4454b9d 100644
--- a/components/camel-aws/src/test/java/org/apache/camel/component/aws/lambda/LambdaOperationsTest.java
+++ b/components/camel-aws/src/test/java/org/apache/camel/component/aws/lambda/LambdaOperationsTest.java
@@ -26,7 +26,7 @@ public class LambdaOperationsTest {
 
     @Test
     public void supportedOperationCount() {
-        assertEquals(6, LambdaOperations.values().length);
+        assertEquals(7, LambdaOperations.values().length);
     }
 
     @Test
@@ -37,6 +37,7 @@ public class LambdaOperationsTest {
         assertEquals(LambdaOperations.invokeFunction, LambdaOperations.valueOf("invokeFunction"));
         assertEquals(LambdaOperations.deleteFunction, LambdaOperations.valueOf("deleteFunction"));
         assertEquals(LambdaOperations.updateFunction, LambdaOperations.valueOf("updateFunction"));
+        assertEquals(LambdaOperations.createEventSourceMapping, LambdaOperations.valueOf("createEventSourceMapping"));
     }
 
     @Test
@@ -47,5 +48,6 @@ public class LambdaOperationsTest {
         assertEquals(LambdaOperations.invokeFunction.toString(), "invokeFunction");
         assertEquals(LambdaOperations.deleteFunction.toString(), "deleteFunction");
         assertEquals(LambdaOperations.updateFunction.toString(), "updateFunction");
+        assertEquals(LambdaOperations.createEventSourceMapping.toString(), "createEventSourceMapping");
     }
 }


Mime
View raw message