remove demobanks/default everywhere in URLs, no longer needed

This commit is contained in:
Christian Grothoff 2023-01-11 16:04:04 +01:00
parent cf7e0ccce6
commit 5a5e0c3723
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
5 changed files with 10 additions and 10 deletions

View File

@ -37,7 +37,7 @@ libeufin-sandbox serve --port "1$1" \
> libeufin-sandbox-stdout.log \ > libeufin-sandbox-stdout.log \
2> libeufin-sandbox-stderr.log & 2> libeufin-sandbox-stderr.log &
echo $! > libeufin-sandbox.pid echo $! > libeufin-sandbox.pid
export LIBEUFIN_SANDBOX_URL="http://localhost:1$1/demobanks/default" export LIBEUFIN_SANDBOX_URL="http://localhost:1$1/"
set +e set +e
echo -n "Waiting for Sandbox.." echo -n "Waiting for Sandbox.."
for n in `seq 1 50`; do for n in `seq 1 50`; do

View File

@ -17,24 +17,24 @@ FACADE_LABEL="my-facade"
export LIBEUFIN_SANDBOX_USERNAME=exchange export LIBEUFIN_SANDBOX_USERNAME=exchange
export LIBEUFIN_SANDBOX_PASSWORD=x export LIBEUFIN_SANDBOX_PASSWORD=x
export LIBEUFIN_SANDBOX_URL=http://localhost:5000/demobanks/default export LIBEUFIN_SANDBOX_URL=http://localhost:5000/
libeufin-cli sandbox demobank register --name "Exchange Company" libeufin-cli sandbox demobank register --name "Exchange Company"
export LIBEUFIN_SANDBOX_USERNAME=fortytwo export LIBEUFIN_SANDBOX_USERNAME=fortytwo
export LIBEUFIN_SANDBOX_PASSWORD=x export LIBEUFIN_SANDBOX_PASSWORD=x
export LIBEUFIN_SANDBOX_URL=http://localhost:5000/demobanks/default export LIBEUFIN_SANDBOX_URL=http://localhost:5000/
libeufin-cli sandbox demobank register \ libeufin-cli sandbox demobank register \
--name User42 --iban FR7630006000011234567890189 --name User42 --iban FR7630006000011234567890189
export LIBEUFIN_SANDBOX_USERNAME=fortythree export LIBEUFIN_SANDBOX_USERNAME=fortythree
export LIBEUFIN_SANDBOX_PASSWORD=x export LIBEUFIN_SANDBOX_PASSWORD=x
export LIBEUFIN_SANDBOX_URL=http://localhost:5000/demobanks/default export LIBEUFIN_SANDBOX_URL=http://localhost:5000/
libeufin-cli sandbox demobank register \ libeufin-cli sandbox demobank register \
--name User43 --iban GB33BUKB20201555555555 --name User43 --iban GB33BUKB20201555555555
export LIBEUFIN_SANDBOX_USERNAME=admin export LIBEUFIN_SANDBOX_USERNAME=admin
export LIBEUFIN_SANDBOX_PASSWORD=secret export LIBEUFIN_SANDBOX_PASSWORD=secret
export LIBEUFIN_SANDBOX_URL=http://localhost:5000/demobanks/default export LIBEUFIN_SANDBOX_URL=http://localhost:5000/
echo -n "Create EBICS host at Sandbox..." echo -n "Create EBICS host at Sandbox..."
libeufin-cli sandbox \ libeufin-cli sandbox \
--sandbox-url "http://localhost:5000" \ --sandbox-url "http://localhost:5000" \

View File

@ -102,7 +102,7 @@ export EXCHANGE_URL=`taler-config -c $CONF -s EXCHANGE -o BASE_URL`
MERCHANT_PORT=`taler-config -c $CONF -s MERCHANT -o PORT` MERCHANT_PORT=`taler-config -c $CONF -s MERCHANT -o PORT`
export MERCHANT_URL=http://localhost:${MERCHANT_PORT}/ export MERCHANT_URL=http://localhost:${MERCHANT_PORT}/
BANK_PORT=`taler-config -c $CONF -s BANK -o HTTP_PORT` BANK_PORT=`taler-config -c $CONF -s BANK -o HTTP_PORT`
BANK_URL="http://localhost:1${BANK_PORT}/demobanks/default" BANK_URL="http://localhost:1${BANK_PORT}"
export AUDITOR_URL=http://localhost:8083/ export AUDITOR_URL=http://localhost:8083/
AUDITOR_PRIV_FILE=$1.apriv AUDITOR_PRIV_FILE=$1.apriv
AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE` AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE`
@ -149,7 +149,7 @@ libeufin-sandbox serve --port "1${BANK_PORT}" \
2> ${MY_TMP_DIR}/libeufin-sandbox-stderr.log & 2> ${MY_TMP_DIR}/libeufin-sandbox-stderr.log &
echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid
cd $ORIGIN cd $ORIGIN
export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}/demobanks/default" export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}"
echo $LIBEUFIN_SANDBOX_URL echo $LIBEUFIN_SANDBOX_URL
set +e set +e
echo -n "Waiting for Sandbox..." echo -n "Waiting for Sandbox..."

View File

@ -103,7 +103,7 @@ export EXCHANGE_URL=`taler-config -c $CONF -s EXCHANGE -o BASE_URL`
MERCHANT_PORT=`taler-config -c $CONF -s MERCHANT -o PORT` MERCHANT_PORT=`taler-config -c $CONF -s MERCHANT -o PORT`
export MERCHANT_URL=http://localhost:${MERCHANT_PORT}/ export MERCHANT_URL=http://localhost:${MERCHANT_PORT}/
BANK_PORT=`taler-config -c $CONF -s BANK -o HTTP_PORT` BANK_PORT=`taler-config -c $CONF -s BANK -o HTTP_PORT`
export BANK_URL=http://localhost:1${BANK_PORT}/demobanks/default export BANK_URL=http://localhost:1${BANK_PORT}
export AUDITOR_URL=http://localhost:8083/ export AUDITOR_URL=http://localhost:8083/
AUDITOR_PRIV_FILE=$1.apriv AUDITOR_PRIV_FILE=$1.apriv
AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE` AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE`
@ -152,7 +152,7 @@ libeufin-sandbox serve --port "1${BANK_PORT}" \
2> ${MY_TMP_DIR}/libeufin-sandbox-stderr.log & 2> ${MY_TMP_DIR}/libeufin-sandbox-stderr.log &
echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid
cd $ORIGIN cd $ORIGIN
export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}/demobanks/default" export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}"
set +e set +e
echo -n "Waiting for Sandbox..." echo -n "Waiting for Sandbox..."
OK=0 OK=0

View File

@ -140,7 +140,7 @@ function nexus_submit_to_sandbox () {
function get_payto_uri() { function get_payto_uri() {
export LIBEUFIN_SANDBOX_USERNAME=$1 export LIBEUFIN_SANDBOX_USERNAME=$1
export LIBEUFIN_SANDBOX_PASSWORD=$2 export LIBEUFIN_SANDBOX_PASSWORD=$2
export LIBEUFIN_SANDBOX_URL=http://localhost:18082/demobanks/default export LIBEUFIN_SANDBOX_URL=http://localhost:18082
libeufin-cli sandbox demobank info --bank-account $1 | jq --raw-output '.paytoUri' libeufin-cli sandbox demobank info --bank-account $1 | jq --raw-output '.paytoUri'
} }