test.conf (4377B)
1 # This file is in the public domain. 2 # 3 [PATHS] 4 # Persistent data storage for the testcase 5 TALER_TEST_HOME = test_merchant_api_home/ 6 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/ 7 8 # Persistent data storage 9 TALER_DATA_HOME = $TALER_HOME/.local/share/taler/ 10 11 # Configuration files 12 TALER_CONFIG_HOME = $TALER_HOME/.config/taler/ 13 14 # Cached data, no big deal if lost 15 TALER_CACHE_HOME = $TALER_HOME/.cache/taler/ 16 17 [taler] 18 # What currency do we use? 19 CURRENCY = EUR 20 CURRENCY_ROUND_UNIT = EUR:0.01 21 22 [taler-helper-crypto-rsa] 23 # Reduce from 1 year to speed up test 24 LOOKAHEAD_SIGN = 24 days 25 26 [taler-helper-crypto-eddsa] 27 # Reduce from 1 year to speed up test 28 LOOKAHEAD_SIGN = 24 days 29 # Reduce from 12 weeks to ensure we have multiple 30 DURATION = 14 days 31 32 [bank] 33 HTTP_PORT = 8082 34 35 ########################################## 36 # Configuration for the merchant backend # 37 ########################################## 38 39 [merchant] 40 41 # Which port do we run the backend on? (HTTP server) 42 PORT = 8080 43 SERVE = tcp 44 45 # Which plugin (backend) do we use for the DB. 46 DB = postgres 47 48 # This specifies which database the postgres backend uses. 49 [merchantdb-postgres] 50 CONFIG = postgres:///talercheck 51 SQL_DIR = $DATADIR/sql/merchant/ 52 53 # Sections starting with "merchant-exchange-" specify trusted exchanges 54 # (by the merchant) 55 [merchant-exchange-test] 56 MASTER_KEY = NKX42KSCQHDQK7CF1PC6X9DMQPXW6KHXKGD3DPQJMP32FKXSWYK0 57 EXCHANGE_BASE_URL = http://localhost:8081/ 58 CURRENCY = EUR 59 60 61 ####################################################### 62 # Configuration for the auditor for the testcase 63 ####################################################### 64 [auditor] 65 BASE_URL = http://the.auditor/ 66 67 68 ####################################################### 69 # Configuration for ??? Is this used? 70 ####################################################### 71 72 # Auditors must be in sections "auditor-", the rest of the section 73 # name could be anything. 74 [auditor-ezb] 75 # Informal name of the auditor. Just for the user. 76 NAME = European Central Bank 77 78 # URL of the auditor (especially for in the future, when the 79 # auditor offers an automated issue reporting system). 80 # Not really used today. 81 URL = http://taler.ezb.eu/ 82 83 # This is the important bit: the signing key of the auditor. 84 PUBLIC_KEY = 9QXF7XY7E9VPV47B5Z806NDFSX2VJ79SVHHD29QEQ3BG31ANHZ60 85 86 # Which currency is this auditor trusted for? 87 CURRENCY = EUR 88 89 90 ################################################### 91 # Configuration for the exchange for the testcase # 92 ################################################### 93 94 [exchange] 95 AML_THRESHOLD = EUR:1000000 96 97 98 # How to access our database 99 DB = postgres 100 101 # HTTP port the exchange listens to 102 PORT = 8081 103 104 # Our public key 105 MASTER_PUBLIC_KEY = NKX42KSCQHDQK7CF1PC6X9DMQPXW6KHXKGD3DPQJMP32FKXSWYK0 106 107 # Base URL of the exchange. 108 BASE_URL = "http://localhost:8081/" 109 110 111 [exchangedb-postgres] 112 CONFIG = "postgres:///talercheck" 113 114 115 [auditordb-postgres] 116 CONFIG = postgres:///talercheck 117 118 119 # Account of the EXCHANGE 120 [exchange-account-exchange] 121 # What is the exchange's bank account (with the "Taler Bank" demo system)? 122 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2" 123 ENABLE_DEBIT = YES 124 ENABLE_CREDIT = YES 125 126 [exchange-accountcredentials-exchange] 127 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" 128 WIRE_GATEWAY_AUTH_METHOD = NONE 129 130 [admin-accountcredentials-exchange] 131 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" 132 WIRE_GATEWAY_AUTH_METHOD = NONE 133 134 135 [coin_eur_ct_1] 136 value = EUR:0.01 137 duration_withdraw = 7 days 138 duration_spend = 2 years 139 duration_legal = 3 years 140 fee_withdraw = EUR:0.00 141 fee_deposit = EUR:0.00 142 fee_refresh = EUR:0.01 143 fee_refund = EUR:0.01 144 rsa_keysize = 1024 145 CIPHER = CS 146 147 [coin_eur_ct_10] 148 value = EUR:0.10 149 duration_withdraw = 7 days 150 duration_spend = 2 years 151 duration_legal = 3 years 152 fee_withdraw = EUR:0.01 153 fee_deposit = EUR:0.01 154 fee_refresh = EUR:0.03 155 fee_refund = EUR:0.01 156 rsa_keysize = 1024 157 CIPHER = CS 158 159 [coin_eur_1] 160 value = EUR:1 161 duration_withdraw = 7 days 162 duration_spend = 2 years 163 duration_legal = 3 years 164 fee_withdraw = EUR:0.01 165 fee_deposit = EUR:0.01 166 fee_refresh = EUR:0.03 167 fee_refund = EUR:0.01 168 rsa_keysize = 1024 169 CIPHER = CS 170 171 [coin_eur_5] 172 value = EUR:5 173 duration_withdraw = 7 days 174 duration_spend = 2 years 175 duration_legal = 3 years 176 fee_withdraw = EUR:0.01 177 fee_deposit = EUR:0.01 178 fee_refresh = EUR:0.03 179 fee_refund = EUR:0.01 180 rsa_keysize = 1024 181 CIPHER = CS