[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: work around libeufin-cli bug
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: work around libeufin-cli bug |
Date: |
Fri, 04 Nov 2022 14:23:27 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 81ee8f01 work around libeufin-cli bug
81ee8f01 is described below
commit 81ee8f01d89bab616fd86741fc5886d32f58c41c
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Nov 4 14:23:15 2022 +0100
work around libeufin-cli bug
---
src/auditor/generate-auditor-basedb.sh | 9 ++++++---
src/auditor/generate-revoke-basedb.sh | 7 ++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/auditor/generate-auditor-basedb.sh
b/src/auditor/generate-auditor-basedb.sh
index 6ce01725..b738823d 100755
--- a/src/auditor/generate-auditor-basedb.sh
+++ b/src/auditor/generate-auditor-basedb.sh
@@ -142,13 +142,15 @@ echo "Launching services (pre audit DB: $TARGET_DB)"
export
LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-sandbox.sqlite3"
# Create the default demobank.
cd $MY_TMP_DIR
+export LIBEUFIN_SANDBOX_ADMIN_PASSWORD=secret
libeufin-sandbox config --currency "TESTKUDOS" default
-libeufin-sandbox serve --no-auth --port "1${BANK_PORT}" \
+libeufin-sandbox serve --port "1${BANK_PORT}" \
> ${MY_TMP_DIR}/libeufin-sandbox-stdout.log \
2> ${MY_TMP_DIR}/libeufin-sandbox-stderr.log &
echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid
cd $ORIGIN
-export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}/"
+export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}/demobanks/default"
+echo $LIBEUFIN_SANDBOX_URL
set +e
echo -n "Waiting for Sandbox..."
OK=0
@@ -156,9 +158,10 @@ for n in `seq 1 50`; do
echo -n "."
sleep 1
if wget --timeout=1 \
+ --user admin --password secret \
--tries=3 --waitretry=0 \
-o /dev/null -O /dev/null \
- ${LIBEUFIN_SANDBOX_URL}demobanks;
+ ${LIBEUFIN_SANDBOX_URL};
then
OK=1
break
diff --git a/src/auditor/generate-revoke-basedb.sh
b/src/auditor/generate-revoke-basedb.sh
index 0872d81b..e70e0130 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -145,14 +145,14 @@ echo "Launching services"
export
LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-sandbox.sqlite3"
# Create the default demobank.
cd $MY_TMP_DIR
-libeufin-sandbox config --currency "TESTKUDOS" default
export LIBEUFIN_SANDBOX_ADMIN_PASSWORD=secret
+libeufin-sandbox config --currency "TESTKUDOS" default
libeufin-sandbox serve --port "1${BANK_PORT}" \
> ${MY_TMP_DIR}/libeufin-sandbox-stdout.log \
2> ${MY_TMP_DIR}/libeufin-sandbox-stderr.log &
echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid
cd $ORIGIN
-export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}/"
+export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}/demobanks/default"
set +e
echo -n "Waiting for Sandbox..."
OK=0
@@ -160,9 +160,10 @@ for n in `seq 1 50`; do
echo -n "."
sleep 1
if wget --timeout=1 \
+ --user admin --password secret \
--tries=3 --waitretry=0 \
-o /dev/null -O /dev/null \
- ${LIBEUFIN_SANDBOX_URL}demobanks;
+ ${LIBEUFIN_SANDBOX_URL};
then
OK=1
break
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: work around libeufin-cli bug,
gnunet <=