summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-05-12 16:23:17 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-05-12 16:23:17 +0200
commit103b8efd766808503d165571d8475bddf99e79c1 (patch)
treef3156181ca811880c73721531b535f8b9e7f88d6
parent836b2b7b87c1e1a8bb6b2cfb7c07db1989b2bca5 (diff)
downloaddeployment-103b8efd766808503d165571d8475bddf99e79c1.tar.gz
deployment-103b8efd766808503d165571d8475bddf99e79c1.tar.bz2
deployment-103b8efd766808503d165571d8475bddf99e79c1.zip
adding script to launch chrome's docker container
-rw-r--r--config/test.taler.net/taler.conf240
-rw-r--r--docker/selenium/launch_chrome.sh3
2 files changed, 180 insertions, 63 deletions
diff --git a/config/test.taler.net/taler.conf b/config/test.taler.net/taler.conf
index 39f9bfd..037cebc 100644
--- a/config/test.taler.net/taler.conf
+++ b/config/test.taler.net/taler.conf
@@ -1,87 +1,202 @@
-[paths]
-TALER_DEPLOYMENT_SHARED = ${HOME}/shared-data
-
-
[taler]
CURRENCY = PUDOS
+[exchange]
+KEYDIR = ${TALER_DEPLOYMENT_SHARED}/exchange/live-keys/
+SERVE = unix
+UNIXPATH = $HOME/sockets/exchange.http
+MASTER_PRIV_FILE = ${TALER_DEPLOYMENT_SHARED}/exchange/offline-keys/master.priv
+MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
+WIREFORMAT = test
-[bank]
-uwsgi_serve = unix
-uwsgi_unixpath = $HOME/sockets/bank.uwsgi
-database = talertest
-
+[exchange-wire-outgoing-test]
+BANK_URI = https://bank.test.taler.net/
+BANK_ACCOUNT_NUMBER = 1
-[donations]
-uwsgi_serve = unix
-uwsgi_unixpath = $HOME/sockets/donations.uwsgi
+[exchangedb-postgres]
+DB_CONN_STR = postgres:///talertest
+[exchange_keys]
+signkey_duration = 18 weeks
-[blog]
+[bank]
+database = talertest
uwsgi_serve = unix
-uwsgi_unixpath = $HOME/sockets/blog.uwsgi
-
+uwsgi_unixpath = $HOME/sockets/bank.uwsgi
[merchant]
-WIREFORMAT = test
SERVE = unix
UNIXPATH = $HOME/sockets/merchant.http
KEYFILE = ${TALER_DEPLOYMENT_SHARED}/merchant/merchant.priv
+WIREFORMAT = test
EDATE = 3 week
-
[merchantdb-postgres]
CONFIG = postgres:///talertest
+[PATHS]
+TALER_DEPLOYMENT_SHARED = ${HOME}/shared-data
+DEFAULTCONFIG = /home/marcello/.config/taler.conf
-[merchant-exchange-test]
-URI = https://exchange.test.taler.net/
-MASTER_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00
+[coin_PUDOS_64]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:64
+[coin_PUDOS_32]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:32
-[frontends]
-BACKEND = https://shop.test.taler.net/backend/
+[coin_PUDOS_16]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:16
+[coin_PUDOS_8]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:8
-[exchange]
-SERVE = unix
-UNIXPATH = $HOME/sockets/exchange.http
-MASTER_PRIV_FILE = ${TALER_DEPLOYMENT_SHARED}/exchange/offline-keys/master.priv
-MASTER_PUBLIC_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00
-WIREFORMAT = test
-KEYDIR = ${TALER_DEPLOYMENT_SHARED}/exchange/live-keys/
+[coin_PUDOS_4]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:4
+[coin_PUDOS_ct_64]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.64
-[exchangedb-postgres]
-DB_CONN_STR = "postgres:///talertest"
+[coin_PUDOS_ct_32]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.32
+[coin_PUDOS_ct_16]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.16
-[exchange-wire-outgoing-test]
-BANK_URI = https://bank.test.taler.net/
-BANK_ACCOUNT_NUMBER = 1
-EXCHANGE_ACCOUNT_NUMBER = 2
+[coin_PUDOS_ct_8]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.8
+[coin_PUDOS_ct_4]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.4
-[exchange_keys]
-# how long is one signkey valid?
-signkey_duration = 18 weeks
+[coin_PUDOS_ct_2]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.2
-# how long are the signatures with the signkey valid?
-legal_duration = 2 years
+[coin_PUDOS_ct_1]
+rsa_keysize = 1024
+fee_refund = PUDOS:0.01
+fee_refresh = PUDOS:0.01
+fee_deposit = PUDOS:0.01
+fee_withdraw = PUDOS:0.01
+duration_legal = 3 tears
+duration_spend = 2 years
+duration_withdraw = 7 days
+duration_overlap = 1 day
+value = PUDOS:0.1
-# how long do we generate denomination and signing keys
-# ahead of time?
-lookahead_sign = 32 weeks 1 day
+[donations]
+uwsgi_serve = unix
+uwsgi_unixpath = $HOME/sockets/donations.uwsgi
+
+[blog]
+uwsgi_serve = unix
+uwsgi_unixpath = $HOME/sockets/blog.uwsgi
-# how long do we provide to clients denomination and signing keys
-# ahead of time?
-lookahead_provide = 4 weeks 1 day
+[merchant-exchange-test]
+URI = https://exchange.test.taler.net/
+MASTER_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00
+[frontends]
+BACKEND = https://shop.test.taler.net/backend/
-# Coin definitions are detected because the section
-# name begins with "coin_". The rest of the
-# name is free, but of course following the convention
-# of "coin_$CURRENCY[_$SUBUNIT]_$VALUE" make sense.
[coin_pudos_ct_10]
value = PUDOS:0.10
duration_overlap = 5 minutes
@@ -94,33 +209,30 @@ fee_refresh = PUDOS:0.01
fee_refund = PUDOS:0.01
rsa_keysize = 1024
-
[coin_pudos_1]
value = PUDOS:1
-duration_overlap = 5 minutes
-duration_withdraw = 17 weeks
-duration_spend = 12 years
-duration_legal = 3 years
+duration_overlap = 1 day
+duration_withdraw = 7 days
+duration_spend = 2 years
+duration_legal = 3 tears
fee_withdraw = PUDOS:0.01
fee_deposit = PUDOS:0.01
fee_refresh = PUDOS:0.01
fee_refund = PUDOS:0.01
rsa_keysize = 1024
-
[coin_pudos_2]
value = PUDOS:2
-duration_overlap = 5 minutes
-duration_withdraw = 17 weeks
-duration_spend = 12 years
-duration_legal = 3 years
+duration_overlap = 1 day
+duration_withdraw = 7 days
+duration_spend = 2 years
+duration_legal = 3 tears
fee_withdraw = PUDOS:0.01
fee_deposit = PUDOS:0.01
fee_refresh = PUDOS:0.01
fee_refund = PUDOS:0.01
rsa_keysize = 1024
-
[coin_pudos_5]
value = PUDOS:5
duration_overlap = 5 minutes
@@ -133,7 +245,6 @@ fee_refresh = PUDOS:0.01
fee_refund = PUDOS:0.01
rsa_keysize = 1024
-
[coin_pudos_10]
value = PUDOS:10
duration_overlap = 5 minutes
@@ -146,7 +257,6 @@ fee_refresh = PUDOS:0.01
fee_refund = PUDOS:0.01
rsa_keysize = 1024
-
[coin_pudos_1000]
value = PUDOS:1000
duration_overlap = 5 minutes
@@ -158,3 +268,7 @@ fee_deposit = PUDOS:0.01
fee_refresh = PUDOS:0.01
fee_refund = PUDOS:0.01
rsa_keysize = 2048
+
+[arm]
+CONFIG = /home/marcello/.config/taler.conf
+
diff --git a/docker/selenium/launch_chrome.sh b/docker/selenium/launch_chrome.sh
new file mode 100644
index 0000000..a8e74a1
--- /dev/null
+++ b/docker/selenium/launch_chrome.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+docker run --name big_heap -e JAVA_OPTS=-Xmx1g -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug