gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: bigger test response


From: gnunet
Subject: [libeufin] branch master updated: bigger test response
Date: Mon, 08 Jun 2020 22:03:32 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new e7fc0fe  bigger test response
e7fc0fe is described below

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

    bigger test response
---
 .../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
index ecb0538..ed41ac0 100644
--- 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 {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]