diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-17 18:23:02 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-17 18:23:02 +0100 |
commit | ac2e40d0491c0f118ff26cb316ec47e0786818e7 (patch) | |
tree | 69ba44cbbf3f94864b66d0b94bdcc6d9cbbe1944 /src/lib | |
parent | 0463f19ece0de69f96d8e5514a45cb9518b3f0b0 (diff) |
add missing config files for test case
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/test_bank_api_fakebank_twisted.conf | 31 | ||||
-rw-r--r-- | src/lib/test_bank_api_pybank_twisted.conf | 46 |
2 files changed, 77 insertions, 0 deletions
diff --git a/src/lib/test_bank_api_fakebank_twisted.conf b/src/lib/test_bank_api_fakebank_twisted.conf new file mode 100644 index 000000000..49ed4d535 --- /dev/null +++ b/src/lib/test_bank_api_fakebank_twisted.conf @@ -0,0 +1,31 @@ + +[twister] +# HTTP listen port for twister +HTTP_PORT = 8888 +SERVE = tcp + +# HTTP Destination for twister. The test-Webserver needs +# to listen on the port used here. Note: no trailing '/'! +DESTINATION_BASE_URL = "http://localhost:8081" + +# Control port for TCP +# PORT = 8889 +HOSTNAME = localhost +ACCEPT_FROM = 127.0.0.1; +ACCEPT_FROM6 = ::1; + +# Control port for UNIX +UNIXPATH = /tmp/taler-service-twister.sock +UNIX_MATCH_UID = NO +UNIX_MATCH_GID = YES + +[taler] +currency = KUDOS + +[bank] +serve = http +http_port = 8081 +database = postgres:///talercheck + +[account-1] +URL = payto://x-taler-bank/localhost:8081/1 diff --git a/src/lib/test_bank_api_pybank_twisted.conf b/src/lib/test_bank_api_pybank_twisted.conf new file mode 100644 index 000000000..a2085c38e --- /dev/null +++ b/src/lib/test_bank_api_pybank_twisted.conf @@ -0,0 +1,46 @@ +[twister] +# HTTP listen port for twister +HTTP_PORT = 8888 +SERVE = tcp + +# HTTP Destination for twister. The test-Webserver needs +# to listen on the port used here. Note: no trailing '/'! +DESTINATION_BASE_URL = "http://localhost:8081" + +# Control port for TCP +# PORT = 8889 +HOSTNAME = localhost +ACCEPT_FROM = 127.0.0.1; +ACCEPT_FROM6 = ::1; + +# Control port for UNIX +UNIXPATH = /tmp/taler-service-twister.sock +UNIX_MATCH_UID = NO +UNIX_MATCH_GID = YES + + +[taler] +currency = KUDOS + + +[bank] +serve = http +http_port = 8081 +database = postgres:///talercheck + + +[account-1] +URL = payto://x-taler-bank/localhost/1 + + +[account-2] +URL = payto://x-taler-bank/localhost/Exchange +METHOD = x-taler-bank +WIRE_GATEWAY_URL = "http://localhost:8888/taler-wire-gateway/Exchange/" +WIRE_GATEWAY_AUTH_METHOD = basic +USERNAME = Exchange +PASSWORD = x + + +[bank] +HTTP_PORT = 8081 |