taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 29d525a74c9cb8af93621e956a6ce00d1bf9d6fe
parent b64e4801ce92e257e93e03b0c97ed221fe0f12d3
Author: Sebastian <sebasjm@gmail.com>
Date:   Thu,  5 Aug 2021 15:23:39 -0300

issue #6945

Diffstat:
Mbin/taler-deployment-config-instances | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/taler-deployment-config-instances b/bin/taler-deployment-config-instances @@ -62,7 +62,7 @@ authorization_header = {"Authorization": f"Bearer {TALER_ENV_FRONTENDS_APITOKEN} def ensure_instance(instance_id, name, payto_uris, auth): resp = requests.get( - urljoin(MERCHANT_BACKEND_BASE_URL, f"private/instances/{instance_id}"), + urljoin(MERCHANT_BACKEND_BASE_URL, f"management/instances/{instance_id}"), headers = authorization_header ) @@ -72,7 +72,7 @@ def ensure_instance(instance_id, name, payto_uris, auth): print(f"Patching (auth of) instance '{instance_id}'") patch_resp = requests.post( urljoin(MERCHANT_BACKEND_BASE_URL, - f"private/instances/{instance_id}/auth"), + f"management/instances/{instance_id}/auth"), json=auth, headers = authorization_header ) @@ -96,7 +96,7 @@ def ensure_instance(instance_id, name, payto_uris, auth): auth=auth, ) create_resp = requests.post( - urljoin(MERCHANT_BACKEND_BASE_URL, "private/instances"), + urljoin(MERCHANT_BACKEND_BASE_URL, "management/instances"), json=req, headers = authorization_header )