summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorms <ms@taler.net>2021-09-22 21:21:12 +0200
committerms <ms@taler.net>2021-09-22 21:21:12 +0200
commitcf63bbf09719b06c204a24b0dccc2c6f7ed4d85a (patch)
treeabf874d254aef044f8b6960c4e8885c9e0df8613
parent38441d5b7273d26d28d5cd84fc3980722a28703a (diff)
downloaddeployment-cf63bbf09719b06c204a24b0dccc2c6f7ed4d85a.tar.gz
deployment-cf63bbf09719b06c204a24b0dccc2c6f7ed4d85a.tar.bz2
deployment-cf63bbf09719b06c204a24b0dccc2c6f7ed4d85a.zip
config
-rwxr-xr-xbin/taler-deployment-prepare-with-eufin29
1 files changed, 14 insertions, 15 deletions
diff --git a/bin/taler-deployment-prepare-with-eufin b/bin/taler-deployment-prepare-with-eufin
index a43f420..b1f2bc5 100755
--- a/bin/taler-deployment-prepare-with-eufin
+++ b/bin/taler-deployment-prepare-with-eufin
@@ -52,21 +52,6 @@ function generate_config() {
--envname "$TALER_ENV_NAME" \
--frontends-apitoken "$TALER_ENV_FRONTENDS_APITOKEN"
-# For now, override what the non-euFin deployment put
-# in the configuration. Later, the three values below
-# will be specified by the "config generator".
-taler-config -s exchange-accountcredentials-1 \
- -o WIRE_GATEWAY_URL \
- -V "${FACADE_URL}"
-
-taler-config -s exchange-accountcredentials-1 \
- -o USERNAME \
- -V "${EXCHANGE_NEXUS_USERNAME}"
-
-taler-config -s exchange-accountcredentials-1 \
- -o PASSWORD \
- -V "${EXCHANGE_NEXUS_PASSWORD}"
-
taler-config -s exchange-account-1 \
-o PAYTO_URI \
-V "payto://sepa/bank.${TALER_ENV_NAME}.taler.net/eufin/sandbox/$IBAN_EXCHANGE"
@@ -356,6 +341,20 @@ FACADE_URL=$(libeufin-cli facades list | jq .facades[0].baseUrl | tr -d \")
taler-deployment-arm -k libeufin-nexus
taler-deployment-arm -k libeufin-sandbox
+# Point the exchange to the facade.
+taler-config -s exchange-accountcredentials-1 \
+ -o WIRE_GATEWAY_URL \
+ -V "${FACADE_URL}"
+
+taler-config -s exchange-accountcredentials-1 \
+ -o USERNAME \
+ -V "${EXCHANGE_NEXUS_USERNAME}"
+
+taler-config -s exchange-accountcredentials-1 \
+ -o PASSWORD \
+ -V "${EXCHANGE_NEXUS_PASSWORD}"
+
+
##
## Step 5: Adjust some permissions
##