Commit Graph

20 Commits

Author SHA1 Message Date
Marcello Stanisci
0c2851b88b
make test config files more autocomplete. 2018-05-07 12:44:36 +02:00
Marcello Stanisci
7d2fbc4796
fix path generation. 2018-05-03 10:33:29 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Marcello Stanisci
a360d9c6a0
Test cases connect to the exchange via the base URL
they get from exchange/BASE_URL config value.  This way, the
twister can be easily put in the middle by making it
listen on the same port specified after the : of the
exchange/BASE_URL.
2018-02-28 16:59:39 +01:00
Florian Dold
e318edb5e5
use url instead of uri consistently 2018-01-30 01:38:04 +01:00
Christian Grothoff
80a7fe9dcf
add logic to signal exchange to reload keys 2017-09-13 14:35:57 +02:00
Christian Grothoff
beee1fb689
generate auditor signatures in exchange-lib testcase, and handle problem with bogus revocation keys during startup more gracefully by terminating instead of looping 2017-05-11 10:56:15 +02:00
Christian Grothoff
f4df63e448
adding support for transaction history to wire plugin API (#4959) 2017-05-04 18:35:53 +02:00
Christian Grothoff
164c125528
introducing closing fee 2017-04-17 14:01:55 +02:00
Christian Grothoff
f406f96129
implement #4929: add wire transfer fee to /wire (but not yet charged by aggregator) 2017-03-03 20:31:29 +01:00
Christian Grothoff
4d2faa5ec9
changing wire plugin specification from [exchange]WIREFORMAT to [exchange-wire-PLUGIN]enable=YES/NO 2017-03-03 19:24:08 +01:00
Christian Grothoff
397c718809
implementing #4921: add base URL to wire transfers 2017-03-02 06:26:12 +01:00
Florian Dold
0bfb5b2509
Add option to initialized db, fixes 4858
Additionally remove the TESTRUN option, since the name is confusing and
doesn't match the original semantics (temp tables).
Test cases should now invoke the exchange httpd with the "-i" option.
2017-01-13 14:44:51 +01:00
Christian Grothoff
f59246e763 clean up blobs
clean up blobs

clean up blobs

clean up blobs

pass -c option to taler services, ship with reasonable config

exclude live-keys from config
2016-06-15 22:54:58 +02:00
Christian Grothoff
1c2be591d3 fixing #4479 2016-05-02 02:33:14 +02:00
Christian Grothoff
21188ca703 Merge branch 'master' of ssh://taler.net:/var/git/exchange 2016-04-21 20:00:40 +02:00
Christian Grothoff
f693e25793 introduce refund fee 2016-04-20 01:50:26 +02:00
Florian Dold
e01143daf3 move currency to taler section, create taler.conf 2016-04-19 23:41:07 +02:00
Christian Grothoff
b018d4d5b0 implementing #4357, but test missing 2016-04-11 02:37:56 +02:00
Christian Grothoff
30d66bcebc fixing #4386: use more sane configuration and data file structure 2016-04-10 17:10:20 +02:00