Commit Graph

142 Commits

Author SHA1 Message Date
Florian Dold
1541f2c2d6
fix test setup invocation 2018-08-19 11:41:58 +02:00
Florian Dold
ec08232b3f
increase listen backlog for fakebank 2018-08-19 11:37:42 +02:00
Christian Grothoff
7fb43dd2ae
make fakebank use epoll() on platforms where it is available 2018-08-19 11:20:35 +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
Marcello Stanisci
928714d226
Finish addressing #5332 2018-07-02 12:05:34 +02:00
Marcello Stanisci
b427b51595
polish bank history CMD 2018-07-02 12:04:32 +02:00
Marcello Stanisci
f033320300
Addressing #5291. 2018-06-27 16:49:23 +02:00
Marcello Stanisci
6f579eb833
From payto:// to base url.
The conversion prepends http// or https://
depending on the port given beside the hostname.
If port is 433, then prepends https://, otherwise
prepends http://.

For now, the conversion was only necessary at
the /history bank lib.
2018-06-12 19:16:43 +02:00
Marcello Stanisci
11b3616355
Commenting the bank-lib "testing" header file. 2018-05-29 10:34:41 +02:00
Marcello Stanisci
5faa541d27
do not use hard coded database string 2018-05-29 10:27:41 +02:00
Marcello Stanisci
a57145e172
Commenting the "history" CMD 2018-05-28 22:49:50 +02:00
Marcello Stanisci
0579b1d9cb
Commenting the "reject" CMD 2018-05-28 22:20:21 +02:00
Marcello Stanisci
7a1146f147
Commenting the remaining "lib" traits. 2018-05-28 17:23:05 +02:00
Marcello Stanisci
40b27a8210
Tests flexibility.
It is now possible to launch the bank from
the testing-lib regardless of it being served
via HTTP or UWSGI.
2018-05-04 15:46:07 +02:00
Marcello Stanisci
b8ab8f01c7
address double-slash situation. 2018-04-23 15:59:48 +02:00
Christian Grothoff
202827ebda
merging Florian's changes with my wire changes 2018-04-15 12:20:00 +02:00
Florian Dold
2e65fa8366
fix comment 2018-04-06 00:36:30 +02:00
Florian Dold
df8ff68ed8
fix compiler warnings 2018-04-04 00:14:02 +02:00
Christian Grothoff
40a64e8f0c
fix post-merge FTBFS 2018-04-02 14:34:23 +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
3e191f3b08
still on gentle twister termination. 2018-03-26 21:43:25 +02:00
Marcello Stanisci
96a4aefcfd
gently terminating the twister. 2018-03-22 20:03:43 +01: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
f819aef2f4
mini testing of twister.
Make one bank-lib test command pass through the twister.
2018-03-17 02:05:47 +01:00
Marcello Stanisci
5156de1195
fix return code. 2018-03-17 02:05:47 +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
Christian Grothoff
1ae2ba3d0a
fix compiler warnings related to use of %llu on uint64_t 2018-03-12 11:25:39 +01:00
Marcello Stanisci
6b7ad9c50d
indent 2018-02-28 15:05:31 +01:00
Marcello Stanisci
663f26a1a2
fix reject test command. 2018-02-27 22:55:18 +01:00
Marcello Stanisci
a3c7298515
fix log component name 2018-02-27 19:38:05 +01:00
Marcello Stanisci
ee699caca2
fix use of extern keyword. 2018-02-27 19:30:31 +01:00
Marcello Stanisci
b58d41939c
setting label for reject testing command. 2018-02-27 19:12:28 +01:00
Marcello Stanisci
b593d416d6
Bank-lib tests, using the new (libraries-based) style. 2018-02-26 14:12:46 +01:00
Florian Dold
e318edb5e5
use url instead of uri consistently 2018-01-30 01:38:04 +01:00
Christian Grothoff
bc7957f393
fix fakebank memory leak 2018-01-16 13:11:35 +01:00
Marcello Stanisci
346c351e5f
redefining/adding bank error codes 2017-12-22 21:22:57 +01:00
Marcello Stanisci
7e966aa2ae
store password in the right variable 2017-12-14 17:53:48 +01:00
Christian Grothoff
229907c6e2
implement taler-bank-transfer, fixes #5195 2017-12-14 15:33:10 +01:00
Christian Grothoff
0f5ef01dd3
nicer error reporting 2017-12-14 13:36:59 +01:00
Marcello Stanisci
22eae129a9
logging the /reject requester in tests as the deposit _credit_ account 2017-12-13 19:22:45 +01:00
Marcello Stanisci
9ea3145745
respect /reject API: credit_account -> account_number 2017-12-13 19:07:41 +01:00
Christian Grothoff
f93abc29d8
re-enable bank /reject testing now that bank implements it (closes #5200) 2017-12-13 17:14:52 +01:00
Christian Grothoff
cf9e5efbfb
use dual stack for fakebank 2017-12-12 19:23:16 +01:00
Christian Grothoff
878c68faf6
better diagnostics from fakebank 2017-12-10 21:19:30 +01:00
Christian Grothoff
6623afa2a3
add testcase for #5077 (passes), start to reduce use of exchange's admin/add/incoming (#5172, more to come) 2017-12-10 16:02:03 +01:00