From 3d56a3162806ba0293d1f0cb31da43453f68e643 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 21 Aug 2022 12:24:35 +0200 Subject: [PATCH] =?utf8?q?Tag's=20f=C3=BCr=20die=20Formulierung=20der=20?= =?utf8?q?=C3=9Cbung=20in=20AsciiDoc=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1