diff --git a/.gitignore b/.gitignore index c287e4b..5747a2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -tyk-git.exe +tyk-sync.exe tmp/ -pre/ \ No newline at end of file +pre/ diff --git a/cli-publisher/dashboard.go b/cli-publisher/dashboard.go index f59a8ba..7ad9a14 100644 --- a/cli-publisher/dashboard.go +++ b/cli-publisher/dashboard.go @@ -2,8 +2,8 @@ package cli_publisher import ( "fmt" - "github.com/TykTechnologies/tyk-git/clients/dashboard" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/dashboard" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" ) diff --git a/cli-publisher/gateway.go b/cli-publisher/gateway.go index 50384c0..2b12fd3 100644 --- a/cli-publisher/gateway.go +++ b/cli-publisher/gateway.go @@ -2,8 +2,8 @@ package cli_publisher import ( "errors" - "github.com/TykTechnologies/tyk-git/clients/gateway" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/gateway" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" ) diff --git a/cli-publisher/mock.go b/cli-publisher/mock.go index 6e540b6..1d749ff 100644 --- a/cli-publisher/mock.go +++ b/cli-publisher/mock.go @@ -2,7 +2,7 @@ package cli_publisher import ( "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" ) diff --git a/clients/dashboard/apis.go b/clients/dashboard/apis.go index a92134d..c54a2e0 100644 --- a/clients/dashboard/apis.go +++ b/clients/dashboard/apis.go @@ -2,7 +2,7 @@ package dashboard import ( "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" "github.com/levigross/grequests" "github.com/ongoingio/urljoin" diff --git a/clients/dashboard/certs.go b/clients/dashboard/certs.go index 67cd17a..fe4caaf 100644 --- a/clients/dashboard/certs.go +++ b/clients/dashboard/certs.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/ongoingio/urljoin" "io" "io/ioutil" diff --git a/clients/dashboard/policies.go b/clients/dashboard/policies.go index 98fb466..140580b 100644 --- a/clients/dashboard/policies.go +++ b/clients/dashboard/policies.go @@ -2,7 +2,7 @@ package dashboard import ( "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/kataras/go-errors" "github.com/levigross/grequests" "github.com/ongoingio/urljoin" diff --git a/clients/gateway/certs.go b/clients/gateway/certs.go index e7047cf..dce9cd8 100644 --- a/clients/gateway/certs.go +++ b/clients/gateway/certs.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "encoding/json" "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/ongoingio/urljoin" "io" "io/ioutil" diff --git a/clients/gateway/client.go b/clients/gateway/client.go index 890341b..2956720 100644 --- a/clients/gateway/client.go +++ b/clients/gateway/client.go @@ -3,7 +3,7 @@ package gateway import ( "errors" "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" "github.com/levigross/grequests" "github.com/ongoingio/urljoin" diff --git a/clients/interfaces/client.go b/clients/interfaces/client.go index fc90e5a..bcd20e0 100644 --- a/clients/interfaces/client.go +++ b/clients/interfaces/client.go @@ -1,7 +1,7 @@ package interfaces import ( - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" ) diff --git a/cmd/dump.go b/cmd/dump.go index ada649f..14a0679 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -4,9 +4,9 @@ import ( "fmt" "encoding/json" - "github.com/TykTechnologies/tyk-git/clients/dashboard" - "github.com/TykTechnologies/tyk-git/clients/objects" - "github.com/TykTechnologies/tyk-git/tyk-vcs" + "github.com/TykTechnologies/tyk-sync/clients/dashboard" + "github.com/TykTechnologies/tyk-sync/clients/objects" + "github.com/TykTechnologies/tyk-sync/tyk-vcs" "github.com/spf13/cobra" "io/ioutil" "os" diff --git a/cmd/root.go b/cmd/root.go index 5b8ed68..3dfaf6a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -7,7 +7,7 @@ func init() { } var RootCmd = &cobra.Command{ - Use: "tyk-git", + Use: "tyk-sync", Short: "Tyk Git is a tool to integrate Tyk Gateway with Git", Long: `A tool to use Tyk API Definitions or OAS (Swagger) files stored in Git (or potentially other VCS) with the Tyk API Management diff --git a/cmd/shared.go b/cmd/shared.go index 9c2c34a..aaa2086 100644 --- a/cmd/shared.go +++ b/cmd/shared.go @@ -3,9 +3,9 @@ package cmd import ( "errors" "fmt" - "github.com/TykTechnologies/tyk-git/cli-publisher" - "github.com/TykTechnologies/tyk-git/clients/objects" - "github.com/TykTechnologies/tyk-git/tyk-vcs" + "github.com/TykTechnologies/tyk-sync/cli-publisher" + "github.com/TykTechnologies/tyk-sync/clients/objects" + "github.com/TykTechnologies/tyk-sync/tyk-vcs" "github.com/TykTechnologies/tyk/apidef" "github.com/spf13/cobra" "os" diff --git a/main.go b/main.go index 53cb02b..064438d 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/TykTechnologies/tyk-git/cmd" + "github.com/TykTechnologies/tyk-sync/cmd" "os" ) diff --git a/tyk-vcs/getter.go b/tyk-vcs/getter.go index c492c63..73a270e 100644 --- a/tyk-vcs/getter.go +++ b/tyk-vcs/getter.go @@ -4,8 +4,8 @@ import ( "encoding/json" "errors" "fmt" - "github.com/TykTechnologies/tyk-git/clients/objects" - "github.com/TykTechnologies/tyk-git/tyk-swagger" + "github.com/TykTechnologies/tyk-sync/clients/objects" + "github.com/TykTechnologies/tyk-sync/tyk-swagger" "github.com/TykTechnologies/tyk/apidef" "gopkg.in/mgo.v2/bson" "gopkg.in/src-d/go-billy.v3" diff --git a/tyk-vcs/publisher.go b/tyk-vcs/publisher.go index 3323f21..ee3db6a 100644 --- a/tyk-vcs/publisher.go +++ b/tyk-vcs/publisher.go @@ -1,7 +1,7 @@ package tyk_vcs import ( - "github.com/TykTechnologies/tyk-git/clients/objects" + "github.com/TykTechnologies/tyk-sync/clients/objects" "github.com/TykTechnologies/tyk/apidef" )