From e3da5213fb0add61f7266a3f115c330df3e581d3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 10 Jan 2023 13:02:19 +0100 Subject: fix libeufin status check in merchant --- docker/demo/images/merchant/startup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docker/demo/images/merchant/startup.sh') diff --git a/docker/demo/images/merchant/startup.sh b/docker/demo/images/merchant/startup.sh index ba48404..feaca16 100644 --- a/docker/demo/images/merchant/startup.sh +++ b/docker/demo/images/merchant/startup.sh @@ -72,6 +72,7 @@ for n in `seq 1 50` echo "ERROR: $1 unreachable." exit 1 fi + echo Now available: $1 set -u } @@ -149,12 +150,12 @@ PAYTO_RESERVE=$( ) SANDBOX_URL="http://bank:15000" -is_serving "${SANDBOX_URL}/integration-api/config" +is_serving "${SANDBOX_URL}/demobanks/default/integration-api/config" SURVEY_USERNAME=`taler-config -c /config/deployment.conf -s taler-deployment -o survey-sandbox-username` SURVEY_PASSWORD=`taler-config -c /config/deployment.conf -s taler-deployment -o survey-sandbox-password` # Check/wait that the Survey site got its bank account. -curl "${SANDBOX_URL}/access-api/public-accounts" -is_serving "${SANDBOX_URL}/access-api/accounts/${SURVEY_USERNAME}" \ +curl "${SANDBOX_URL}/demobanks/default/access-api/public-accounts" +is_serving "${SANDBOX_URL}/demobanks/default/access-api/accounts/${SURVEY_USERNAME}" \ "Authorization: Basic $(echo -n $SURVEY_USERNAME:$SURVEY_PASSWORD | base64)" export LIBEUFIN_SANDBOX_USERNAME=${SURVEY_USERNAME} export LIBEUFIN_SANDBOX_PASSWORD=${SURVEY_PASSWORD} -- cgit v1.2.3