diff options
Diffstat (limited to 'src/testing/test_template.conf')
-rw-r--r-- | src/testing/test_template.conf | 60 |
1 files changed, 46 insertions, 14 deletions
diff --git a/src/testing/test_template.conf b/src/testing/test_template.conf index 21bb6186..8f3dc4da 100644 --- a/src/testing/test_template.conf +++ b/src/testing/test_template.conf @@ -1,18 +1,18 @@ [PATHS] -TALER_HOME = ${PWD}/test_reducer_home/ -TALER_DATA_HOME = $TALER_HOME/.local/share/taler/ -TALER_CONFIG_HOME = $TALER_HOME/.config/taler/ -TALER_CACHE_HOME = $TALER_HOME/.cache/taler/ -TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/taler-system-runtime/ +TALER_TEST_HOME = test_merchant_api_home/ [taler] CURRENCY = TESTKUDOS CURRENCY_ROUND_UNIT = TESTKUDOS:0.01 +[merchant-exchange-kudos] +DISABLED = YES + [exchange] +AML_THRESHOLD = TESTKUDOS:1000000 MAX_KEYS_CACHING = forever DB = postgres -MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv +MASTER_PUBLIC_KEY = NKX42KSCQHDQK7CF1PC6X9DMQPXW6KHXKGD3DPQJMP32FKXSWYK0 SERVE = tcp UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http UNIXPATH_MODE = 660 @@ -26,6 +26,9 @@ REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/ TERMS_ETAG = 0 PRIVACY_ETAG = 0 +[exchangedb-postgres] +CONFIG = postgres:///talercheck + [merchant] SERVE = tcp PORT = 9966 @@ -34,17 +37,27 @@ UNIXPATH_MODE = 660 DEFAULT_WIRE_FEE_AMORTIZATION = 1 DB = postgres WIREFORMAT = default -# Set very low, so we can be sure that the database generated -# will contain wire transfers "ready" for the aggregator. WIRE_TRANSFER_DELAY = 1 minute DEFAULT_PAY_DEADLINE = 1 day DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1 KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10 - -# Ensure that merchant reports EVERY deposit confirmation to auditor FORCE_AUDIT = YES +[merchantdb-postgres] +CONFIG = postgres:///talercheck +SQL_DIR = $DATADIR/sql/merchant/ + +[bank] +HTTP_PORT = 8082 + +[libeufin-nexus] +DB_CONNECTION="postgresql:///talercheck" + +[libeufin-sandbox] +DB_CONNECTION="postgresql:///talercheck" + + [auditor] DB = postgres AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv @@ -54,7 +67,6 @@ UNIXPATH_MODE = 660 PORT = 8083 AUDITOR_URL = http://localhost:8083/ TINY_AMOUNT = TESTKUDOS:0.01 -AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv BASE_URL = "http://localhost:8083/" [exchangedb] @@ -63,18 +75,38 @@ LEGAL_RESERVE_EXPIRATION_TIME = 7 years [exchange-account-1] # PAYTO_URI comes by patching. -enable_debit = yes -enable_credit = yes +ENABLE_DEBIT = YES +ENABLE_CREDIT = YES [exchange-accountcredentials-1] -WIRE_GATEWAY_URL = "http://localhost:8082/facades/test-facade/taler-wire-gateway/" +WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" +WIRE_GATEWAY_AUTH_METHOD = basic +USERNAME = exchange +PASSWORD = x + +[admin-accountcredentials-1] +WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" WIRE_GATEWAY_AUTH_METHOD = basic USERNAME = exchange PASSWORD = x +[exchange-account-2] +PAYTO_URI = "payto://x-taler-bank/localhost/exchange?receiver-name=exchange" +ENABLE_DEBIT = YES +ENABLE_CREDIT = YES + +[exchange-accountcredentials-2] +WIRE_GATEWAY_AUTH_METHOD = none +WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" + +[admin-accountcredentials-2] +WIRE_GATEWAY_AUTH_METHOD = none +WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" + [merchant-exchange-default] EXCHANGE_BASE_URL = http://localhost:8081/ CURRENCY = TESTKUDOS +MASTER_KEY = NKX42KSCQHDQK7CF1PC6X9DMQPXW6KHXKGD3DPQJMP32FKXSWYK0 [payments-generator] currency = TESTKUDOS |