diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-15 08:02:20 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-17 01:37:11 +0100 |
commit | b55506b39509657aba64be1a4e22c5bf32c934f9 (patch) | |
tree | 06fa36a77ecff37e1950adfd0c8db0692a722409 /src/lib/test_merchant_api_proxy_exchange.conf | |
parent | 4699510294ca53af9924abf34c06671b62ec6f5a (diff) | |
download | merchant-b55506b39509657aba64be1a4e22c5bf32c934f9.tar.gz merchant-b55506b39509657aba64be1a4e22c5bf32c934f9.tar.bz2 merchant-b55506b39509657aba64be1a4e22c5bf32c934f9.zip |
Double twister instance plus first coverage effort
The twisted tests now use two twister processes: one
to proxy the exchange, the other to proxy the merchant.
Additionally, it is now tested the reaction of /history
lib to a unexpected HTTP response code returned by the
merchant.
Diffstat (limited to 'src/lib/test_merchant_api_proxy_exchange.conf')
-rw-r--r-- | src/lib/test_merchant_api_proxy_exchange.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api_proxy_exchange.conf b/src/lib/test_merchant_api_proxy_exchange.conf new file mode 100644 index 00000000..6e311cb6 --- /dev/null +++ b/src/lib/test_merchant_api_proxy_exchange.conf @@ -0,0 +1,29 @@ +# This file is in the public domain. + +# Config to set up the twister between the +# merchant and the exchange. + +[twister] +# HTTP listen port for twister (the merchant +# will transparently use this URL as the "exchange") +HTTP_PORT = 8888 + +# HTTP Destination for twister, so the real exchange +# URL. 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-exchange.sock +UNIX_MATCH_UID = NO +UNIX_MATCH_GID = YES + +# Launching of twister by ARM +# BINARY = taler-service-twister +# AUTOSTART = NO +# FORCESTART = NO |