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 2025/01/21 14:47:50 UTC
(camel-karaf) branch essobedo/581/fix-access-denied-4.9 created (now e0474f156)
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a change to branch essobedo/581/fix-access-denied-4.9
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
at e0474f156 Ref #581: camel-debezium-mysql - Use the tag corresponding to debezium
This branch includes the following new commits:
new e0474f156 Ref #581: camel-debezium-mysql - Use the tag corresponding to debezium
The 1 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-karaf) 01/01: Ref #581: camel-debezium-mysql - Use the tag corresponding to debezium
Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch essobedo/581/fix-access-denied-4.9
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
commit e0474f156445a297c33753b84e4c49666926911b
Author: Nicolas Filotto <ni...@qlik.com>
AuthorDate: Tue Jan 21 15:31:01 2025 +0100
Ref #581: camel-debezium-mysql - Use the tag corresponding to debezium
---
tests/features/camel-debezium-mysql/pom.xml | 36 ++++++++++++++++++++++
.../karaf/camel/itest/CamelDebeziumMysqlITest.java | 3 +-
2 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/tests/features/camel-debezium-mysql/pom.xml b/tests/features/camel-debezium-mysql/pom.xml
index e14675a61..496d7fb17 100644
--- a/tests/features/camel-debezium-mysql/pom.xml
+++ b/tests/features/camel-debezium-mysql/pom.xml
@@ -51,4 +51,40 @@
<version>${camel-version}</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <phase>integration-test</phase>
+ <configuration>
+ <excludes>
+ <exclude>none</exclude>
+ </excludes>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <systemPropertyVariables>
+ <debezium.version>${debezium-version}</debezium.version>
+ <camel.karaf.itest.dump.logs>${dump.logs.on.failure}</camel.karaf.itest.dump.logs>
+ <camel.karaf.itest.keep.docker.images>${keep.docker.images.on.exit}</camel.karaf.itest.keep.docker.images>
+ <camel.karaf.version>${project.version}</camel.karaf.version>
+ <project.version>${project.version}</project.version>
+ <project.target>${project.build.directory}</project.target>
+ <users.file.location>${users.file.location}</users.file.location>
+ <org.ops4j.pax.logging.DefaultServiceLog.level>WARN</org.ops4j.pax.logging.DefaultServiceLog.level>
+ </systemPropertyVariables>
+ <forkedProcessExitTimeoutInSeconds>10</forkedProcessExitTimeoutInSeconds>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
\ No newline at end of file
diff --git a/tests/features/camel-debezium-mysql/src/test/java/org/apache/karaf/camel/itest/CamelDebeziumMysqlITest.java b/tests/features/camel-debezium-mysql/src/test/java/org/apache/karaf/camel/itest/CamelDebeziumMysqlITest.java
index f421a2096..a86e76b8a 100644
--- a/tests/features/camel-debezium-mysql/src/test/java/org/apache/karaf/camel/itest/CamelDebeziumMysqlITest.java
+++ b/tests/features/camel-debezium-mysql/src/test/java/org/apache/karaf/camel/itest/CamelDebeziumMysqlITest.java
@@ -45,7 +45,6 @@ public class CamelDebeziumMysqlITest extends AbstractCamelSingleFeatureResultMoc
public static final class ExternalResourceProviders {
- private static final String DEBEZIUM_VERSION = "2.7";
private static final String MYSQL_IMAGE = "quay.io/debezium/example-mysql";
private static final String SOURCE_DB_NAME = "inventory";
private static final String SOURCE_DB_TABLE = String.format("%s.products", SOURCE_DB_NAME);
@@ -54,7 +53,7 @@ public class CamelDebeziumMysqlITest extends AbstractCamelSingleFeatureResultMoc
public static GenericContainerResource<MYSQLContainer> createMySQLContainer() {
- MYSQLContainer container = new MYSQLContainer(DockerImageName.parse(MYSQL_IMAGE).withTag(DEBEZIUM_VERSION)
+ MYSQLContainer container = new MYSQLContainer(DockerImageName.parse(MYSQL_IMAGE).withTag(System.getProperty("debezium.version"))
.asCompatibleSubstituteFor("mysql"))
.withUsername(SOURCE_DB_USERNAME)
.withPassword(SOURCE_DB_PASSWORD);