commit c29d7da3ef40f689310cc860aac142f81c87a093
parent 2c0c7f49604ae8d5e43cd98c74cb98e6a4f0a9f5
Author: MS <ms@taler.net>
Date: Wed, 1 Nov 2023 16:28:24 +0100
shorter config names
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt
@@ -327,15 +327,15 @@ class EbicsSetup: CliktCommand("Set up the EBICS subscriber") {
val cfg = doOrFail { extractEbicsConfig(this.configFile) }
if (checkFullConfig) {
doOrFail {
- cfg.config.requireString("nexus-ebics-submit", "frequency").apply {
+ cfg.config.requireString("nexus-submit", "frequency").apply {
if (getFrequencyInSeconds(this) == null)
- throw Exception("frequency value of nexus-ebics-submit section is not valid: $this")
+ throw Exception("frequency value of nexus-submit section is not valid: $this")
}
- cfg.config.requireString("nexus-ebics-fetch", "frequency").apply {
+ cfg.config.requireString("nexus-fetch", "frequency").apply {
if (getFrequencyInSeconds(this) == null)
- throw Exception("frequency value of nexus-ebics-fetch section is not valid: $this")
+ throw Exception("frequency value of nexus-fetch section is not valid: $this")
}
- cfg.config.requirePath("nexus-ebics-fetch", "statement_log_directory")
+ cfg.config.requirePath("nexus-fetch", "statement_log_directory")
cfg.config.requireNumber("nexus-httpd", "port")
cfg.config.requirePath("nexus-httpd", "unixpath")
cfg.config.requireString("nexus-httpd", "serve")