Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to github.com/pivotal-cf/brokerapi/v12 #344

Merged
merged 1 commit into from
Jan 6, 2025
Merged
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
6 changes: 3 additions & 3 deletions apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (

"code.cloudfoundry.org/lager/v3"
"github.com/gorilla/mux"
"github.com/pivotal-cf/brokerapi/v11"
apiauth "github.com/pivotal-cf/brokerapi/v11/auth"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12"
apiauth "github.com/pivotal-cf/brokerapi/v12/auth"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pkg/errors"
"github.com/urfave/negroni"

Expand Down
2 changes: 1 addition & 1 deletion apiserver/fakes/combined_broker.go

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

4 changes: 2 additions & 2 deletions broker/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"net/http"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
"github.com/pivotal-cf/on-demand-service-broker/serviceadapter"
Expand Down
4 changes: 2 additions & 2 deletions broker/bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
"github.com/pivotal-cf/on-demand-services-sdk/bosh"
sdk "github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

Expand Down
2 changes: 1 addition & 1 deletion broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"
"sync"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/on-demand-services-sdk/bosh"
"github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

Expand Down
4 changes: 2 additions & 2 deletions broker/broker_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"fmt"
"log"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
"github.com/pivotal-cf/on-demand-services-sdk/bosh"
)

Expand Down
2 changes: 1 addition & 1 deletion broker/broker_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
2 changes: 1 addition & 1 deletion broker/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"log"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pkg/errors"

"github.com/pivotal-cf/on-demand-service-broker/config"
Expand Down
2 changes: 1 addition & 1 deletion broker/catalog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/broker"
"github.com/pivotal-cf/on-demand-service-broker/config"
Expand Down
4 changes: 2 additions & 2 deletions broker/decider/decider.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"log"
"net/http"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

var errInstanceMustBeUpgradedFirst = apiresponses.NewFailureResponseBuilder(
Expand Down
4 changes: 2 additions & 2 deletions broker/decider/decider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/broker/decider"
"github.com/pivotal-cf/on-demand-service-broker/loggerfactory"
Expand Down
4 changes: 2 additions & 2 deletions broker/deprovision.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"log"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/boshdirector"
"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
Expand Down
4 changes: 2 additions & 2 deletions broker/deprovision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
sdk "github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

"github.com/pivotal-cf/on-demand-service-broker/boshdirector"
Expand Down
2 changes: 1 addition & 1 deletion broker/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"errors"
"fmt"

"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
"github.com/pivotal-cf/on-demand-service-broker/serviceadapter"
Expand Down
2 changes: 1 addition & 1 deletion broker/fakes/fake_decider.go

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

2 changes: 1 addition & 1 deletion broker/fakes/fake_service_adapter_client.go

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

4 changes: 2 additions & 2 deletions broker/get_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"errors"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

func (b *Broker) GetBinding(ctx context.Context, instanceID, bindingID string, bindingsDetails domain.FetchBindingDetails) (domain.GetBindingSpec, error) {
Expand Down
4 changes: 2 additions & 2 deletions broker/get_binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"code.cloudfoundry.org/lager/v3"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

var _ = Describe("GetBinding", func() {
Expand Down
4 changes: 2 additions & 2 deletions broker/get_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"errors"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

func (b *Broker) GetInstance(ctx context.Context, instanceID string, instanceDetails domain.FetchInstanceDetails) (domain.GetInstanceDetailsSpec, error) {
Expand Down
4 changes: 2 additions & 2 deletions broker/get_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"code.cloudfoundry.org/lager/v3"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

var _ = Describe("GetInstance", func() {
Expand Down
4 changes: 2 additions & 2 deletions broker/last_binding_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"errors"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

func (b *Broker) LastBindingOperation(ctx context.Context, instanceID, bindingID string, details domain.PollDetails) (domain.LastOperation, error) {
Expand Down
4 changes: 2 additions & 2 deletions broker/last_binding_operation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"code.cloudfoundry.org/lager/v3"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
)

var _ = Describe("LastBindingOperation", func() {
Expand Down
2 changes: 1 addition & 1 deletion broker/last_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"log"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/boshdirector"
"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
Expand Down
2 changes: 1 addition & 1 deletion broker/last_operation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/boshdirector"
"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
4 changes: 2 additions & 2 deletions broker/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"net/http"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/boshdirector"
"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
Expand Down
4 changes: 2 additions & 2 deletions broker/provision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
sdk "github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

"github.com/pivotal-cf/on-demand-service-broker/boshdirector"
Expand Down
2 changes: 1 addition & 1 deletion broker/recreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/serviceadapter"
)
Expand Down
2 changes: 1 addition & 1 deletion broker/recreate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/broker"
"github.com/pivotal-cf/on-demand-service-broker/config"
Expand Down
4 changes: 2 additions & 2 deletions broker/services/response_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"io/ioutil"
"net/http"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/broker"
"github.com/pivotal-cf/on-demand-service-broker/mgmtapi"
Expand Down
4 changes: 2 additions & 2 deletions broker/services/response_converter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/broker"
"github.com/pivotal-cf/on-demand-service-broker/broker/services"
Expand Down
2 changes: 1 addition & 1 deletion broker/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"net/url"
"strings"

"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/authorizationheader"
"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
2 changes: 1 addition & 1 deletion broker/services/services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/authorizationheader/fakes"
"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
2 changes: 1 addition & 1 deletion broker/unbind.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
)
Expand Down
4 changes: 2 additions & 2 deletions broker/unbind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
"github.com/pivotal-cf/on-demand-services-sdk/bosh"

"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
4 changes: 2 additions & 2 deletions broker/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"net/http"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"

"github.com/pivotal-cf/on-demand-service-broker/broker/decider"
"github.com/pivotal-cf/on-demand-service-broker/brokercontext"
Expand Down
4 changes: 2 additions & 2 deletions broker/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
sdk "github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
2 changes: 1 addition & 1 deletion broker/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"log"

"github.com/pborman/uuid"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"

"github.com/pivotal-cf/on-demand-service-broker/serviceadapter"
)
Expand Down
2 changes: 1 addition & 1 deletion broker/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v12/domain"
sdk "github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

"github.com/pivotal-cf/on-demand-service-broker/broker"
Expand Down
4 changes: 2 additions & 2 deletions collaboration_tests/on_demand_service_broker/binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/pivotal-cf/brokerapi/v11/domain"
"github.com/pivotal-cf/brokerapi/v11/domain/apiresponses"
"github.com/pivotal-cf/brokerapi/v12/domain"
"github.com/pivotal-cf/brokerapi/v12/domain/apiresponses"
"github.com/pivotal-cf/on-demand-services-sdk/bosh"
sdk "github.com/pivotal-cf/on-demand-services-sdk/serviceadapter"

Expand Down
Loading
Loading