Skip to content

Commit

Permalink
Merge pull request #987 from imsuneth/master
Browse files Browse the repository at this point in the history
Change APICTL version to 4.2.1
  • Loading branch information
npamudika authored Jul 21, 2023
2 parents ff3b607 + de31125 commit d8347c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions import-export-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Command Line tool for importing and exporting APIs/Applications/API Products in
- ### Building
`cd` into `product-apim-tooling/import-export-cli`

Execute `./build.sh -t apictl.go -v 4.2.0 -f` to build for all platforms.
Execute `./build.sh -t apictl.go -v 4.2.1 -f` to build for all platforms.

Created packages will be available at `build/target` directory

Expand Down Expand Up @@ -69,11 +69,11 @@ Command Line tool for importing and exporting APIs/Applications/API Products in

Usage: `docker build --build-arg version=<version> -t apictl:<version> .`

Example: `docker build --build-arg version=4.2.0.1 -t apictl:4.2.0.1 .`
Example: `docker build --build-arg version=4.2.1.1 -t apictl:4.2.1.1 .`

- ### Using the Docker Image

`docker run -it -v $(pwd):/git -v ~/.wso2apictl:/root/.wso2apictl -v ~/.wso2apictl.local:/root/.wso2apictl.local apictl:4.2.0.1 <apictl command>`
`docker run -it -v $(pwd):/git -v ~/.wso2apictl:/root/.wso2apictl -v ~/.wso2apictl.local:/root/.wso2apictl.local apictl:4.2.1.1 <apictl command>`

***

Expand Down
10 changes: 5 additions & 5 deletions import-export-cli/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ devops-rest-api-version: v0
The version of the apictl that is being integration tested.

```
apictl-version: 4.2.0
apictl-version: 4.2.1
```


Expand Down Expand Up @@ -95,7 +95,7 @@ apictl-version: 4.2.0
```
go test -p 1 -timeout 0 -archive <apictl archive name>
example: go test -p 1 -timeout 0 -archive apictl-4.2.0-linux-x64.tar.gz
example: go test -p 1 -timeout 0 -archive apictl-4.2.1-linux-x64.tar.gz
```
Expand All @@ -104,23 +104,23 @@ example: go test -p 1 -timeout 0 -archive apictl-4.2.0-linux-x64.tar.gz
```
go test -p 1 -timeout 0 -archive <apictl archive name> -run <Test function name or partial name regex>
example: go test -p 1 -timeout 0 -archive apictl-4.2.0-linux-x64.tar.gz -run TestVersion
example: go test -p 1 -timeout 0 -archive apictl-4.2.1-linux-x64.tar.gz -run TestVersion
```

- Print verbose output

```
go test -p 1 -timeout 0 -archive <apictl archive name> -v
example: go test -p 1 -timeout 0 -archive apictl-4.2.0-linux-x64.tar.gz -v
example: go test -p 1 -timeout 0 -archive apictl-4.2.1-linux-x64.tar.gz -v
```

- Print http transport request/responses

```
go test -p 1 -timeout 0 -archive <apictl archive name> -logtransport
example: go test -p 1 -timeout 0 -archive apictl-4.2.0-linux-x64.tar.gz -logtransport
example: go test -p 1 -timeout 0 -archive apictl-4.2.1-linux-x64.tar.gz -logtransport
```

---
Expand Down
8 changes: 4 additions & 4 deletions import-export-cli/mi/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
```
go test -archive <apictl archive name>
example: go test -archive apictl-4.2.0-linux-x64.tar.gz
example: go test -archive apictl-4.2.1-linux-x64.tar.gz
```

Expand All @@ -71,21 +71,21 @@ example: go test -archive apictl-4.2.0-linux-x64.tar.gz
```
go test -archive <apictl archive name> -test.run <Test function name or partial name regex>
example: go test -archive apictl-4.2.0-linux-x64.tar.gz -test.run TestGetConnectors
example: go test -archive apictl-4.2.1-linux-x64.tar.gz -test.run TestGetConnectors
```

- Print verbose output

```
go test -archive <apictl archive name> -test.v
example: go test -archive apictl-4.2.0-linux-x64.tar.gz -test.v
example: go test -archive apictl-4.2.1-linux-x64.tar.gz -test.v
```

- Print http transport request/responses

```
go test -archive <apictl archive name> -logtransport
example: go test -archive apictl-4.2.0-linux-x64.tar.gz -logtransport
example: go test -archive apictl-4.2.1-linux-x64.tar.gz -logtransport
```

0 comments on commit d8347c0

Please sign in to comment.