summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-prepare-with-eufin
diff options
context:
space:
mode:
Diffstat (limited to 'bin/taler-deployment-prepare-with-eufin')
-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
##