Skip to content

Commit

Permalink
Move route-registrar to code.cloudfoundry.org import path
Browse files Browse the repository at this point in the history
[#124916101]

Signed-off-by: Edwin Xie <[email protected]>
  • Loading branch information
crhino authored and flawedmatrix committed Aug 4, 2016
1 parent 1a70a5e commit 8649e9a
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 32 deletions.
6 changes: 3 additions & 3 deletions commandrunner/fakes/fake_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"bytes"
"sync"

"github.com/cloudfoundry-incubator/route-registrar/commandrunner"
"code.cloudfoundry.org/route-registrar/commandrunner"
)

type FakeRunner struct {
Expand All @@ -21,13 +21,13 @@ type FakeRunner struct {
WaitStub func() error
waitMutex sync.RWMutex
waitArgsForCall []struct{}
waitReturns struct {
waitReturns struct {
result1 error
}
KillStub func() error
killMutex sync.RWMutex
killArgsForCall []struct{}
killReturns struct {
killReturns struct {
result1 error
}
}
Expand Down
2 changes: 1 addition & 1 deletion commandrunner/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"strings"

"code.cloudfoundry.org/route-registrar/commandrunner"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/cloudfoundry-incubator/route-registrar/commandrunner"

"io/ioutil"
"os"
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"time"

"github.com/cloudfoundry-incubator/route-registrar/config"
"code.cloudfoundry.org/route-registrar/config"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions healthchecker/fakes/fake_health_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"sync"
"time"

"github.com/cloudfoundry-incubator/route-registrar/commandrunner"
"github.com/cloudfoundry-incubator/route-registrar/healthchecker"
"code.cloudfoundry.org/route-registrar/commandrunner"
"code.cloudfoundry.org/route-registrar/healthchecker"
)

type FakeHealthChecker struct {
Expand Down
2 changes: 1 addition & 1 deletion healthchecker/script_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os/exec"
"time"

"code.cloudfoundry.org/route-registrar/commandrunner"
"github.com/pivotal-golang/lager"
"github.com/cloudfoundry-incubator/route-registrar/commandrunner"
)

//go:generate counterfeiter . HealthChecker
Expand Down
4 changes: 2 additions & 2 deletions healthchecker/script_checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"path/filepath"
"time"

"code.cloudfoundry.org/route-registrar/commandrunner/fakes"
"code.cloudfoundry.org/route-registrar/healthchecker"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/cloudfoundry-incubator/route-registrar/commandrunner/fakes"
"github.com/cloudfoundry-incubator/route-registrar/healthchecker"

"github.com/pivotal-golang/lager"
"github.com/pivotal-golang/lager/lagertest"
Expand Down
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"strconv"
"syscall"

"code.cloudfoundry.org/route-registrar/config"
"code.cloudfoundry.org/route-registrar/healthchecker"
"code.cloudfoundry.org/route-registrar/messagebus"
"code.cloudfoundry.org/route-registrar/registrar"
"github.com/cloudfoundry-incubator/cf-lager"
"github.com/cloudfoundry-incubator/route-registrar/config"
"github.com/cloudfoundry-incubator/route-registrar/healthchecker"
"github.com/cloudfoundry-incubator/route-registrar/messagebus"
"github.com/cloudfoundry-incubator/route-registrar/registrar"
"github.com/pivotal-golang/lager"
"github.com/tedsuo/ifrit"
)
Expand Down
4 changes: 2 additions & 2 deletions main_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import (
"os"
"path/filepath"

"code.cloudfoundry.org/route-registrar/config"
. "github.com/onsi/ginkgo"
gconfig "github.com/onsi/ginkgo/config"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/cloudfoundry-incubator/route-registrar/config"

"testing"
)

const (
routeRegistrarPackage = "github.com/cloudfoundry-incubator/route-registrar/"
routeRegistrarPackage = "code.cloudfoundry.org/route-registrar/"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"gopkg.in/yaml.v2"

"github.com/cloudfoundry-incubator/route-registrar/config"
"github.com/cloudfoundry-incubator/route-registrar/messagebus"
"code.cloudfoundry.org/route-registrar/config"
"code.cloudfoundry.org/route-registrar/messagebus"
"github.com/nats-io/nats"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions messagebus/fakes/fake_message_bus.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ package fakes
import (
"sync"

"github.com/cloudfoundry-incubator/route-registrar/config"
"github.com/cloudfoundry-incubator/route-registrar/messagebus"
"code.cloudfoundry.org/route-registrar/config"
"code.cloudfoundry.org/route-registrar/messagebus"
)

type FakeMessageBus struct {
Expand Down
2 changes: 1 addition & 1 deletion messagebus/messagebus.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"time"

"code.cloudfoundry.org/route-registrar/config"
"github.com/nats-io/nats"
"github.com/pivotal-golang/lager"
"github.com/cloudfoundry-incubator/route-registrar/config"
)

//go:generate counterfeiter . MessageBus
Expand Down
4 changes: 2 additions & 2 deletions messagebus/messagebus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

"code.cloudfoundry.org/route-registrar/config"
"code.cloudfoundry.org/route-registrar/messagebus"
"github.com/nats-io/nats"
"github.com/pivotal-golang/lager"
"github.com/pivotal-golang/lager/lagertest"
"github.com/cloudfoundry-incubator/route-registrar/config"
"github.com/cloudfoundry-incubator/route-registrar/messagebus"
)

var _ = Describe("Messagebus test Suite", func() {
Expand Down
8 changes: 4 additions & 4 deletions registrar/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"os"
"time"

"code.cloudfoundry.org/route-registrar/commandrunner"
"code.cloudfoundry.org/route-registrar/messagebus"
"github.com/nu7hatch/gouuid"
"github.com/cloudfoundry-incubator/route-registrar/commandrunner"
"github.com/cloudfoundry-incubator/route-registrar/messagebus"

"github.com/cloudfoundry-incubator/route-registrar/config"
"github.com/cloudfoundry-incubator/route-registrar/healthchecker"
"code.cloudfoundry.org/route-registrar/config"
"code.cloudfoundry.org/route-registrar/healthchecker"

"github.com/pivotal-golang/lager"
)
Expand Down
10 changes: 5 additions & 5 deletions registrar/registrar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

"code.cloudfoundry.org/route-registrar/commandrunner"
"code.cloudfoundry.org/route-registrar/config"
healthchecker_fakes "code.cloudfoundry.org/route-registrar/healthchecker/fakes"
messagebus_fakes "code.cloudfoundry.org/route-registrar/messagebus/fakes"
"code.cloudfoundry.org/route-registrar/registrar"
"github.com/pivotal-golang/lager"
"github.com/pivotal-golang/lager/lagertest"
"github.com/cloudfoundry-incubator/route-registrar/commandrunner"
"github.com/cloudfoundry-incubator/route-registrar/config"
healthchecker_fakes "github.com/cloudfoundry-incubator/route-registrar/healthchecker/fakes"
messagebus_fakes "github.com/cloudfoundry-incubator/route-registrar/messagebus/fakes"
"github.com/cloudfoundry-incubator/route-registrar/registrar"
)

var _ = Describe("Registrar.RegisterRoutes", func() {
Expand Down

0 comments on commit 8649e9a

Please sign in to comment.