[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Testing environment.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Testing environment. |
Date: |
Fri, 13 Nov 2020 17:04:57 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new a89c1c1 Testing environment.
a89c1c1 is described below
commit a89c1c13dcc5ece619c2f60cb1c2e7adc9d555ab
Author: MS <ms@taler.net>
AuthorDate: Fri Nov 13 17:04:47 2020 +0100
Testing environment.
---
cli/setup-template.sh | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/cli/setup-template.sh b/cli/setup-template.sh
index 512e390..3088a88 100755
--- a/cli/setup-template.sh
+++ b/cli/setup-template.sh
@@ -14,9 +14,10 @@ EBICS_BASE_URL="$SANDBOX_URL/ebicsweb"
# A bank account details.
IBAN=LU150102294655243148
-BIC=y
+BIC=ABNALU2A
PERSON_NAME=z
ACCOUNT_NAME=a
+ACCOUNT_NAME_AT_NEXUS="local-$ACCOUNT_NAME"
# A Nexus user details.
NEXUS_USER=u
@@ -96,7 +97,17 @@ echo Download bank accounts
connections download-bank-accounts \
$NEXUS_BANK_CONNECTION_NAME > /dev/null
-echo Note: NEXUS_USERNAME, NEXUS_PASSWORD, and NEXUS_BASE_URL
-echo have been *already* exported in this shell. Bank connection
-echo $(tput bold)$NEXUS_BANK_CONNECTION_NAME$(tput sgr0) can be soon used via
the $(tput bold)libeufin-cli$(tput sgr0) utility!
-exec bash
+# Import bank account for user.
+./libeufin-cli \
+ connections import-bank-account \
+ --offered-account-id=$ACCOUNT_NAME \
+ --nexus-bank-account-id=$ACCOUNT_NAME_AT_NEXUS \
+ $NEXUS_BANK_CONNECTION_NAME > /dev/null
+
+cat << EOF
+
+Now usable via $(tput bold)libeufin-cli$(tput sgr0):
+Bank connection: $(tput bold)$NEXUS_BANK_CONNECTION_NAME$(tput sgr0)
+Bank account: $(tput bold)$ACCOUNT_NAME_AT_NEXUS$(tput sgr0)
+
+EOF
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Testing environment.,
gnunet <=