test_paywall.conf (5056B)
1 # This file is in the public domain. 2 # 3 # Configuration for the GNU Taler system that test_paywall.sh starts with 4 # taler-unified-setup.sh: a fakebank, an exchange and a merchant backend, 5 # in TESTKUDOS. It is deliberately close to merchant's 6 # src/testing/test_template.conf, which is the configuration the merchant 7 # project tests its own paivana templates against. 8 # 9 # paivana-httpd is NOT configured here. Its [paivana] section is written 10 # at run time into the scratch directory, because the ports it listens on 11 # move with PAIVANA_PORT_BASE while the ports below are fixed -- the same 12 # ones the merchant suite uses, so the two cannot run at once. The test 13 # checks them first and skips rather than failing. 14 [PATHS] 15 TALER_TEST_HOME = test_paywall_home/ 16 17 [exchange] 18 CURRENCY = TESTKUDOS 19 CURRENCY_ROUND_UNIT = TESTKUDOS:0.01 20 TINY_AMOUNT = TESTKUDOS:0.01 21 AML_THRESHOLD = TESTKUDOS:1000000 22 MAX_KEYS_CACHING = forever 23 DB = postgres 24 MASTER_PUBLIC_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG 25 SERVE = tcp 26 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http 27 UNIXPATH_MODE = 660 28 PORT = 8081 29 BASE_URL = http://localhost:8081/ 30 SIGNKEY_DURATION = 2 weeks 31 SIGNKEY_LEGAL_DURATION = 2 years 32 LOOKAHEAD_SIGN = 3 weeks 1 day 33 KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/ 34 REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/ 35 TERMS_ETAG = 0 36 PRIVACY_ETAG = 0 37 38 [exchangedb-postgres] 39 CONFIG = postgres:///paivanacheck 40 41 [merchant] 42 SERVE = tcp 43 PORT = 9966 44 PAYMENT_TARGET_TYPES = * 45 CURRENCY = TESTKUDOS 46 BASE_URL = http://localhost:9966/ 47 UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http 48 UNIXPATH_MODE = 660 49 DEFAULT_WIRE_FEE_AMORTIZATION = 1 50 DB = postgres 51 WIREFORMAT = default 52 WIRE_TRANSFER_DELAY = 1 minute 53 DEFAULT_PAY_DEADLINE = 1 day 54 DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1 55 KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv 56 DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10 57 FORCE_AUDIT = YES 58 59 [merchantdb-postgres] 60 CONFIG = postgres:///paivanacheck 61 SQL_DIR = ${DATADIR}sql/ 62 63 [bank] 64 HTTP_PORT = 8082 65 66 [auditor] 67 DB = postgres 68 AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv 69 SERVE = tcp 70 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http 71 UNIXPATH_MODE = 660 72 PORT = 8083 73 AUDITOR_URL = http://localhost:8083/ 74 TINY_AMOUNT = TESTKUDOS:0.01 75 BASE_URL = "http://localhost:8083/" 76 77 [exchangedb] 78 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks 79 LEGAL_RESERVE_EXPIRATION_TIME = 7 years 80 81 [exchange-account-2] 82 PAYTO_URI = "payto://x-taler-bank/localhost/exchange?receiver-name=exchange" 83 ENABLE_DEBIT = YES 84 ENABLE_CREDIT = YES 85 86 [exchange-accountcredentials-2] 87 WIRE_GATEWAY_AUTH_METHOD = none 88 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" 89 90 [admin-accountcredentials-2] 91 WIRE_GATEWAY_AUTH_METHOD = none 92 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" 93 94 [merchant-exchange-default] 95 EXCHANGE_BASE_URL = http://localhost:8081/ 96 CURRENCY = TESTKUDOS 97 MASTER_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG 98 99 [coin_kudos_ct_1] 100 value = TESTKUDOS:0.01 101 duration_withdraw = 7 days 102 duration_spend = 2 years 103 duration_legal = 3 years 104 fee_withdraw = TESTKUDOS:0.01 105 fee_deposit = TESTKUDOS:0.01 106 fee_refresh = TESTKUDOS:0.01 107 fee_refund = TESTKUDOS:0.01 108 rsa_keysize = 1024 109 CIPHER = RSA 110 111 [coin_kudos_ct_10] 112 value = TESTKUDOS:0.10 113 duration_withdraw = 7 days 114 duration_spend = 2 years 115 duration_legal = 3 years 116 fee_withdraw = TESTKUDOS:0.01 117 fee_deposit = TESTKUDOS:0.01 118 fee_refresh = TESTKUDOS:0.03 119 fee_refund = TESTKUDOS:0.01 120 rsa_keysize = 1024 121 CIPHER = RSA 122 123 [coin_kudos_1] 124 value = TESTKUDOS:1 125 duration_withdraw = 7 days 126 duration_spend = 2 years 127 duration_legal = 3 years 128 fee_withdraw = TESTKUDOS:0.02 129 fee_deposit = TESTKUDOS:0.02 130 fee_refresh = TESTKUDOS:0.03 131 fee_refund = TESTKUDOS:0.01 132 rsa_keysize = 1024 133 CIPHER = RSA 134 135 [coin_kudos_2] 136 value = TESTKUDOS:2 137 duration_withdraw = 7 days 138 duration_spend = 2 years 139 duration_legal = 3 years 140 fee_withdraw = TESTKUDOS:0.03 141 fee_deposit = TESTKUDOS:0.03 142 fee_refresh = TESTKUDOS:0.04 143 fee_refund = TESTKUDOS:0.02 144 rsa_keysize = 1024 145 CIPHER = RSA 146 147 [coin_kudos_4] 148 value = TESTKUDOS:4 149 duration_withdraw = 7 days 150 duration_spend = 2 years 151 duration_legal = 3 years 152 fee_withdraw = TESTKUDOS:0.03 153 fee_deposit = TESTKUDOS:0.03 154 fee_refresh = TESTKUDOS:0.04 155 fee_refund = TESTKUDOS:0.02 156 rsa_keysize = 1024 157 CIPHER = RSA 158 159 [coin_kudos_5] 160 value = TESTKUDOS:5 161 duration_withdraw = 7 days 162 duration_spend = 2 years 163 duration_legal = 3 years 164 fee_withdraw = TESTKUDOS:0.01 165 fee_deposit = TESTKUDOS:0.01 166 fee_refresh = TESTKUDOS:0.03 167 fee_refund = TESTKUDOS:0.01 168 rsa_keysize = 1024 169 CIPHER = RSA 170 171 [coin_kudos_8] 172 value = TESTKUDOS:8 173 duration_withdraw = 7 days 174 duration_spend = 2 years 175 duration_legal = 3 years 176 fee_withdraw = TESTKUDOS:0.05 177 fee_deposit = TESTKUDOS:0.02 178 fee_refresh = TESTKUDOS:0.03 179 fee_refund = TESTKUDOS:0.04 180 rsa_keysize = 1024 181 CIPHER = RSA 182 183 [coin_kudos_10] 184 value = TESTKUDOS:10 185 duration_withdraw = 7 days 186 duration_spend = 2 years 187 duration_legal = 3 years 188 fee_withdraw = TESTKUDOS:0.01 189 fee_deposit = TESTKUDOS:0.01 190 fee_refresh = TESTKUDOS:0.03 191 fee_refund = TESTKUDOS:0.01 192 rsa_keysize = 1024 193 CIPHER = RSA