projects
/
demos
/
kafka
/
wordcount
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fab2dc1
)
Added requests for the generated Top-10 to the demonstration
author
Kai Moritz
<kai@juplo.de>
Sat, 16 Oct 2021 13:55:23 +0000
(15:55 +0200)
committer
Kai Moritz
<kai@juplo.de>
Thu, 21 Oct 2021 20:30:57 +0000
(22:30 +0200)
README.sh
patch
|
blob
|
history
diff --git
a/README.sh
b/README.sh
index
08717b1
..
6ee9c33
100755
(executable)
--- a/
README.sh
+++ b/
README.sh
@@
-9,7
+9,7
@@
QUERY=juplo/wordcount--query:1.0.2
if [ "$1" = "cleanup" ]
then
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
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
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