gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: debug


From: gnunet
Subject: [libeufin] branch master updated: debug
Date: Fri, 10 Jan 2020 15:29:29 +0100

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

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new d73fc52  debug
d73fc52 is described below

commit d73fc52c65ea37f5ca85a95e59265bef1d958b06
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 10 15:29:19 2020 +0100

    debug
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index f76ca95..75ba392 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -139,11 +139,12 @@ fun sampleData() {
             signaturePrivateKey = SerialBlob(pairC.private.encoded)
         }
 
-
         val customerEntity = BankCustomerEntity.new {
             name = "Mina"
         }
 
+        LOGGER.debug("Creating customer number: ${customerEntity.id}")
+
         EbicsSubscriberEntity.new {
             partnerId = "PARTNER1"
             userId = "USER1"
@@ -165,6 +166,13 @@ fun sampleData() {
     }
 }
 
+/**
+ * Finds the history for a customer.
+ *
+ * @param id the customer whose history must be returned.  This
+ * id is local to the bank and is not reused/encoded into other
+ * EBICS id values.
+ */
 fun extractHistoryForEach(id: Int, start: String?, end: String?, builder: 
(BankTransactionEntity) -> Any) {
     val s = if (start != null) DateTime.parse(start) else DateTime(0)
     val e = if (end != null) DateTime.parse(end) else DateTime.now()

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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