summaryrefslogtreecommitdiff
path: root/src/exchange/test-taler-exchange-wirewatch-postgres.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-11 11:48:06 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-11 11:48:06 +0200
commit110d0cc71cc4814182bb2d38c3cb304abe5d5407 (patch)
treed6646553acf3f2318b54220b5d8a675b96938033 /src/exchange/test-taler-exchange-wirewatch-postgres.conf
parenta57cf67f31e89aab59a39daf3cca35509c5dc8b8 (diff)
downloadexchange-110d0cc71cc4814182bb2d38c3cb304abe5d5407.tar.gz
exchange-110d0cc71cc4814182bb2d38c3cb304abe5d5407.tar.bz2
exchange-110d0cc71cc4814182bb2d38c3cb304abe5d5407.zip
start test case for #4956
Diffstat (limited to 'src/exchange/test-taler-exchange-wirewatch-postgres.conf')
-rw-r--r--src/exchange/test-taler-exchange-wirewatch-postgres.conf73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/exchange/test-taler-exchange-wirewatch-postgres.conf b/src/exchange/test-taler-exchange-wirewatch-postgres.conf
new file mode 100644
index 000000000..2e846d88c
--- /dev/null
+++ b/src/exchange/test-taler-exchange-wirewatch-postgres.conf
@@ -0,0 +1,73 @@
+[PATHS]
+# Persistant data storage for the testcase
+TALER_TEST_HOME = test_taler_exchange_httpd_home/
+
+[taler]
+# Currency supported by the exchange (can only be one)
+CURRENCY = EUR
+
+[exchange]
+# The DB plugin to use
+DB = postgres
+
+# HTTP port the exchange listens to
+PORT = 8081
+
+# Master public key used to sign the exchange's various keys
+MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
+
+# Expected base URL of the exchange.
+BASE_URL = "https://exchange.taler.net/"
+
+[exchangedb]
+# After how long do we close idle reserves? The exchange
+# and the auditor must agree on this value. We currently
+# expect it to be globally defined for the whole system,
+# as there is no way for wallets to query this value. Thus,
+# it is only configurable for testing, and should be treated
+# as constant in production.
+#
+# This is THE test that requires a short reserve expiration time!
+IDLE_RESERVE_EXPIRATION_TIME = 5 s
+
+[exchangedb-postgres]
+
+#The connection string the plugin has to use for connecting to the database
+DB_CONN_STR = postgres:///talercheck
+
+
+[exchange-wire-test]
+# Enable 'test' for testing of the actual coin operations.
+ENABLE = YES
+
+# Fees for the forseeable future...
+# If you see this after 2017, update to match the next 10 years...
+WIRE-FEE-2017 = EUR:0.01
+WIRE-FEE-2018 = EUR:0.01
+WIRE-FEE-2019 = EUR:0.01
+WIRE-FEE-2020 = EUR:0.01
+WIRE-FEE-2021 = EUR:0.01
+WIRE-FEE-2022 = EUR:0.01
+WIRE-FEE-2023 = EUR:0.01
+WIRE-FEE-2024 = EUR:0.01
+WIRE-FEE-2025 = EUR:0.01
+WIRE-FEE-2026 = EUR:0.01
+
+CLOSING-FEE-2017 = EUR:0.01
+CLOSING-FEE-2018 = EUR:0.01
+CLOSING-FEE-2019 = EUR:0.01
+CLOSING-FEE-2020 = EUR:0.01
+CLOSING-FEE-2021 = EUR:0.01
+CLOSING-FEE-2022 = EUR:0.01
+CLOSING-FEE-2023 = EUR:0.01
+CLOSING-FEE-2024 = EUR:0.01
+CLOSING-FEE-2025 = EUR:0.01
+CLOSING-FEE-2026 = EUR:0.01
+
+
+# What is the main website of the bank?
+BANK_URI = "http://localhost:8082/"
+
+# From which account at the 'bank' should outgoing
+# wire transfers be made?
+EXCHANGE_ACCOUNT_NUMBER = 3