diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-21 13:58:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-21 13:58:54 +0100 |
commit | 7a9fdb64ae1b060a0725c98b7234b4d79efd482c (patch) | |
tree | ca780b1ee59443861a4aed908234ab3d96810fcb | |
parent | 8879515f133f08321962bf848782eb01ee0ffade (diff) |
bump prebuilt
-rw-r--r-- | contrib/Makefile.am.in | 3 | ||||
-rwxr-xr-x | contrib/taler-bank-manage-testing | 187 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/libtalerexchange-dev.install | 6 | ||||
-rw-r--r-- | debian/taler-exchange.install | 8 | ||||
m--------- | doc/prebuilt | 0 |
6 files changed, 13 insertions, 197 deletions
diff --git a/contrib/Makefile.am.in b/contrib/Makefile.am.in index 73dee525b..5f9c93d5e 100644 --- a/contrib/Makefile.am.in +++ b/contrib/Makefile.am.in @@ -31,8 +31,7 @@ rdata_DATA = \ bin_SCRIPTS = \ taler-auditor-dbconfig \ taler-exchange-dbconfig \ - taler-terms-generator \ - taler-bank-manage-testing + taler-terms-generator EXTRA_DIST = \ diff --git a/contrib/taler-bank-manage-testing b/contrib/taler-bank-manage-testing deleted file mode 100755 index cd9e41a1c..000000000 --- a/contrib/taler-bank-manage-testing +++ /dev/null @@ -1,187 +0,0 @@ -#!/bin/sh -# This file is in the public domain -# Wrapper around libeufin to first configure the required -# testing accounts before launching the bank properly. -# -# Takes 4 arguments: -# $1: the Nexus port (Sandbox port prepends 1 to it) -# $2: the database name -# $3: exchange base URL (used to specify the default exchange) -# $4: config file (needs patch to specify exchange's PAYTO_URI) - -set -eu - -if [ "$1" = "--help" ]; -then - echo "This is a tool to launch a libeufin based bank for testing." - echo "Call using: Nexus port number, SQLite file path, exchange base URL, config file path." - exit 0 -fi -if [ "$#" -ne 4 ]; -then - echo "illegal number of parameters. \ -Give: Nexus port number, SQLite file path, exchange base URL, config file path." - exit 1 -fi - -# Must not terminate jobs here, as they are needed -# by the script _importing_ this one. Those script -# will then manage the termination. -# trap cleanup EXIT - -export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:$2" -# Create the default demobank. -libeufin-sandbox config --currency TESTKUDOS default -export LIBEUFIN_SANDBOX_ADMIN_PASSWORD=secret -libeufin-sandbox serve --port "1$1" \ - > libeufin-sandbox-stdout.log \ - 2> libeufin-sandbox-stderr.log & -echo $! > libeufin-sandbox.pid -export LIBEUFIN_SANDBOX_URL="http://localhost:1$1/" -set +e -echo -n "Waiting for Sandbox.." -for n in `seq 1 50`; do - echo -n "." - sleep 1 - if wget --timeout=1 \ - --tries=3 --waitretry=0 \ - -o /dev/null -O /dev/null \ - $LIBEUFIN_SANDBOX_URL; then - break - fi -done -echo OK - -register_sandbox_account() { - export LIBEUFIN_SANDBOX_USERNAME=$1 - export LIBEUFIN_SANDBOX_PASSWORD=$2 - libeufin-cli sandbox \ - demobank \ - register --name "$3" - unset LIBEUFIN_SANDBOX_USERNAME - unset LIBEUFIN_SANDBOX_PASSWORD -} -set -e -echo -n "Register the 'fortytwo' Sandbox user.." -register_sandbox_account fortytwo x "Forty Two" -echo OK -echo -n "Register the 'fortythree' Sandbox user.." -register_sandbox_account fortythree x "Forty Three" -echo OK -echo -n "Register 'exchange' Sandbox user.." -register_sandbox_account exchange x "Exchange Company" -echo OK -echo -n "Register 'tor' Sandbox user.." -register_sandbox_account tor x "Tor Project" -echo OK -echo -n "Register 'gnunet' Sandbox user.." -register_sandbox_account gnunet x "GNUnet" -echo OK -echo -n "Register 'tutorial' Sandbox user.." -register_sandbox_account tutorial x "Tutorial" -echo OK -echo -n "Register 'survey' Sandbox user.." -register_sandbox_account survey x "Survey" -echo OK -echo -n "Specify exchange's PAYTO_URI in the config ..." -export LIBEUFIN_SANDBOX_USERNAME=exchange -export LIBEUFIN_SANDBOX_PASSWORD=x -PAYTO=`libeufin-cli sandbox demobank info --bank-account exchange | jq --raw-output '.paytoUri'` -taler-config -c $4 -s exchange-account-1 -o PAYTO_URI -V $PAYTO -echo " OK" -echo -n "Setting this exchange as the bank's default ..." -EXCHANGE_PAYTO=`libeufin-cli sandbox demobank info --bank-account exchange | jq --raw-output '.paytoUri'` -libeufin-sandbox default-exchange "$3" "$EXCHANGE_PAYTO" -echo " OK" -# Prepare EBICS: create Ebics host and Exchange subscriber. -# Shortly becoming admin to setup Ebics. -export LIBEUFIN_SANDBOX_USERNAME=admin -export LIBEUFIN_SANDBOX_PASSWORD=secret -echo -n "Create EBICS host at Sandbox.." -libeufin-cli sandbox \ - --sandbox-url http://localhost:1$1 \ - ebicshost create --host-id talerebics -echo OK -echo -n "Create exchange EBICS subscriber at Sandbox.." -libeufin-cli sandbox \ - demobank new-ebicssubscriber --host-id talerebics \ - --user-id exchangeebics --partner-id talerpartner \ - --bank-account exchange # that's a username _and_ a bank account name -echo OK -unset LIBEUFIN_SANDBOX_USERNAME -unset LIBEUFIN_SANDBOX_PASSWORD -# Prepare Nexus, which is the side actually talking -# to the exchange. -export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:$2" -# For convenience, username and password are -# identical to those used at the Sandbox. -echo -n Create exchange Nexus user.. -libeufin-nexus superuser exchange --password x -echo OK -libeufin-nexus serve --port $1 \ - 2> libeufin-nexus-stderr.log \ - > libeufin-nexus-stdout.log & -echo $! > libeufin-nexus.pid -export LIBEUFIN_NEXUS_URL=http://localhost:$1 -echo -n Waiting for Nexus.. -set +e -for n in `seq 1 50`; do - echo -n "." - sleep 1 - if wget --timeout=1 \ - --tries=3 --waitretry=0 \ - -o /dev/null -O /dev/null \ - $LIBEUFIN_NEXUS_URL; then - break - fi -done -set -e -echo OK -export LIBEUFIN_NEXUS_USERNAME=exchange -export LIBEUFIN_NEXUS_PASSWORD=x -echo -n Creating a EBICS connection at Nexus.. -libeufin-cli connections new-ebics-connection \ - --ebics-url "http://localhost:1$1/ebicsweb" \ - --host-id talerebics \ - --partner-id talerpartner \ - --ebics-user-id exchangeebics \ - talerconn -echo OK -echo -n Setup EBICS keying.. -libeufin-cli connections connect talerconn > /dev/null -echo OK -echo -n Download bank account name from Sandbox.. -libeufin-cli connections download-bank-accounts talerconn -echo OK -echo -n Importing bank account info into Nexus.. -libeufin-cli connections import-bank-account \ - --offered-account-id exchange \ - --nexus-bank-account-id exchange-nexus \ - talerconn -echo OK -echo -n Setup payments submission task.. -# Tries every second. -libeufin-cli accounts task-schedule \ - --task-type submit \ - --task-name exchange-payments \ - --task-cronspec "* * *" \ - exchange-nexus -echo OK -# Tries every second. Ask C52 -echo -n Setup history fetch task.. -libeufin-cli accounts task-schedule \ - --task-type fetch \ - --task-name exchange-history \ - --task-cronspec "* * *" \ - --task-param-level report \ - --task-param-range-type latest \ - exchange-nexus -echo OK -# TBD: create Taler facade. -echo -n Create the Taler facade at Nexus.. -libeufin-cli facades \ - new-taler-wire-gateway-facade \ - --currency TESTKUDOS --facade-name test-facade \ - talerconn exchange-nexus -echo OK -# Facade schema: http://localhost:$1/facades/test-facade/taler-wire-gateway/ diff --git a/debian/changelog b/debian/changelog index a712cdc5a..8dcf5a979 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +taler-exchange (0.9.4) unstable; urgency=low + + * Preparations for v0.9.4 release. + + -- Christian Grothoff <grothoff@gnu.org> Wed, 27 Sep 2023 03:50:12 +0200 + taler-exchange (0.9.3-7) unstable; urgency=low * Move currencies.conf into libtalerexchange base package. diff --git a/debian/libtalerexchange-dev.install b/debian/libtalerexchange-dev.install index 5d8edd3bb..751e2ff7a 100644 --- a/debian/libtalerexchange-dev.install +++ b/debian/libtalerexchange-dev.install @@ -6,14 +6,10 @@ usr/bin/taler-exchange-kyc-tester usr/bin/taler-fakebank-run usr/bin/taler-unified-setup.sh -# Only used in test cases. Maybe these -# shouldn't even be installed? -usr/bin/taler-bank-manage-testing - # Man pages -usr/share/man/man1/taler-exchange-kyc-tester* usr/share/man/man1/taler-aggregator-benchmark* usr/share/man/man1/taler-bank-benchmark* +usr/share/man/man1/taler-exchange-kyc-tester* usr/share/man/man1/taler-exchange-benchmark* usr/share/man/man1/taler-unified-setup* diff --git a/debian/taler-exchange.install b/debian/taler-exchange.install index 9c3cd8f47..3f9694b74 100644 --- a/debian/taler-exchange.install +++ b/debian/taler-exchange.install @@ -14,17 +14,19 @@ usr/lib/*/taler/libtaler_plugin_kyclogic_*.so usr/lib/*/taler/libtaler_extension_*.so usr/share/man/man1/taler-exchange-aggregator* usr/share/man/man1/taler-exchange-closer* +usr/share/man/man1/taler-exchange-dbconfig* +usr/share/man/man1/taler-exchange-dbinit* usr/share/man/man1/taler-exchange-drain* usr/share/man/man1/taler-exchange-expire* usr/share/man/man1/taler-exchange-httpd* +usr/share/man/man1/taler-exchange-kyc-aml-pep-trigger* usr/share/man/man1/taler-exchange-router* +usr/share/man/man1/taler-exchange-secmod-cs* usr/share/man/man1/taler-exchange-secmod-eddsa* usr/share/man/man1/taler-exchange-secmod-rsa* -usr/share/man/man1/taler-exchange-secmod-cs* usr/share/man/man1/taler-exchange-transfer* -usr/share/man/man1/taler-exchange-wirewatch* -usr/share/man/man1/taler-bank* usr/share/man/man1/taler-exchange-wire-gateway-client* +usr/share/man/man1/taler-exchange-wirewatch* usr/share/info/taler-bank* usr/share/info/taler-exchange* usr/share/taler/config.d/* diff --git a/doc/prebuilt b/doc/prebuilt -Subproject 5e7026c5cef101c90b6dc58096e0a0946ef11b0 +Subproject 62b3ab67add4942d2b3aaa1c74a9c4d153e115d |