Commit Graph

28 Commits

Author SHA1 Message Date
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
dbf82fb736
fix makefile conditional. 2018-03-17 02:05:48 +01:00
Marcello Stanisci
2d321c24bc
adding "with_fakebank_twisted" tests. 2018-03-17 02:05:48 +01:00
Marcello Stanisci
b67ae83c75
add fakebank-version of twisted tests. 2018-03-17 02:05:48 +01:00
Marcello Stanisci
c4770643e3
bank-lib twisted tests scaffold done. 2018-03-17 02:05:47 +01:00
Marcello Stanisci
53cf576e62
bank-lib's twisted tests scaffold 2018-03-17 02:05:47 +01:00
Marcello Stanisci
b593d416d6
Bank-lib tests, using the new (libraries-based) style. 2018-02-26 14:12:46 +01:00
Christian Grothoff
229907c6e2
implement taler-bank-transfer, fixes #5195 2017-12-14 15:33:10 +01:00
Christian Grothoff
042616899f
largely fix #5077 2017-12-06 19:24:00 +01:00
Marcello Stanisci
4da09561f4
missing conf from 'make dist' 2017-10-18 11:47:34 +02:00
Christian Grothoff
0c522791fe
bump versions for release 2017-06-06 14:03:53 +02:00
Marcello Stanisci
d3fac18562
take the history array from "data" field returned by the bank 2017-05-16 11:04:59 +02:00
Marcello Stanisci
75f47e79e1
initial fixes to test exchange/bank interfacing 2017-05-10 15:50:41 +02:00
Christian Grothoff
18a020dd02
implement fakebank support (incl. tests) for #5005/#4964/4959 2017-05-07 21:11:56 +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
234dbcc7b7
switch bank api to new authentication method API 2017-05-04 15:18:43 +02:00
Christian Grothoff
8c7406cb42 check refresh amounts add up correctly, fix linker issue 2016-06-15 22:55:05 +02:00
Christian Grothoff
a7379930d2 turn libfakebank into libtalerfakebank so we can use it for testcases in the merchant 2016-06-08 11:35:28 +02:00
Christian Grothoff
458992dc6f fixes for disting 2016-05-04 10:21:35 +02:00
Christian Grothoff
08ef15ec94 adding bank-lib test against fakebank (currently fails) -- towards addressing #4437 2016-05-02 08:54:05 +02:00
Christian Grothoff
31ad6aaf11 separate interpreter from the rest of the test logic 2016-05-02 08:46:17 +02:00
Christian Grothoff
8d503b17e3 move fake bank implementation to new library to re-use the code in upcoming testcases in preparation of fixing #4399 2016-04-17 23:14:23 +02:00
Christian Grothoff
7496a03978 replace bank_api_context with libgnunetcurl 2016-04-17 18:03:01 +02:00
Christian Grothoff
ac950fbe61 switch to wid to comply with spec 2016-03-23 11:34:24 +01:00
Christian Grothoff
0d1eced630 first refactoring of JSON logic to address #4150 and #4237 2016-03-19 15:23:11 +01:00
Christian Grothoff
ae45b7ac95 fix testcase 2016-01-29 14:24:18 +01:00
Christian Grothoff
0554fa7691 fix syntax issues in Makefile.am 2016-01-27 15:05:39 +01:00
Christian Grothoff
941cb8182f adding first version of thebank-lib 2016-01-25 10:20:40 +01:00