From 2a9fea49abaa4d997af2d01fbefbd42f79b41304 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 16 Oct 2021 17:18:15 +0200 Subject: [PATCH] Simplified & unified the endpoint-paths --- README.sh | 8 ++++---- docker-compose.yml | 2 +- users | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.sh b/README.sh index 6ee9c33..7fc7a5b 100755 --- 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 diff --git a/docker-compose.yml b/docker-compose.yml index 8f8552d..2594ac8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 --- a/users +++ b/users @@ -1 +1 @@ -Subproject commit 0f2147d109ce238982953e2d07d9202e3070a67c +Subproject commit aaf3b3248937ffd1677a1eeb6a575c539b6ec84a -- 2.20.1