Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config-server/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

. "github.com/cloudfoundry/config-server/config"
. "code.cloudfoundry.org/config-server/config"
)

var _ = Describe("ParseConfig", func() {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cloudfoundry/config-server
module code.cloudfoundry.org/config-server

go 1.25.0

Expand Down
2 changes: 1 addition & 1 deletion src/config-server/integration/id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"

. "github.com/cloudfoundry/config-server/integration/support"
. "code.cloudfoundry.org/config-server/integration/support"
)

var _ = Describe("Supported HTTP Methods", func() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestIntegrationTests(t *testing.T) {
}

var _ = SynchronizedBeforeSuite(func() []byte {
configServerPath, err := gexec.Build("github.com/cloudfoundry/config-server")
configServerPath, err := gexec.Build("code.cloudfoundry.org/config-server")
Expect(err).NotTo(HaveOccurred())
return []byte(configServerPath)
}, func(data []byte) {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"

. "github.com/cloudfoundry/config-server/integration/support"
. "code.cloudfoundry.org/config-server/integration/support"
)

var _ = Describe("Supported HTTP Methods", func() {
Expand Down
6 changes: 3 additions & 3 deletions src/config-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"os"

"github.com/cloudfoundry/config-server/config"
"github.com/cloudfoundry/config-server/log"
"github.com/cloudfoundry/config-server/server"
"code.cloudfoundry.org/config-server/config"
"code.cloudfoundry.org/config-server/log"
"code.cloudfoundry.org/config-server/server"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/server/authentication_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http/httptest"
"strings"

. "github.com/cloudfoundry/config-server/server"
. "github.com/cloudfoundry/config-server/server/serverfakes"
. "code.cloudfoundry.org/config-server/server"
. "code.cloudfoundry.org/config-server/server/serverfakes"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/server/error_response_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package server_test

import (
. "github.com/cloudfoundry/config-server/server"
. "code.cloudfoundry.org/config-server/server"

"errors"

Expand Down
4 changes: 2 additions & 2 deletions src/config-server/server/request_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

"github.com/cloudfoundry/bosh-utils/errors"

"github.com/cloudfoundry/config-server/store"
"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/store"
"code.cloudfoundry.org/config-server/types"
)

type requestHandler struct {
Expand Down
10 changes: 5 additions & 5 deletions src/config-server/server/request_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

. "github.com/cloudfoundry/config-server/server"
"github.com/cloudfoundry/config-server/store"
. "github.com/cloudfoundry/config-server/store/storefakes"
"github.com/cloudfoundry/config-server/types"
. "github.com/cloudfoundry/config-server/types/typesfakes"
. "code.cloudfoundry.org/config-server/server"
"code.cloudfoundry.org/config-server/store"
. "code.cloudfoundry.org/config-server/store/storefakes"
"code.cloudfoundry.org/config-server/types"
. "code.cloudfoundry.org/config-server/types/typesfakes"
)

func generateHTTPRequest(method, urlStr string, body io.Reader) (*http.Request, error) {
Expand Down
6 changes: 3 additions & 3 deletions src/config-server/server/server_concrete.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"net/http"
"strconv"

"github.com/cloudfoundry/config-server/config"
"github.com/cloudfoundry/config-server/store"
"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/config"
"code.cloudfoundry.org/config-server/store"
"code.cloudfoundry.org/config-server/types"

"github.com/cloudfoundry/bosh-utils/errors"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package serverfakes
import (
"sync"

"github.com/cloudfoundry/config-server/server"
"code.cloudfoundry.org/config-server/server"
)

type FakeTokenValidator struct {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/server/token_validator_jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

. "github.com/cloudfoundry/config-server/server"
. "code.cloudfoundry.org/config-server/server"
)

var _ = Describe("JwtTokenValidator", func() {
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/server/x509_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/cloudfoundry/bosh-utils/errors"

"github.com/cloudfoundry/config-server/store"
"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/store"
"code.cloudfoundry.org/config-server/types"
)

type x509Loader struct {
Expand Down
8 changes: 4 additions & 4 deletions src/config-server/server/x509_loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/cloudfoundry/config-server/server"
"github.com/cloudfoundry/config-server/store"
. "github.com/cloudfoundry/config-server/store/storefakes"
"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/server"
"code.cloudfoundry.org/config-server/store"
. "code.cloudfoundry.org/config-server/store/storefakes"
"code.cloudfoundry.org/config-server/types"
)

var _ = Describe("x509Loader", func() {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/store/configuration_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package store_test

import (
"github.com/cloudfoundry/config-server/store"
"code.cloudfoundry.org/config-server/store"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/store/db_provider_concrete.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"os/signal"
"syscall"

"github.com/cloudfoundry/config-server/config"
"github.com/cloudfoundry/config-server/store/db_migrations"
"code.cloudfoundry.org/config-server/config"
"code.cloudfoundry.org/config-server/store/db_migrations"
)

type concreteDbProvider struct {
Expand Down
6 changes: 3 additions & 3 deletions src/config-server/store/db_provider_concrete_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package store_test

import (
"github.com/cloudfoundry/config-server/config"
. "github.com/cloudfoundry/config-server/store"
fakes "github.com/cloudfoundry/config-server/store/storefakes"
"code.cloudfoundry.org/config-server/config"
. "code.cloudfoundry.org/config-server/store"
fakes "code.cloudfoundry.org/config-server/store/storefakes"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/store/store_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package store
import (
"strings"

"github.com/cloudfoundry/config-server/config"
"code.cloudfoundry.org/config-server/config"

"github.com/cloudfoundry/bosh-utils/errors"
)
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/store/store_factory_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package store_test

import (
. "github.com/cloudfoundry/config-server/store"
. "code.cloudfoundry.org/config-server/store"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/cloudfoundry/config-server/config"
"code.cloudfoundry.org/config-server/config"
)

var _ = Describe("CreateStore", func() {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/store/store_memory_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package store_test

import (
. "github.com/cloudfoundry/config-server/store"
. "code.cloudfoundry.org/config-server/store"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/store/store_mysql_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package store_test

import (
. "github.com/cloudfoundry/config-server/store"
. "code.cloudfoundry.org/config-server/store"

"database/sql"
"errors"

fakes "github.com/cloudfoundry/config-server/store/storefakes"
fakes "code.cloudfoundry.org/config-server/store/storefakes"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/store/store_postgres_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package store_test

import (
. "github.com/cloudfoundry/config-server/store"
. "code.cloudfoundry.org/config-server/store"

"database/sql"
"errors"

fakes "github.com/cloudfoundry/config-server/store/storefakes"
fakes "code.cloudfoundry.org/config-server/store/storefakes"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/store/storefakes/fake_db_provider.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config-server/store/storefakes/fake_idb.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"database/sql"
"sync"

"github.com/cloudfoundry/config-server/store"
"code.cloudfoundry.org/config-server/store"
)

type FakeIDb struct {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/store/storefakes/fake_irow.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config-server/store/storefakes/fake_irows.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config-server/store/storefakes/fake_isql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config-server/store/storefakes/fake_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package storefakes
import (
"sync"

"github.com/cloudfoundry/config-server/store"
"code.cloudfoundry.org/config-server/store"
)

type FakeStore struct {
Expand Down
4 changes: 2 additions & 2 deletions src/config-server/types/certificate_generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"strings"
"time"

. "github.com/cloudfoundry/config-server/types"
. "code.cloudfoundry.org/config-server/types"

"github.com/cloudfoundry/config-server/types/typesfakes"
"code.cloudfoundry.org/config-server/types/typesfakes"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/types/password_generator_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types_test

import (
. "github.com/cloudfoundry/config-server/types"
. "code.cloudfoundry.org/config-server/types"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/types/rsa_key_generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
. "github.com/onsi/gomega"
"gopkg.in/yaml.v2"

. "github.com/cloudfoundry/config-server/types"
. "code.cloudfoundry.org/config-server/types"
)

var _ = Describe("RSAKeyGenerator", func() {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/types/ssh_key_generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"golang.org/x/crypto/ssh"
"gopkg.in/yaml.v2"

. "github.com/cloudfoundry/config-server/types"
. "code.cloudfoundry.org/config-server/types"
)

var _ = Describe("SSHKeyGenerator", func() {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/types/typesfakes/fake_certs_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"crypto/x509"
"sync"

"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/types"
)

type FakeCertsLoader struct {
Expand Down
2 changes: 1 addition & 1 deletion src/config-server/types/typesfakes/fake_value_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package typesfakes
import (
"sync"

"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/types"
)

type FakeValueGenerator struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package typesfakes
import (
"sync"

"github.com/cloudfoundry/config-server/types"
"code.cloudfoundry.org/config-server/types"
)

type FakeValueGeneratorFactory struct {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package types_test

import (
. "github.com/cloudfoundry/config-server/types"
"github.com/cloudfoundry/config-server/types/typesfakes"
. "code.cloudfoundry.org/config-server/types"
"code.cloudfoundry.org/config-server/types/typesfakes"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
Loading