From 2f1b459c2d6728ec405c5eaebe4d99cce35c488f Mon Sep 17 00:00:00 2001 From: Artem Sidorkin Date: Wed, 12 May 2021 21:26:45 +0300 Subject: [PATCH] Updated in-memory configuration. See: https://github.com/eventuate-tram/eventuate-tram-core/issues/146 --- .../commands/InMemoryTramCommandTestConfiguration.java | 7 +------ .../events/InMemoryTramEventTestConfiguration.java | 7 +------ .../messages/InMemoryTramMessageTestConfiguration.java | 3 +-- gradle.properties | 2 +- pom.xml | 8 ++++++-- 5 files changed, 10 insertions(+), 17 deletions(-) diff --git a/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/commands/InMemoryTramCommandTestConfiguration.java b/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/commands/InMemoryTramCommandTestConfiguration.java index 444c327..06b219d 100644 --- a/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/commands/InMemoryTramCommandTestConfiguration.java +++ b/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/commands/InMemoryTramCommandTestConfiguration.java @@ -1,6 +1,5 @@ package io.eventuate.tram.examples.basic.inmemory.commands; -import io.eventuate.common.spring.jdbc.EventuateTransactionTemplateConfiguration; import io.eventuate.tram.examples.basic.commands.AbstractTramCommandTestConfiguration; import io.eventuate.tram.spring.inmemory.TramInMemoryConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; @@ -9,10 +8,6 @@ @Configuration @EnableAutoConfiguration -@Import({ - AbstractTramCommandTestConfiguration.class, - TramInMemoryConfiguration.class, - EventuateTransactionTemplateConfiguration.class -}) +@Import({AbstractTramCommandTestConfiguration.class, TramInMemoryConfiguration.class}) public class InMemoryTramCommandTestConfiguration { } diff --git a/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/events/InMemoryTramEventTestConfiguration.java b/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/events/InMemoryTramEventTestConfiguration.java index 9f5038f..8cee3cd 100644 --- a/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/events/InMemoryTramEventTestConfiguration.java +++ b/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/events/InMemoryTramEventTestConfiguration.java @@ -1,6 +1,5 @@ package io.eventuate.tram.examples.basic.inmemory.events; -import io.eventuate.common.spring.jdbc.EventuateTransactionTemplateConfiguration; import io.eventuate.tram.examples.basic.events.AbstractTramEventTestConfiguration; import io.eventuate.tram.spring.inmemory.TramInMemoryConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; @@ -9,10 +8,6 @@ @Configuration @EnableAutoConfiguration -@Import({ - AbstractTramEventTestConfiguration.class, - TramInMemoryConfiguration.class, - EventuateTransactionTemplateConfiguration.class -}) +@Import({AbstractTramEventTestConfiguration.class, TramInMemoryConfiguration.class}) class JdbcKafkaTramEventTestConfiguration { } diff --git a/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/messages/InMemoryTramMessageTestConfiguration.java b/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/messages/InMemoryTramMessageTestConfiguration.java index b9a7f0d..2ce36ca 100644 --- a/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/messages/InMemoryTramMessageTestConfiguration.java +++ b/eventuate-tram-examples-in-memory/src/test/java/io/eventuate/tram/examples/basic/inmemory/messages/InMemoryTramMessageTestConfiguration.java @@ -1,6 +1,5 @@ package io.eventuate.tram.examples.basic.inmemory.messages; -import io.eventuate.common.spring.jdbc.EventuateTransactionTemplateConfiguration; import io.eventuate.tram.spring.inmemory.TramInMemoryConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.Configuration; @@ -8,6 +7,6 @@ @Configuration @EnableAutoConfiguration -@Import({TramInMemoryConfiguration.class, EventuateTransactionTemplateConfiguration.class}) +@Import(TramInMemoryConfiguration.class) public class InMemoryTramMessageTestConfiguration { } diff --git a/gradle.properties b/gradle.properties index e671e67..2445a3b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,4 +10,4 @@ version=0.1.0-SNAPSHOT eventuateCommonImageVersion=0.14.0.RELEASE eventuateCdcImageVersion=0.12.0.RELEASE -eventuateTramVersion=0.29.0.RELEASE +eventuateTramVersion=0.30.0.BUILD-SNAPSHOT diff --git a/pom.xml b/pom.xml index 43f1242..45f7d59 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ UTF-8 1.8 - 0.29.0.RELEASE + 0.30.0.BUILD-SNAPSHOT 2.1.1.RELEASE @@ -69,11 +69,15 @@ - eventuate-snapshots + eventuate-build-snapshots https://snapshots.repositories.eventuate.io/repository true + + eventuate-snapshots + file:///Users/cer/.m2/testdeploy +