libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit e7fc0fe36c2f019d93c34aa9dd5a54c81e42abb5
parent a726581fd09950b3feb373b4266057fe24ac8679
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue,  9 Jun 2020 01:33:23 +0530

bigger test response

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt @@ -452,8 +452,17 @@ private fun constructCamtResponse( return buildCamtString(type, bankAccount.iban, history) } +/** + * TSD (test download) message. + * + * This is a non-standard EBICS order type use by LibEuFin to + * test download transactions. + * + * In the future, additional parameters (size, chunking, inject fault for retry) might + * be added to the order parameters. + */ private fun handleEbicsTSD(requestContext: RequestContext): ByteArray { - return "Hello World".toByteArray() + return "Hello World\n".repeat(1024).toByteArray() } private fun handleEbicsPTK(requestContext: RequestContext): ByteArray {