Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APK 1.2.0] Update links to open new tabs when clicked #662

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
- port: 8080
targetPort: 8080
selector:
app: employee-app
---
Expand All @@ -28,4 +28,4 @@ spec:
- name: employee-service-container
image: sega1234/json-server-service:latest
ports:
- containerPort: 80
- containerPort: 8080
42 changes: 21 additions & 21 deletions en/docs/control-plane/apim-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ API Manager can be configured in both ways.

These are additional configuration to values.yaml file to provide control plane related configs to API Manager.

``` toml
configurations:
gatewayType: "APK"
```
configurations:
gatewayType: "APK"

publisher:
enablePortalConfigurationOnlyMode: true
publisher:
enablePortalConfigurationOnlyMode: true

gateway:
# -- APIM Gateway environments
environments:
- name: "Default"
type: "hybrid"
provider: "wso2"
gatewayType: "APK"
displayInApiConsole: true
description: "This is a hybrid gateway that handles both production and sandbox token traffic."
showAsTokenEndpointUrl: true
serviceName: "wso2am-gateway-service"
servicePort: 9443
wsHostname: "websocket.wso2.com"
httpHostname: "carbon.super.gw.wso2.com:9095"
websubHostname: "websub.wso2.com"
```
gateway:
# -- APIM Gateway environments
environments:
- name: "Default"
type: "hybrid"
provider: "wso2"
gatewayType: "APK"
displayInApiConsole: true
description: "This is a hybrid gateway that handles both production and sandbox token traffic."
showAsTokenEndpointUrl: true
serviceName: "wso2am-gateway-service"
servicePort: 9443
wsHostname: "websocket.wso2.com"
httpHostname: "carbon.super.gw.wso2.com:9095"
websubHostname: "websub.wso2.com"
```

### APK as a gateway to API Manager

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ Setup WSO2 API Manager 4.4.0 in K8s cluster using Helm Charts.
helm install <chart-name> <repository-name>/wso2am-cp --version <version-of-APIM> -f <path-to-values.yaml-file>
```

4. Install NGINX Ingress Controller. Please refer to the [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters) documentation for more information.
4. Install NGINX Ingress Controller. Please refer to the <a href="https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters" target="_blank">NGINX Ingress Controller</a> documentation for more information.


!!! Note
Please refer to the [Advance Configuration for APIM](../apim-deploy.md) for more information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Setup WSO2 API Manager 4.4.0 in K8s cluster using Helm Charts.
helm install <chart-name> <repository-name>/wso2am-cp --version <version-of-APIM> -f <path-to-values.yaml-file>
```

4. Install NGINX Ingress Controller. Please refer to the [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters) documentation for more information.
4. Install NGINX Ingress Controller. Please refer to the <a href="https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters" target="_blank">NGINX Ingress Controller</a> documentation for more information.

!!! Note
Please refer to the [Advance Configuration for APIM](../../../control-plane/apim-deploy/) for more information.
Expand Down
8 changes: 4 additions & 4 deletions en/docs/control-plane/start-apk-dp-to-cp-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ Setup WSO2 API Manager 4.4.0 in K8s cluster using Helm Charts.
helm install <chart-name> <repository-name>/wso2am-cp --version <version-of-APIM> -f <path-to-values.yaml-file>
```

4. Install NGINX Ingress Controller. Please refer to the [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters) documentation for more information.
4. Install NGINX Ingress Controller. Please refer to the <a href="https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters" target="_blank">NGINX Ingress Controller</a> documentation for more information.

!!! Note
Please refer to the [Advance Configuration for APIM](../../../control-plane/apim-deploy/) for more information.
Please refer to the <a href="../../control-plane/apim-deploy/" target="_blank">Advanced Configuration for APIM</a> for more information.

#### Setup WSO2 APK Dataplane 1.2.0

Expand Down Expand Up @@ -99,7 +99,7 @@ Setup WSO2 API Manager 4.4.0 in K8s cluster using Helm Charts.
```

!!! Note
Please refer to the [Advance Configuration for APK](../../../control-plane/apk-deploy) for more information.
Please refer to the <a href="../../control-plane/apim-deploy/" target="_blank">Advanced Configuration for APIM</a> for more information.


