From: Kai Moritz Date: Sun, 21 Aug 2022 10:24:35 +0000 (+0200) Subject: Tag's für die Formulierung der Übung in AsciiDoc ergänzt X-Git-Tag: sumup-adder--vorlage---lvm-2-tage~2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=3d56a3162806ba0293d1f0cb31da43453f68e643;p=demos%2Fkafka%2Ftraining Tag's für die Formulierung der Übung in AsciiDoc ergänzt --- diff --git a/README.sh b/README.sh index bc2a674..fbd0331 100755 --- a/README.sh +++ b/README.sh @@ -36,16 +36,22 @@ while ! [[ $(http 0:8082/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Wait while ! [[ $(http 0:8091/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for adder-1..."; sleep 1; done while ! [[ $(http 0:8092/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for adder-2..."; sleep 1; done +# tag::nachrichten[] echo 6 | http -v :8080/peter echo 6 | http -v :8080/klaus +# end::nachrichten[] while [[ "$(http :8091/results | jq -r .)" == "{}" ]]; do echo "Waiting for some results to show up on adder-1..."; sleep 1; done echo "Resultate für adder-1" +# tag::resultate[] http -v :8091/results +# end::resultate[] while [[ "$(http :8092/results | jq -r .)" == "{}" ]]; do echo "Waiting for some results to show up on adder-2..."; sleep 1; done echo "Resultate für adder-2" +# tag::resultate[] http -v :8092/results +# end::resultate[] docker-compose stop adder-1