From cf63bbf09719b06c204a24b0dccc2c6f7ed4d85a Mon Sep 17 00:00:00 2001 From: ms Date: Wed, 22 Sep 2021 21:21:12 +0200 Subject: config --- bin/taler-deployment-prepare-with-eufin | 29 ++++++++++++++--------------- 1 file 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 ## -- cgit v1.2.3