summaryrefslogtreecommitdiff
path: root/src/lib/test_sync_api.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-03 23:35:24 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-03 23:35:24 +0100
commit81523861ed6f35f4daed167e2db2093c9e78278e (patch)
treec7b8121f59c7915c3fed6ca96b5c41abc77cd4de /src/lib/test_sync_api.conf
parent8539445f6b72520e82260fc5f5b0b305f9873ad5 (diff)
downloadsync-81523861ed6f35f4daed167e2db2093c9e78278e.tar.gz
sync-81523861ed6f35f4daed167e2db2093c9e78278e.tar.bz2
sync-81523861ed6f35f4daed167e2db2093c9e78278e.zip
fix the various FTBFS issues from the 1'2020 exchange API change(s)
Diffstat (limited to 'src/lib/test_sync_api.conf')
-rw-r--r--src/lib/test_sync_api.conf81
1 files changed, 10 insertions, 71 deletions
diff --git a/src/lib/test_sync_api.conf b/src/lib/test_sync_api.conf
index 81eb4ee..575bcfa 100644
--- a/src/lib/test_sync_api.conf
+++ b/src/lib/test_sync_api.conf
@@ -16,6 +16,10 @@ TALER_CACHE_HOME = $TALER_HOME/.cache/taler/
[taler]
# What currency do we use?
CURRENCY = EUR
+CURRENCY_ROUND_UNIT = EUR:0.01
+
+[bank]
+HTTP_PORT = 8082
# Sync config
@@ -39,11 +43,7 @@ CONFIG = postgres:///synccheck
# Configuration for the merchant backend #
##########################################
-[test]
-INSTANCES = default tor
-
[merchant]
-
# Which port do we run the backend on? (HTTP server)
PORT = 8080
@@ -70,77 +70,22 @@ CONFIG = postgres:///talercheck
KEYFILE = ${TALER_CONFIG_HOME}/merchant/default.priv
NAME = Kudos Inc.
-[instance-tor]
-KEYFILE = ${TALER_CONFIG_HOME}/merchant/tor.priv
-NAME = The Tor Project
-
-
-[instance-tip]
-KEYFILE = ${TALER_CONFIG_HOME}/merchant/tip.priv
-TIP_EXCHANGE = http://localhost:8081/
-TIP_RESERVE_PRIV_FILENAME = ${TALER_CONFIG_HOME}/merchant/reserve/tip.priv
-NAME = Test Tipping Merchant
-
-
-[instance-dtip]
-KEYFILE = ${TALER_CONFIG_HOME}/merchant/dtip.priv
-TIP_EXCHANGE = http://localhost:8081/
-TIP_RESERVE_PRIV_FILENAME = ${TALER_CONFIG_HOME}/merchant/reserve/dtip.priv
-NAME = Test Tipping Merchant 2
-
-[instance-nulltip]
-KEYFILE = ${TALER_CONFIG_HOME}/merchant/nulltip.priv
-TIP_EXCHANGE = http://localhost:8081/
-# This key will NEVER be used to create a reserve, so
-# as to check tip authorization against a non-reserve
-# key.
-TIP_RESERVE_PRIV_FILENAME = ${TALER_CONFIG_HOME}/merchant/reserve/nulltip.priv
-NAME = Test Null-Tipping Merchant
-
# Account of the MERCHANT
-[account-merchant]
+[merchant-account-merchant]
# What is the merchant's bank account?
-URL = "payto://x-taler-bank/localhost:8082/3"
+PAYTO_URI = "payto://x-taler-bank/localhost:8082/3"
# This is the *salted* response we give out for /contract requests.
# File is generated on first use, no need for merchants to generate
# the salt!
WIRE_RESPONSE = ${TALER_CONFIG_HOME}/merchant/account-3.json
-# Which wire plugin should we used to access the account?
-# (use to validate payto://-URL and for back office)
-PLUGIN = taler_bank
-
-# Authentication information for basic authentication
-TALER_BANK_AUTH_METHOD = "basic"
-USERNAME = user
-PASSWORD = pass
-
# Accept payments to this account in instance-default
HONOR_default = YES
-# Accept payments to this account in instance-tor
-HONOR_tor = YES
-
-# Accept payments to this account in instance-tip
-HONOR_tip = YES
-
-# Accept payments to this account in instance-dtip
-HONOR_dtip = YES
-
-HONOR_nulltip = YES
-
# Advertise in new contracts of instance-default
ACTIVE_default = YES
-# Advertise in new contracts of instance-default
-ACTIVE_tor = YES
-
-# Advertise in new contracts of instance-default
-ACTIVE_tip = YES
-
-# Advertise in new contracts of instance-default
-ACTIVE_nulltip = YES
# Sections starting with "exchange-" specify trusted exchanges
# (by the merchant)
@@ -213,26 +158,20 @@ CONFIG = "postgres:///talercheck"
CONFIG = postgres:///talercheck
# Account of the EXCHANGE
-[account-exchange]
+[exchange-account-exchange]
# What is the exchange's bank account (with the "Taler Bank" demo system)?
-URL = "payto://x-taler-bank/localhost:8082/2"
+PAYTO_URI = "payto://x-taler-bank/localhost:8082/2"
# This is the response we give out for the /wire request. It provides
# wallets with the bank information for transfers to the exchange.
WIRE_RESPONSE = ${TALER_CONFIG_HOME}/exchange/account-2.json
-# Which wire plugin should we used to access the account?
-PLUGIN = taler_bank
-
-# Authentication information for basic authentication
-TALER_BANK_AUTH_METHOD = "basic"
-USERNAME = user
-PASSWORD = pass
+WIRE_GATEWAY_URL = "http://localhost:8082/2/"
+WIRE_GATEWAY_AUTH_METHOD = NONE
ENABLE_DEBIT = YES
ENABLE_CREDIT = YES
-
# wire fees
[fees-x-taler-bank]