summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-10 13:02:19 +0100
committerFlorian Dold <florian@dold.me>2023-01-10 13:02:19 +0100
commite3da5213fb0add61f7266a3f115c330df3e581d3 (patch)
tree9182eb1fe3b5f595ba2cb1b538813c9d4c87c23a
parent6e371648fc4d96636df653dd8a7c5d7a571b33ad (diff)
downloaddeployment-e3da5213fb0add61f7266a3f115c330df3e581d3.tar.gz
deployment-e3da5213fb0add61f7266a3f115c330df3e581d3.tar.bz2
deployment-e3da5213fb0add61f7266a3f115c330df3e581d3.zip
fix libeufin status check in merchant
-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}