Commit Graph

44 Commits

Author SHA1 Message Date
Marcello Stanisci
0889cedc59
purge old _new bank-lib test 2019-09-11 00:46:34 +02:00
Marcello Stanisci
4e27be9b6c
Unify "twisted" tests. 2019-09-11 00:46:34 +02:00
Marcello Stanisci
6aa8adede0
fix makefile 2019-09-09 23:47:00 +02:00
Marcello Stanisci
e6dc2ce6c6
one source two binaries for testing. 2019-09-09 23:47:00 +02:00
Florian Dold
7fa67030a8
hack in bank-lib compression 2019-05-12 21:59:59 +02:00
Marcello Stanisci
4c9c7482f9
Install taler-bank-transfer again. Needed by reserve topper. 2019-04-19 19:08:25 +02:00
Christian Grothoff
123d5077e9
fix build trouble 2019-04-11 00:07:52 +02:00
Marcello Stanisci
e13a8902f0
Put /history[-range] logic in a dedicate file. 2019-04-08 02:37:46 +02:00
Marcello Stanisci
341e08b3dd
Makefile.
Do not install, but get to compile the utility
command 'taler-fakebank-run'.
2019-03-21 18:44:53 +01:00
Marcello Stanisci
88f80b8b4b
Do not run unneeded test. 2019-03-18 15:29:41 +01:00
Marcello Stanisci
99fc27d403
Fakebank debugging.
Adding a CLI launcher for the bare fakebank service.
2019-03-13 16:24:19 +01:00
Marcello Stanisci
342f9f1ec8
Fix Makefiles. 2019-01-22 19:02:49 +01:00
Marcello Stanisci
2cbe471d5e
fix "twisted" test-suites. 2018-09-05 21:55:40 +02:00
Florian Dold
eefc2e3ff4
fix all (?) wrong -l flags 2018-08-16 13:14:47 +02:00
Florian Dold
c30bb0008d
fix more wrong -l flags 2018-08-16 13:07:48 +02:00
Florian Dold
911b158bb8
fix some wrong -l flags 2018-08-16 13:03:30 +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
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