From 43c2b70cd52376ef89e62d6e0dc6f99be505a1b8 Mon Sep 17 00:00:00 2001 From: David Garvey Date: Wed, 10 Jan 2024 10:04:10 +0100 Subject: [PATCH] update backstage endpoint path --- deployments/backstage/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/backstage/bootstrap.sh b/deployments/backstage/bootstrap.sh index 204913a4..6c253d00 100755 --- a/deployments/backstage/bootstrap.sh +++ b/deployments/backstage/bootstrap.sh @@ -12,7 +12,7 @@ dashboard_admin_api_credentials=$(cat deployments/tyk/volumes/tyk-dashboard/tyk_ # this assumes that the backstage backend is available on the host machine on port 7007, and that it has the tyk entitiy provider installed log_message "Adding API event webhook to default organisation" -updated_org_data=$(jq '.event_options += { "api_event": { "webhook": "http://host.docker.internal:7007/tyk/api/import-all", "email": "", "redis": false } }' < deployments/tyk/data/tyk-dashboard/1/organisation.json) +updated_org_data=$(jq '.event_options += { "api_event": { "webhook": "http://host.docker.internal:7007/tyk/sync", "email": "", "redis": false } }' < deployments/tyk/data/tyk-dashboard/1/organisation.json) api_response=$(curl $dashboard_base_url/admin/organisations/5e9d9544a1dcd60001d0ed20 --request PUT -s \ -H "admin-auth: $dashboard_admin_api_credentials" \ -d "$updated_org_data" 2>> logs/bootstrap.log)