[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 01/02: debug
From: |
gnunet |
Subject: |
[libeufin] 01/02: debug |
Date: |
Thu, 30 Jun 2022 14:58:46 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 3bf7393adcfa567741c03e74c84423c41362fdbb
Author: MS <ms@taler.net>
AuthorDate: Wed Jun 29 15:11:45 2022 +0200
debug
---
nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt | 2 +-
sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
index 33729e12..7bd0a035 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/bankaccount/BankAccount.kt
@@ -51,7 +51,6 @@ fun requireBankAccount(call: ApplicationCall, parameterKey:
String): NexusBankAc
return account
}
-// called twice: once from the background task, once from the ad-hoc endpoint.
suspend fun submitPaymentInitiation(httpClient: HttpClient,
paymentInitiationId: Long) {
val r = transaction {
val paymentInitiation =
PaymentInitiationEntity.findById(paymentInitiationId)
@@ -106,6 +105,7 @@ suspend fun submitAllPaymentInitiations(httpClient:
HttpClient, accountid: Strin
}
}
workQueue.forEach {
+ logger.debug("Submitting payment ${it.id}")
submitPaymentInitiation(httpClient, it.id)
}
}
diff --git
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index ede3db71..6d145934 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -1236,7 +1236,7 @@ private fun
handleEbicsUploadTransactionTransmission(requestContext: RequestCont
)
val unzippedData =
InflaterInputStream(zippedData.inputStream()).use {
it.readAllBytes() }
- logger.debug("got upload data:
${unzippedData.toString(Charsets.UTF_8)}")
+ // logger.debug("got upload data:
${unzippedData.toString(Charsets.UTF_8)}")
val sigs = EbicsOrderSignatureEntity.find {
(EbicsOrderSignaturesTable.orderID eq uploadTransaction.orderID)
and
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.