aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-28 20:25:46 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-28 20:25:54 +0200
commit0c5f57e79261bc5f62a44032a9092bc2b3afb829 (patch)
tree1455431515fa2c40a0d61accf4395958edb1de49
parent8f9731e83009f13a8b4e172aec1252bc79c4dee1 (diff)
downloadexchange-0c5f57e79261bc5f62a44032a9092bc2b3afb829.tar.xz
-no more jdbc in libeufin
-rw-r--r--src/auditor/generate-auditor-basedb.conf4
-rw-r--r--src/benchmark/benchmark-common.conf4
-rw-r--r--src/testing/test_bank_api_nexus.conf6
3 files changed, 6 insertions, 8 deletions
diff --git a/src/auditor/generate-auditor-basedb.conf b/src/auditor/generate-auditor-basedb.conf
index 985efdaa5..72156a7c7 100644
--- a/src/auditor/generate-auditor-basedb.conf
+++ b/src/auditor/generate-auditor-basedb.conf
@@ -48,10 +48,10 @@ CURRENCY = TESTKUDOS
HTTP_PORT = 8082
[libeufin-nexus]
-DB_CONNECTION="jdbc:postgresql://localhost/auditor-basedb?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432"
+DB_CONNECTION="postgresql:///auditor-basedb"
[libeufin-sandbox]
-DB_CONNECTION="jdbc:postgresql://localhost/auditor-basedb?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432"
+DB_CONNECTION="postgresql:///auditor-basedb"
[auditor]
BASE_URL = http://localhost:8083/
diff --git a/src/benchmark/benchmark-common.conf b/src/benchmark/benchmark-common.conf
index 230c7bfbb..5d9405fe5 100644
--- a/src/benchmark/benchmark-common.conf
+++ b/src/benchmark/benchmark-common.conf
@@ -80,10 +80,10 @@ HTTP_PORT=8082
SERVE=http
[libeufin-nexus]
-DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432"
+DB_CONNECTION="postgresql:///talercheck"
[libeufin-sandbox]
-DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432"
+DB_CONNECTION="postgresql:///talercheck"
[auditor]
BASE_URL="http://localhost:8083/"
diff --git a/src/testing/test_bank_api_nexus.conf b/src/testing/test_bank_api_nexus.conf
index ecc196689..5ca6808e9 100644
--- a/src/testing/test_bank_api_nexus.conf
+++ b/src/testing/test_bank_api_nexus.conf
@@ -11,9 +11,7 @@ USERNAME = exchange
PASSWORD = x
[libeufin-nexus]
-#DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432"
-DB_CONNECTION="jdbc:sqlite:libeufin-nexus.sqlite3"
+DB_CONNECTION="postgresql:///talercheck"
[libeufin-sandbox]
-#DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432"
-DB_CONNECTION="jdbc:sqlite:libeufin-sandbox.sqlite3"
+DB_CONNECTION="postgresql:///talercheck"