sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit cbd5fbd796b18916ea032021661397369fbcbd22
parent 44c31640ea5d46446fa4425179a76a367264be97
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 25 Nov 2019 15:53:39 +0100

ign

Diffstat:
Asrc/lib/.gitignore | 1+
Msrc/lib/Makefile.am | 24++++++++++++++++++++++++
Msrc/lib/test_sync_api.c | 1+
Msrc/lib/test_sync_api.conf | 9+++++++++
4 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/src/lib/.gitignore b/src/lib/.gitignore @@ -0,0 +1 @@ +test_sync_api diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am @@ -45,6 +45,30 @@ libsynctesting_la_LIBADD = \ -ltalertesting \ $(XLIB) +check_PROGRAMS = \ + test_sync_api + +TESTS = \ + $(check_PROGRAMS) + +test_sync_api_SOURCES = \ + test_sync_api.c +test_sync_api_LDADD = \ + libsync.la \ + libsynctesting.la \ + -ltalertesting \ + -ltalermerchanttesting \ + -ltalerfakebank \ + -ltalerbank \ + -ltalerexchange \ + -ltalermerchant \ + -ltalerjson \ + -ltalerutil \ + -lgnunetjson \ + -lgnunetcurl \ + -lgnunetutil \ + -ljansson + if HAVE_LIBCURL libsync_la_LIBADD += -lcurl else diff --git a/src/lib/test_sync_api.c b/src/lib/test_sync_api.c @@ -31,6 +31,7 @@ #include <taler/taler_bank_service.h> #include <taler/taler_fakebank_lib.h> #include <taler/taler_testing_lib.h> +#include <taler/taler_merchant_testing_lib.h> #include <taler/taler_error_codes.h> #include "sync_service.h" #include "sync_testing_lib.h" diff --git a/src/lib/test_sync_api.conf b/src/lib/test_sync_api.conf @@ -9,6 +9,15 @@ TALER_TEST_HOME = test_sync_api_home/ # What currency do we use? CURRENCY = EUR +# Sync config + +[sync] +# Which port do we run the backend on? (HTTP server) +PORT = 8084 + +[syncdb-postgres] +CONFIG = postgres:///synccheck + ########################################## # Configuration for the merchant backend # ##########################################