gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: sandbox and nexus should have differen


From: gnunet
Subject: [libeufin] branch master updated: sandbox and nexus should have different default DB
Date: Wed, 13 Jan 2021 14:54:52 +0100

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 0ff8c0e  sandbox and nexus should have different default DB
0ff8c0e is described below

commit 0ff8c0e98c95a326d3af9ef80c819ddead623ee5
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Jan 13 14:54:40 2021 +0100

    sandbox and nexus should have different default DB
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt     | 2 ++
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4 +++-
 util/src/main/kotlin/Config.kt                        | 2 --
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index 530fca2..98036d6 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -42,6 +42,8 @@ import java.io.File
 
 val logger: Logger = LoggerFactory.getLogger("tech.libeufin.nexus")
 
+const val DEFAULT_DB_CONNECTION = "jdbc:sqlite:/tmp/libeufin-nexus-db"
+
 class NexusCommand : CliktCommand() {
     init {
         // FIXME: Obtain actual version number!
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index c3a0d9b..1c9a106 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -79,6 +79,8 @@ import tech.libeufin.util.ebics_h004.EbicsResponse
 import tech.libeufin.util.ebics_h004.EbicsTypes
 import kotlin.random.Random
 
+const val DEFAULT_DB_CONNECTION = "jdbc:sqlite:/tmp/libeufin-sandbox-db"
+
 class CustomerNotFound(id: String?) : Exception("Customer ${id} not found")
 class BadInputData(inputData: String?) : Exception("Customer provided invalid 
input data: ${inputData}")
 class UnacceptableFractional(badNumber: BigDecimal) : Exception(
@@ -428,4 +430,4 @@ fun serverMain(dbName: String, port: Int) {
     }
     LOGGER.info("Up and running")
     server.start(wait = true)
-}
\ No newline at end of file
+}
diff --git a/util/src/main/kotlin/Config.kt b/util/src/main/kotlin/Config.kt
index c065fa6..607ac67 100644
--- a/util/src/main/kotlin/Config.kt
+++ b/util/src/main/kotlin/Config.kt
@@ -6,8 +6,6 @@ import ch.qos.logback.classic.util.ContextInitializer
 import ch.qos.logback.core.util.Loader
 import org.slf4j.LoggerFactory
 
-val DEFAULT_DB_CONNECTION = "jdbc:sqlite:/tmp/libeufindb"
-
 /**
  * Set system properties to wanted values, and load logback configuration 
after.
  * While it can set any system property, it is used only to set the log file 
name.

-- 
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]