Skip to content

Commit

Permalink
Updated libs
Browse files Browse the repository at this point in the history
  • Loading branch information
dartartem committed Dec 17, 2019
1 parent 37853c7 commit a9eed36
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 19 deletions.
10 changes: 7 additions & 3 deletions ftgo-delivery-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ dependencies {
compile project(":ftgo-common-jpa")
compile project(":common-swagger")

compile "io.eventuate.tram.core:eventuate-tram-events:$eventuateTramVersion"
compile "io.eventuate.tram.core:eventuate-tram-events-spring:$eventuateTramVersion"
compile "org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion"
compile "io.eventuate.tram.core:eventuate-tram-jdbc-kafka:$eventuateTramVersion"
compile "io.eventuate.tram.core:eventuate-tram-jdbc-kafka-spring:$eventuateTramVersion"

compile "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion"
compile "io.micrometer:micrometer-registry-prometheus:$micrometerVersion"

compile('org.apache.kafka:kafka-clients:2.3.0') {
force = true
}

testCompile "org.springframework.boot:spring-boot-starter-test:$springBootVersion"
testCompile "io.eventuate.tram.core:eventuate-tram-in-memory:$eventuateTramVersion"
testCompile "io.eventuate.tram.core:eventuate-tram-in-memory-spring:$eventuateTramVersion"
testCompile "io.eventuate.util:eventuate-util-test:$eventuateUtilVersion"

componentTestCompile "com.jayway.restassured:rest-assured:$restAssuredVersion"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.chrisrichardson.ftgo.deliveryservice;

import io.eventuate.tram.events.publisher.DomainEventPublisher;
import io.eventuate.tram.events.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.TramInMemoryConfiguration;
import io.eventuate.tram.events.spring.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.spring.TramInMemoryConfiguration;
import net.chrisrichardson.ftgo.deliveryservice.domain.DeliveryRepository;
import net.chrisrichardson.ftgo.deliveryservice.domain.DeliveryServiceTestData;
import net.chrisrichardson.ftgo.deliveryservice.domain.RestaurantRepository;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.chrisrichardson.ftgo.deliveryservice;

import io.eventuate.tram.events.publisher.DomainEventPublisher;
import io.eventuate.tram.events.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.events.spring.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.jdbckafka.TramJdbcKafkaConfiguration;
import net.chrisrichardson.ftgo.deliveryservice.domain.DeliveryServiceTestData;
import net.chrisrichardson.ftgo.orderservice.api.OrderServiceChannels;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package net.chrisrichardson.ftgo.deliveryservice.domain;

import io.eventuate.common.jdbc.spring.EventuateCommonJdbcOperationsConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.transaction.support.TransactionTemplate;
Expand All @@ -22,6 +24,7 @@ public class CourierJpaTest {
@Configuration
@EnableJpaRepositories
@EnableAutoConfiguration
@Import(EventuateCommonJdbcOperationsConfiguration.class)
public static class Config {
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package net.chrisrichardson.ftgo.deliveryservice.domain;

import io.eventuate.common.jdbc.spring.EventuateCommonJdbcOperationsConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.test.context.junit4.SpringRunner;

Expand All @@ -18,6 +20,7 @@ public class DeliveryJpaTest {
@Configuration
@EnableJpaRepositories
@EnableAutoConfiguration
@Import(EventuateCommonJdbcOperationsConfiguration.class)
public static class Config {
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package net.chrisrichardson.ftgo.deliveryservice.domain;

import io.eventuate.common.jdbc.spring.EventuateCommonJdbcOperationsConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.transaction.support.TransactionTemplate;
Expand All @@ -19,6 +21,7 @@ public class RestaurantJpaTest {
@Configuration
@EnableJpaRepositories
@EnableAutoConfiguration
@Import(EventuateCommonJdbcOperationsConfiguration.class)
public static class Config {
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.chrisrichardson.ftgo.deliveryservice.messaging;

import io.eventuate.tram.events.spring.subscriber.TramEventSubscriberConfiguration;
import io.eventuate.tram.events.subscriber.DomainEventDispatcher;
import io.eventuate.tram.events.subscriber.DomainEventDispatcherFactory;
import io.eventuate.tram.events.subscriber.TramEventSubscriberConfiguration;
import net.chrisrichardson.ftgo.common.CommonConfiguration;
import net.chrisrichardson.ftgo.deliveryservice.domain.DeliveryService;
import net.chrisrichardson.ftgo.deliveryservice.domain.DeliveryServiceDomainConfiguration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.chrisrichardson.ftgo.kitchenservice.contract;

import io.eventuate.tram.events.publisher.DomainEventPublisher;
import io.eventuate.tram.events.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.TramInMemoryConfiguration;
import io.eventuate.tram.events.spring.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.spring.TramInMemoryConfiguration;
import io.eventuate.tram.springcloudcontractsupport.EventuateContractVerifierConfiguration;
import net.chrisrichardson.ftgo.common.CommonJsonMapperInitializer;
import net.chrisrichardson.ftgo.kitchenservice.api.TicketDetails;
Expand Down
2 changes: 1 addition & 1 deletion ftgo-order-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dockerCompose {
}

integrationTest.dependsOn(integrationTestsComposeUp)

componentTestsComposeUp.dependsOn(integrationTestsComposeUp)
componentTest.dependsOn(componentTestsComposeUp)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.chrisrichardson.ftgo.orderservice.contract;

import io.eventuate.tram.events.publisher.DomainEventPublisher;
import io.eventuate.tram.events.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.TramInMemoryConfiguration;
import io.eventuate.tram.events.spring.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.spring.TramInMemoryConfiguration;
import io.eventuate.tram.springcloudcontractsupport.EventuateContractVerifierConfiguration;
import net.chrisrichardson.ftgo.common.CommonJsonMapperInitializer;
import net.chrisrichardson.ftgo.orderservice.OrderDetailsMother;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package net.chrisrichardson.ftgo.orderservice.domain;

import io.eventuate.common.jdbc.spring.EventuateCommonJdbcOperationsConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@Configuration
@EnableJpaRepositories
@EnableAutoConfiguration
@Import(EventuateCommonJdbcOperationsConfiguration.class)
public class OrderJpaTestConfiguration {
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.chrisrichardson.ftgo.restaurantservice.contract;

import io.eventuate.tram.events.publisher.DomainEventPublisher;
import io.eventuate.tram.events.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.TramInMemoryConfiguration;
import io.eventuate.tram.events.spring.publisher.TramEventsPublisherConfiguration;
import io.eventuate.tram.inmemory.spring.TramInMemoryConfiguration;
import io.eventuate.tram.springcloudcontractsupport.EventuateContractVerifierConfiguration;
import net.chrisrichardson.ftgo.common.Address;
import net.chrisrichardson.ftgo.restaurantservice.domain.Restaurant;
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ springDependencyManagementPluginVersion=1.0.3.RELEASE

# springBootVersion = '1.5.6.RELEASE'

eventuateClientVersion=0.22.0.MICRONAUT.M1
eventuateClientVersion=0.22.0-SNAPSHOT
eventuateLocalVersion=0.31.0-SNAPSHOT

eventuateTramVersion=0.23.0.MICRONAUT.M4
eventuateTramSagasVersion=0.11.0-SNAPSHOT
eventuateTramVersion=0.22.0-SNAPSHOT
eventuateTramSagasVersion=0.12.0-SNAPSHOT
eventuateUtilVersion=0.3.0.RELEASE
eventuateCommonVersion=0.8.0.MICRONAUT.M2
eventuateMessagingKafkaVersion=0.3.0.MICRONAUT.M3
eventuateCommonVersion=0.8.3-SNAPSHOT
eventuateMessagingKafkaVersion=0.5.0-SNAPSHOT

#dockerComposePluginVersion=0.4.5
dockerComposePluginVersion=0.6.6
Expand Down

0 comments on commit a9eed36

Please sign in to comment.