make test config files more autocomplete.
This commit is contained in:
parent
40b27a8210
commit
0c2851b88b
@ -9,6 +9,22 @@ TALER_TEST_HOME = test_exchange_api_home/
|
|||||||
# Currency supported by the exchange (can only be one)
|
# Currency supported by the exchange (can only be one)
|
||||||
CURRENCY = EUR
|
CURRENCY = EUR
|
||||||
|
|
||||||
|
[exchange_keys]
|
||||||
|
|
||||||
|
# how long is one signkey valid?
|
||||||
|
signkey_duration = 4 weeks
|
||||||
|
|
||||||
|
# how long are the signatures with the signkey valid?
|
||||||
|
legal_duration = 2 years
|
||||||
|
|
||||||
|
# how long do we generate denomination and signing keys
|
||||||
|
# ahead of time?
|
||||||
|
lookahead_sign = 32 weeks 1 day
|
||||||
|
|
||||||
|
# how long do we provide to clients denomination and signing keys
|
||||||
|
# ahead of time?
|
||||||
|
lookahead_provide = 4 weeks 1 day
|
||||||
|
|
||||||
[exchange]
|
[exchange]
|
||||||
# HTTP port the exchange listens to
|
# HTTP port the exchange listens to
|
||||||
PORT = 8081
|
PORT = 8081
|
||||||
|
@ -8,6 +8,23 @@ TALER_TEST_HOME = test_exchange_api_home/
|
|||||||
# Currency supported by the exchange (can only be one)
|
# Currency supported by the exchange (can only be one)
|
||||||
CURRENCY = EUR
|
CURRENCY = EUR
|
||||||
|
|
||||||
|
[exchange_keys]
|
||||||
|
|
||||||
|
# how long is one signkey valid?
|
||||||
|
signkey_duration = 4 weeks
|
||||||
|
|
||||||
|
# how long are the signatures with the signkey valid?
|
||||||
|
legal_duration = 2 years
|
||||||
|
|
||||||
|
# how long do we generate denomination and signing keys
|
||||||
|
# ahead of time?
|
||||||
|
lookahead_sign = 32 weeks 1 day
|
||||||
|
|
||||||
|
# how long do we provide to clients denomination and signing keys
|
||||||
|
# ahead of time?
|
||||||
|
lookahead_provide = 4 weeks 1 day
|
||||||
|
|
||||||
|
|
||||||
[exchange]
|
[exchange]
|
||||||
|
|
||||||
# HTTP port the exchange listens to
|
# HTTP port the exchange listens to
|
||||||
|
@ -98,6 +98,7 @@ check_bank_transfer_run (void *cls,
|
|||||||
|
|
||||||
if (NULL == bcs->deposit_reference)
|
if (NULL == bcs->deposit_reference)
|
||||||
{
|
{
|
||||||
|
TALER_LOG_INFO ("Deposit reference NOT given\n");
|
||||||
debit_account = &bcs->debit_account;
|
debit_account = &bcs->debit_account;
|
||||||
credit_account = &bcs->credit_account;
|
credit_account = &bcs->credit_account;
|
||||||
exchange_base_url = bcs->exchange_base_url;
|
exchange_base_url = bcs->exchange_base_url;
|
||||||
@ -120,9 +121,10 @@ check_bank_transfer_run (void *cls,
|
|||||||
const struct TALER_TESTING_Command *deposit_cmd;
|
const struct TALER_TESTING_Command *deposit_cmd;
|
||||||
const struct TALER_Amount *amount_ptr;
|
const struct TALER_Amount *amount_ptr;
|
||||||
|
|
||||||
TALER_LOG_INFO ("`%s' uses reference (%s)\n",
|
TALER_LOG_INFO ("`%s' uses reference (%s/%p)\n",
|
||||||
TALER_TESTING_interpreter_get_current_label
|
TALER_TESTING_interpreter_get_current_label
|
||||||
(is),
|
(is),
|
||||||
|
bcs->deposit_reference,
|
||||||
bcs->deposit_reference);
|
bcs->deposit_reference);
|
||||||
deposit_cmd = TALER_TESTING_interpreter_lookup_command
|
deposit_cmd = TALER_TESTING_interpreter_lookup_command
|
||||||
(is, bcs->deposit_reference);
|
(is, bcs->deposit_reference);
|
||||||
@ -254,6 +256,8 @@ TALER_TESTING_cmd_check_bank_transfer
|
|||||||
bcs->debit_account = debit_account;
|
bcs->debit_account = debit_account;
|
||||||
bcs->credit_account = credit_account;
|
bcs->credit_account = credit_account;
|
||||||
|
|
||||||
|
bcs->deposit_reference = NULL;
|
||||||
|
|
||||||
cmd.label = label;
|
cmd.label = label;
|
||||||
cmd.cls = bcs;
|
cmd.cls = bcs;
|
||||||
cmd.run = &check_bank_transfer_run;
|
cmd.run = &check_bank_transfer_run;
|
||||||
|
@ -2,6 +2,24 @@
|
|||||||
# Persistant data storage for the testcase
|
# Persistant data storage for the testcase
|
||||||
TALER_TEST_HOME = test_taler_exchange_httpd_home/
|
TALER_TEST_HOME = test_taler_exchange_httpd_home/
|
||||||
|
|
||||||
|
|
||||||
|
[exchange_keys]
|
||||||
|
|
||||||
|
# how long is one signkey valid?
|
||||||
|
signkey_duration = 4 weeks
|
||||||
|
|
||||||
|
# how long are the signatures with the signkey valid?
|
||||||
|
legal_duration = 2 years
|
||||||
|
|
||||||
|
# how long do we generate denomination and signing keys
|
||||||
|
# ahead of time?
|
||||||
|
lookahead_sign = 32 weeks 1 day
|
||||||
|
|
||||||
|
# how long do we provide to clients denomination and signing keys
|
||||||
|
# ahead of time?
|
||||||
|
lookahead_provide = 4 weeks 1 day
|
||||||
|
|
||||||
|
|
||||||
[taler]
|
[taler]
|
||||||
# Currency supported by the exchange (can only be one)
|
# Currency supported by the exchange (can only be one)
|
||||||
CURRENCY = EUR
|
CURRENCY = EUR
|
||||||
|
Loading…
Reference in New Issue
Block a user