From fbdc105812217bc63315934d1fd7c115cbd11bc6 Mon Sep 17 00:00:00 2001 From: Kai Moritz <kai@juplo.de> Date: Sun, 7 Jun 2020 13:47:44 +0200 Subject: [PATCH] TMP --- details/pom.xml | 2 +- pom.xml | 3 ++- take-order/pom.xml | 2 +- validate-order/pom.xml | 2 +- validate-user/Dockerfile | 5 +++-- validate-user/pom.xml | 14 +++++++++----- validation-results/pom.xml | 2 +- 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/details/pom.xml b/details/pom.xml index 95238f8..ed7f291 100644 --- a/details/pom.xml +++ b/details/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>de.trion.kafka.microservices</groupId> <artifactId>order-example</artifactId> - <version>03</version> + <version>04</version> </parent> <groupId>de.trion.kafka.microservices</groupId> diff --git a/pom.xml b/pom.xml index 1cce338..d0fba42 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ <groupId>de.trion.kafka.microservices</groupId> <artifactId>order-example</artifactId> <name>Order Example</name> - <version>03</version> + <version>04</version> <packaging>pom</packaging> <properties> @@ -24,6 +24,7 @@ <module>take-order</module> <module>details</module> <module>validate-order</module> + <module>validate-user</module> <module>validation-results</module> </modules> diff --git a/take-order/pom.xml b/take-order/pom.xml index bf46f8e..e191719 100644 --- a/take-order/pom.xml +++ b/take-order/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>de.trion.kafka.microservices</groupId> <artifactId>order-example</artifactId> - <version>03</version> + <version>04</version> </parent> <groupId>de.trion.kafka.microservices</groupId> diff --git a/validate-order/pom.xml b/validate-order/pom.xml index 59656a8..398a718 100644 --- a/validate-order/pom.xml +++ b/validate-order/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>de.trion.kafka.microservices</groupId> <artifactId>order-example</artifactId> - <version>03</version> + <version>04</version> </parent> <groupId>de.trion.kafka.microservices</groupId> diff --git a/validate-user/Dockerfile b/validate-user/Dockerfile index ddf2072..b346f81 100644 --- a/validate-user/Dockerfile +++ b/validate-user/Dockerfile @@ -1,4 +1,5 @@ FROM openjdk:8-jre-slim -COPY target/validate-user-04-0-SNAPSHOT.jar /opt/ +COPY target/validate-user-04-SNAPSHOT.jar /opt/ EXPOSE 8080 -CMD ["java", "-jar", "/opt/validate-user-04-0-SNAPSHOT.jar"] +ENTRYPOINT [ "java", "-jar", "/opt/validate-user-04-SNAPSHOT.jar" ] +CMD [] diff --git a/validate-user/pom.xml b/validate-user/pom.xml index 85e9b1d..380b66f 100644 --- a/validate-user/pom.xml +++ b/validate-user/pom.xml @@ -4,14 +4,14 @@ <parent> <groupId>de.trion.kafka.microservices</groupId> - <artifactId>order-example-04</artifactId> - <version>0-SNAPSHOT</version> + <artifactId>order-example</artifactId> + <version>04</version> </parent> <groupId>de.trion.kafka.microservices</groupId> - <artifactId>validate-user-04</artifactId> - <name>User Validation Service - Schritt 04</name> - <version>0-SNAPSHOT</version> + <artifactId>validate-user</artifactId> + <name>User Validation Service</name> + <version>04-SNAPSHOT</version> <properties> <avro.version>1.9.0</avro.version> @@ -24,6 +24,10 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> diff --git a/validation-results/pom.xml b/validation-results/pom.xml index 3f62c31..44dc9e6 100644 --- a/validation-results/pom.xml +++ b/validation-results/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>de.trion.kafka.microservices</groupId> <artifactId>order-example</artifactId> - <version>03</version> + <version>04</version> </parent> <groupId>de.trion.kafka.microservices</groupId> -- 2.20.1