From a1350c6d558eeb039343fecf95a21c71e8932c19 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Thu, 12 Oct 2017 17:07:43 -0700 Subject: [PATCH] out with the old (address) in with the new (address) --- README.md | 2 +- container.go | 2 +- docs/getting-started.md | 12 ++++++------ docs/leveraging-the-library.md | 2 +- docs/using-the-sample-client.md | 8 ++++---- examples/client.go | 6 +++--- examples/jsonClient.go | 2 +- job.go | 2 +- monitors.go | 4 ++-- realis.go | 4 ++-- realis_e2e_test.go | 4 ++-- response/response.go | 2 +- updatejob.go | 2 +- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index ccc3c18..a4d02da 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gorealis [![GoDoc](https://godoc.org/github.com/rdelval/gorealis?status.svg)](https://godoc.org/github.com/rdelval/gorealis) +# gorealis [![GoDoc](https://godoc.org/github.com/paypal/gorealis?status.svg)](https://godoc.org/github.com/paypal/gorealis) Go library for interacting with [Apache Aurora](https://github.com/apache/aurora). diff --git a/container.go b/container.go index 0fb98d2..37e7c60 100644 --- a/container.go +++ b/container.go @@ -15,7 +15,7 @@ package realis import ( - "github.com/rdelval/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/gen-go/apache/aurora" ) type Container interface { diff --git a/docs/getting-started.md b/docs/getting-started.md index 7430ab5..16191c6 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -93,7 +93,7 @@ $ sudo service aurora-scheduler restart ### Using a custom client Pystachio does yet support launching tasks using custom executors. Therefore, a custom client must be used in order to launch tasks using a custom executor. In this case, -we will be using [gorealis](https://github.com/rdelval/gorealis) to launch a task with +we will be using [gorealis](https://github.com/paypal/gorealis) to launch a task with the compose executor on Aurora. ## Configuring the system to run a custom client and docker-compose executor @@ -179,7 +179,7 @@ $ sudo pip install docker-compose Finally, we must get `gorealis` using the `go get` command: ``` -go get github.com/rdelval/gorealis +go get github.com/paypal/gorealis ``` # Creating Aurora Jobs @@ -248,7 +248,7 @@ job = realis.NewJob(). Using a vagrant setup as an example, we can run the following command to create a compose job: ``` -go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create +go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create ``` If everything went according to plan, a new job will be shown in the Aurora UI. @@ -290,7 +290,7 @@ job = realis.NewJob(). Using a vagrant setup as an example, we can run the following command to create a Thermos job: ``` -$ cd $GOPATH/src/github.com/rdelval/gorealis +$ cd $GOPATH/src/github.com/paypal/gorealis $ go run examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=create -executor=thermos ``` @@ -310,6 +310,6 @@ $ aurora job killall devcluster/vagrant/prod/docker-compose ## Using gorealis ``` -$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill -$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill +$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill +$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill ``` diff --git a/docs/leveraging-the-library.md b/docs/leveraging-the-library.md index ea47629..464bddd 100644 --- a/docs/leveraging-the-library.md +++ b/docs/leveraging-the-library.md @@ -1,6 +1,6 @@ # How to leverage the library (based on the [sample client](../examples/client.go)) -For a more complete look at the API, please visit https://godoc.org/github.com/rdelval/gorealis +For a more complete look at the API, please visit https://godoc.org/github.com/paypal/gorealis * Create a default configuration file (alternatively, manually create your own Config): ``` diff --git a/docs/using-the-sample-client.md b/docs/using-the-sample-client.md index 2e57696..f2de6d9 100644 --- a/docs/using-the-sample-client.md +++ b/docs/using-the-sample-client.md @@ -29,21 +29,21 @@ executor examples, the vagrant box must be configured properly to use the docker #### Creating a Thermos job ``` -$ cd $GOPATH/src/github.com/rdelval/gorealis/examples +$ cd $GOPATH/src/github.com/paypal/gorealis/examples $ go run client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=create ``` #### Kill a Thermos job ``` -$ go run $GOPATH/src/github.com/rdelval/gorealis.git/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill +$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill ``` ### Docker Compose executor (custom executor) #### Creating Docker Compose executor job ``` -$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create +$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create ``` #### Kill a Docker Compose executor job ``` -$ go run $GOPATH/src/github.com/rdelval/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill +$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill ``` diff --git a/examples/client.go b/examples/client.go index e33e4fc..4afd0e9 100644 --- a/examples/client.go +++ b/examples/client.go @@ -22,9 +22,9 @@ import ( "time" - "github.com/rdelval/gorealis" - "github.com/rdelval/gorealis/gen-go/apache/aurora" - "github.com/rdelval/gorealis/response" + "github.com/paypal/gorealis" + "github.com/paypal/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/response" "strings" ) diff --git a/examples/jsonClient.go b/examples/jsonClient.go index dd57450..b9b7f5a 100644 --- a/examples/jsonClient.go +++ b/examples/jsonClient.go @@ -18,7 +18,7 @@ import ( "encoding/json" "flag" "fmt" - "github.com/rdelval/gorealis" + "github.com/paypal/gorealis" "os" ) diff --git a/job.go b/job.go index f1d57e7..6a08ff4 100644 --- a/job.go +++ b/job.go @@ -15,7 +15,7 @@ package realis import ( - "github.com/rdelval/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/gen-go/apache/aurora" "strconv" ) diff --git a/monitors.go b/monitors.go index ffa524e..aee8590 100644 --- a/monitors.go +++ b/monitors.go @@ -20,8 +20,8 @@ import ( "time" "github.com/pkg/errors" - "github.com/rdelval/gorealis/gen-go/apache/aurora" - "github.com/rdelval/gorealis/response" + "github.com/paypal/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/response" ) const ( diff --git a/realis.go b/realis.go index 6dbd94d..01e3950 100644 --- a/realis.go +++ b/realis.go @@ -27,8 +27,8 @@ import ( "git.apache.org/thrift.git/lib/go/thrift" "github.com/pkg/errors" - "github.com/rdelval/gorealis/gen-go/apache/aurora" - "github.com/rdelval/gorealis/response" + "github.com/paypal/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/response" ) const VERSION = "1.0.4" diff --git a/realis_e2e_test.go b/realis_e2e_test.go index c75f184..413d334 100644 --- a/realis_e2e_test.go +++ b/realis_e2e_test.go @@ -16,8 +16,8 @@ package realis_test import ( "fmt" - "github.com/rdelval/gorealis" - "github.com/rdelval/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis" + "github.com/paypal/gorealis/gen-go/apache/aurora" "github.com/stretchr/testify/assert" "io/ioutil" "os" diff --git a/response/response.go b/response/response.go index 5bb60d1..3066ba3 100644 --- a/response/response.go +++ b/response/response.go @@ -19,7 +19,7 @@ import ( "bytes" "github.com/pkg/errors" - "github.com/rdelval/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/gen-go/apache/aurora" ) // Get key from a response created by a StartJobUpdate call diff --git a/updatejob.go b/updatejob.go index c11596d..9b253a4 100644 --- a/updatejob.go +++ b/updatejob.go @@ -15,7 +15,7 @@ package realis import ( - "github.com/rdelval/gorealis/gen-go/apache/aurora" + "github.com/paypal/gorealis/gen-go/apache/aurora" ) // Structure to collect all information required to create job update