diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/auditor/generate-auditor-basedb.conf | 4 | ||||
-rwxr-xr-x | src/auditor/setup.sh | 4 | ||||
-rw-r--r-- | src/benchmark/benchmark-common.conf | 4 | ||||
-rw-r--r-- | src/testing/test_bank_api_nexus.conf | 6 |
4 files changed, 8 insertions, 10 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/auditor/setup.sh b/src/auditor/setup.sh index 55f0a4742..3776978d4 100755 --- a/src/auditor/setup.sh +++ b/src/auditor/setup.sh @@ -98,7 +98,7 @@ function stop_libeufin() function launch_libeufin () { # shellcheck disable=SC2016 - export LIBEUFIN_SANDBOX_DB_CONNECTION='jdbc:postgresql://localhost/'"${DB}"'?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg='"$SOCKETDIR"'/.s.PGSQL.5432' + export LIBEUFIN_SANDBOX_DB_CONNECTION="postgresql:///${DB}" libeufin-sandbox serve \ --no-auth \ --port 18082 \ @@ -106,7 +106,7 @@ function launch_libeufin () { 2> "${MY_TMP_DIR}/libeufin-sandbox-stderr.log" & echo $! > "${MY_TMP_DIR}/libeufin-sandbox.pid" # shellcheck disable=SC2016 - export LIBEUFIN_NEXUS_DB_CONNECTION='jdbc:postgresql://localhost/'"${DB}"'?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg='"$SOCKETDIR"'/.s.PGSQL.5432' + export LIBEUFIN_NEXUS_DB_CONNECTION="postgresql:///${DB}" libeufin-nexus serve \ --port 8082 \ 2> "${MY_TMP_DIR}/libeufin-nexus-stderr.log" \ 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" |