streams - Übungen - Microservices - Schritt 01
authorKai Moritz <kai@juplo.de>
Sun, 7 Jun 2020 09:33:08 +0000 (11:33 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 7 Jun 2020 15:39:23 +0000 (17:39 +0200)
--
Release für take-order:01

README.sh
docker-compose.yml
pom.xml
take-order/Dockerfile
take-order/order.avsc
take-order/pom.xml

index 158dff3..9ee841e 100755 (executable)
--- 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
 
index c9ef2c4..0e632a2 100644 (file)
@@ -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 (file)
--- 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>0-SNAPSHOT</version>
+  <version>01</version>
   <packaging>pom</packaging>
 
   <properties>
index cd7c3ad..c30116e 100644 (file)
@@ -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 []
index 6879085..21ffd90 100644 (file)
@@ -3,7 +3,7 @@
     "namespace": "de.trion.microservices.avro",
     "type": "enum",
     "name": "OrderState",
-    "symbols" : ["CREATED", "VALIDATED", "INVALID"]
+    "symbols" : ["CREATED"]
   },
   {
     "namespace": "de.trion.microservices.avro",
index 016d3c6..067a8da 100644 (file)
@@ -5,13 +5,13 @@
   <parent>
     <groupId>de.trion.kafka.microservices</groupId>
     <artifactId>order-example</artifactId>
-    <version>0-SNAPSHOT</version>
+    <version>01</version>
   </parent>
 
   <groupId>de.trion.kafka.microservices</groupId>
   <artifactId>take-order</artifactId>
   <name>Take Order Service</name>
-  <version>0-SNAPSHOT</version>
+  <version>01</version>
 
   <properties>
     <avro.version>1.9.0</avro.version>