commit 6c49bd73cc05279d698df80538a33f1d19d54b00
parent 3eb152313477da97ad28496d9ffbb055f641e5f2
Author: MS <ms@taler.net>
Date: Wed, 4 Jan 2023 10:01:13 +0100
Libeufin demo deployment.
Change the CLI invocation according to
the latest design of avoiding to mention
the demobank name along the base URL.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docker/demo/images/libeufin/startup.sh b/docker/demo/images/libeufin/startup.sh
@@ -18,7 +18,7 @@ SANDBOX_BASE_URL="http://localhost:${SANDBOX_PORT}"
EXCHANGE_URL=`taler-config -c /config/deployment.conf -s taler-deployment -o default-exchange`
CAPTCHA_URL=`taler-config -c /config/deployment.conf -s taler-deployment -o bank-url`
# As wanted by the Libeufin CLI:
-export LIBEUFIN_SANDBOX_URL="${SANDBOX_BASE_URL}/demobanks/default"
+export LIBEUFIN_SANDBOX_URL=${SANDBOX_BASE_URL}
export LIBEUFIN_NEXUS_URL="http://localhost:${NEXUS_PORT}"
# invoke: username password iban name
@@ -86,7 +86,7 @@ echo -n "Create exchange EBICS subscriber at Sandbox.."
export LIBEUFIN_SANDBOX_USERNAME=admin
export LIBEUFIN_SANDBOX_PASSWORD=secret
echo -n "Create EBICS host at Sandbox.."
-test -a $INIT_MARKER || libeufin-cli sandbox --sandbox-url $SANDBOX_BASE_URL ebicshost create --host-id talerebics
+test -a $INIT_MARKER || libeufin-cli sandbox ebicshost create --host-id talerebics
echo DONE
echo -n "Create exchange's EBICS subscriber at Sandbox.."
test -a $INIT_MARKER || libeufin-cli sandbox \
diff --git a/docker/demo/images/merchant/startup.sh b/docker/demo/images/merchant/startup.sh
@@ -147,7 +147,7 @@ PAYTO_RESERVE=$(
--wire-method iban
)
-SANDBOX_URL="http://bank:15000/demobanks/default"
+SANDBOX_URL="http://bank:15000"
is_serving "${SANDBOX_URL}/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`