From 5719001691bee36eb73ccee23c2c8f6f21133d17 Mon Sep 17 00:00:00 2001 From: Lucie Milan Date: Wed, 2 Oct 2024 10:18:11 +0200 Subject: [PATCH 1/3] replace httpbin.org with httpbin.konghq.com --- .../acme/how-to/_local-testing-development.md | 2 +- .../exit-transformer/overview/_index.md | 2 +- .../how-to/_costs.md | 2 +- app/_hub/kong-inc/jwt/overview/_index.md | 2 +- app/_hub/kong-inc/mocking/overview/_index.md | 2 +- app/_hub/kong-inc/oauth2/how-to/_oauth2rla.md | 4 ++-- app/_hub/kong-inc/opa/overview/_index.md | 2 +- .../_authorization-code-flow.md | 2 +- .../how-to/third-party/_curity.md | 4 ++-- .../openid-connect/overview/_index.md | 2 +- .../kong-inc/post-function/how-to/_index.md | 2 +- .../kong-inc/pre-function/how-to/_index.md | 4 ++-- .../how-to/_templates.md | 4 ++-- .../request-transformer/how-to/_templates.md | 4 ++-- .../request-validator/overview/_index.md | 4 ++-- app/_hub/kong-inc/saml/overview/_index.md | 6 +++--- app/_hub/kong-inc/session/overview/_index.md | 6 +++--- app/_includes/md/kic/test-service-httpbin.md | 2 +- app/_includes/md/plugins-hub/log-format.md | 2 +- app/_includes/md/plugins-hub/oidc-prereqs.md | 2 +- .../md/plugins-hub/oidc-prod-note.md | 2 +- .../plugins-hub/rate-limit-peak-non-peak.md | 2 +- app/_src/deck/guides/apiops.md | 6 +++--- app/_src/deck/guides/defaults-v2.md | 8 ++++---- app/_src/deck/guides/defaults.md | 10 +++++----- app/_src/deck/reference/deck_file_kong2tf.md | 4 ++-- .../get-started/konnect/create-route.md | 6 +++--- .../gateway/admin-api/developers/reference.md | 18 ++++++++--------- .../gateway/get-started/expose-services.md | 6 +++--- .../gateway/get-started/load-balancing.md | 8 ++++---- .../get-started/services-and-routes.md | 16 +++++++-------- app/_src/gateway/install/docker/index.md | 2 +- app/_src/gateway/install/kubernetes/proxy.md | 2 +- app/_src/gateway/key-concepts/upstreams.md | 4 ++-- .../authentication/azure-oidc-config.md | 2 +- .../plugin-ordering/get-started.md | 4 ++-- .../get-started/load-balancing.md | 4 ++-- .../get-started/services-and-routes.md | 2 +- .../kong-plugins/authentication/reference.md | 4 ++-- .../access-the-datastore.md | 2 +- .../plugin-development/get-started/config.md | 2 +- .../plugin-development/get-started/deploy.md | 4 ++-- .../plugin-development/get-started/http.md | 8 ++++---- .../plugin-development/get-started/testing.md | 2 +- app/_src/gateway/plugin-development/tests.md | 2 +- .../wasm/filter-development-guide.md | 2 +- .../production/access-control/enable-rbac.md | 2 +- .../db-less-and-declarative-config.md | 2 +- ...llowing-multiple-authentication-methods.md | 2 +- .../guides/configuring-health-checks.md | 2 +- .../kic-v2/guides/using-external-service.md | 6 +++--- .../guides/services/external.md | 6 +++--- app/_src/mesh/features/meshglobalratelimit.md | 4 ++-- app/gateway/2.6.x/admin-api/rbac/examples.md | 4 ++-- app/gateway/2.6.x/configure/auth/index.md | 4 ++-- .../2.6.x/configure/auth/oidc-curity.md | 4 ++-- .../azure-oidc-config.md | 4 ++-- .../comprehensive/expose-services.md | 18 ++++++++--------- .../comprehensive/improve-performance.md | 2 +- .../comprehensive/load-balancing.md | 20 +++++++++---------- .../comprehensive/protect-services.md | 2 +- .../comprehensive/secure-services.md | 4 ++-- .../quickstart/configuring-a-service.md | 6 +++--- app/gateway/2.6.x/install-and-run/docker.md | 2 +- .../access-the-datastore.md | 2 +- app/gateway/2.6.x/plugin-development/tests.md | 2 +- .../db-less-and-declarative-config.md | 2 +- app/gateway/2.7.x/admin-api/rbac/examples.md | 4 ++-- app/gateway/2.7.x/configure/auth/index.md | 4 ++-- .../2.7.x/configure/auth/oidc-curity.md | 4 ++-- .../azure-oidc-config.md | 4 ++-- .../comprehensive/expose-services.md | 18 ++++++++--------- .../comprehensive/improve-performance.md | 2 +- .../comprehensive/load-balancing.md | 20 +++++++++---------- .../comprehensive/protect-services.md | 2 +- .../comprehensive/secure-services.md | 4 ++-- .../quickstart/configuring-a-service.md | 6 +++--- app/gateway/2.7.x/install-and-run/docker.md | 2 +- .../access-the-datastore.md | 2 +- app/gateway/2.7.x/plugin-development/tests.md | 2 +- .../db-less-and-declarative-config.md | 2 +- .../2.8.x/admin-api/developers/reference.md | 18 ++++++++--------- app/gateway/2.8.x/admin-api/rbac/examples.md | 4 ++-- app/gateway/2.8.x/configure/auth/index.md | 4 ++-- .../2.8.x/configure/auth/oidc-curity.md | 4 ++-- .../azure-oidc-config.md | 4 ++-- .../comprehensive/expose-services.md | 18 ++++++++--------- .../comprehensive/improve-performance.md | 2 +- .../comprehensive/load-balancing.md | 20 +++++++++---------- .../comprehensive/protect-services.md | 2 +- .../comprehensive/secure-services.md | 4 ++-- .../quickstart/configuring-a-service.md | 8 ++++---- app/gateway/2.8.x/install-and-run/docker.md | 2 +- .../access-the-datastore.md | 2 +- app/gateway/2.8.x/plugin-development/tests.md | 2 +- .../db-less-and-declarative-config.md | 2 +- .../access-and-approval/manage-teams.md | 6 +++--- app/konnect/gateway-manager/backup-restore.md | 2 +- .../control-plane-groups/how-to.md | 4 ++-- .../gateway-manager/declarative-config.md | 6 +++--- app/konnect/getting-started/add-api.md | 8 ++++---- app/konnect/reference/terraform.md | 2 +- 102 files changed, 246 insertions(+), 246 deletions(-) diff --git a/app/_hub/kong-inc/acme/how-to/_local-testing-development.md b/app/_hub/kong-inc/acme/how-to/_local-testing-development.md index 5d3df34dffc1..7198738d4607 100644 --- a/app/_hub/kong-inc/acme/how-to/_local-testing-development.md +++ b/app/_hub/kong-inc/acme/how-to/_local-testing-development.md @@ -33,7 +33,7 @@ Leave the process running. ```bash curl http://localhost:8001/services \ -d name=acme-test \ - -d url=http://httpbin.org + -d url=https://httpbin.konghq.com ``` 1. Configure a route: diff --git a/app/_hub/kong-inc/exit-transformer/overview/_index.md b/app/_hub/kong-inc/exit-transformer/overview/_index.md index 87045aeb4449..96367a695954 100644 --- a/app/_hub/kong-inc/exit-transformer/overview/_index.md +++ b/app/_hub/kong-inc/exit-transformer/overview/_index.md @@ -179,7 +179,7 @@ end ```bash curl -i -X POST http://localhost:8001/services \ --data name=example.com \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` 2. Create a route in Kong: diff --git a/app/_hub/kong-inc/graphql-rate-limiting-advanced/how-to/_costs.md b/app/_hub/kong-inc/graphql-rate-limiting-advanced/how-to/_costs.md index f5db1a0f3e29..1a5b4082694d 100644 --- a/app/_hub/kong-inc/graphql-rate-limiting-advanced/how-to/_costs.md +++ b/app/_hub/kong-inc/graphql-rate-limiting-advanced/how-to/_costs.md @@ -14,7 +14,7 @@ See the [Costs API reference](/hub/kong-inc/graphql-rate-limiting-advanced/api/) ```sh curl -X POST http://localhost:8001/services \ --data "name=example" \ - --data "host=httpbin.org" \ + --data "host=httpbin.konghq.com" \ --data "port=443" \ --data "protocol=https" curl -X POST http://localhost:8001/services/example/routes \ diff --git a/app/_hub/kong-inc/jwt/overview/_index.md b/app/_hub/kong-inc/jwt/overview/_index.md index 5042f9f45e48..7239f43b5e28 100644 --- a/app/_hub/kong-inc/jwt/overview/_index.md +++ b/app/_hub/kong-inc/jwt/overview/_index.md @@ -381,7 +381,7 @@ Create a Service: ```bash curl -i -f -X POST http://localhost:8001/services \ --data "name=example-service" \ - --data "url=http://httpbin.org" + --data "url=https://httpbin.konghq.com" ``` Then create a Route: diff --git a/app/_hub/kong-inc/mocking/overview/_index.md b/app/_hub/kong-inc/mocking/overview/_index.md index 8e621b27894b..d9860d118bec 100644 --- a/app/_hub/kong-inc/mocking/overview/_index.md +++ b/app/_hub/kong-inc/mocking/overview/_index.md @@ -330,7 +330,7 @@ This example creates a service named `Stock-Service`. ```bash curl -i -X POST http://localhost:8001/services \ --data name=Stock-Service \ - --data url='http://httpbin.org/anything' + --data url='https://httpbin.konghq.com/anything' ``` Response: diff --git a/app/_hub/kong-inc/oauth2/how-to/_oauth2rla.md b/app/_hub/kong-inc/oauth2/how-to/_oauth2rla.md index 975dec22ed52..0d89c83faee4 100644 --- a/app/_hub/kong-inc/oauth2/how-to/_oauth2rla.md +++ b/app/_hub/kong-inc/oauth2/how-to/_oauth2rla.md @@ -86,7 +86,7 @@ and advanced Redis support for greater performance. Ensure that you have install curl --request POST \ --url http://localhost:8001/teamA/services \ --data "name=httpbin" \ - --data "url=http://httpbin.org/anything" + --data "url=https://httpbin.konghq.com/anything" ``` The results should look like this: ```json @@ -103,7 +103,7 @@ and advanced Redis support for greater performance. Ensure that you have install "protocol": "http", "enabled": true, "created_at": 1699525785, - "host": "httpbin.org", + "host": "httpbin.konghq.com", "connect_timeout": 60000, "path": "/anything", "read_timeout": 60000, diff --git a/app/_hub/kong-inc/opa/overview/_index.md b/app/_hub/kong-inc/opa/overview/_index.md index 95836abc3e09..de34f8d8d127 100644 --- a/app/_hub/kong-inc/opa/overview/_index.md +++ b/app/_hub/kong-inc/opa/overview/_index.md @@ -126,7 +126,7 @@ The input to OPA has the following JSON structure: }, "client_ip": "127.0.0.1",# client IP address as interpreted by Kong "service": { # The Kong service resource to which this request will be forwarded to if OPA allows. Injected only if `include_service_in_opa_input` is set to `true`. - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1612819937, "connect_timeout": 60000, "id": "e6fd8b19-89e5-44e6-8a2a-79e8bf3c31a5", diff --git a/app/_hub/kong-inc/openid-connect/how-to/authentication/_authorization-code-flow.md b/app/_hub/kong-inc/openid-connect/how-to/authentication/_authorization-code-flow.md index b86e901748db..d5300de180c2 100644 --- a/app/_hub/kong-inc/openid-connect/how-to/authentication/_authorization-code-flow.md +++ b/app/_hub/kong-inc/openid-connect/how-to/authentication/_authorization-code-flow.md @@ -139,7 +139,7 @@ enabled the OpenID Connect plugin on the service. You can now test the authoriza You can examine the query arguments passed to Keycloak with the browser's developer tools. -3. And finally you will be presented a response from `httpbin.org` that looks something like this: +3. And finally you will be presented a response from `httpbin.konghq.com` that looks something like this: ```json { diff --git a/app/_hub/kong-inc/openid-connect/how-to/third-party/_curity.md b/app/_hub/kong-inc/openid-connect/how-to/third-party/_curity.md index 68e0e34cdc1f..f6313511d712 100644 --- a/app/_hub/kong-inc/openid-connect/how-to/third-party/_curity.md +++ b/app/_hub/kong-inc/openid-connect/how-to/third-party/_curity.md @@ -32,7 +32,7 @@ Create a service that can be used to test the integration. curl -i -X POST http://localhost:8001/services/ \ --data name="httpbin" \ --data protocol="http" \ - --data url="http://httpbin.org" + --data url="https://httpbin.konghq.com" ``` #### Create a route @@ -95,7 +95,7 @@ Kong introspects the opaque token and receives the JWT in the response. The JWT "args": {}, "headers": { ... - "Host": "httpbin.org", + "Host": "httpbin.konghq.com", "Phantom-Token": "eyJraWQiOiIxN...", "X-Forwarded-Host": "localhost", "X-Forwarded-Path": "/httpbin/get", diff --git a/app/_hub/kong-inc/openid-connect/overview/_index.md b/app/_hub/kong-inc/openid-connect/overview/_index.md index 76a5c91d26f8..8ebc645ef642 100644 --- a/app/_hub/kong-inc/openid-connect/overview/_index.md +++ b/app/_hub/kong-inc/openid-connect/overview/_index.md @@ -58,7 +58,7 @@ before implementing any flows or grants. ### Authentication flows and grants We use [HTTPie](https://httpie.org/) to execute the examples. The output is stripped -for better readability. [httpbin.org](https://httpbin.org/) is used as an upstream service. +for better readability. [httpbin.konghq.com](https://httpbin.konghq.com/) is used as an upstream service. Using the Admin API is convenient when testing the plugin, but you can set up similar configs in declarative format as well. diff --git a/app/_hub/kong-inc/post-function/how-to/_index.md b/app/_hub/kong-inc/post-function/how-to/_index.md index 82277e02b2c7..e088175c85c7 100644 --- a/app/_hub/kong-inc/post-function/how-to/_index.md +++ b/app/_hub/kong-inc/post-function/how-to/_index.md @@ -18,7 +18,7 @@ To change any header names, set up a Post-function plugin instance that runs in ```sh curl -i -X POST http://localhost:8001/services/ \ --data "name=example-service" \ - --data "url=http://httpbin.org/headers" + --data "url=https://httpbin.konghq.com/headers" ``` 1. Add a route to the service: diff --git a/app/_hub/kong-inc/pre-function/how-to/_index.md b/app/_hub/kong-inc/pre-function/how-to/_index.md index 2f383be0c09d..7b932d3450e3 100644 --- a/app/_hub/kong-inc/pre-function/how-to/_index.md +++ b/app/_hub/kong-inc/pre-function/how-to/_index.md @@ -20,7 +20,7 @@ Let's test out the Pre-function plugin by filtering requests based on header nam ```bash curl -i -X POST http://localhost:8001/services/ \ --data "name=example-service" \ - --data "url=http://httpbin.org/headers" + --data "url=https://httpbin.konghq.com/headers" ``` 1. Add a route to the service: @@ -69,7 +69,7 @@ Let's test out the Pre-function plugin by filtering requests based on header nam ``` yaml services: - name: example-service - url: http://httpbin.org/headers + url: https://httpbin.konghq.com/headers routes: - service: example-service diff --git a/app/_hub/kong-inc/request-transformer-advanced/how-to/_templates.md b/app/_hub/kong-inc/request-transformer-advanced/how-to/_templates.md index 0cde8ee55489..c03417c889e3 100644 --- a/app/_hub/kong-inc/request-transformer-advanced/how-to/_templates.md +++ b/app/_hub/kong-inc/request-transformer-advanced/how-to/_templates.md @@ -88,12 +88,12 @@ above). ### Examples using template as value -1. Add a service named `test` which routes requests to the httpbin.org upstream service: +1. Add a service named `test` which routes requests to the httpbin.konghq.com upstream service: ```bash curl -X POST http://localhost:8001/services \ --data 'name=test' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` 2. Create a route for the `test` service, capturing a `user_id` field from the diff --git a/app/_hub/kong-inc/request-transformer/how-to/_templates.md b/app/_hub/kong-inc/request-transformer/how-to/_templates.md index 0292fb26e014..d5b4f270a3bf 100644 --- a/app/_hub/kong-inc/request-transformer/how-to/_templates.md +++ b/app/_hub/kong-inc/request-transformer/how-to/_templates.md @@ -73,12 +73,12 @@ above). ## Examples using template as a value -Add a Service named `test` which routes requests to the httpbin.org upstream service: +Add a Service named `test` which routes requests to the httpbin.konghq.com upstream service: ```bash curl -X POST http://localhost:8001/services \ --data 'name=test' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` Create a route for the `test` service, capturing a `user_id` field from the third segment of the request path: diff --git a/app/_hub/kong-inc/request-validator/overview/_index.md b/app/_hub/kong-inc/request-validator/overview/_index.md index 9e9a184c6110..23605987fce6 100644 --- a/app/_hub/kong-inc/request-validator/overview/_index.md +++ b/app/_hub/kong-inc/request-validator/overview/_index.md @@ -297,13 +297,13 @@ In this example, use the plugin to validate a request's path parameter. ``` curl -i -X POST http://localhost:8001/services \ --data name=httpbin \ - --data url=http://httpbin.org + --data url=https://httpbin.konghq.com HTTP/1.1 201 Created .. { - "host":"httpbin.org", + "host":"httpbin.konghq.com", "created_at":1563479714, "connect_timeout":60000, "id":"0a7f3795-bc92-43b5-aada-258113b7c4ed", diff --git a/app/_hub/kong-inc/saml/overview/_index.md b/app/_hub/kong-inc/saml/overview/_index.md index 7dc1edc6ec31..0390ba7bcf48 100644 --- a/app/_hub/kong-inc/saml/overview/_index.md +++ b/app/_hub/kong-inc/saml/overview/_index.md @@ -110,7 +110,7 @@ curl --request PUT \ ```bash curl --request PUT \ --url http://localhost:8001/services/saml-service \ - --data url=https://httpbin.org/anything + --data url=https://httpbin.konghq.com/anything ``` ```json @@ -118,7 +118,7 @@ curl --request PUT \ "id": "5fa9e468-0007-4d7e-9aeb-49ca9edd6ccd", "name": "saml-service", "protocol": "https", - "host": "httpbin.org", + "host": "httpbin.konghq.com", "port": 443, "path": "/anything" } @@ -192,7 +192,7 @@ curl --request POST \ 1. Using a browser, go to the URL (https://kong:8443/saml) 2. The browser is redirected to the AzureAD Sign in page. Enter the user credentials of a user configured in AzureAD -3. If user credentials are valid, the browser will be redirected to https://httpbin.org/anything +3. If user credentials are valid, the browser will be redirected to https://httpbin.konghq.com/anything 4. If the user credentials are invalid, a `401` unauthorized HTTP status code is returned ## Troubleshooting diff --git a/app/_hub/kong-inc/session/overview/_index.md b/app/_hub/kong-inc/session/overview/_index.md index 0ad48c941b2a..167e8c377f59 100644 --- a/app/_hub/kong-inc/session/overview/_index.md +++ b/app/_hub/kong-inc/session/overview/_index.md @@ -40,13 +40,13 @@ The following example uses the Session plugin together with the [Key Auth](/hub/ 1. Create an example service and a route: Issue the following cURL request to create `example-service` pointing to - httpbin.org, which echoes the request: + httpbin.konghq.com, which echoes the request: ```bash curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` Add a route to the service: @@ -160,7 +160,7 @@ Add the following snippet to your declarative config file: ```yaml services: - name: example-service - url: http://httpbin.org/anything + url: https://httpbin.konghq.com/anything routes: - service: example-service diff --git a/app/_includes/md/kic/test-service-httpbin.md b/app/_includes/md/kic/test-service-httpbin.md index b03dee7f7da7..9c4acec08011 100644 --- a/app/_includes/md/kic/test-service-httpbin.md +++ b/app/_includes/md/kic/test-service-httpbin.md @@ -2,7 +2,7 @@ ## Deploy an upstream HTTP application {% endunless %} -Create a Kubernetes service setup a [httpbin](https://httpbin.org) +Create a Kubernetes service setup a [httpbin](https://httpbin.konghq.com) service in the cluster and proxy it. ```bash diff --git a/app/_includes/md/plugins-hub/log-format.md b/app/_includes/md/plugins-hub/log-format.md index 17fed1ce33b3..0cfeb0ed3a01 100644 --- a/app/_includes/md/plugins-hub/log-format.md +++ b/app/_includes/md/plugins-hub/log-format.md @@ -100,7 +100,7 @@ Every request is logged separately in a JSON object, separated by a new line `\n "write_timeout": 60000, "read_timeout": 60000, "updated_at": 1726782459, - "host": "httpbin.org", + "host": "httpbin.konghq.com", "name": "example_service", "id": "fb4eecf8-dec2-40ef-b779-16de7e2384c7", "port": 80, diff --git a/app/_includes/md/plugins-hub/oidc-prereqs.md b/app/_includes/md/plugins-hub/oidc-prereqs.md index dffc17310860..aea2d4a14132 100644 --- a/app/_includes/md/plugins-hub/oidc-prereqs.md +++ b/app/_includes/md/plugins-hub/oidc-prereqs.md @@ -78,7 +78,7 @@ and that can be a problem if both are started on the same host. ```bash curl -i -X POST http://localhost:8001/services \ --data "name=openid-connect" \ - --data "url=http://httpbin.org/anything" + --data "url=https://httpbin.konghq.com/anything" ``` 1. Create a route: diff --git a/app/_includes/md/plugins-hub/oidc-prod-note.md b/app/_includes/md/plugins-hub/oidc-prod-note.md index da3f4582b57d..e398eb74b026 100644 --- a/app/_includes/md/plugins-hub/oidc-prod-note.md +++ b/app/_includes/md/plugins-hub/oidc-prod-note.md @@ -1,7 +1,7 @@ {:.important} > The following examples are built with simplicity in mind, and are not meant for a production environment. -> Because `httpbin.org` is the upstream service in these examples, we highly +> Because `httpbin.konghq.com` is the upstream service in these examples, we highly recommended that you **do not** run these examples with a production identity provider as there is a high chance of leaking information. > The examples also use the plain HTTP protocol, which you should diff --git a/app/_includes/md/plugins-hub/rate-limit-peak-non-peak.md b/app/_includes/md/plugins-hub/rate-limit-peak-non-peak.md index 76dfe17cb8ee..50063eddc819 100644 --- a/app/_includes/md/plugins-hub/rate-limit-peak-non-peak.md +++ b/app/_includes/md/plugins-hub/rate-limit-peak-non-peak.md @@ -17,7 +17,7 @@ in the following examples are entirely up to you. ```bash curl -i -X POST http://localhost:8001/services \ --data "name=httpbin" \ - --data "url=http://httpbin.org/anything" + --data "url=https://httpbin.konghq.com/anything" ``` 1. Create a route to handle peak traffic. diff --git a/app/_src/deck/guides/apiops.md b/app/_src/deck/guides/apiops.md index a81546c050fb..2371054ba3a4 100644 --- a/app/_src/deck/guides/apiops.md +++ b/app/_src/deck/guides/apiops.md @@ -34,7 +34,7 @@ info: description: Simple API for testing purposes version: 1.0.0 servers: - - url: http://httpbin.org + - url: https://httpbin.konghq.com paths: /request: get: @@ -57,7 +57,7 @@ Which produces a complete decK configuration file: ```yaml _format_version: "3.0" services: -- host: httpbin.org +- host: httpbin.konghq.com id: de7107e7-a39c-5574-9e8c-e66787ae50e7 name: httpbin-api path: / @@ -134,7 +134,7 @@ following configuration into a file named `another-httpbin.yaml`: ```yaml _format_version: "3.0" services: -- host: httpbin.org +- host: httpbin.konghq.com id: 7cc31086-3837-4e7e-bbe9-271e51c1f614 name: another-httpbin-api path: / diff --git a/app/_src/deck/guides/defaults-v2.md b/app/_src/deck/guides/defaults-v2.md index d1ba3eacdf55..58711bf01110 100644 --- a/app/_src/deck/guides/defaults-v2.md +++ b/app/_src/deck/guides/defaults-v2.md @@ -60,7 +60,7 @@ want to use, skip to [setting defaults](#set-defaults). ```yaml _format_version: "3.0" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath @@ -133,7 +133,7 @@ deck gateway diff kong.yaml ```sh updating service example_service { "connect_timeout": 60000, - "host": "httpbin.org", + "host": "httpbin.konghq.com", "id": "1c088e59-b5fb-4c14-8d3a-401c02fc50b7", "name": "example_service", "port": 80, @@ -188,7 +188,7 @@ Summary: _info: defaults: services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath @@ -232,7 +232,7 @@ Summary: read_timeout: 60000 retries: 5 services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath diff --git a/app/_src/deck/guides/defaults.md b/app/_src/deck/guides/defaults.md index fb51a5e56840..244ab7e1dd03 100644 --- a/app/_src/deck/guides/defaults.md +++ b/app/_src/deck/guides/defaults.md @@ -44,7 +44,7 @@ sample service, route, and plugin: ```yaml _format_version: "3.0" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath @@ -169,7 +169,7 @@ overwriting your current state file, specify a different filename: - https services: - connect_timeout: 60000 - host: httpbin.org + host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -228,7 +228,7 @@ configuration would overwrite the value in your environment. _info: defaults: services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath @@ -259,7 +259,7 @@ configuration would overwrite the value in your environment. protocol: https retries: 10 services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath @@ -292,7 +292,7 @@ configuration would overwrite the value in your environment. read_timeout: 60000 retries: 10 services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service routes: - name: mockpath diff --git a/app/_src/deck/reference/deck_file_kong2tf.md b/app/_src/deck/reference/deck_file_kong2tf.md index 49323c5c07e6..d7a56ca5a2ae 100644 --- a/app/_src/deck/reference/deck_file_kong2tf.md +++ b/app/_src/deck/reference/deck_file_kong2tf.md @@ -247,7 +247,7 @@ routes: services: - connect_timeout: 60000 enabled: true - host: httpbin.org + host: httpbin.konghq.com id: 0cc39546-f5c9-4aae-898c-c63ef5b4a33b name: httpbin plugins: @@ -426,7 +426,7 @@ resource "konnect_gateway_service" "httpbin" { enabled = true name = "httpbin" connect_timeout = 60000 - host = "httpbin.org" + host = "httpbin.konghq.com" port = 443 protocol = "https" read_timeout = 60000 diff --git a/app/_src/gateway-operator/get-started/konnect/create-route.md b/app/_src/gateway-operator/get-started/konnect/create-route.md index d4e052f4f78c..4a79ce4015da 100644 --- a/app/_src/gateway-operator/get-started/konnect/create-route.md +++ b/app/_src/gateway-operator/get-started/konnect/create-route.md @@ -31,17 +31,17 @@ Once your `DataPlane` is deployed it receives configuration from Konnect, but th Create a service and a route in your {{ site.konnect_short_name }} control plane using the variables that you set. -The following commands create a service named _Sample_ and a route that proxies all traffic to httpbin.org: +The following commands create a service named _Sample_ and a route that proxies all traffic to httpbin.konghq.com: ```bash -SERVICE_ID=$(curl -sS -H "Authorization: Bearer $KONNECT_TOKEN" https://us.api.konghq.com/v2/control-planes/$CP_UUID/core-entities/services -d name=Sample -d url=https://httpbin.org | jq -r .id) +SERVICE_ID=$(curl -sS -H "Authorization: Bearer $KONNECT_TOKEN" https://us.api.konghq.com/v2/control-planes/$CP_UUID/core-entities/services -d name=Sample -d url=https://httpbin.konghq.com | jq -r .id) curl -sS -H "Authorization: Bearer $KONNECT_TOKEN" https://us.api.konghq.com/v2/control-planes/$CP_UUID/core-entities/services/$SERVICE_ID/routes -d "paths[]=/" ``` ## Send test traffic -After the service and route are created, send traffic to the proxy and it will forward the request to httpbin.org. You can use httpbin's `/anything` endpoint to echo the request made in the response. +After the service and route are created, send traffic to the proxy and it will forward the request to httpbin.konghq.com. You can use httpbin's `/anything` endpoint to echo the request made in the response. To make a request to the proxy, fetch the LoadBalancer IP address using `kubectl get services`: diff --git a/app/_src/gateway/admin-api/developers/reference.md b/app/_src/gateway/admin-api/developers/reference.md index 93e7f74199a3..fed31830aba1 100644 --- a/app/_src/gateway/admin-api/developers/reference.md +++ b/app/_src/gateway/admin-api/developers/reference.md @@ -491,7 +491,7 @@ HTTP/1.1 200 OK }, "id": "5ff48aaf-3951-4c99-a636-3b682081705c", "name": "example_app", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644963627 }, { @@ -504,7 +504,7 @@ HTTP/1.1 200 OK }, "id": "94e0f633-e8fd-4647-a0cd-4c3015ff2722", "name": "example_app2", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644963657 } ], @@ -544,7 +544,7 @@ HTTP/1.1 200 OK }, "id": "ca0d62bd-4616-4b87-b947-43e33e5418f0", "name": "testapp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644965555 } ``` @@ -589,7 +589,7 @@ HTTP/1.1 201 Created }, "id": "ca0d62bd-4616-4b87-b947-43e33e5418f0", "name": "testapp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644965555 } ``` @@ -634,7 +634,7 @@ HTTP/1.1 200 OK }, "id": "5ff48aaf-3951-4c99-a636-3b682081705c", "name": "ExampleApp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1645575611 } ``` @@ -701,7 +701,7 @@ HTTP/1.1 200 OK }, "id": "645682ae-0be6-420a-bcf3-0e711a391546", "name": "testapp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644965487 }, "composite_id": "645682ae-0be6-420a-bcf3-0e711a391546_212a758a-810b-4226-9175-b1b44eecebec", @@ -1412,7 +1412,7 @@ HTTP/1.1 200 OK "id": "e22760bc-c6d4-4572-9814-132825286618", "name": "example_app", "redirect_uris": [ - "http://httpbin.org" + "https://httpbin.konghq.com" ] } ], @@ -1470,7 +1470,7 @@ HTTP/1.1 201 Created "id": "2dc8ee2a-ecfd-4ca5-a9c1-db371480e2cf", "name": "example_app", "redirect_uris": [ - "http://httpbin.org" + "https://httpbin.konghq.com" ] } ``` @@ -1508,7 +1508,7 @@ HTTP/1.1 200 OK "id": "e22760bc-c6d4-4572-9814-132825286618", "name": "example_app", "redirect_uris": [ - "http://httpbin.org" + "https://httpbin.konghq.com" ] } ``` diff --git a/app/_src/gateway/get-started/expose-services.md b/app/_src/gateway/get-started/expose-services.md index db19eb2592e4..55c8e465071b 100644 --- a/app/_src/gateway/get-started/expose-services.md +++ b/app/_src/gateway/get-started/expose-services.md @@ -49,7 +49,7 @@ the Admin API. ```sh curl -i -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` If the service is created successfully, you'll get a 201 success message. @@ -88,11 +88,11 @@ curl -i -X GET http://localhost:8000/mock/anything In this section, you: -* Added a Service named `example_service` with a URL of `http://httpbin.org`. +* Added a Service named `example_service` with a URL of `https://httpbin.konghq.com`. * Added a Route named `/mock`. * This means if an HTTP request is sent to the {{site.base_gateway}} node on port `8000`(the proxy port) and it matches route `/mock`, then that request is -sent to `http://httpbin.org`. +sent to `https://httpbin.konghq.com`. * Abstracted a backend/upstream service and put a route of your choice on the front end, which you can now give to clients to make requests. diff --git a/app/_src/gateway/get-started/load-balancing.md b/app/_src/gateway/get-started/load-balancing.md index c74fd87b70e0..1c6020feb086 100644 --- a/app/_src/gateway/get-started/load-balancing.md +++ b/app/_src/gateway/get-started/load-balancing.md @@ -20,7 +20,7 @@ used to health check, circuit break, and load balance incoming requests over mul In this section, you’ll re-configure the service created earlier, (`example_service`) to point to an upstream instead of a specific host. For the purposes of our example, the upstream will point to two different targets, -`httpbin.org` and `httpbun.com`. More commonly, targets will be instances of the same backend service running on different host systems. +`httpbin.konghq.com` and `httpbun.com`. More commonly, targets will be instances of the same backend service running on different host systems. Here is a diagram illustrating the setup: @@ -33,7 +33,7 @@ flowchart LR B("`Service (example_service)`") C(Load balancer) - D(httpbin.org) + D(httpbin.konghq.com) E(httpbun.com) subgraph id1 ["`**KONG GATEWAY**`"] @@ -87,7 +87,7 @@ If you haven't completed these steps already, complete them before proceeding. curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ --data target='httpbun.com:80' curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ - --data target='httpbin.org:80' + --data target='httpbin.konghq.com:80' ``` 1. **Update the service** @@ -100,7 +100,7 @@ If you haven't completed these steps already, complete them before proceeding. --data host='example_upstream' ``` - You now have an upstream with two targets, `httpbin.org` and `httpbun.com`, and a service pointing to that upstream. + You now have an upstream with two targets, `httpbin.konghq.com` and `httpbun.com`, and a service pointing to that upstream. 1. **Validate** diff --git a/app/_src/gateway/get-started/services-and-routes.md b/app/_src/gateway/get-started/services-and-routes.md index a9934bc5cc70..82b7fa9e8129 100644 --- a/app/_src/gateway/get-started/services-and-routes.md +++ b/app/_src/gateway/get-started/services-and-routes.md @@ -84,7 +84,7 @@ also offers other options for configuration management including [{{site.konnect_saas}}](/konnect/) and [decK](/deck/latest/). In this section of the tutorial, you will complete the following steps: -* Create a service pointing to the [httpbin](https://httpbin.org/) API, which provides testing facilities +* Create a service pointing to the [httpbin](https://httpbin.konghq.com/) API, which provides testing facilities for HTTP requests and responses. * Define a route by providing a URL path that will be available to clients on the running {{site.base_gateway}}. * Use the new httpbin service to echo a test request, helping you understand how @@ -111,11 +111,11 @@ complete that before proceeding. ```sh curl -i -s -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` This request instructs {{site.base_gateway}} to create a new - service mapped to the upstream URL `http://httpbin.org`. + service mapped to the upstream URL `https://httpbin.konghq.com`. In our example, the request body contained two strings: @@ -127,7 +127,7 @@ complete that before proceeding. ```text { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "name": "example_service", "enabled": true, "connect_timeout": 60000, @@ -169,7 +169,7 @@ complete that before proceeding. ```text { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "name": "example_service", "enabled": true, ... @@ -192,7 +192,7 @@ complete that before proceeding. ```sh { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "name": "example_service", "enabled": true, "retries": 6, @@ -406,7 +406,7 @@ You can also view the configuration for your routes in the Kong Manager UI by na Kong is an API Gateway, it takes requests from clients and routes them to the appropriate upstream application based on a the current configuration. Using the service and route that was previously configured, you can now -access `https://httpbin.org/` using `http://localhost:8000/mock`. +access `https://httpbin.konghq.com/` using `http://localhost:8000/mock`. By default, {{site.base_gateway}}'s Admin API listens for administrative requests on port `8001`, this is sometimes referred to as the *control plane*. Clients use port `8000` to make data requests, and this is often referred to as the *data plane*. @@ -428,7 +428,7 @@ You should see a response similar to the following: "httpVersion": "HTTP/1.1", "cookies": {}, "headers": { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "connection": "close", "accept-encoding": "gzip", "x-forwarded-for": "172.19.0.1,98.63.188.11, 162.158.63.41", diff --git a/app/_src/gateway/install/docker/index.md b/app/_src/gateway/install/docker/index.md index 8a3a608e4dea..f30a40989b48 100644 --- a/app/_src/gateway/install/docker/index.md +++ b/app/_src/gateway/install/docker/index.md @@ -329,7 +329,7 @@ backed up by a Redis cluster). _transform: true services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/_src/gateway/install/kubernetes/proxy.md b/app/_src/gateway/install/kubernetes/proxy.md index 69c140d075a6..f6095deb89c7 100644 --- a/app/_src/gateway/install/kubernetes/proxy.md +++ b/app/_src/gateway/install/kubernetes/proxy.md @@ -188,7 +188,7 @@ The {{ site.base_gateway }} data plane is responsible for processing incoming tr 1. Create a mock service and route ```bash - curl localhost:8001/services -d name=mock -d url="http://httpbin.org" + curl localhost:8001/services -d name=mock -d url="https://httpbin.konghq.com" curl localhost:8001/services/mock/routes -d "paths=/mock" ``` diff --git a/app/_src/gateway/key-concepts/upstreams.md b/app/_src/gateway/key-concepts/upstreams.md index eb6297a8496a..e032202e05c9 100644 --- a/app/_src/gateway/key-concepts/upstreams.md +++ b/app/_src/gateway/key-concepts/upstreams.md @@ -10,12 +10,12 @@ In {{site.base_gateway}}, an upstream object represents a virtual hostname and c You can configure a [service](/gateway/{{ page.release }}/key-concepts/services/) to point to an upstream instead of a host. For example, if you have a service called `example_service` and an upstream called `example_upstream`, you can point `example_service` to `example_upstream` instead of specifying a host. -The `example_upstream` upstream can then point to two different targets: `httpbin.org` and `httpbun.com`. +The `example_upstream` upstream can then point to two different targets: `httpbin.konghq.com` and `httpbun.com`. In a real environment, the upstream points to the same service running on multiple systems. This setup allows you to [load balance](/gateway/{{ page.release }}/how-kong-works/load-balancing) between upstream targets. For example, if an application is deployed across two different servers or upstream targets, {{site.base_gateway}} needs to load balance across both servers. -This is so that if one of the servers (like `httpbin.org` in the previous example) is unavailable, it automatically detects the problem and routes all traffic to the working server (`httpbun.com`). +This is so that if one of the servers (like `httpbin.konghq.com` in the previous example) is unavailable, it automatically detects the problem and routes all traffic to the working server (`httpbun.com`). ## Upstream configuration diff --git a/app/_src/gateway/kong-enterprise/dev-portal/authentication/azure-oidc-config.md b/app/_src/gateway/kong-enterprise/dev-portal/authentication/azure-oidc-config.md index 37966e403286..d187814c51a9 100644 --- a/app/_src/gateway/kong-enterprise/dev-portal/authentication/azure-oidc-config.md +++ b/app/_src/gateway/kong-enterprise/dev-portal/authentication/azure-oidc-config.md @@ -26,7 +26,7 @@ for use with the Kong OIDC and Portal Application Registration plugins. ```bash curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ - --data 'url=https://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` ## Create a route in Kong diff --git a/app/_src/gateway/kong-enterprise/plugin-ordering/get-started.md b/app/_src/gateway/kong-enterprise/plugin-ordering/get-started.md index 4ffc36a624a3..2e60e451eb94 100644 --- a/app/_src/gateway/kong-enterprise/plugin-ordering/get-started.md +++ b/app/_src/gateway/kong-enterprise/plugin-ordering/get-started.md @@ -76,7 +76,7 @@ ordering: ``` yaml _format_version: "3.0" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -203,7 +203,7 @@ ordering: ``` yaml _format_version: "3.0" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/_src/gateway/kong-manager/get-started/load-balancing.md b/app/_src/gateway/kong-manager/get-started/load-balancing.md index ba6cf2ed9742..cbc20b571f55 100644 --- a/app/_src/gateway/kong-manager/get-started/load-balancing.md +++ b/app/_src/gateway/kong-manager/get-started/load-balancing.md @@ -21,13 +21,13 @@ From the **Workspaces** tab in Kong Manager: 3. For this example, enter `example_upstream` in the **Name** field, then click **Create**. 4. Click on your new upstream to open its detail page. 5. From the sub-menu, open **Targets**, then click **New Target**. -6. In the target field, set the value `httpbin.org:80`, and click **Create**. +6. In the target field, set the value `httpbin.konghq.com:80`, and click **Create**. 7. Create another target, this time for `httpbun.com:80`. 8. Open the **Services** page. 9. Open your `example_service`, then click **Edit**. 10. Change the **Host** field to `example_upstream`, then click **Update**. -You now have an upstream with two targets, `httpbin.org` and `httpbun.com`, and a service pointing to that upstream. +You now have an upstream with two targets, `httpbin.konghq.com` and `httpbun.com`, and a service pointing to that upstream. ## Validate the upstream services diff --git a/app/_src/gateway/kong-manager/get-started/services-and-routes.md b/app/_src/gateway/kong-manager/get-started/services-and-routes.md index 80777df9dcf5..9772ab36a458 100644 --- a/app/_src/gateway/kong-manager/get-started/services-and-routes.md +++ b/app/_src/gateway/kong-manager/get-started/services-and-routes.md @@ -26,7 +26,7 @@ On the Workspaces tab in Kong Manager: 2. From the **Services** section, click **New Service**. 3. In the **Create service** dialog, enter the name `example_service` and the -URL `http://httpbin.org`. +URL `https://httpbin.konghq.com`. 4. Click **Create**. diff --git a/app/_src/gateway/kong-plugins/authentication/reference.md b/app/_src/gateway/kong-plugins/authentication/reference.md index 90f35b6f1eb4..ef34dcfc68a0 100644 --- a/app/_src/gateway/kong-plugins/authentication/reference.md +++ b/app/_src/gateway/kong-plugins/authentication/reference.md @@ -47,14 +47,14 @@ the corresponding Route: 1. **Create an example Service and a Route** - Issue the following cURL request to create `example-service` pointing to `httpbin.org`, which will echo + Issue the following cURL request to create `example-service` pointing to `httpbin.konghq.com`, which will echo the request: ```bash curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` Add a Route to the Service: diff --git a/app/_src/gateway/plugin-development/access-the-datastore.md b/app/_src/gateway/plugin-development/access-the-datastore.md index cd0fcc9325f6..82cc62448609 100644 --- a/app/_src/gateway/plugin-development/access-the-datastore.md +++ b/app/_src/gateway/plugin-development/access-the-datastore.md @@ -61,7 +61,7 @@ For example, inserting a Service and a Plugin is as easy as: ```lua local inserted_service, err = kong.db.services:insert({ name = "httpbin", - url = "http://httpbin.org", + url = "https://httpbin.konghq.com", }) local inserted_plugin, err = kong.db.plugins:insert({ diff --git a/app/_src/gateway/plugin-development/get-started/config.md b/app/_src/gateway/plugin-development/get-started/config.md index 0e6199f0bbb0..71085c564123 100644 --- a/app/_src/gateway/plugin-development/get-started/config.md +++ b/app/_src/gateway/plugin-development/get-started/config.md @@ -119,7 +119,7 @@ Add a test service: ```sh curl -i -s -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` And create our plugin instance, but this time provide the configuration value diff --git a/app/_src/gateway/plugin-development/get-started/deploy.md b/app/_src/gateway/plugin-development/get-started/deploy.md index 0b79cfda2a7d..45a87d63406d 100644 --- a/app/_src/gateway/plugin-development/get-started/deploy.md +++ b/app/_src/gateway/plugin-development/get-started/deploy.md @@ -93,7 +93,7 @@ Add a test service: ```sh curl -i -s -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` Associate the custom plugin with the `example_service` service: @@ -132,7 +132,7 @@ Access-Control-Allow-Credentials: true Date: Tue, 12 Mar 2024 14:44:22 GMT Access-Control-Allow-Origin: * Server: gunicorn/19.9.0 -X-MyPlugin: http://httpbin.org/anything +X-MyPlugin: https://httpbin.konghq.com/anything X-Kong-Upstream-Latency: 97 X-Kong-Proxy-Latency: 1 Via: kong/3.6.1 diff --git a/app/_src/gateway/plugin-development/get-started/http.md b/app/_src/gateway/plugin-development/get-started/http.md index 9600150f21cb..3aa14a1a1dcb 100644 --- a/app/_src/gateway/plugin-development/get-started/http.md +++ b/app/_src/gateway/plugin-development/get-started/http.md @@ -58,7 +58,7 @@ Add the following to the top of the `MyPluginHandler:response` function inside t ```lua local httpc = http.new() -local res, err = httpc:request_uri("http://httpbin.org/anything", { +local res, err = httpc:request_uri("https://httpbin.konghq.com/anything", { method = "GET", }) ``` @@ -165,7 +165,7 @@ function MyPluginHandler:response(conf) local httpc = http.new() - local res, err = httpc:request_uri("http://httpbin.org/anything", { + local res, err = httpc:request_uri("https://httpbin.konghq.com/anything", { method = "GET", }) @@ -197,13 +197,13 @@ return MyPluginHandler At this stage, if you re-run the `pongo run` command to execute the integration tests previously built, you will receive errors. The expected value in the header has changed from `response` to -`http://httpbin.org/anything`. Update the +`https://httpbin.konghq.com/anything`. Update the `spec/my-plugin/01-integration_spec.lua` file to assert the new value in the header. ```lua -- validate the value of that header -assert.equal("http://httpbin.org/anything", header_value) +assert.equal("https://httpbin.konghq.com/anything", header_value) ``` Re-run the test with `pongo run` and verify success: diff --git a/app/_src/gateway/plugin-development/get-started/testing.md b/app/_src/gateway/plugin-development/get-started/testing.md index 4db99bcc15e4..ddb33a8dac01 100644 --- a/app/_src/gateway/plugin-development/get-started/testing.md +++ b/app/_src/gateway/plugin-development/get-started/testing.md @@ -163,7 +163,7 @@ Still within the {{site.base_gateway}} container's shell, add a new service with ```sh curl -i -s -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` Associate the custom plugin with the `example_service` service: diff --git a/app/_src/gateway/plugin-development/tests.md b/app/_src/gateway/plugin-development/tests.md index 72e81f0f7793..52d469f32e32 100644 --- a/app/_src/gateway/plugin-development/tests.md +++ b/app/_src/gateway/plugin-development/tests.md @@ -44,7 +44,7 @@ for _, strategy in helpers.each_strategy() do setup(function() local service = bp.services:insert { name = "test-service", - host = "httpbin.org" + host = "httpbin.konghq.com" } bp.routes:insert({ diff --git a/app/_src/gateway/plugin-development/wasm/filter-development-guide.md b/app/_src/gateway/plugin-development/wasm/filter-development-guide.md index db6334dde086..4d6cb9eefbad 100644 --- a/app/_src/gateway/plugin-development/wasm/filter-development-guide.md +++ b/app/_src/gateway/plugin-development/wasm/filter-development-guide.md @@ -66,7 +66,7 @@ e.g. `kong.yml`: _format_version: '3.0' services: - name: my-wasm-service - url: http://httpbin.org + url: https://httpbin.konghq.com routes: - name: my-wasm-route paths: diff --git a/app/_src/gateway/production/access-control/enable-rbac.md b/app/_src/gateway/production/access-control/enable-rbac.md index 559ed6a627e2..57df41e37e7a 100644 --- a/app/_src/gateway/production/access-control/enable-rbac.md +++ b/app/_src/gateway/production/access-control/enable-rbac.md @@ -930,7 +930,7 @@ endpoint-level validation comes before entity-level. Response: ```json { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "updated_at": 1531066074, "connect_timeout": 60000, diff --git a/app/_src/gateway/production/deployment-topologies/db-less-and-declarative-config.md b/app/_src/gateway/production/deployment-topologies/db-less-and-declarative-config.md index c6dac850356c..0c157208558e 100644 --- a/app/_src/gateway/production/deployment-topologies/db-less-and-declarative-config.md +++ b/app/_src/gateway/production/deployment-topologies/db-less-and-declarative-config.md @@ -256,7 +256,7 @@ environment variable: ``` export KONG_DATABASE=off -export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.org","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' +export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.konghq.com","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' kong start ``` diff --git a/app/_src/kic-v2/guides/allowing-multiple-authentication-methods.md b/app/_src/kic-v2/guides/allowing-multiple-authentication-methods.md index 3bd75019a435..74c1af4f9ea6 100644 --- a/app/_src/kic-v2/guides/allowing-multiple-authentication-methods.md +++ b/app/_src/kic-v2/guides/allowing-multiple-authentication-methods.md @@ -10,7 +10,7 @@ for all requests even if a request has been authenticated through another plugin ## Create a Kubernetes service -Create a Kubernetes service setup an [httpbin](https://httpbin.org) +Create a Kubernetes service setup an [httpbin](https://httpbin.konghq.com) service in the cluster and proxy it. ```bash diff --git a/app/_src/kic-v2/guides/configuring-health-checks.md b/app/_src/kic-v2/guides/configuring-health-checks.md index 40aa7505541e..09895968dfc0 100644 --- a/app/_src/kic-v2/guides/configuring-health-checks.md +++ b/app/_src/kic-v2/guides/configuring-health-checks.md @@ -10,7 +10,7 @@ mis-behaving in your Kubernetes Cluster. ## Create a Kubernetes service -Create a Kubernetes service setup a [httpbin](https://httpbin.org) +Create a Kubernetes service setup a [httpbin](https://httpbin.konghq.com) service in the cluster and proxy it. ```bash diff --git a/app/_src/kic-v2/guides/using-external-service.md b/app/_src/kic-v2/guides/using-external-service.md index 5cad9610a8ad..461b639c8963 100644 --- a/app/_src/kic-v2/guides/using-external-service.md +++ b/app/_src/kic-v2/guides/using-external-service.md @@ -21,7 +21,7 @@ Learn to expose a service located outside the Kubernetes cluster using an Ingres - protocol: TCP port: 80 type: ExternalName - externalName: httpbin.org + externalName: httpbin.konghq.com " | kubectl apply -f - ``` The results should look like this: @@ -58,14 +58,14 @@ Via: kong/3.1.1 "form": {}, "headers": { "Accept": "*/*", - "Host": "httpbin.org", + "Host": "httpbin.konghq.com", "User-Agent": "curl/7.86.0", "X-Amzn-Trace-Id": "Root=1-639b9243-7cdb670008b8189a5948d619" }, "json": null, "method": "GET", "origin": "136.25.153.9", - "url": "http://httpbin.org/anything" + "url": "https://httpbin.konghq.com/anything" } ``` diff --git a/app/_src/kubernetes-ingress-controller/guides/services/external.md b/app/_src/kubernetes-ingress-controller/guides/services/external.md index 22a0c7883dae..a9e059bcded5 100644 --- a/app/_src/kubernetes-ingress-controller/guides/services/external.md +++ b/app/_src/kubernetes-ingress-controller/guides/services/external.md @@ -24,7 +24,7 @@ Expose a service located outside the Kubernetes cluster using an Ingress. - protocol: TCP port: 80 type: ExternalName - externalName: httpbin.org + externalName: httpbin.konghq.com " | kubectl apply -f - ``` The results should look like this: @@ -61,14 +61,14 @@ Via: kong/3.1.1 "form": {}, "headers": { "Accept": "*/*", - "Host": "httpbin.org", + "Host": "httpbin.konghq.com", "User-Agent": "curl/7.86.0", "X-Amzn-Trace-Id": "Root=1-639b9243-7cdb670008b8189a5948d619" }, "json": null, "method": "GET", "origin": "136.25.153.9", - "url": "http://httpbin.org/anything" + "url": "https://httpbin.konghq.com/anything" } ``` diff --git a/app/_src/mesh/features/meshglobalratelimit.md b/app/_src/mesh/features/meshglobalratelimit.md index a5bd66f43e5a..6c06d5b6ef5a 100644 --- a/app/_src/mesh/features/meshglobalratelimit.md +++ b/app/_src/mesh/features/meshglobalratelimit.md @@ -491,7 +491,7 @@ spec: kuma.io/service: httpbin kuma.io/protocol: http networking: - address: httpbin.org:443 + address: httpbin.konghq.com:443 tls: enabled: true ``` @@ -507,7 +507,7 @@ tags: kuma.io/service: httpbin kuma.io/protocol: http networking: - address: httpbin.org:443 + address: httpbin.konghq.com:443 tls: enabled: true ``` diff --git a/app/gateway/2.6.x/admin-api/rbac/examples.md b/app/gateway/2.6.x/admin-api/rbac/examples.md index fa7245cc2db2..6194a41da917 100644 --- a/app/gateway/2.6.x/admin-api/rbac/examples.md +++ b/app/gateway/2.6.x/admin-api/rbac/examples.md @@ -690,7 +690,7 @@ http :8001/teamA/services Kong-Admin-Token:n5bhjgv0speXp4N7rSUzUj8PGnl3F5eG "next": null, "data": [ { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "connect_timeout": 60000, "id": "3ed24101-19a7-4a0b-a10f-2f47bcd4ff43", @@ -856,7 +856,7 @@ http :8001/teamA/rbac/workspaces/ Kong-Admin-Token:sUnv6uBehM91amYRNWESsgX3HzqoB ``` http :8001/teamA/services/service1 Kong-Admin-Token:sUnv6uBehM91amYRNWESsgX3HzqoBnR5 { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "connect_timeout": 60000, "id": "3ed24101-19a7-4a0b-a10f-2f47bcd4ff43", diff --git a/app/gateway/2.6.x/configure/auth/index.md b/app/gateway/2.6.x/configure/auth/index.md index dfc3a1355769..3c2c57580d76 100644 --- a/app/gateway/2.6.x/configure/auth/index.md +++ b/app/gateway/2.6.x/configure/auth/index.md @@ -47,14 +47,14 @@ the corresponding Route: 1. **Create an example Service and a Route** - Issue the following cURL request to create `example-service` pointing to `httpbin.org`, which will echo + Issue the following cURL request to create `example-service` pointing to `httpbin.konghq.com`, which will echo the request: ```bash $ curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` Add a Route to the Service: diff --git a/app/gateway/2.6.x/configure/auth/oidc-curity.md b/app/gateway/2.6.x/configure/auth/oidc-curity.md index afa5b9341419..421817332f8c 100644 --- a/app/gateway/2.6.x/configure/auth/oidc-curity.md +++ b/app/gateway/2.6.x/configure/auth/oidc-curity.md @@ -32,7 +32,7 @@ Create a service that can be used to test the integration. curl -i -X POST http://localhost:8001/services/ \ --data name="httpbin" \ --data protocol="http" \ - --data url="http://httpbin.org" + --data url="https://httpbin.konghq.com" ``` #### Create a route @@ -95,7 +95,7 @@ Kong introspects the opaque token and receives the JWT in the response. The JWT "args": {}, "headers": { ... - "Host": "httpbin.org", + "Host": "httpbin.konghq.com", "Phantom-Token": "eyJraWQiOiIxN...", "X-Forwarded-Host": "localhost", "X-Forwarded-Path": "/httpbin/get", diff --git a/app/gateway/2.6.x/developer-portal/administration/application-registration/azure-oidc-config.md b/app/gateway/2.6.x/developer-portal/administration/application-registration/azure-oidc-config.md index 5b7871a12bae..70762c1770a8 100644 --- a/app/gateway/2.6.x/developer-portal/administration/application-registration/azure-oidc-config.md +++ b/app/gateway/2.6.x/developer-portal/administration/application-registration/azure-oidc-config.md @@ -33,7 +33,7 @@ for use with the Kong OIDC and Portal Application Registration plugins. ```bash $ curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ - --data 'url=https://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` {% endnavtab %} @@ -41,7 +41,7 @@ $ curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ ```bash $ http PUT :8001/services/httpbin-service-azure \ - url=https://httpbin.org/anything + url=https://httpbin.konghq.com/anything ``` {% endnavtab %} {% endnavtabs %} diff --git a/app/gateway/2.6.x/get-started/comprehensive/expose-services.md b/app/gateway/2.6.x/get-started/comprehensive/expose-services.md index a0e8155af91f..d36ae859bea1 100644 --- a/app/gateway/2.6.x/get-started/comprehensive/expose-services.md +++ b/app/gateway/2.6.x/get-started/comprehensive/expose-services.md @@ -58,7 +58,7 @@ click the **default** workspace. 2. Scroll down to **Services** and click **Add a Service**. 3. In the **Create Service** dialog, enter the name `example_service` and the -URL `http://httpbin.org`. +URL `https://httpbin.konghq.com`. 4. Click **Create**. @@ -73,14 +73,14 @@ The service is created, and the page automatically redirects back to the ```sh curl -i -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` {% endnavtab %} {% navtab HTTPie %} ```sh http POST :8001/services \ name=example_service \ - url='http://httpbin.org' + url='https://httpbin.konghq.com' ``` {% endnavtab %} {% endnavtabs %} @@ -111,12 +111,12 @@ http :8001/services/example_service 1. In the `kong.yaml` file you exported in [Prepare to Administer {{site.base_gateway}}](/gateway/{{page.release}}/get-started/comprehensive/prepare/#verify-the-kong-gateway-configuration), define a Service with the name `example_service` and the URL -`http://httpbin.org`: +`https://httpbin.konghq.com`: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -216,7 +216,7 @@ A `201` message indicates the Route was created successfully. ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -253,7 +253,7 @@ A `201` message indicates the Route was created successfully. ``` yaml services: - connect_timeout: 60000 - host: httpbin.org + host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -321,11 +321,11 @@ http :8000/mock/anything In this section, you: -* Added a Service named `example_service` with a URL of `http://httpbin.org`. +* Added a Service named `example_service` with a URL of `https://httpbin.konghq.com`. * Added a Route named `/mock`. * This means if an HTTP request is sent to the {{site.base_gateway}} node on port `8000`(the proxy port) and it matches route `/mock`, then that request is -sent to `http://httpbin.org`. +sent to `https://httpbin.konghq.com`. * Abstracted a backend/upstream service and put a route of your choice on the front end, which you can now give to clients to make requests. diff --git a/app/gateway/2.6.x/get-started/comprehensive/improve-performance.md b/app/gateway/2.6.x/get-started/comprehensive/improve-performance.md index 3878e27c67c1..23d1f59e948e 100644 --- a/app/gateway/2.6.x/get-started/comprehensive/improve-performance.md +++ b/app/gateway/2.6.x/get-started/comprehensive/improve-performance.md @@ -91,7 +91,7 @@ plugin with a timeout of 30 seconds for Content-Type ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.6.x/get-started/comprehensive/load-balancing.md b/app/gateway/2.6.x/get-started/comprehensive/load-balancing.md index 7dcf05530e84..b36c39acd2f7 100644 --- a/app/gateway/2.6.x/get-started/comprehensive/load-balancing.md +++ b/app/gateway/2.6.x/get-started/comprehensive/load-balancing.md @@ -10,7 +10,7 @@ If you are following the getting started workflow, make sure you have completed An **Upstream Object** refers to your upstream API/service sitting behind {{site.base_gateway}}, to which client requests are forwarded. In {{site.base_gateway}}, an Upstream Object represents a virtual hostname and can be used to health check, circuit break, and load balance incoming requests over multiple services (targets). -In this topic, you’ll configure the service created earlier (`example_service`) to point to an upstream instead of the host. For the purposes of our example, the upstream will point to two different targets, `httpbin.org` and `httpbun.com`. In a real environment, the upstream will point to the same service running on multiple systems. +In this topic, you’ll configure the service created earlier (`example_service`) to point to an upstream instead of the host. For the purposes of our example, the upstream will point to two different targets, `httpbin.konghq.com` and `httpbun.com`. In a real environment, the upstream will point to the same service running on multiple systems. Here is a diagram illustrating the setup: @@ -34,7 +34,7 @@ In this section, you will create an Upstream named `example_upstream` and add tw 5. Scroll down and click **Create**. 6. On the Upstreams page, find the new upstream service and click **View**. 7. Scroll down and click **New Target**. -8. In the target field, specify `httpbin.org` with port `80`, and click **Create**. +8. In the target field, specify `httpbin.konghq.com` with port `80`, and click **Create**. 9. Create another target, this time for `httpbun.com` with port `80`. Click **Create**. 10. Open the **Services** page. 11. Find your `example_service` and click **Edit**. @@ -81,7 +81,7 @@ http PATCH :8001/services/example_service \ Add two targets to the upstream, each with port 80: `httpbun.com:80` and -`httpbin.org:80`: +`httpbin.konghq.com:80`: {% navtabs codeblock %} @@ -91,7 +91,7 @@ curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ --data target='httpbun.com:80' curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ - --data target='httpbin.org:80' + --data target='httpbin.konghq.com:80' ``` {% endnavtab %} {% navtab HTTPie %} @@ -99,7 +99,7 @@ curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ http POST :8001/upstreams/example_upstream/targets \ target=httpbun.com:80 http POST :8001/upstreams/example_upstream/targets \ - target=httpbin.org:80 + target=httpbin.konghq.com:80 ``` {% endnavtab %} {% endnavtabs %} @@ -109,13 +109,13 @@ http POST :8001/upstreams/example_upstream/targets \ {% navtab Using decK (YAML) %} 1. In your `kong.yaml` file, create an Upstream with two targets, each with port -80: `httpbun.com:80` and `httpbin.org:80`. +80: `httpbun.com:80` and `httpbin.konghq.com:80`. ``` yaml upstreams: - name: example_upstream targets: - - target: httpbin.org:80 + - target: httpbin.konghq.com:80 weight: 100 - target: httpbun.com:80 weight: 100 @@ -157,7 +157,7 @@ Upstream: upstreams: - name: example_upstream targets: - - target: httpbin.org:80 + - target: httpbin.konghq.com:80 weight: 100 - target: httpbun.com:80 weight: 100 @@ -182,7 +182,7 @@ Upstream: {% endnavtab %} {% endnavtabs %} -You now have an Upstream with two targets, `httpbin.org` and `httpbun.com`, and a service pointing to that Upstream. +You now have an Upstream with two targets, `httpbin.konghq.com` and `httpbun.com`, and a service pointing to that Upstream. ## Validate the Upstream Services @@ -194,6 +194,6 @@ You now have an Upstream with two targets, `httpbin.org` and `httpbun.com`, and In this topic, you: * Created an Upstream object named `example_upstream` and pointed the Service `example_service` to it. -* Added two targets, `httpbin.org` and `httpbun.com`, with equal weight to the Upstream. +* Added two targets, `httpbin.konghq.com` and `httpbun.com`, with equal weight to the Upstream. If you have a {{site.konnect_product_name}} subscription, go on to [Managing Administrative Teams](/gateway/{{page.release}}/get-started/comprehensive/manage-teams/). diff --git a/app/gateway/2.6.x/get-started/comprehensive/protect-services.md b/app/gateway/2.6.x/get-started/comprehensive/protect-services.md index 5bef7f18a993..dd5a896c3be7 100644 --- a/app/gateway/2.6.x/get-started/comprehensive/protect-services.md +++ b/app/gateway/2.6.x/get-started/comprehensive/protect-services.md @@ -95,7 +95,7 @@ and in-memory, on the node: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.6.x/get-started/comprehensive/secure-services.md b/app/gateway/2.6.x/get-started/comprehensive/secure-services.md index 6425f8aa4306..b9ed3ec1b564 100644 --- a/app/gateway/2.6.x/get-started/comprehensive/secure-services.md +++ b/app/gateway/2.6.x/get-started/comprehensive/secure-services.md @@ -120,7 +120,7 @@ add a plugin section and enable the `key-auth` plugin: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -258,7 +258,7 @@ You now have a consumer with an API key provisioned to access the route. ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.6.x/get-started/quickstart/configuring-a-service.md b/app/gateway/2.6.x/get-started/quickstart/configuring-a-service.md index 992743a1d98b..a77e174f5225 100644 --- a/app/gateway/2.6.x/get-started/quickstart/configuring-a-service.md +++ b/app/gateway/2.6.x/get-started/quickstart/configuring-a-service.md @@ -31,7 +31,7 @@ to Kong: curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org' + --data 'url=https://httpbin.konghq.com' ``` You should receive a response similar to: @@ -42,7 +42,7 @@ Content-Type: application/json Connection: keep-alive { - "host":"httpbin.org", + "host":"httpbin.konghq.com", "created_at":1519130509, "connect_timeout":60000, "id":"92956672-f5ea-4e9a-b096-667bf55bc40c", @@ -129,4 +129,4 @@ Go to [Enabling Plugins ›][enabling-plugins] [API]: /gateway/{{page.release}}/admin-api [enabling-plugins]: /gateway/{{page.release}}/get-started/quickstart/enabling-plugins [proxy-port]: /gateway/{{page.release}}/reference/configuration/#nginx-section -[httpbin]: https://httpbin.org/ +[httpbin]: https://httpbin.konghq.com/ diff --git a/app/gateway/2.6.x/install-and-run/docker.md b/app/gateway/2.6.x/install-and-run/docker.md index 11397fca85b5..55c6943667e6 100644 --- a/app/gateway/2.6.x/install-and-run/docker.md +++ b/app/gateway/2.6.x/install-and-run/docker.md @@ -278,7 +278,7 @@ backed up by a Redis cluster). _transform: true services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.6.x/plugin-development/access-the-datastore.md b/app/gateway/2.6.x/plugin-development/access-the-datastore.md index 81e835f36805..cf62b5e015ab 100644 --- a/app/gateway/2.6.x/plugin-development/access-the-datastore.md +++ b/app/gateway/2.6.x/plugin-development/access-the-datastore.md @@ -52,7 +52,7 @@ For example, inserting a Service and a Plugin is as easy as: ```lua local inserted_service, err = kong.db.services:insert({ name = "httpbin", - url = "http://httpbin.org", + url = "https://httpbin.konghq.com", }) local inserted_plugin, err = kong.db.plugins:insert({ diff --git a/app/gateway/2.6.x/plugin-development/tests.md b/app/gateway/2.6.x/plugin-development/tests.md index f08a48f09134..46d4841937b9 100644 --- a/app/gateway/2.6.x/plugin-development/tests.md +++ b/app/gateway/2.6.x/plugin-development/tests.md @@ -43,7 +43,7 @@ for _, strategy in helpers.each_strategy() do setup(function() local service = bp.services:insert { name = "test-service", - host = "httpbin.org" + host = "httpbin.konghq.com" } bp.routes:insert({ diff --git a/app/gateway/2.6.x/reference/db-less-and-declarative-config.md b/app/gateway/2.6.x/reference/db-less-and-declarative-config.md index 9fb61194e4ee..501c9664507a 100644 --- a/app/gateway/2.6.x/reference/db-less-and-declarative-config.md +++ b/app/gateway/2.6.x/reference/db-less-and-declarative-config.md @@ -240,7 +240,7 @@ environment variable. ``` export KONG_DATABASE=off -export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.org","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' +export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.konghq.com","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' kong start ``` diff --git a/app/gateway/2.7.x/admin-api/rbac/examples.md b/app/gateway/2.7.x/admin-api/rbac/examples.md index fa7245cc2db2..6194a41da917 100644 --- a/app/gateway/2.7.x/admin-api/rbac/examples.md +++ b/app/gateway/2.7.x/admin-api/rbac/examples.md @@ -690,7 +690,7 @@ http :8001/teamA/services Kong-Admin-Token:n5bhjgv0speXp4N7rSUzUj8PGnl3F5eG "next": null, "data": [ { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "connect_timeout": 60000, "id": "3ed24101-19a7-4a0b-a10f-2f47bcd4ff43", @@ -856,7 +856,7 @@ http :8001/teamA/rbac/workspaces/ Kong-Admin-Token:sUnv6uBehM91amYRNWESsgX3HzqoB ``` http :8001/teamA/services/service1 Kong-Admin-Token:sUnv6uBehM91amYRNWESsgX3HzqoBnR5 { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "connect_timeout": 60000, "id": "3ed24101-19a7-4a0b-a10f-2f47bcd4ff43", diff --git a/app/gateway/2.7.x/configure/auth/index.md b/app/gateway/2.7.x/configure/auth/index.md index 18e80752fce8..65b96c918254 100644 --- a/app/gateway/2.7.x/configure/auth/index.md +++ b/app/gateway/2.7.x/configure/auth/index.md @@ -47,14 +47,14 @@ the corresponding Route: 1. **Create an example Service and a Route** - Issue the following cURL request to create `example-service` pointing to `httpbin.org`, which will echo + Issue the following cURL request to create `example-service` pointing to `httpbin.konghq.com`, which will echo the request: ```bash $ curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` Add a Route to the Service: diff --git a/app/gateway/2.7.x/configure/auth/oidc-curity.md b/app/gateway/2.7.x/configure/auth/oidc-curity.md index afa5b9341419..421817332f8c 100644 --- a/app/gateway/2.7.x/configure/auth/oidc-curity.md +++ b/app/gateway/2.7.x/configure/auth/oidc-curity.md @@ -32,7 +32,7 @@ Create a service that can be used to test the integration. curl -i -X POST http://localhost:8001/services/ \ --data name="httpbin" \ --data protocol="http" \ - --data url="http://httpbin.org" + --data url="https://httpbin.konghq.com" ``` #### Create a route @@ -95,7 +95,7 @@ Kong introspects the opaque token and receives the JWT in the response. The JWT "args": {}, "headers": { ... - "Host": "httpbin.org", + "Host": "httpbin.konghq.com", "Phantom-Token": "eyJraWQiOiIxN...", "X-Forwarded-Host": "localhost", "X-Forwarded-Path": "/httpbin/get", diff --git a/app/gateway/2.7.x/developer-portal/administration/application-registration/azure-oidc-config.md b/app/gateway/2.7.x/developer-portal/administration/application-registration/azure-oidc-config.md index 1dbc6c242439..12fd9b4ac346 100644 --- a/app/gateway/2.7.x/developer-portal/administration/application-registration/azure-oidc-config.md +++ b/app/gateway/2.7.x/developer-portal/administration/application-registration/azure-oidc-config.md @@ -29,7 +29,7 @@ for use with the Kong OIDC and Portal Application Registration plugins. ```bash curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ - --data 'url=https://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` {% endnavtab %} @@ -37,7 +37,7 @@ curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ ```bash http PUT :8001/services/httpbin-service-azure \ - url=https://httpbin.org/anything + url=https://httpbin.konghq.com/anything ``` {% endnavtab %} {% endnavtabs %} diff --git a/app/gateway/2.7.x/get-started/comprehensive/expose-services.md b/app/gateway/2.7.x/get-started/comprehensive/expose-services.md index a0e8155af91f..d36ae859bea1 100644 --- a/app/gateway/2.7.x/get-started/comprehensive/expose-services.md +++ b/app/gateway/2.7.x/get-started/comprehensive/expose-services.md @@ -58,7 +58,7 @@ click the **default** workspace. 2. Scroll down to **Services** and click **Add a Service**. 3. In the **Create Service** dialog, enter the name `example_service` and the -URL `http://httpbin.org`. +URL `https://httpbin.konghq.com`. 4. Click **Create**. @@ -73,14 +73,14 @@ The service is created, and the page automatically redirects back to the ```sh curl -i -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` {% endnavtab %} {% navtab HTTPie %} ```sh http POST :8001/services \ name=example_service \ - url='http://httpbin.org' + url='https://httpbin.konghq.com' ``` {% endnavtab %} {% endnavtabs %} @@ -111,12 +111,12 @@ http :8001/services/example_service 1. In the `kong.yaml` file you exported in [Prepare to Administer {{site.base_gateway}}](/gateway/{{page.release}}/get-started/comprehensive/prepare/#verify-the-kong-gateway-configuration), define a Service with the name `example_service` and the URL -`http://httpbin.org`: +`https://httpbin.konghq.com`: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -216,7 +216,7 @@ A `201` message indicates the Route was created successfully. ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -253,7 +253,7 @@ A `201` message indicates the Route was created successfully. ``` yaml services: - connect_timeout: 60000 - host: httpbin.org + host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -321,11 +321,11 @@ http :8000/mock/anything In this section, you: -* Added a Service named `example_service` with a URL of `http://httpbin.org`. +* Added a Service named `example_service` with a URL of `https://httpbin.konghq.com`. * Added a Route named `/mock`. * This means if an HTTP request is sent to the {{site.base_gateway}} node on port `8000`(the proxy port) and it matches route `/mock`, then that request is -sent to `http://httpbin.org`. +sent to `https://httpbin.konghq.com`. * Abstracted a backend/upstream service and put a route of your choice on the front end, which you can now give to clients to make requests. diff --git a/app/gateway/2.7.x/get-started/comprehensive/improve-performance.md b/app/gateway/2.7.x/get-started/comprehensive/improve-performance.md index 3878e27c67c1..23d1f59e948e 100644 --- a/app/gateway/2.7.x/get-started/comprehensive/improve-performance.md +++ b/app/gateway/2.7.x/get-started/comprehensive/improve-performance.md @@ -91,7 +91,7 @@ plugin with a timeout of 30 seconds for Content-Type ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.7.x/get-started/comprehensive/load-balancing.md b/app/gateway/2.7.x/get-started/comprehensive/load-balancing.md index 7dcf05530e84..b36c39acd2f7 100644 --- a/app/gateway/2.7.x/get-started/comprehensive/load-balancing.md +++ b/app/gateway/2.7.x/get-started/comprehensive/load-balancing.md @@ -10,7 +10,7 @@ If you are following the getting started workflow, make sure you have completed An **Upstream Object** refers to your upstream API/service sitting behind {{site.base_gateway}}, to which client requests are forwarded. In {{site.base_gateway}}, an Upstream Object represents a virtual hostname and can be used to health check, circuit break, and load balance incoming requests over multiple services (targets). -In this topic, you’ll configure the service created earlier (`example_service`) to point to an upstream instead of the host. For the purposes of our example, the upstream will point to two different targets, `httpbin.org` and `httpbun.com`. In a real environment, the upstream will point to the same service running on multiple systems. +In this topic, you’ll configure the service created earlier (`example_service`) to point to an upstream instead of the host. For the purposes of our example, the upstream will point to two different targets, `httpbin.konghq.com` and `httpbun.com`. In a real environment, the upstream will point to the same service running on multiple systems. Here is a diagram illustrating the setup: @@ -34,7 +34,7 @@ In this section, you will create an Upstream named `example_upstream` and add tw 5. Scroll down and click **Create**. 6. On the Upstreams page, find the new upstream service and click **View**. 7. Scroll down and click **New Target**. -8. In the target field, specify `httpbin.org` with port `80`, and click **Create**. +8. In the target field, specify `httpbin.konghq.com` with port `80`, and click **Create**. 9. Create another target, this time for `httpbun.com` with port `80`. Click **Create**. 10. Open the **Services** page. 11. Find your `example_service` and click **Edit**. @@ -81,7 +81,7 @@ http PATCH :8001/services/example_service \ Add two targets to the upstream, each with port 80: `httpbun.com:80` and -`httpbin.org:80`: +`httpbin.konghq.com:80`: {% navtabs codeblock %} @@ -91,7 +91,7 @@ curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ --data target='httpbun.com:80' curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ - --data target='httpbin.org:80' + --data target='httpbin.konghq.com:80' ``` {% endnavtab %} {% navtab HTTPie %} @@ -99,7 +99,7 @@ curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ http POST :8001/upstreams/example_upstream/targets \ target=httpbun.com:80 http POST :8001/upstreams/example_upstream/targets \ - target=httpbin.org:80 + target=httpbin.konghq.com:80 ``` {% endnavtab %} {% endnavtabs %} @@ -109,13 +109,13 @@ http POST :8001/upstreams/example_upstream/targets \ {% navtab Using decK (YAML) %} 1. In your `kong.yaml` file, create an Upstream with two targets, each with port -80: `httpbun.com:80` and `httpbin.org:80`. +80: `httpbun.com:80` and `httpbin.konghq.com:80`. ``` yaml upstreams: - name: example_upstream targets: - - target: httpbin.org:80 + - target: httpbin.konghq.com:80 weight: 100 - target: httpbun.com:80 weight: 100 @@ -157,7 +157,7 @@ Upstream: upstreams: - name: example_upstream targets: - - target: httpbin.org:80 + - target: httpbin.konghq.com:80 weight: 100 - target: httpbun.com:80 weight: 100 @@ -182,7 +182,7 @@ Upstream: {% endnavtab %} {% endnavtabs %} -You now have an Upstream with two targets, `httpbin.org` and `httpbun.com`, and a service pointing to that Upstream. +You now have an Upstream with two targets, `httpbin.konghq.com` and `httpbun.com`, and a service pointing to that Upstream. ## Validate the Upstream Services @@ -194,6 +194,6 @@ You now have an Upstream with two targets, `httpbin.org` and `httpbun.com`, and In this topic, you: * Created an Upstream object named `example_upstream` and pointed the Service `example_service` to it. -* Added two targets, `httpbin.org` and `httpbun.com`, with equal weight to the Upstream. +* Added two targets, `httpbin.konghq.com` and `httpbun.com`, with equal weight to the Upstream. If you have a {{site.konnect_product_name}} subscription, go on to [Managing Administrative Teams](/gateway/{{page.release}}/get-started/comprehensive/manage-teams/). diff --git a/app/gateway/2.7.x/get-started/comprehensive/protect-services.md b/app/gateway/2.7.x/get-started/comprehensive/protect-services.md index 5bef7f18a993..dd5a896c3be7 100644 --- a/app/gateway/2.7.x/get-started/comprehensive/protect-services.md +++ b/app/gateway/2.7.x/get-started/comprehensive/protect-services.md @@ -95,7 +95,7 @@ and in-memory, on the node: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.7.x/get-started/comprehensive/secure-services.md b/app/gateway/2.7.x/get-started/comprehensive/secure-services.md index 6425f8aa4306..b9ed3ec1b564 100644 --- a/app/gateway/2.7.x/get-started/comprehensive/secure-services.md +++ b/app/gateway/2.7.x/get-started/comprehensive/secure-services.md @@ -120,7 +120,7 @@ add a plugin section and enable the `key-auth` plugin: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -258,7 +258,7 @@ You now have a consumer with an API key provisioned to access the route. ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.7.x/get-started/quickstart/configuring-a-service.md b/app/gateway/2.7.x/get-started/quickstart/configuring-a-service.md index 992743a1d98b..a77e174f5225 100644 --- a/app/gateway/2.7.x/get-started/quickstart/configuring-a-service.md +++ b/app/gateway/2.7.x/get-started/quickstart/configuring-a-service.md @@ -31,7 +31,7 @@ to Kong: curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org' + --data 'url=https://httpbin.konghq.com' ``` You should receive a response similar to: @@ -42,7 +42,7 @@ Content-Type: application/json Connection: keep-alive { - "host":"httpbin.org", + "host":"httpbin.konghq.com", "created_at":1519130509, "connect_timeout":60000, "id":"92956672-f5ea-4e9a-b096-667bf55bc40c", @@ -129,4 +129,4 @@ Go to [Enabling Plugins ›][enabling-plugins] [API]: /gateway/{{page.release}}/admin-api [enabling-plugins]: /gateway/{{page.release}}/get-started/quickstart/enabling-plugins [proxy-port]: /gateway/{{page.release}}/reference/configuration/#nginx-section -[httpbin]: https://httpbin.org/ +[httpbin]: https://httpbin.konghq.com/ diff --git a/app/gateway/2.7.x/install-and-run/docker.md b/app/gateway/2.7.x/install-and-run/docker.md index edcb82781574..b77c8b0a3115 100644 --- a/app/gateway/2.7.x/install-and-run/docker.md +++ b/app/gateway/2.7.x/install-and-run/docker.md @@ -280,7 +280,7 @@ backed up by a Redis cluster). _transform: true services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.7.x/plugin-development/access-the-datastore.md b/app/gateway/2.7.x/plugin-development/access-the-datastore.md index e4ce4813b6ef..4f3e013d18f3 100644 --- a/app/gateway/2.7.x/plugin-development/access-the-datastore.md +++ b/app/gateway/2.7.x/plugin-development/access-the-datastore.md @@ -54,7 +54,7 @@ For example, inserting a Service and a Plugin is as easy as: ```lua local inserted_service, err = kong.db.services:insert({ name = "httpbin", - url = "http://httpbin.org", + url = "https://httpbin.konghq.com", }) local inserted_plugin, err = kong.db.plugins:insert({ diff --git a/app/gateway/2.7.x/plugin-development/tests.md b/app/gateway/2.7.x/plugin-development/tests.md index f08a48f09134..46d4841937b9 100644 --- a/app/gateway/2.7.x/plugin-development/tests.md +++ b/app/gateway/2.7.x/plugin-development/tests.md @@ -43,7 +43,7 @@ for _, strategy in helpers.each_strategy() do setup(function() local service = bp.services:insert { name = "test-service", - host = "httpbin.org" + host = "httpbin.konghq.com" } bp.routes:insert({ diff --git a/app/gateway/2.7.x/reference/db-less-and-declarative-config.md b/app/gateway/2.7.x/reference/db-less-and-declarative-config.md index 9e8a9ef58cf3..7ad65476fa48 100644 --- a/app/gateway/2.7.x/reference/db-less-and-declarative-config.md +++ b/app/gateway/2.7.x/reference/db-less-and-declarative-config.md @@ -244,7 +244,7 @@ environment variable. ``` export KONG_DATABASE=off -export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.org","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' +export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.konghq.com","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' kong start ``` diff --git a/app/gateway/2.8.x/admin-api/developers/reference.md b/app/gateway/2.8.x/admin-api/developers/reference.md index 331c3ae1422a..e8d00ca90317 100644 --- a/app/gateway/2.8.x/admin-api/developers/reference.md +++ b/app/gateway/2.8.x/admin-api/developers/reference.md @@ -526,7 +526,7 @@ HTTP/1.1 200 OK }, "id": "5ff48aaf-3951-4c99-a636-3b682081705c", "name": "example_app", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644963627 }, { @@ -539,7 +539,7 @@ HTTP/1.1 200 OK }, "id": "94e0f633-e8fd-4647-a0cd-4c3015ff2722", "name": "example_app2", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644963657 } ], @@ -579,7 +579,7 @@ HTTP/1.1 200 OK }, "id": "ca0d62bd-4616-4b87-b947-43e33e5418f0", "name": "testapp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644965555 } ``` @@ -624,7 +624,7 @@ HTTP/1.1 201 Created }, "id": "ca0d62bd-4616-4b87-b947-43e33e5418f0", "name": "testapp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644965555 } ``` @@ -669,7 +669,7 @@ HTTP/1.1 200 OK }, "id": "5ff48aaf-3951-4c99-a636-3b682081705c", "name": "ExampleApp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1645575611 } ``` @@ -736,7 +736,7 @@ HTTP/1.1 200 OK }, "id": "645682ae-0be6-420a-bcf3-0e711a391546", "name": "testapp", - "redirect_uri": "http://httpbin.org", + "redirect_uri": "https://httpbin.konghq.com", "updated_at": 1644965487 }, "composite_id": "645682ae-0be6-420a-bcf3-0e711a391546_212a758a-810b-4226-9175-b1b44eecebec", @@ -1447,7 +1447,7 @@ HTTP/1.1 200 OK "id": "e22760bc-c6d4-4572-9814-132825286618", "name": "example_app", "redirect_uris": [ - "http://httpbin.org" + "https://httpbin.konghq.com" ] } ], @@ -1503,7 +1503,7 @@ HTTP/1.1 201 Created "id": "2dc8ee2a-ecfd-4ca5-a9c1-db371480e2cf", "name": "example_app", "redirect_uris": [ - "http://httpbin.org" + "https://httpbin.konghq.com" ] } ``` @@ -1541,7 +1541,7 @@ HTTP/1.1 200 OK "id": "e22760bc-c6d4-4572-9814-132825286618", "name": "example_app", "redirect_uris": [ - "http://httpbin.org" + "https://httpbin.konghq.com" ] } ``` diff --git a/app/gateway/2.8.x/admin-api/rbac/examples.md b/app/gateway/2.8.x/admin-api/rbac/examples.md index fa7245cc2db2..6194a41da917 100644 --- a/app/gateway/2.8.x/admin-api/rbac/examples.md +++ b/app/gateway/2.8.x/admin-api/rbac/examples.md @@ -690,7 +690,7 @@ http :8001/teamA/services Kong-Admin-Token:n5bhjgv0speXp4N7rSUzUj8PGnl3F5eG "next": null, "data": [ { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "connect_timeout": 60000, "id": "3ed24101-19a7-4a0b-a10f-2f47bcd4ff43", @@ -856,7 +856,7 @@ http :8001/teamA/rbac/workspaces/ Kong-Admin-Token:sUnv6uBehM91amYRNWESsgX3HzqoB ``` http :8001/teamA/services/service1 Kong-Admin-Token:sUnv6uBehM91amYRNWESsgX3HzqoBnR5 { - "host": "httpbin.org", + "host": "httpbin.konghq.com", "created_at": 1531066074, "connect_timeout": 60000, "id": "3ed24101-19a7-4a0b-a10f-2f47bcd4ff43", diff --git a/app/gateway/2.8.x/configure/auth/index.md b/app/gateway/2.8.x/configure/auth/index.md index 18e80752fce8..65b96c918254 100644 --- a/app/gateway/2.8.x/configure/auth/index.md +++ b/app/gateway/2.8.x/configure/auth/index.md @@ -47,14 +47,14 @@ the corresponding Route: 1. **Create an example Service and a Route** - Issue the following cURL request to create `example-service` pointing to `httpbin.org`, which will echo + Issue the following cURL request to create `example-service` pointing to `httpbin.konghq.com`, which will echo the request: ```bash $ curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` Add a Route to the Service: diff --git a/app/gateway/2.8.x/configure/auth/oidc-curity.md b/app/gateway/2.8.x/configure/auth/oidc-curity.md index 107a57eba114..1c9474015c31 100644 --- a/app/gateway/2.8.x/configure/auth/oidc-curity.md +++ b/app/gateway/2.8.x/configure/auth/oidc-curity.md @@ -32,7 +32,7 @@ Create a service that can be used to test the integration. curl -i -X POST http://localhost:8001/services/ \ --data name="httpbin" \ --data protocol="http" \ - --data url="http://httpbin.org" + --data url="https://httpbin.konghq.com" ``` #### Create a route @@ -95,7 +95,7 @@ Kong introspects the opaque token and receives the JWT in the response. The JWT "args": {}, "headers": { ... - "Host": "httpbin.org", + "Host": "httpbin.konghq.com", "Phantom-Token": "eyJraWQiOiIxN...", "X-Forwarded-Host": "localhost", "X-Forwarded-Path": "/httpbin/get", diff --git a/app/gateway/2.8.x/developer-portal/administration/application-registration/azure-oidc-config.md b/app/gateway/2.8.x/developer-portal/administration/application-registration/azure-oidc-config.md index 213c318130df..7cfe405927b9 100644 --- a/app/gateway/2.8.x/developer-portal/administration/application-registration/azure-oidc-config.md +++ b/app/gateway/2.8.x/developer-portal/administration/application-registration/azure-oidc-config.md @@ -29,7 +29,7 @@ for use with the Kong OIDC and Portal Application Registration plugins. ```bash curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ - --data 'url=https://httpbin.org/anything' + --data 'url=https://httpbin.konghq.com/anything' ``` {% endnavtab %} @@ -37,7 +37,7 @@ curl -i -X PUT http://localhost:8001/services/httpbin-service-azure \ ```bash http PUT :8001/services/httpbin-service-azure \ - url=https://httpbin.org/anything + url=https://httpbin.konghq.com/anything ``` {% endnavtab %} {% endnavtabs %} diff --git a/app/gateway/2.8.x/get-started/comprehensive/expose-services.md b/app/gateway/2.8.x/get-started/comprehensive/expose-services.md index 863b3292645c..491a3afca84f 100644 --- a/app/gateway/2.8.x/get-started/comprehensive/expose-services.md +++ b/app/gateway/2.8.x/get-started/comprehensive/expose-services.md @@ -58,7 +58,7 @@ click the **default** workspace. 2. Scroll down to **Services** and click **Add a Service**. 3. In the **Create Service** dialog, enter the name `example_service` and the -URL `http://httpbin.org`. +URL `https://httpbin.konghq.com`. 4. Click **Create**. @@ -73,14 +73,14 @@ The service is created, and the page automatically redirects back to the ```sh curl -i -X POST http://localhost:8001/services \ --data name=example_service \ - --data url='http://httpbin.org' + --data url='https://httpbin.konghq.com' ``` {% endnavtab %} {% navtab HTTPie %} ```sh http POST http://localhost:8001/services \ name=example_service \ - url='http://httpbin.org' + url='https://httpbin.konghq.com' ``` {% endnavtab %} {% endnavtabs %} @@ -111,12 +111,12 @@ http http://localhost:8001/services/example_service 1. In the `kong.yaml` file you exported in [Prepare to Administer {{site.base_gateway}}](/gateway/{{page.release}}/get-started/comprehensive/prepare/#verify-the-kong-gateway-configuration), define a Service with the name `example_service` and the URL -`http://httpbin.org`: +`https://httpbin.konghq.com`: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -216,7 +216,7 @@ A `201` message indicates the Route was created successfully. ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -253,7 +253,7 @@ A `201` message indicates the Route was created successfully. ``` yaml services: - connect_timeout: 60000 - host: httpbin.org + host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -301,11 +301,11 @@ From a web browser, navigate to `http://localhost:8000/mock/anything`. In this section, you: -* Added a Service named `example_service` with a URL of `http://httpbin.org`. +* Added a Service named `example_service` with a URL of `https://httpbin.konghq.com`. * Added a Route named `/mock`. * This means if an HTTP request is sent to the {{site.base_gateway}} node on port `8000`(the proxy port) and it matches route `/mock`, then that request is -sent to `http://httpbin.org`. +sent to `https://httpbin.konghq.com`. * Abstracted a backend/upstream service and put a route of your choice on the front end, which you can now give to clients to make requests. diff --git a/app/gateway/2.8.x/get-started/comprehensive/improve-performance.md b/app/gateway/2.8.x/get-started/comprehensive/improve-performance.md index 3878e27c67c1..23d1f59e948e 100644 --- a/app/gateway/2.8.x/get-started/comprehensive/improve-performance.md +++ b/app/gateway/2.8.x/get-started/comprehensive/improve-performance.md @@ -91,7 +91,7 @@ plugin with a timeout of 30 seconds for Content-Type ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.8.x/get-started/comprehensive/load-balancing.md b/app/gateway/2.8.x/get-started/comprehensive/load-balancing.md index d8265b028ba6..d8b5aa1a089e 100644 --- a/app/gateway/2.8.x/get-started/comprehensive/load-balancing.md +++ b/app/gateway/2.8.x/get-started/comprehensive/load-balancing.md @@ -10,7 +10,7 @@ If you are following the getting started workflow, make sure you have completed An **Upstream Object** refers to your upstream API/service sitting behind {{site.base_gateway}}, to which client requests are forwarded. In {{site.base_gateway}}, an Upstream Object represents a virtual hostname and can be used to health check, circuit break, and load balance incoming requests over multiple services (targets). -In this topic, you’ll configure the service created earlier (`example_service`) to point to an upstream instead of the host. For the purposes of our example, the upstream will point to two different targets, `httpbin.org` and `httpbun.com`. In a real environment, the upstream will point to the same service running on multiple systems. +In this topic, you’ll configure the service created earlier (`example_service`) to point to an upstream instead of the host. For the purposes of our example, the upstream will point to two different targets, `httpbin.konghq.com` and `httpbun.com`. In a real environment, the upstream will point to the same service running on multiple systems. Here is a diagram illustrating the setup: @@ -34,7 +34,7 @@ In this section, you will create an Upstream named `example_upstream` and add tw 5. Scroll down and click **Create**. 6. On the Upstreams page, find the new upstream service and click **View**. 7. Scroll down and click **New Target**. -8. In the target field, specify `httpbin.org` with port `80`, and click **Create**. +8. In the target field, specify `httpbin.konghq.com` with port `80`, and click **Create**. 9. Create another target, this time for `httpbun.com` with port `80`. Click **Create**. 10. Open the **Services** page. 11. Find your `example_service` and click **Edit**. @@ -81,7 +81,7 @@ http PATCH :8001/services/example_service \ Add two targets to the upstream, each with port 80: `httpbun.com:80` and -`httpbin.org:80`: +`httpbin.konghq.com:80`: {% navtabs codeblock %} @@ -91,7 +91,7 @@ curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ --data target='httpbun.com:80' curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ - --data target='httpbin.org:80' + --data target='httpbin.konghq.com:80' ``` {% endnavtab %} {% navtab HTTPie %} @@ -99,7 +99,7 @@ curl -X POST http://localhost:8001/upstreams/example_upstream/targets \ http POST :8001/upstreams/example_upstream/targets \ target=httpbun.com:80 http POST :8001/upstreams/example_upstream/targets \ - target=httpbin.org:80 + target=httpbin.konghq.com:80 ``` {% endnavtab %} {% endnavtabs %} @@ -109,13 +109,13 @@ http POST :8001/upstreams/example_upstream/targets \ {% navtab Using decK (YAML) %} 1. In your `kong.yaml` file, create an Upstream with two targets, each with port -80: `httpbun.com:80` and `httpbin.org:80`. +80: `httpbun.com:80` and `httpbin.konghq.com:80`. ``` yaml upstreams: - name: example_upstream targets: - - target: httpbin.org:80 + - target: httpbin.konghq.com:80 weight: 100 - target: httpbun.com:80 weight: 100 @@ -157,7 +157,7 @@ Upstream: upstreams: - name: example_upstream targets: - - target: httpbin.org:80 + - target: httpbin.konghq.com:80 weight: 100 - target: httpbun.com:80 weight: 100 @@ -182,7 +182,7 @@ Upstream: {% endnavtab %} {% endnavtabs %} -You now have an Upstream with two targets, `httpbin.org` and `httpbun.com`, and a service pointing to that Upstream. +You now have an Upstream with two targets, `httpbin.konghq.com` and `httpbun.com`, and a service pointing to that Upstream. ## Validate the Upstream Services @@ -194,6 +194,6 @@ You now have an Upstream with two targets, `httpbin.org` and `httpbun.com`, and In this topic, you: * Created an Upstream object named `example_upstream` and pointed the Service `example_service` to it. -* Added two targets, `httpbin.org` and `httpbun.com`, with equal weight to the Upstream. +* Added two targets, `httpbin.konghq.com` and `httpbun.com`, with equal weight to the Upstream. If you have a {{site.konnect_product_name}} subscription, go on to [Managing Administrative Teams](/gateway/{{page.release}}/get-started/comprehensive/manage-teams/). diff --git a/app/gateway/2.8.x/get-started/comprehensive/protect-services.md b/app/gateway/2.8.x/get-started/comprehensive/protect-services.md index 5bef7f18a993..dd5a896c3be7 100644 --- a/app/gateway/2.8.x/get-started/comprehensive/protect-services.md +++ b/app/gateway/2.8.x/get-started/comprehensive/protect-services.md @@ -95,7 +95,7 @@ and in-memory, on the node: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.8.x/get-started/comprehensive/secure-services.md b/app/gateway/2.8.x/get-started/comprehensive/secure-services.md index 6425f8aa4306..b9ed3ec1b564 100644 --- a/app/gateway/2.8.x/get-started/comprehensive/secure-services.md +++ b/app/gateway/2.8.x/get-started/comprehensive/secure-services.md @@ -120,7 +120,7 @@ add a plugin section and enable the `key-auth` plugin: ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http @@ -258,7 +258,7 @@ You now have a consumer with an API key provisioned to access the route. ``` yaml _format_version: "1.1" services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.8.x/get-started/quickstart/configuring-a-service.md b/app/gateway/2.8.x/get-started/quickstart/configuring-a-service.md index d00d454d4bd1..6f9a80e47a5e 100644 --- a/app/gateway/2.8.x/get-started/quickstart/configuring-a-service.md +++ b/app/gateway/2.8.x/get-started/quickstart/configuring-a-service.md @@ -25,13 +25,13 @@ You have installed and started {{site.base_gateway}}, either through the [Docker ## 1. Add a Service using the Admin API Issue the following `POST` request to add your first Service to Kong. -This instructs Kong to create a new Service named `example-service` which will accept traffic at `http://httpbin.org`. +This instructs Kong to create a new Service named `example-service` which will accept traffic at `https://httpbin.konghq.com`. ```bash curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=example-service' \ - --data 'url=http://httpbin.org' + --data 'url=https://httpbin.konghq.com' ``` You should receive a response similar to: @@ -42,7 +42,7 @@ Content-Type: application/json Connection: keep-alive { - "host":"httpbin.org", + "host":"httpbin.konghq.com", "created_at":1519130509, "connect_timeout":60000, "id":"92956672-f5ea-4e9a-b096-667bf55bc40c", @@ -125,4 +125,4 @@ Go to [Enabling Plugins ›][enabling-plugins] [API]: /gateway/{{page.release}}/admin-api [enabling-plugins]: /gateway/{{page.release}}/get-started/quickstart/enabling-plugins [proxy-port]: /gateway/{{page.release}}/reference/configuration/#nginx-section -[httpbin]: https://httpbin.org/ +[httpbin]: https://httpbin.konghq.com/ diff --git a/app/gateway/2.8.x/install-and-run/docker.md b/app/gateway/2.8.x/install-and-run/docker.md index 83746b998fff..627a2e2c2562 100644 --- a/app/gateway/2.8.x/install-and-run/docker.md +++ b/app/gateway/2.8.x/install-and-run/docker.md @@ -288,7 +288,7 @@ backed up by a Redis cluster). _transform: true services: - - host: httpbin.org + - host: httpbin.konghq.com name: example_service port: 80 protocol: http diff --git a/app/gateway/2.8.x/plugin-development/access-the-datastore.md b/app/gateway/2.8.x/plugin-development/access-the-datastore.md index e4ce4813b6ef..4f3e013d18f3 100644 --- a/app/gateway/2.8.x/plugin-development/access-the-datastore.md +++ b/app/gateway/2.8.x/plugin-development/access-the-datastore.md @@ -54,7 +54,7 @@ For example, inserting a Service and a Plugin is as easy as: ```lua local inserted_service, err = kong.db.services:insert({ name = "httpbin", - url = "http://httpbin.org", + url = "https://httpbin.konghq.com", }) local inserted_plugin, err = kong.db.plugins:insert({ diff --git a/app/gateway/2.8.x/plugin-development/tests.md b/app/gateway/2.8.x/plugin-development/tests.md index f08a48f09134..46d4841937b9 100644 --- a/app/gateway/2.8.x/plugin-development/tests.md +++ b/app/gateway/2.8.x/plugin-development/tests.md @@ -43,7 +43,7 @@ for _, strategy in helpers.each_strategy() do setup(function() local service = bp.services:insert { name = "test-service", - host = "httpbin.org" + host = "httpbin.konghq.com" } bp.routes:insert({ diff --git a/app/gateway/2.8.x/reference/db-less-and-declarative-config.md b/app/gateway/2.8.x/reference/db-less-and-declarative-config.md index 5951262dccdb..ff9659b0ef6b 100644 --- a/app/gateway/2.8.x/reference/db-less-and-declarative-config.md +++ b/app/gateway/2.8.x/reference/db-less-and-declarative-config.md @@ -244,7 +244,7 @@ environment variable. ``` export KONG_DATABASE=off -export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.org","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' +export KONG_DECLARATIVE_CONFIG_STRING='{"_format_version":"1.1", "services":[{"host":"httpbin.konghq.com","port":443,"protocol":"https", "routes":[{"paths":["/"]}]}],"plugins":[{"name":"rate-limiting", "config":{"policy":"local","limit_by":"ip","minute":3}}]}' kong start ``` diff --git a/app/konnect/dev-portal/access-and-approval/manage-teams.md b/app/konnect/dev-portal/access-and-approval/manage-teams.md index b5c19904dff2..4c02a584a815 100644 --- a/app/konnect/dev-portal/access-and-approval/manage-teams.md +++ b/app/konnect/dev-portal/access-and-approval/manage-teams.md @@ -46,7 +46,7 @@ In {% konnect_icon runtimes %} [**Gateway Manager**](https://cloud.konghq.com/us 1. Select **Gateway Services** from the side navigation bar, then **New Gateway Service**. 1. From the **Add a Gateway Service** dialog, enter the following to create a new service: * **Name:** `pizza_ordering` - * **Upstream URL:** `http://httpbin.org` + * **Upstream URL:** `https://httpbin.konghq.com` * Use the defaults for the remaining fields. 1. Click **Save**. 1. To create an API product for your service, navigate to **API Products** in the sidebar, click **Add API Product** and enter `Pizza Ordering` in the **Product Name** field. @@ -74,7 +74,7 @@ The {{site.konnect_short_name}} API uses [Personal Access Token (PAT)](/konnect/ --header 'accept: application/json' \ --data '{ "name": "pizza_ordering", - "host": "httpbin.org", + "host": "httpbin.konghq.com", "path": "/pizza_ordering" }' ``` @@ -87,7 +87,7 @@ The {{site.konnect_short_name}} API uses [Personal Access Token (PAT)](/konnect/ "connect_timeout": 60000, "created_at": 1692885974, "enabled": true, - "host": "httpbin.org", + "host": "httpbin.konghq.com", "id": "06acc4f4-c6d8-4daf-bef6-79866e88ca86", "name": "pizza_ordering", "path": "/pizza_ordering", diff --git a/app/konnect/gateway-manager/backup-restore.md b/app/konnect/gateway-manager/backup-restore.md index d7ca4509f0d4..0ca1dcf3ea6a 100644 --- a/app/konnect/gateway-manager/backup-restore.md +++ b/app/konnect/gateway-manager/backup-restore.md @@ -45,7 +45,7 @@ consumers: - username: example-user2 services: - connect_timeout: 60000 - host: httpbin.org + host: httpbin.konghq.com name: MyService tags: - _KonnectService:example_service diff --git a/app/konnect/gateway-manager/control-plane-groups/how-to.md b/app/konnect/gateway-manager/control-plane-groups/how-to.md index c374d3231ce1..b1952054819d 100644 --- a/app/konnect/gateway-manager/control-plane-groups/how-to.md +++ b/app/konnect/gateway-manager/control-plane-groups/how-to.md @@ -193,7 +193,7 @@ Create a service and route in `CP1`. This will let you test the connection betwe 1. Click the **New Gateway Service** button and set up the service. For this example, you can use the following values: * Name: `example_service` - * Host: `httpbin.org` + * Host: `httpbin.konghq.com` 1. Next, create a route. From the side menu, open **Routes**. 1. Click the **New Route** button and set up the route. For this example, you can enter `/mock` in the paths field. @@ -270,7 +270,7 @@ For this example, you can use the following values: curl -i -X POST https://{region}.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/services \ -H "Authorization: Bearer " \ --data "name=example_service" \ - --data "host=httpbin.org" + --data "host=httpbin.konghq.com" ``` ```sh diff --git a/app/konnect/gateway-manager/declarative-config.md b/app/konnect/gateway-manager/declarative-config.md index 4fb910f05dc7..370fea730b8f 100644 --- a/app/konnect/gateway-manager/declarative-config.md +++ b/app/konnect/gateway-manager/declarative-config.md @@ -117,7 +117,7 @@ For this example, let's add a new service. control_plane_name: default services: - name: MyService - host: httpbin.org + host: httpbin.konghq.com port: 80 protocol: http routes: @@ -134,7 +134,7 @@ For this example, let's add a new service. - apikey ``` - This snippet defines a service named `MyService` pointing to `httpbin.org`. + This snippet defines a service named `MyService` pointing to `httpbin.konghq.com`. The service has one version, and the version gets implemented with the route `/mock`, which means that you can access the service by appending this route to your proxy URL. @@ -253,7 +253,7 @@ header: -H 'apikey: {API_KEY}' ``` -If successful, you should see the homepage for `httpbin.org`. On the Service +If successful, you should see the homepage for `httpbin.konghq.com`. On the Service Version overview page, you’ll see a record for status code `200`. If you try to access the route without a key, you'll get an authorization error: diff --git a/app/konnect/getting-started/add-api.md b/app/konnect/getting-started/add-api.md index acbe7c6dd3c7..ecbdf577b792 100644 --- a/app/konnect/getting-started/add-api.md +++ b/app/konnect/getting-started/add-api.md @@ -41,7 +41,7 @@ In this guide, you will build on your Konnect environment by adding your own API For example, you can use `example_service`, `ExampleService`, `Example-Service`. However, `Example Service` is invalid. - 1. In the **Upstream URL** field, enter `http://httpbin.org`. + 1. In the **Upstream URL** field, enter `https://httpbin.konghq.com`. 1. Use the defaults for the remaining fields. @@ -80,7 +80,7 @@ The {{site.konnect_short_name}} API uses [Personal Access Token (PAT)](/konnect/ --header 'accept: application/json' \ --data '{ "name": "my_service", - "host": "httpbin.org", + "host": "httpbin.konghq.com", "path": "/mock" }' ``` @@ -101,7 +101,7 @@ The {{site.konnect_short_name}} API uses [Personal Access Token (PAT)](/konnect/ --data '{ "name": "my_route", "hosts": [ - "httpbin.org" + "httpbin.konghq.com" ], "paths": [ "/mock" @@ -133,7 +133,7 @@ you just set. The final URL should look something like this: http://localhost:8000/mock ``` -If successful, you should see the homepage for `httpbin.org`. In the Gateway Manager you will now see a **200** responses recorded in the **Analytics** tab. +If successful, you should see the homepage for `httpbin.konghq.com`. In the Gateway Manager you will now see a **200** responses recorded in the **Analytics** tab. And that's it! You have your first service set up, running, and routing traffic proxied through a {{site.base_gateway}} data plane node. diff --git a/app/konnect/reference/terraform.md b/app/konnect/reference/terraform.md index fba00cb190a1..a2c56805e7e3 100644 --- a/app/konnect/reference/terraform.md +++ b/app/konnect/reference/terraform.md @@ -46,7 +46,7 @@ resource "konnect_gateway_control_plane" "tfdemo" { resource "konnect_gateway_service" "httpbin" { name = "HTTPBin" protocol = "https" - host = "httpbin.org" + host = "httpbin.konghq.com" port = 443 path = "/" control_plane_id = konnect_gateway_control_plane.tfdemo.id From ed1aedd11b65b3e3e5405e7d6581aca2e732b3f9 Mon Sep 17 00:00:00 2001 From: Lucie Milan Date: Wed, 2 Oct 2024 10:26:31 +0200 Subject: [PATCH 2/3] fixed vale issue --- app/konnect/gateway-manager/control-plane-groups/how-to.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/konnect/gateway-manager/control-plane-groups/how-to.md b/app/konnect/gateway-manager/control-plane-groups/how-to.md index b1952054819d..ff34ffd01b6f 100644 --- a/app/konnect/gateway-manager/control-plane-groups/how-to.md +++ b/app/konnect/gateway-manager/control-plane-groups/how-to.md @@ -28,7 +28,7 @@ If you already have some standard control planes in your org that you want to ad 1. From the navigation menu, open {% konnect_icon runtimes %} **Gateway Manager**. 1. Click the **New Control Plane** button and select **{{site.base_gateway}}**. - Kong Ingress Controller control planes can't be part of control plane groups. One control plane group cannot be a member of another control plane group. + {{site.kic_product_name}} control planes can't be part of control plane groups. One control plane group cannot be a member of another control plane group. 1. Set up your control plane and save. For the purpose of this example, its name will be CP1. 1. Create another {{site.base_gateway}} control plane, this time calling it CP2. From d3526cc82ba6a67e42fb9442787ae7558ac28969 Mon Sep 17 00:00:00 2001 From: Lucie Milan Date: Wed, 2 Oct 2024 11:06:29 +0200 Subject: [PATCH 3/3] remove links to deleted images --- app/_src/gateway/install/docker/index.md | 2 +- app/gateway/2.6.x/configure/auth/oidc-curity.md | 4 ---- app/gateway/2.7.x/configure/auth/oidc-curity.md | 4 ---- app/gateway/2.8.x/configure/auth/oidc-curity.md | 4 ---- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/_src/gateway/install/docker/index.md b/app/_src/gateway/install/docker/index.md index f30a40989b48..0156a72a4e2b 100644 --- a/app/_src/gateway/install/docker/index.md +++ b/app/_src/gateway/install/docker/index.md @@ -560,7 +560,7 @@ docker run --read-only -d --name kong-dbless \ For troubleshooting license issues, see: * [Deployment options for licenses](/gateway/{{page.release}}/licenses/deploy/) -* [`/licenses` API reference](/gateway/{{page.release}}/admin-api/licenses/reference/) +* [`/licenses` API reference](/gateway/api/admin-ee/latest/#/licenses) * [`/licenses` API examples](/gateway/{{page.release}}/licenses/examples/) If you did not receive a `200 OK` status code or need assistance completing diff --git a/app/gateway/2.6.x/configure/auth/oidc-curity.md b/app/gateway/2.6.x/configure/auth/oidc-curity.md index 421817332f8c..99d50d2c677d 100644 --- a/app/gateway/2.6.x/configure/auth/oidc-curity.md +++ b/app/gateway/2.6.x/configure/auth/oidc-curity.md @@ -161,8 +161,6 @@ Below is an example configuration object that is used to configure the OIDC plug } ``` -![Enable OIDC in Kong Dev Portal](/assets/images/products/gateway/dev-portal/kong-dev-portal.png) - ### Curity Authentication Action An Authentication Action to automatically provision the user to the Kong Developer Portal is available in the Curity GitHub repository. Using the Action is not mandatory as the user could be provisioned in other ways, such as manually through the Kong Developer portal login page. However, using the Authentication Action would streamline the user flow since the Action takes the user's full name and the email from the Curity Authenticator and automatically provision that to the Kong Developer Portal using the exposed API. @@ -175,8 +173,6 @@ This Action is straightforward to configure. An HTTP Client is needed to communi The Action also configures the URL to the registration endpoint of the Kong Developer Portal. Here the scheme needs to match what's configured in the HTTP Client used. -![Kong Dev Portal User Provisioner](/assets/images/products/gateway/dev-portal/kong-dev-portal-action.png) - When the action is created, it can be assigned to the Authenticators used in the client configured in the Curity Identity Server as described above. #### Action to Resolve Additional User Information diff --git a/app/gateway/2.7.x/configure/auth/oidc-curity.md b/app/gateway/2.7.x/configure/auth/oidc-curity.md index 421817332f8c..99d50d2c677d 100644 --- a/app/gateway/2.7.x/configure/auth/oidc-curity.md +++ b/app/gateway/2.7.x/configure/auth/oidc-curity.md @@ -161,8 +161,6 @@ Below is an example configuration object that is used to configure the OIDC plug } ``` -![Enable OIDC in Kong Dev Portal](/assets/images/products/gateway/dev-portal/kong-dev-portal.png) - ### Curity Authentication Action An Authentication Action to automatically provision the user to the Kong Developer Portal is available in the Curity GitHub repository. Using the Action is not mandatory as the user could be provisioned in other ways, such as manually through the Kong Developer portal login page. However, using the Authentication Action would streamline the user flow since the Action takes the user's full name and the email from the Curity Authenticator and automatically provision that to the Kong Developer Portal using the exposed API. @@ -175,8 +173,6 @@ This Action is straightforward to configure. An HTTP Client is needed to communi The Action also configures the URL to the registration endpoint of the Kong Developer Portal. Here the scheme needs to match what's configured in the HTTP Client used. -![Kong Dev Portal User Provisioner](/assets/images/products/gateway/dev-portal/kong-dev-portal-action.png) - When the action is created, it can be assigned to the Authenticators used in the client configured in the Curity Identity Server as described above. #### Action to Resolve Additional User Information diff --git a/app/gateway/2.8.x/configure/auth/oidc-curity.md b/app/gateway/2.8.x/configure/auth/oidc-curity.md index 1c9474015c31..732b05200d4f 100644 --- a/app/gateway/2.8.x/configure/auth/oidc-curity.md +++ b/app/gateway/2.8.x/configure/auth/oidc-curity.md @@ -161,8 +161,6 @@ Below is an example configuration object that is used to configure the OIDC plug } ``` -![Enable OIDC in Kong Dev Portal](/assets/images/products/gateway/dev-portal/kong-dev-portal.png) - ### Curity Authentication Action An Authentication Action to automatically provision the user to the Kong Developer Portal is available in the Curity GitHub repository. Using the Action is not mandatory as the user could be provisioned in other ways, such as manually through the Kong Developer portal login page. However, using the Authentication Action would streamline the user flow since the Action takes the user's full name and the email from the Curity Authenticator and automatically provision that to the Kong Developer Portal using the exposed API. @@ -175,8 +173,6 @@ This Action is straightforward to configure. An HTTP Client is needed to communi The Action also configures the URL to the registration endpoint of the Kong Developer Portal. Here the scheme needs to match what's configured in the HTTP Client used. -![Kong Dev Portal User Provisioner](/assets/images/products/gateway/dev-portal/kong-dev-portal-action.png) - When the action is created, it can be assigned to the Authenticators used in the client configured in the Curity Identity Server as described above. #### Action to Resolve Additional User Information