#### Setup WSO2 APIM-APK Agent 1.2.0
Expand Down Expand Up @@ -128,7 +128,7 @@ Setup WSO2 API Manager 4.4.0 in K8s cluster using Helm Charts.
```

!!! Note
Please refer to the [Advance Configuration for agent](../../../control-plane/apim-apk-agent-deploy) for more information.
Please refer to the <a href="../../control-plane/apim-apk-agent-deploy/" target="_blank">Advanced Configuration for Agent</a> for more information.

#### Verify the deployment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ type: "REST"
defaultVersion: true
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
verb: "GET"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A sample request mirror configuration is given below.
For this guide, it's best to use a webhook.site URL for both the production and request mirroring endpoints to view the duplicate requests. Replace the `WEBHOOK_URL` with a relevant webhook url from the site `https://webhook.site`. Ensure that you keep this webpage open to view the incoming requests.

```
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: false
scopes: []
Expand Down Expand Up @@ -40,7 +40,7 @@ endpointConfigurations:
production:
endpoint: `WEBHOOK_URL`
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: false
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Here, you can follow the steps in [Create an API](../../../get-started/quick-sta
A sample request redirection configuration is given below.

```
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: false
scopes: []
Expand Down Expand Up @@ -39,7 +39,7 @@ endpointConfigurations:
production:
endpoint: https://httpbin.org/anything
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: false
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ When deploying APIs add the configurations to the `apk-conf` file as shown in th
```
endpointConfigurations:
production:
endpoint: "http://backend-service.ns:443"
endpoint: "http://employee-service:8080"
resiliency:
circuitBreaker:
maxConnectionPools: 1000
Expand All @@ -67,7 +67,7 @@ type: "REST"
defaultVersion: true
endpointConfigurations:
production:
endpoint: "http://backend-service.ns:443"
endpoint: "http://employee-service:8080"
resiliency:
circuitBreaker:
maxConnectionPools: 1000
Expand All @@ -76,7 +76,7 @@ endpointConfigurations:
maxRequests: 75
maxRetries: 3
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type: "REST"
defaultVersion: true
endpointConfigurations:
production:
endpoint: "http://backend-service.ns:443"
endpoint: "http://employee-service:8080"
resiliency:
retryPolicy:
count: 3
Expand All @@ -66,7 +66,7 @@ endpointConfigurations:
- 501
- 502
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ type: "REST"
defaultVersion: true
endpointConfigurations:
production:
endpoint: "http://backend-service.ns:443"
endpoint: "http://employee-service:8080"
resiliency:
timeout:
downstreamRequestIdleTimeout: 45
upstreamResponseTimeout: 10
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ type: "REST"
defaultVersion: true
endpointConfigurations:
production:
endpoint: "https://httpbin.org"
endpoint: "http://employee-service:8080"
endpointSecurity:
enabled: true
securityType:
secretName: "backend-creds"
userNameKey: "username"
passwordKey: "password"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ rateLimit:
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -63,9 +63,9 @@ rateLimit:
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -128,9 +128,9 @@ Sample content before the modification is shown below.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -171,9 +171,9 @@ Sample content after the modification is shown below.
unit: "Minute"
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -244,9 +244,9 @@ Use the values provided in the table below in the body of your request.
unit: "Minute"
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -292,9 +292,9 @@ Sample content before the modification is shown below.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -332,9 +332,9 @@ Sample content after the modification is shown below.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -405,9 +405,9 @@ Use the values provided in the table below in the body of your request.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Sample content before the modification is shown below.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -69,9 +69,9 @@ Here, we have added a property named `definitionPath` with the new value `/docs`
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Sample content before the modification is shown below.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down Expand Up @@ -50,9 +50,9 @@ Here, we have added a property named `enableStore` with the value `true`.
defaultVersion: false
endpointConfigurations:
production:
endpoint: "https://run.mocky.io/v3/1327c339-354b-4080-8296-f6268365e67b"
endpoint: "http://employee-service:8080"
operations:
- target: "/employee"
- target: "/employees"
verb: "GET"
secured: true
scopes: []
Expand Down
4 changes: 2 additions & 2 deletions en/docs/get-started/quick-start-guide-as-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Setup WSO2 API Manager 4.4.0 in K8s cluster using Helm Charts.
helm install <chart-name> <repository-name>/wso2am-cp --version <version-of-APIM> -f <path-to-values.yaml-file>
```

4. Install NGINX Ingress Controller. Please refer to the [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters) documentation for more information.
4. Install NGINX Ingress Controller. Please refer to the <a href="https://kubernetes.github.io/ingress-nginx/deploy/#local-development-clusters" target="_blank">NGINX Ingress Controller</a> documentation for more information.

!!! Note
Please refer to the [Advance Configuration for APIM](../apim-deploy.md) for more information.
Please refer to the <a href="../../control-plane/apim-deploy/" target="_blank">Advanced Configuration for APIM</a> for more information.

### Setup WSO2 APK Dataplane 1.2.0

Expand Down
Loading