From f969d1bcbb8612ef8e41d7d4d1460e1fa7bf1893 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 7 Jun 2020 14:11:22 +0200 Subject: [PATCH] TMP --- README.sh | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.sh b/README.sh index 921ff3e..8b8b5b2 100755 --- a/README.sh +++ b/README.sh @@ -32,6 +32,7 @@ while ! [[ $(http 0:8091/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Wait while ! [[ $(http 0:8092/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for details..."; sleep 1; done while ! [[ $(http 0:8093/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for validate-order..."; sleep 1; done while ! [[ $(http 0:8094/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for validation-results..."; sleep 1; done +while ! [[ $(http 0:8095/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for validate-user..."; sleep 1; done http -v post 0:8091/orders Accept:*/* id=1 customerId=2 productId=234 quantity=5 http -v post 0:8091/orders Accept:*/* id=1 customerId=2 productId=234 quantity= http -v post 0:8091/orders Accept:*/* id=1 customerId=2 productId=234 quantity=-5 diff --git a/docker-compose.yml b/docker-compose.yml index 27763e4..61ba653 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,7 +56,7 @@ services: image: trion/validate-user-service:04 hostname: validate-user ports: - - "8072:8080" + - "8095:8080" depends_on: - zookeeper - kafka -- 2.20.1