From: Kai Moritz Date: Sat, 16 Oct 2021 13:55:23 +0000 (+0200) Subject: Added requests for the generated Top-10 to the demonstration X-Git-Tag: 2021-11-signal~4 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=3f6f72f361d2157dcf7ab61bef85aecea1bc49e4;p=demos%2Fkafka%2Fwordcount Added requests for the generated Top-10 to the demonstration --- diff --git a/README.sh b/README.sh index 08717b1..6ee9c33 100755 --- a/README.sh +++ b/README.sh @@ -9,7 +9,7 @@ QUERY=juplo/wordcount--query:1.0.2 if [ "$1" = "cleanup" ] then - docker-compose down -v + docker-compose down -v --remove-orphans docker image rm $FORTUNE docker image rm $RECORDER docker image rm $USERS @@ -63,3 +63,20 @@ http -v post :8082/users username=riddler firstName=Rumpel lastName=Stilzchen se echo "Starting all instances..." docker-compose up -d + +while [ "$(http :8085/actuator/health 2>/dev/null | jq -r .status)" != "UP" ]; do echo "Waiting for service query..."; sleep 1; done +http -v :8085/bart +sleep 1 +http -v :8085/bart +sleep 1 +http -v :8085/bart +sleep 1 +http -v :8085/bart +sleep 1 +http -v :8085/bart +sleep 1 +http -v :8085/bart +sleep 1 +http -v :8085/bart +http -v :8085/nerd +http -v :8085/riddler