From 10e9198de0f46c1ed7d9c574288eb7deb368ee68 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 7 Jun 2020 11:33:08 +0200 Subject: [PATCH] =?utf8?q?streams=20-=20=C3=9Cbungen=20-=20Microservices?= =?utf8?q?=20-=20Schritt=2001=20--=20Release=20f=C3=BCr=20take-order:01?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 2 +- docker-compose.yml | 2 +- pom.xml | 2 +- take-order/Dockerfile | 4 ++-- take-order/order.avsc | 2 +- take-order/pom.xml | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.sh b/README.sh index 158dff3..9ee841e 100755 --- a/README.sh +++ b/README.sh @@ -11,7 +11,7 @@ trap 'kill $(jobs -p)' EXIT mvn package -docker build -t trion/take-order-service:0 take-order +docker build -t trion/take-order-service:01 take-order docker-compose up -d zookeeper kafka schema-registry diff --git a/docker-compose.yml b/docker-compose.yml index c9ef2c4..0e632a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: - kafka take-order: - image: trion/take-order-service:0 + image: trion/take-order-service:01 hostname: take-order ports: - "8091:8080" diff --git a/pom.xml b/pom.xml index 1753f10..478a9cc 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ de.trion.kafka.microservices order-example Order Example - 0-SNAPSHOT + 01 pom diff --git a/take-order/Dockerfile b/take-order/Dockerfile index cd7c3ad..c30116e 100644 --- a/take-order/Dockerfile +++ b/take-order/Dockerfile @@ -1,5 +1,5 @@ FROM openjdk:8-jre-slim -COPY target/take-order-0-SNAPSHOT.jar /opt/ +COPY target/take-order-01.jar /opt/ EXPOSE 8080 -ENTRYPOINT [ "java", "-jar", "/opt/take-order-0-SNAPSHOT.jar" ] +ENTRYPOINT [ "java", "-jar", "/opt/take-order-01.jar" ] CMD [] diff --git a/take-order/order.avsc b/take-order/order.avsc index 6879085..21ffd90 100644 --- a/take-order/order.avsc +++ b/take-order/order.avsc @@ -3,7 +3,7 @@ "namespace": "de.trion.microservices.avro", "type": "enum", "name": "OrderState", - "symbols" : ["CREATED", "VALIDATED", "INVALID"] + "symbols" : ["CREATED"] }, { "namespace": "de.trion.microservices.avro", diff --git a/take-order/pom.xml b/take-order/pom.xml index 016d3c6..067a8da 100644 --- a/take-order/pom.xml +++ b/take-order/pom.xml @@ -5,13 +5,13 @@ de.trion.kafka.microservices order-example - 0-SNAPSHOT + 01 de.trion.kafka.microservices take-order Take Order Service - 0-SNAPSHOT + 01 1.9.0 -- 2.20.1