Skip to content

Commit

Permalink
revert hydraboker dependency to the old one
Browse files Browse the repository at this point in the history
  • Loading branch information
jcvrabo committed Oct 18, 2024
1 parent b065e2c commit 43cc5b2
Show file tree
Hide file tree
Showing 20 changed files with 33 additions and 35 deletions.
2 changes: 1 addition & 1 deletion integration/assets/hydrabroker/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
"github.com/gorilla/mux"
)

Expand Down
6 changes: 3 additions & 3 deletions integration/assets/hydrabroker/app/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"net/http"
"time"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
"github.com/pivotal-cf/brokerapi/v7/domain"
"github.com/pivotal-cf/brokerapi/v7/domain/apiresponses"
)
Expand Down
4 changes: 2 additions & 2 deletions integration/assets/hydrabroker/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"io"
"net/http"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
"github.com/go-playground/validator/v10"
)

Expand Down
2 changes: 1 addition & 1 deletion integration/assets/hydrabroker/app/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"net/http"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
"github.com/gorilla/mux"
uuid "github.com/nu7hatch/gouuid"
)
Expand Down
1 change: 0 additions & 1 deletion integration/assets/hydrabroker/database/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"sync"

. "code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/database"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion integration/assets/hydrabroker/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker
module code.cloudfoundry.org/cli/integration/assets/hydrabroker

go 1.13

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"strings"
"time"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/app"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/app"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/resources"
uuid2 "github.com/nu7hatch/gouuid"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion integration/assets/hydrabroker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"os"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/app"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/app"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions integration/assets/hydrabroker/store/bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package store
import (
"fmt"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/database"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/database"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/resources"
)

func (st *Store) CreateBinding(brokerID BrokerID, instanceID InstanceID, bindingID BindingID, details resources.BindingDetails) error {
Expand Down
6 changes: 3 additions & 3 deletions integration/assets/hydrabroker/store/bindings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package store_test
import (
"fmt"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
uuid "github.com/nu7hatch/gouuid"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions integration/assets/hydrabroker/store/brokers.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package store

import (
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/database"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/database"
)

func (st *Store) CreateBroker(cfg config.BrokerConfiguration) BrokerID {
Expand Down
4 changes: 2 additions & 2 deletions integration/assets/hydrabroker/store/brokers_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package store_test

import (
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
)

var _ = Describe("Brokers", func() {
Expand Down
6 changes: 3 additions & 3 deletions integration/assets/hydrabroker/store/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package store
import (
"fmt"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/database"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/database"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/resources"
)

func (st *Store) CreateInstance(brokerID BrokerID, instanceID InstanceID, details resources.ServiceInstanceDetails) error {
Expand Down
7 changes: 3 additions & 4 deletions integration/assets/hydrabroker/store/instances_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ package store_test
import (
"fmt"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/resources"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/resources"
uuid "github.com/nu7hatch/gouuid"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/store"
uuid "github.com/nu7hatch/gouuid"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/store"
)

var _ = Describe("Instances", func() {
Expand Down
2 changes: 1 addition & 1 deletion integration/assets/hydrabroker/store/store.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package store

import (
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/database"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/database"
)

type BrokerID database.ID
Expand Down
2 changes: 1 addition & 1 deletion integration/helpers/servicebrokerstub/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"code.cloudfoundry.org/cli/v8/integration/helpers"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
)

type ServiceAccessConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion integration/helpers/servicebrokerstub/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"
"net/http"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/helpers"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/marketplace_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package isolated
import (
"fmt"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/helpers"
"code.cloudfoundry.org/cli/v8/integration/helpers/servicebrokerstub"
. "github.com/onsi/ginkgo/v2"
Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/services_command_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package isolated

import (
"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/helpers"
"code.cloudfoundry.org/cli/v8/integration/helpers/servicebrokerstub"
. "github.com/onsi/ginkgo/v2"
Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/upgrade_service_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package isolated
import (
"time"

"code.cloudfoundry.org/cli/v8/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/integration/assets/hydrabroker/config"
"code.cloudfoundry.org/cli/v8/integration/helpers"
"code.cloudfoundry.org/cli/v8/integration/helpers/servicebrokerstub"
. "github.com/onsi/ginkgo/v2"
Expand Down

0 comments on commit 43cc5b2

Please sign in to comment.