test.conf (4552B)
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 # A purse must not outlive the denominations of the coins in it, see the 96 # comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. 97 PURSE_EXPIRATION_LIMIT = 3 years 98 AML_THRESHOLD = EUR:1000000 99 100 101 # How to access our database 102 DB = postgres 103 104 # HTTP port the exchange listens to 105 PORT = 8081 106 107 # Our public key 108 MASTER_PUBLIC_KEY = NKX42KSCQHDQK7CF1PC6X9DMQPXW6KHXKGD3DPQJMP32FKXSWYK0 109 110 # Base URL of the exchange. 111 BASE_URL = "http://localhost:8081/" 112 113 114 [exchangedb-postgres] 115 CONFIG = "postgres:///talercheck" 116 117 118 [auditordb-postgres] 119 CONFIG = postgres:///talercheck 120 121 122 # Account of the EXCHANGE 123 [exchange-account-exchange] 124 # What is the exchange's bank account (with the "Taler Bank" demo system)? 125 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2" 126 ENABLE_DEBIT = YES 127 ENABLE_CREDIT = YES 128 129 [exchange-accountcredentials-exchange] 130 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" 131 WIRE_GATEWAY_AUTH_METHOD = NONE 132 133 [admin-accountcredentials-exchange] 134 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" 135 WIRE_GATEWAY_AUTH_METHOD = NONE 136 137 138 [coin_eur_ct_1] 139 value = EUR:0.01 140 duration_withdraw = 7 days 141 duration_spend = 2 years 142 duration_legal = 3 years 143 fee_withdraw = EUR:0.00 144 fee_deposit = EUR:0.00 145 fee_refresh = EUR:0.01 146 fee_refund = EUR:0.01 147 rsa_keysize = 1024 148 CIPHER = CS 149 150 [coin_eur_ct_10] 151 value = EUR:0.10 152 duration_withdraw = 7 days 153 duration_spend = 2 years 154 duration_legal = 3 years 155 fee_withdraw = EUR:0.01 156 fee_deposit = EUR:0.01 157 fee_refresh = EUR:0.03 158 fee_refund = EUR:0.01 159 rsa_keysize = 1024 160 CIPHER = CS 161 162 [coin_eur_1] 163 value = EUR:1 164 duration_withdraw = 7 days 165 duration_spend = 2 years 166 duration_legal = 3 years 167 fee_withdraw = EUR:0.01 168 fee_deposit = EUR:0.01 169 fee_refresh = EUR:0.03 170 fee_refund = EUR:0.01 171 rsa_keysize = 1024 172 CIPHER = CS 173 174 [coin_eur_5] 175 value = EUR:5 176 duration_withdraw = 7 days 177 duration_spend = 2 years 178 duration_legal = 3 years 179 fee_withdraw = EUR:0.01 180 fee_deposit = EUR:0.01 181 fee_refresh = EUR:0.03 182 fee_refund = EUR:0.01 183 rsa_keysize = 1024 184 CIPHER = CS