Simplified & unified the endpoint-paths
authorKai Moritz <kai@juplo.de>
Sat, 16 Oct 2021 15:18:15 +0000 (17:18 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 16 Oct 2021 15:18:15 +0000 (17:18 +0200)
README.sh
docker-compose.yml
users

index 6ee9c33..7fc7a5b 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -2,7 +2,7 @@
 
 FORTUNE=juplo/wordcount--fortune:1.0.0
 RECORDER=juplo/wordcount--recorder:1.0.0
-USERS=juplo/wordcount--users:1.0.1
+USERS=juplo/wordcount--users:1.0.2
 COUNTER=juplo/wordcount--counter:1.0.0
 TOP10=juplo/wordcount--top10:1.0.0
 QUERY=juplo/wordcount--query:1.0.2
@@ -57,9 +57,9 @@ docker-compose exec cli zookeeper-shell zookeeper:2181 ls /brokers/ids
 
 docker-compose up -d users
 while [ "$(http :8082/actuator/health | jq -r .status 2> /dev/null)" != "UP" ]; do echo "Waiting for service users..."; sleep 1; done
-http -v post :8082/users username=bart firstName=Bart lastName=Simpson sex=MALE
-http -v post :8082/users username=nerd firstName=Jane lastName=Doe sex=FEMALE
-http -v post :8082/users username=riddler firstName=Rumpel lastName=Stilzchen sex=MALE
+http -v post :8082 username=bart firstName=Bart lastName=Simpson sex=MALE
+http -v post :8082 username=nerd firstName=Jane lastName=Doe sex=FEMALE
+http -v post :8082 username=riddler firstName=Rumpel lastName=Stilzchen sex=MALE
 
 echo "Starting all instances..."
 docker-compose up -d
index 8f8552d..2594ac8 100644 (file)
@@ -35,7 +35,7 @@ services:
       - kafka
 
   users:
-    image: juplo/wordcount--users:1.0.1
+    image: juplo/wordcount--users:1.0.2
     environment:
       juplo.wordcount.users.bootstrap-server: kafka:9092
       juplo.wordcount.users.topic: users
diff --git a/users b/users
index 0f2147d..aaf3b32 160000 (submodule)
--- a/users
+++ b/users
@@ -1 +1 @@
-Subproject commit 0f2147d109ce238982953e2d07d9202e3070a67c
+Subproject commit aaf3b3248937ffd1677a1eeb6a575c539b6ec84a