This repository was archived by the owner on Feb 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,19 +45,19 @@ curl http://localhost:8001/services/ -i -X POST \
4545curl http://localhost:8001/plugins/ -i -X POST \
4646 --data ' name=request-size-limiting' \
4747 --data " config.allowed_payload_size=8" \
48- --data " service_id =$SERVICE_ID "
48+ --data " service.id =$SERVICE_ID "
4949curl http://localhost:8001/plugins/ -i -X POST \
5050 --data ' name=rate-limiting' \
5151 --data " config.minute=5" \
52- --data " service_id =$SERVICE_ID "
52+ --data " service.id =$SERVICE_ID "
5353curl http://localhost:8001/plugins/ -i -X POST \
5454 --data ' name=key-auth' \
5555 --data " config.hide_credentials=true" \
56- --data " service_id =$SERVICE_ID "
56+ --data " service.id =$SERVICE_ID "
5757curl http://localhost:8001/plugins/ -i -X POST \
5858 --data ' name=acl' \
5959 --data " config.whitelist=kong-admin" \
60- --data " service_id =$SERVICE_ID "
60+ --data " service.id =$SERVICE_ID "
6161curl http://localhost:8001/routes/ -i -X POST \
6262 --data ' paths[]=/kong-admin' \
6363 --data ' protocols[]=https' \
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ if [ -n "$admin_key" ]
2121then
2222 echo " Setting Admin API key to value of KONG_HEROKU_ADMIN_KEY"
2323 # This `id` matches the "kong-admin" keyauth_credentials record contained in "config/pg-heroku-admin.dump"
24- psql " $DATABASE_URL " -c " UPDATE keyauth_credentials SET key='${admin_key} ' WHERE id='ac8af1d3-377a-41ae-9fd5-dbf98c599c5c ';"
24+ psql " $DATABASE_URL " -c " UPDATE keyauth_credentials SET key='${admin_key} ' WHERE id='d316d9e3-8c9c-4b75-9895-6f7721d933db ';"
2525fi
You can’t perform that action at this time.
0 commit comments