[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: exchange account creation
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: exchange account creation |
Date: |
Sun, 03 Dec 2023 21:09:39 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new be091cf exchange account creation
be091cf is described below
commit be091cfa9e9ec3d57de03800b0d0cb8bfc766791
Author: MS <ms@taler.net>
AuthorDate: Sun Dec 3 21:08:23 2023 +0100
exchange account creation
creating it via the convenient non-HTTP based command
---
netzbon/config_libeufin_bank.sh | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/netzbon/config_libeufin_bank.sh b/netzbon/config_libeufin_bank.sh
index 835b99b..f38df00 100755
--- a/netzbon/config_libeufin_bank.sh
+++ b/netzbon/config_libeufin_bank.sh
@@ -108,19 +108,8 @@ curl --max-time 25 \
say "DONE"
say "Create exchange account..."
-LAST_RESPONSE=$(mktemp -p "${TMPDIR:-/tmp}" test_response.conf-XXXXXX)
-BODY='{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}'
-wget \
- --method="POST" \
- --http-user="admin" \
- --http-password="${BANK_ADMIN_PASSWORD}" \
- --header='Content-type: application/json' \
- --body-data="${BODY}" \
- -O "$LAST_RESPONSE" \
- "http://localhost:$BANK_PORT/accounts"
-say "DONE"
-EXCHANGE_PAYTO="$(cat "$LAST_RESPONSE" | jq -r
.internal_payto_uri)/receiver-name=Exchange"
+EXCHANGE_PAYTO="$(libeufin-bank create-account
'{"username":"exchange","password":"'${BANK_EXCHANGE_PASSWORD}'","name":"Exchange","is_taler_exchange":true}')?receiver-name=Exchange"
EXCHANGE_WIRE_GATEWAY_URL="${PROTO}://bank.$DOMAIN_NAME/accounts/exchange/taler-wire-gateway/"
# Communicating this to the exchange script, as the exchange
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: exchange account creation,
gnunet <=