From: Kai Moritz Date: Sat, 16 Oct 2021 15:18:15 +0000 (+0200) Subject: Simplified & unified the endpoint-paths X-Git-Tag: kafka-schulung--signal-iduna--devops~3 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=000367df61bd03a4f688bfa295afd88221c4f5e3;p=demos%2Fkafka%2Fwordcount Simplified & unified the endpoint-paths --- 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