From 594360a8d2494aab4ddf5df54766f16fc3a90d2a Mon Sep 17 00:00:00 2001 From: npamudika Date: Tue, 10 Mar 2020 13:59:54 +0530 Subject: [PATCH 1/2] Update README files --- README.md | 2 +- import-export-cli/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 75a99db5a..123653619 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # product-apim-tooling -### 1. [Import Export CLI](https://github.com/wso2/product-apim-tooling/tree/2.x/import-export-cli) +### 1. [Import Export CLI](https://github.com/wso2/product-apim-tooling/tree/master/import-export-cli) ### 2. [APIM Traffic Tool](https://github.com/wso2/product-apim-tooling/tree/master/apim-traffic-tool) diff --git a/import-export-cli/README.md b/import-export-cli/README.md index 4e7117a4d..968a63ed6 100644 --- a/import-export-cli/README.md +++ b/import-export-cli/README.md @@ -1,12 +1,12 @@ # CLI for Importing and Exporting APIs and Applications -## For WSO2 API Manager 2.6.0 +## For WSO2 API Manager 3.1.0 -Command Line tool for importing and exporting APIs/Applications between different API Environemnts +Command Line tool for importing and exporting APIs/Applications between different API Environments ## Getting Started - ### Setting up the development environment - 1. Install [Go 1.12.x](https://golang.org/dl) + 1. Install [Go 1.14](https://golang.org/dl) 2. Fork the [repository](https://github.com/wso2/product-apim-tooling) 3. Clone your fork into any directory 5. `cd` into cloned directory and then cd into `product-apim-tooling/import-export-cli` @@ -17,7 +17,7 @@ Command Line tool for importing and exporting APIs/Applications between differen - ### Building `cd` into `product-apim-tooling/import-export-cli` - Execute `./build.sh -t apictl.go -v 1.0.0 -f` to build for all platforms. + Execute `./build.sh -t apictl.go -v 3.1.0 -f` to build for all platforms. Created packages will be available at `build/target` directory From efa5d0247790cdf35ed3d6d8c299bde7ff3370aa Mon Sep 17 00:00:00 2001 From: npamudika Date: Tue, 10 Mar 2020 14:04:40 +0530 Subject: [PATCH 2/2] Update dependencies --- import-export-cli/go.mod | 8 ++++---- import-export-cli/go.sum | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/import-export-cli/go.mod b/import-export-cli/go.mod index 0c75d6798..111eb1014 100644 --- a/import-export-cli/go.mod +++ b/import-export-cli/go.mod @@ -2,7 +2,7 @@ go 1.12 require ( github.com/Jeffail/gabs v1.2.0 - github.com/cbroglie/mustache v1.0.1 + github.com/cbroglie/mustache v1.0.1 // indirect github.com/cpuguy83/go-md2man v1.0.10 // indirect github.com/getkin/kin-openapi v0.2.0 github.com/ghodss/yaml v1.0.0 @@ -10,7 +10,7 @@ require ( github.com/go-resty/resty v0.0.0-20171018191538-8b5e3f91fbea github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect github.com/hashicorp/go-multierror v1.0.0 - github.com/heroku/docker-registry-client v0.0.0-20190909225348-afc9e1acc3d5 + github.com/heroku/docker-registry-client v0.0.0-20190909225348-afc9e1acc3d5 // indirect github.com/magiconair/properties v1.7.6 github.com/mitchellh/go-homedir v1.1.0 github.com/mitchellh/mapstructure v1.1.2 @@ -20,9 +20,9 @@ require ( github.com/stretchr/testify v1.4.0 github.com/wso2/k8s-apim-operator v1.0.0-beta.0.20191016082144-698bca863b15 golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 - golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59 + golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59 // indirect gopkg.in/yaml.v2 v2.2.2 - k8s.io/apimachinery v0.0.0-20190913075813-344bcc0201c9 + k8s.io/apimachinery v0.0.0-20190913075813-344bcc0201c9 // indirect sigs.k8s.io/controller-runtime v0.2.1 // indirect ) diff --git a/import-export-cli/go.sum b/import-export-cli/go.sum index 8c5e6c436..ac5685cab 100644 --- a/import-export-cli/go.sum +++ b/import-export-cli/go.sum @@ -181,6 +181,7 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= github.com/magiconair/properties v0.0.0-20170902060319-8d7837e64d3c h1:BDr2SMw3gKp9Xyvp33plTgRPEkE6NralNG0JLuBgkiQ= github.com/magiconair/properties v0.0.0-20170902060319-8d7837e64d3c/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.7.6 h1:U+1DqNen04MdEPgFiIwdOUiqZ8qPa37xgogX/sd3+54= github.com/magiconair/properties v1.7.6/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -276,6 +277,7 @@ github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRci github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/timakin/bodyclose v0.0.0-20190721030226-87058b9bfcec/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= github.com/ultraware/funlen v0.0.1/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=