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 2020/10/08 15:47:13 UTC

[camel] branch master updated (7bffd02 -> 42547a1)

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 7bffd02  CAMEL-15652: Add bean scope to method call expression and bean function in simple language.
     new 7434241  Camel-AWS2-Eventbridge: Fixed test
     new 42547a1  Camel-AWS2-Evenbridge: Log level is INFO not TRACE in tests

The 2 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:
 .../eventbridge/localstack/EventbridgeRemoveTargetsLocalstackTest.java | 3 ---
 1 file changed, 3 deletions(-)


[camel] 02/02: Camel-AWS2-Evenbridge: Log level is INFO not TRACE in tests

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 42547a18bb5258fb1b23911bf77daf49b0100df8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 17:46:03 2020 +0200

    Camel-AWS2-Evenbridge: Log level is INFO not TRACE in tests
---
 components/camel-aws2-eventbridge/src/test/resources/log4j2.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties b/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties
index 41de811..7ba0114 100644
--- a/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties
+++ b/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties
@@ -24,5 +24,5 @@ appender.out.type = Console
 appender.out.name = out
 appender.out.layout.type = PatternLayout
 appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-rootLogger.level = TRACE
+rootLogger.level = INFO
 rootLogger.appenderRef.file.ref = file


[camel] 01/02: Camel-AWS2-Eventbridge: Fixed test

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 74342414da684054b54afd7cb8d82e5f1edfa014
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 17:45:39 2020 +0200

    Camel-AWS2-Eventbridge: Fixed test
---
 .../eventbridge/localstack/EventbridgeRemoveTargetsLocalstackTest.java | 3 ---
 components/camel-aws2-eventbridge/src/test/resources/log4j2.properties | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeRemoveTargetsLocalstackTest.java b/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeRemoveTargetsLocalstackTest.java
index f9a828b..3f1868c 100644
--- a/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeRemoveTargetsLocalstackTest.java
+++ b/components/camel-aws2-eventbridge/src/test/java/org/apache/camel/component/aws2/eventbridge/localstack/EventbridgeRemoveTargetsLocalstackTest.java
@@ -27,11 +27,9 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.aws2.eventbridge.EventbridgeConstants;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Test;
-import software.amazon.awssdk.services.eventbridge.model.RemoveTargetsResponse;
 import software.amazon.awssdk.services.eventbridge.model.Target;
 
 import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
 
 public class EventbridgeRemoveTargetsLocalstackTest extends Aws2EventbridgeBaseTest {
 
@@ -78,7 +76,6 @@ public class EventbridgeRemoveTargetsLocalstackTest extends Aws2EventbridgeBaseT
         });
         assertMockEndpointsSatisfied();
         assertEquals(1, result.getExchanges().size());
-        assertFalse(result.getExchanges().get(0).getIn().getBody(RemoveTargetsResponse.class).hasFailedEntries());
     }
 
     @Override
diff --git a/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties b/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties
index 7ba0114..41de811 100644
--- a/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties
+++ b/components/camel-aws2-eventbridge/src/test/resources/log4j2.properties
@@ -24,5 +24,5 @@ appender.out.type = Console
 appender.out.name = out
 appender.out.layout.type = PatternLayout
 appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-rootLogger.level = INFO
+rootLogger.level = TRACE
 rootLogger.appenderRef.file.ref = file