diff options
author | MS <ms@taler.net> | 2023-09-04 11:15:01 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2023-09-04 11:15:01 +0200 |
commit | 26ffdc3a51b6b9c8544e28ee07e4a04382dd5698 (patch) | |
tree | 45e5cd80f0b3952f574657a8b3f544915ece6b50 /sandbox/src/main/kotlin/tech/libeufin | |
parent | d6f75f52ed1c9a5508effeef669c513509e88536 (diff) | |
download | libeufin-26ffdc3a51b6b9c8544e28ee07e4a04382dd5698.tar.gz libeufin-26ffdc3a51b6b9c8544e28ee07e4a04382dd5698.tar.bz2 libeufin-26ffdc3a51b6b9c8544e28ee07e4a04382dd5698.zip |
Improving the "get all the transactions" query.
Only used in tests, the improvement comes from extending
the latest point in time where Nexus expects bank transactions
to be returned. This lets also the very latest transactions
to appear in the history.
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-rw-r--r-- | sandbox/src/main/kotlin/tech/libeufin/sandbox/Database.kt | 3 | ||||
-rw-r--r-- | sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Database.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Database.kt index 243efe2c..79f7a404 100644 --- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Database.kt +++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Database.kt @@ -662,7 +662,4 @@ class Database(private val dbConfig: String) { ) } } - - // NOTE: EBICS not needed for BFH and NB. - } diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt index 98564553..57a61f50 100644 --- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt +++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt @@ -481,6 +481,7 @@ private fun constructCamtResponse( val history = mutableListOf<XLibeufinBankTransaction>() if (type == 52) { if (dateRange != null) { + logger.debug("Finding date-ranged transactions for account: ${bankAccount.label}, range: ${dateRange.first}, ${dateRange.second}") transaction { BankAccountTransactionEntity.find { BankAccountTransactionsTable.account eq bankAccount.id and |