[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 03/04: cli-based tests preparation
From: |
gnunet |
Subject: |
[libeufin] 03/04: cli-based tests preparation |
Date: |
Thu, 12 Nov 2020 16:26:36 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit e257fca9221ead2086c48cb834408e9e0aa4b1b1
Author: MS <ms@taler.net>
AuthorDate: Thu Nov 12 16:25:02 2020 +0100
cli-based tests preparation
---
cli/setup-template.sh | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/cli/setup-template.sh b/cli/setup-template.sh
index 6795053..a006b53 100755
--- a/cli/setup-template.sh
+++ b/cli/setup-template.sh
@@ -5,17 +5,20 @@
set -eu
+# EBICS details.
SANDBOX_URL="http://localhost:5000"
EBICS_HOST_ID=ebicshost
EBICS_PARTNER_ID=ebicspartner
EBICS_USER_ID=ebicsuser
EBICS_BASE_URL="$SANDBOX_URL/ebicsweb"
+# A bank account details.
IBAN=x
BIC=y
PERSON_NAME=z
ACCOUNT_NAME=a
+# A Nexus user details.
NEXUS_USER=u
NEXUS_PASSWORD=p
NEXUS_BANK_CONNECTION_NAME=b
@@ -25,6 +28,7 @@ if test -z $1; then
exit 1
fi
+# Exports needed by the CLI.
export NEXUS_BASE_URL="http://localhost:5001/"
export NEXUS_USERNAME=$NEXUS_USER
export NEXUS_PASSWORD=$NEXUS_PASSWORD
@@ -85,12 +89,13 @@ echo Creating a bank connection for such user
$NEXUS_BANK_CONNECTION_NAME > /dev/null
sleep 2
-# Bootstrapping such connection
+# Bootstrapping such connection.
echo Bootstrapping the bank connection
./libeufin-cli \
connections sync $NEXUS_BANK_CONNECTION_NAME > /dev/null
-echo The following exports will make it possible to access Nexus:
-echo export NEXUS_BASE_URL="http://localhost:5001/"
-echo export NEXUS_USERNAME=$NEXUS_USER
-echo export NEXUS_PASSWORD=$NEXUS_PASSWORD
+# Download bank accounts.
+echo Download bank accounts
+./libeufin-cli \
+ connections download-bank-accounts \
+ $NEXUS_BANK_CONNECTION_NAME > /dev/null
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.