summaryrefslogtreecommitdiff
path: root/src/testing/test_bank_api_pybank_twisted.conf
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-19 15:23:19 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-19 15:23:33 +0100
commit72a629a8be1ed2adc7402285e0f19f8f06816a26 (patch)
tree499468c12eaf06e8ad514db7b1ff684462c99ac2 /src/testing/test_bank_api_pybank_twisted.conf
parentdbf85bbc0d23b044aa47be67ceae4e6ecd709298 (diff)
downloadexchange-72a629a8be1ed2adc7402285e0f19f8f06816a26.tar.gz
exchange-72a629a8be1ed2adc7402285e0f19f8f06816a26.tar.bz2
exchange-72a629a8be1ed2adc7402285e0f19f8f06816a26.zip
move testing logic and integration tests into separate directory
Diffstat (limited to 'src/testing/test_bank_api_pybank_twisted.conf')
-rw-r--r--src/testing/test_bank_api_pybank_twisted.conf46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/testing/test_bank_api_pybank_twisted.conf b/src/testing/test_bank_api_pybank_twisted.conf
new file mode 100644
index 000000000..a2085c38e
--- /dev/null
+++ b/src/testing/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