Skip to content

Commit

Permalink
fixing agent integration tests readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowleyRajapakse committed Apr 3, 2024
1 parent 95e0e4b commit 51a1968
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions test/apim-apk-agent-test/agent-helm-chart/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ dependencies:
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.10.1
digest: sha256:ec4c4f13caccd7a20912773027a411630546bcb6139744732d49806ce2514fc8
generated: "2024-01-22T12:10:42.822012+05:30"
digest: sha256:d1377472dfb3a62dccc58dd12757d029afa304c1f2ded3f5cc3052b308fb8c00
generated: "2024-04-03T21:00:00.612083+05:30"
20 changes: 5 additions & 15 deletions test/apim-apk-agent-test/cucumber-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,11 @@ To create a new feature, follow these steps:
sudo echo "$IP default.sandbox.gw.wso2.com" | sudo tee -a /etc/hosts
```

5. Go to the `test/apim-apk-agent-test/apim-cp-helm-chart` directory and run following commands to install the APIM CP component.

(Optional)If you are on a Mac, need to add following changes to values.yaml file in apim-cp-helm-chart directory.
```bash
runAsUser: 802
registry: "docker.io"
repository: "sampathrajapakse/wso2am"
digest: "sha256:9b269e0f3b9b23f48320d16235624acbbfa455aeda6592aa4d51631c85652c2a"
```
Then do the following command to deploy APIM CP component.

```bash
helm dependency build
helm install apim . -n apk
```
5. Run following commands to deploy the APIM CP component.

helm repo add wso2apim https://github.com/wso2/helm-apim/releases/download/cp-4.3.0-beta
helm repo update
helm install apim wso2apim/wso2am-cp --version 4.3.0-beta -f https://raw.githubusercontent.com/wso2/apk/main/helm-charts/sample/apim/cp/amd-values.yaml -n apk --debug --wait --timeout 5m0s

6. Port forward router-service to use localhost.

Expand Down

0 comments on commit 51a1968

Please sign in to comment.