summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/demo/images/merchant/startup.sh7
1 files changed, 4 insertions, 3 deletions
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}