diff --git a/.travis.yml b/.travis.yml index 8e6f3e7..b0d3fb6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ install: - docker-compose up -d script: - - go test -race -coverprofile=coverage.txt -covermode=atomic -v github.com/paypal/gorealis + - go test -race -coverprofile=coverage.txt -covermode=atomic -v github.com/aurora-scheduler/gorealis after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index c9bba37..ecffdaa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gorealis [![GoDoc](https://godoc.org/github.com/paypal/gorealis?status.svg)](https://godoc.org/github.com/paypal/gorealis) [![Build Status](https://travis-ci.org/paypal/gorealis.svg?branch=master)](https://travis-ci.org/paypal/gorealis) [![codecov](https://codecov.io/gh/paypal/gorealis/branch/master-v2.0/graph/badge.svg)](https://codecov.io/gh/paypal/gorealis/branch/master-v2.0) +# gorealis [![GoDoc](https://godoc.org/github.com/aurora-scheduler/gorealis?status.svg)](https://godoc.org/github.com/aurora-scheduler/gorealis) [![codecov](https://codecov.io/gh/aurora-scheduler/gorealis/branch/master/graph/badge.svg)](https://codecov.io/gh/aurora-scheduler/gorealis/branch/master) Go library for interacting with [Aurora Scheduler](https://github.com/aurora-scheduler/aurora). diff --git a/clusters_test.go b/clusters_test.go index 48af5c9..48b2f03 100644 --- a/clusters_test.go +++ b/clusters_test.go @@ -18,7 +18,7 @@ import ( "fmt" "testing" - realis "github.com/paypal/gorealis/v2" + realis "github.com/aurora-scheduler/gorealis/v2" "github.com/stretchr/testify/assert" ) diff --git a/container.go b/container.go index 872dbac..eb919ed 100644 --- a/container.go +++ b/container.go @@ -15,7 +15,7 @@ package realis import ( - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" ) type Container interface { diff --git a/go.mod b/go.mod index c6ebbe7..12edbb7 100644 --- a/go.mod +++ b/go.mod @@ -10,3 +10,5 @@ require ( ) replace github.com/apache/thrift v0.12.0 => github.com/ridv/thrift v0.12.2 + +go 1.13 diff --git a/job.go b/job.go index 9dd99f6..b553520 100644 --- a/job.go +++ b/job.go @@ -15,7 +15,7 @@ package realis import ( - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" ) // Structure to collect all information pertaining to an Aurora job. diff --git a/jobUpdate.go b/jobUpdate.go index 8176da1..b4fbfea 100644 --- a/jobUpdate.go +++ b/jobUpdate.go @@ -18,7 +18,7 @@ import ( "time" "github.com/apache/thrift/lib/go/thrift" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" ) // Structure to collect all information required to create job update diff --git a/monitors.go b/monitors.go index 79ed0f7..52bcf5b 100644 --- a/monitors.go +++ b/monitors.go @@ -18,7 +18,7 @@ package realis import ( "time" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" "github.com/pkg/errors" ) diff --git a/realis.go b/realis.go index 8b17bf7..da31a2c 100644 --- a/realis.go +++ b/realis.go @@ -31,8 +31,8 @@ import ( "time" "github.com/apache/thrift/lib/go/thrift" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" - "github.com/paypal/gorealis/v2/response" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/response" "github.com/pkg/errors" ) diff --git a/realis_admin.go b/realis_admin.go index 25dfb56..9530031 100644 --- a/realis_admin.go +++ b/realis_admin.go @@ -17,7 +17,7 @@ package realis import ( "context" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" "github.com/pkg/errors" ) diff --git a/realis_e2e_test.go b/realis_e2e_test.go index d5d48f9..a74617a 100644 --- a/realis_e2e_test.go +++ b/realis_e2e_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" - realis "github.com/paypal/gorealis/v2" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + realis "github.com/aurora-scheduler/gorealis/v2" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" "github.com/pkg/errors" "github.com/stretchr/testify/assert" ) diff --git a/retry.go b/retry.go index 4a82431..9860e42 100644 --- a/retry.go +++ b/retry.go @@ -24,8 +24,8 @@ import ( "time" "github.com/apache/thrift/lib/go/thrift" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" - "github.com/paypal/gorealis/v2/response" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/response" "github.com/pkg/errors" ) diff --git a/runTestsMac.sh b/runTestsMac.sh index d60d85f..c54994a 100644 --- a/runTestsMac.sh +++ b/runTestsMac.sh @@ -1,4 +1,4 @@ #!/bin/bash # Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues. -docker run --rm -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10-stretch go test -v github.com/paypal/gorealis $@ +docker run --rm -t -v $(pwd):/go/src/github.com/aurora-scheduler/gorealis --network gorealis_aurora_cluster golang:1.13-stretch go test -v github.com/aurora-scheduler/gorealis $@ diff --git a/task.go b/task.go index d4c2b7b..e4037c3 100644 --- a/task.go +++ b/task.go @@ -19,7 +19,7 @@ import ( "strconv" "github.com/apache/thrift/lib/go/thrift" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" ) type ResourceType int diff --git a/task_test.go b/task_test.go index 4f5d67b..14d06c8 100644 --- a/task_test.go +++ b/task_test.go @@ -17,8 +17,8 @@ package realis_test import ( "testing" - realis "github.com/paypal/gorealis/v2" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + realis "github.com/aurora-scheduler/gorealis/v2" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" "github.com/stretchr/testify/assert" ) diff --git a/util.go b/util.go index c1bba48..74b0b30 100644 --- a/util.go +++ b/util.go @@ -4,7 +4,7 @@ import ( "net/url" "strings" - "github.com/paypal/gorealis/v2/gen-go/apache/aurora" + "github.com/aurora-scheduler/gorealis/v2/gen-go/apache/aurora" "github.com/pkg/errors" ) diff --git a/zk_test.go b/zk_test.go index c929e03..92c7ff0 100644 --- a/zk_test.go +++ b/zk_test.go @@ -20,7 +20,7 @@ import ( "testing" "time" - realis "github.com/paypal/gorealis/v2" + realis "github.com/aurora-scheduler/gorealis/v2" "github.com/stretchr/testify/assert" )