taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit e3da5213fb0add61f7266a3f115c330df3e581d3
parent 6e371648fc4d96636df653dd8a7c5d7a571b33ad
Author: Florian Dold <florian@dold.me>
Date:   Tue, 10 Jan 2023 13:02:19 +0100

fix libeufin status check in merchant

Diffstat:
Mdocker/demo/images/merchant/startup.sh | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 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}