summaryrefslogtreecommitdiff
path: root/docker/demo
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-01-04 10:01:13 +0100
committerMS <ms@taler.net>2023-01-04 10:01:13 +0100
commit6c49bd73cc05279d698df80538a33f1d19d54b00 (patch)
treeba4da81ec5e090ccb626ee0f98b034b26283c266 /docker/demo
parent3eb152313477da97ad28496d9ffbb055f641e5f2 (diff)
downloaddeployment-6c49bd73cc05279d698df80538a33f1d19d54b00.tar.gz
deployment-6c49bd73cc05279d698df80538a33f1d19d54b00.tar.bz2
deployment-6c49bd73cc05279d698df80538a33f1d19d54b00.zip
Libeufin demo deployment.
Change the CLI invocation according to the latest design of avoiding to mention the demobank name along the base URL.
Diffstat (limited to 'docker/demo')
-rw-r--r--docker/demo/images/libeufin/startup.sh4
-rw-r--r--docker/demo/images/merchant/startup.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/docker/demo/images/libeufin/startup.sh b/docker/demo/images/libeufin/startup.sh
index 8b53f14..3578e1c 100644
--- 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
index f426107..cc964d8 100644
--- 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`