From 9ef434645dd4083bad9ac6501ad61577dbf7797c Mon Sep 17 00:00:00 2001 From: George Blue Date: Thu, 2 Jan 2025 16:37:12 +0000 Subject: [PATCH] feat!: import path changes for v12 --- api.go | 10 +++++----- api_test.go | 6 +++--- auth/auth_test.go | 2 +- catalog.go | 2 +- catalog_test.go | 2 +- context_utils.go | 2 +- context_utils_test.go | 2 +- domain/apiresponses/failure_responses_test.go | 2 +- domain/apiresponses/responses.go | 2 +- domain/apiresponses/responses_test.go | 4 ++-- domain/maintenance_info_test.go | 2 +- domain/service_catalog_test.go | 2 +- domain/service_metadata_test.go | 2 +- domain/service_plan_metadata_test.go | 4 ++-- failure_response.go | 2 +- failure_response_test.go | 4 ++-- fakes/auto_fake_service_broker.go | 2 +- fakes/fake_service_broker.go | 6 +++--- go.mod | 2 +- handlers/api_handler.go | 4 ++-- handlers/bind.go | 8 ++++---- handlers/catalog.go | 4 ++-- handlers/catalog_test.go | 12 ++++++------ handlers/deprovision.go | 8 ++++---- handlers/get_binding.go | 8 ++++---- handlers/get_instance.go | 8 ++++---- handlers/last_binding_operation.go | 8 ++++---- handlers/last_binding_operation_test.go | 10 +++++----- handlers/last_operation.go | 8 ++++---- handlers/provision.go | 10 +++++----- handlers/unbind.go | 8 ++++---- handlers/update.go | 8 ++++---- internal/blog/blog.go | 2 +- internal/blog/blog_test.go | 4 ++-- internal/middleware/middleware_test.go | 2 +- maintenance_info.go | 2 +- maintenance_info_test.go | 2 +- response.go | 4 ++-- response_test.go | 2 +- service_broker.go | 4 ++-- utils/context.go | 2 +- utils/context_test.go | 4 ++-- 42 files changed, 96 insertions(+), 96 deletions(-) diff --git a/api.go b/api.go index 1e4c2162..7c20d65b 100644 --- a/api.go +++ b/api.go @@ -19,12 +19,12 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/internal/middleware" + "github.com/pivotal-cf/brokerapi/v12/internal/middleware" - "github.com/pivotal-cf/brokerapi/v11/auth" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/handlers" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/auth" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/handlers" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) type BrokerCredentials struct { diff --git a/api_test.go b/api_test.go index b70368ca..2c84a972 100644 --- a/api_test.go +++ b/api_test.go @@ -31,9 +31,9 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" - "github.com/pivotal-cf/brokerapi/v11" - "github.com/pivotal-cf/brokerapi/v11/fakes" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12" + "github.com/pivotal-cf/brokerapi/v12/fakes" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) var _ = Describe("Service Broker API", func() { diff --git a/auth/auth_test.go b/auth/auth_test.go index 5bfde369..10faefe2 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -22,7 +22,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11/auth" + "github.com/pivotal-cf/brokerapi/v12/auth" ) var _ = Describe("Auth Wrapper", func() { diff --git a/catalog.go b/catalog.go index 5bc78768..b1f71e6d 100644 --- a/catalog.go +++ b/catalog.go @@ -18,7 +18,7 @@ package brokerapi import ( "reflect" - "github.com/pivotal-cf/brokerapi/v11/domain" + "github.com/pivotal-cf/brokerapi/v12/domain" ) // Deprecated: Use github.com/pivotal-cf/brokerapi/domain diff --git a/catalog_test.go b/catalog_test.go index f8752110..96644bf8 100644 --- a/catalog_test.go +++ b/catalog_test.go @@ -22,7 +22,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11" + "github.com/pivotal-cf/brokerapi/v12" ) var _ = Describe("Catalog", func() { diff --git a/context_utils.go b/context_utils.go index 0767e84b..e77bf345 100644 --- a/context_utils.go +++ b/context_utils.go @@ -3,7 +3,7 @@ package brokerapi import ( "context" - "github.com/pivotal-cf/brokerapi/v11/utils" + "github.com/pivotal-cf/brokerapi/v12/utils" ) func AddServiceToContext(ctx context.Context, service *Service) context.Context { diff --git a/context_utils_test.go b/context_utils_test.go index d132f380..acd7d438 100644 --- a/context_utils_test.go +++ b/context_utils_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11" + "github.com/pivotal-cf/brokerapi/v12" ) var _ = Describe("Context Utilities", func() { diff --git a/domain/apiresponses/failure_responses_test.go b/domain/apiresponses/failure_responses_test.go index 8f391c44..2458da33 100644 --- a/domain/apiresponses/failure_responses_test.go +++ b/domain/apiresponses/failure_responses_test.go @@ -8,7 +8,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" ) var _ = Describe("FailureResponse", func() { diff --git a/domain/apiresponses/responses.go b/domain/apiresponses/responses.go index 177ca5bb..eed81ce2 100644 --- a/domain/apiresponses/responses.go +++ b/domain/apiresponses/responses.go @@ -15,7 +15,7 @@ package apiresponses -import "github.com/pivotal-cf/brokerapi/v11/domain" +import "github.com/pivotal-cf/brokerapi/v12/domain" type EmptyResponse struct{} diff --git a/domain/apiresponses/responses_test.go b/domain/apiresponses/responses_test.go index 6706107b..5d0fea37 100644 --- a/domain/apiresponses/responses_test.go +++ b/domain/apiresponses/responses_test.go @@ -5,8 +5,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" ) var _ = Describe("Catalog Response", func() { diff --git a/domain/maintenance_info_test.go b/domain/maintenance_info_test.go index 76b0c540..f13ee741 100644 --- a/domain/maintenance_info_test.go +++ b/domain/maintenance_info_test.go @@ -3,7 +3,7 @@ package domain_test import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11/domain" + "github.com/pivotal-cf/brokerapi/v12/domain" ) var _ = Describe("MaintenanceInfo", func() { diff --git a/domain/service_catalog_test.go b/domain/service_catalog_test.go index e0917037..c0e09839 100644 --- a/domain/service_catalog_test.go +++ b/domain/service_catalog_test.go @@ -5,7 +5,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" ) var maximumPollingDuration = 3600 diff --git a/domain/service_metadata_test.go b/domain/service_metadata_test.go index 05e3b815..3a79d4c9 100644 --- a/domain/service_metadata_test.go +++ b/domain/service_metadata_test.go @@ -6,7 +6,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" ) var _ = Describe("ServiceMetadata", func() { diff --git a/domain/service_plan_metadata_test.go b/domain/service_plan_metadata_test.go index 4e5b35b7..ea6d94d8 100644 --- a/domain/service_plan_metadata_test.go +++ b/domain/service_plan_metadata_test.go @@ -7,8 +7,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11" - "github.com/pivotal-cf/brokerapi/v11/domain" + "github.com/pivotal-cf/brokerapi/v12" + "github.com/pivotal-cf/brokerapi/v12/domain" ) var _ = Describe("ServicePlanMetadata", func() { diff --git a/failure_response.go b/failure_response.go index 1f4dbace..6fe47565 100644 --- a/failure_response.go +++ b/failure_response.go @@ -7,7 +7,7 @@ package brokerapi import ( - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" ) // Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses diff --git a/failure_response_test.go b/failure_response_test.go index 7aa33d45..50d05153 100644 --- a/failure_response_test.go +++ b/failure_response_test.go @@ -23,8 +23,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" - "github.com/pivotal-cf/brokerapi/v11" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" ) var _ = Describe("FailureResponse", func() { diff --git a/fakes/auto_fake_service_broker.go b/fakes/auto_fake_service_broker.go index 6d7b273e..734c6fdc 100644 --- a/fakes/auto_fake_service_broker.go +++ b/fakes/auto_fake_service_broker.go @@ -5,7 +5,7 @@ import ( "context" "sync" - "github.com/pivotal-cf/brokerapi/v11/domain" + "github.com/pivotal-cf/brokerapi/v12/domain" ) type AutoFakeServiceBroker struct { diff --git a/fakes/fake_service_broker.go b/fakes/fake_service_broker.go index 5c5b7c26..5d89a70e 100644 --- a/fakes/fake_service_broker.go +++ b/fakes/fake_service_broker.go @@ -5,9 +5,9 @@ import ( "errors" "reflect" - "github.com/pivotal-cf/brokerapi/v11" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" ) type FakeServiceBroker struct { diff --git a/go.mod b/go.mod index 33bd71cf..0e901ec3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pivotal-cf/brokerapi/v11 +module github.com/pivotal-cf/brokerapi/v12 go 1.22.1 diff --git a/handlers/api_handler.go b/handlers/api_handler.go index 3d6cbf1d..52a112ad 100644 --- a/handlers/api_handler.go +++ b/handlers/api_handler.go @@ -7,8 +7,8 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" ) const ( diff --git a/handlers/bind.go b/handlers/bind.go index cf38330e..6d552d77 100644 --- a/handlers/bind.go +++ b/handlers/bind.go @@ -6,10 +6,10 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const ( diff --git a/handlers/catalog.go b/handlers/catalog.go index ca04ea37..40c94de2 100644 --- a/handlers/catalog.go +++ b/handlers/catalog.go @@ -5,8 +5,8 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const getCatalogLogKey = "getCatalog" diff --git a/handlers/catalog_test.go b/handlers/catalog_test.go index d51c5050..dcd1113d 100644 --- a/handlers/catalog_test.go +++ b/handlers/catalog_test.go @@ -8,12 +8,12 @@ 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" - brokerFakes "github.com/pivotal-cf/brokerapi/v11/fakes" - "github.com/pivotal-cf/brokerapi/v11/handlers" - "github.com/pivotal-cf/brokerapi/v11/handlers/fakes" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + brokerFakes "github.com/pivotal-cf/brokerapi/v12/fakes" + "github.com/pivotal-cf/brokerapi/v12/handlers" + "github.com/pivotal-cf/brokerapi/v12/handlers/fakes" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) var _ = Describe("Services", func() { diff --git a/handlers/deprovision.go b/handlers/deprovision.go index a9cbb928..77df4072 100644 --- a/handlers/deprovision.go +++ b/handlers/deprovision.go @@ -5,10 +5,10 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const deprovisionLogKey = "deprovision" diff --git a/handlers/get_binding.go b/handlers/get_binding.go index 652b1131..2f841c72 100644 --- a/handlers/get_binding.go +++ b/handlers/get_binding.go @@ -6,10 +6,10 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const getBindLogKey = "getBinding" diff --git a/handlers/get_instance.go b/handlers/get_instance.go index a0d1b931..b4f841b4 100644 --- a/handlers/get_instance.go +++ b/handlers/get_instance.go @@ -6,11 +6,11 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const getInstanceLogKey = "getInstance" diff --git a/handlers/last_binding_operation.go b/handlers/last_binding_operation.go index 9cd8955c..f0e6b111 100644 --- a/handlers/last_binding_operation.go +++ b/handlers/last_binding_operation.go @@ -6,10 +6,10 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const lastBindingOperationLogKey = "lastBindingOperation" diff --git a/handlers/last_binding_operation_test.go b/handlers/last_binding_operation_test.go index 4e8f6fb8..900617e8 100644 --- a/handlers/last_binding_operation_test.go +++ b/handlers/last_binding_operation_test.go @@ -12,11 +12,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - brokerFakes "github.com/pivotal-cf/brokerapi/v11/fakes" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + brokerFakes "github.com/pivotal-cf/brokerapi/v12/fakes" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) var _ = Describe("LastBindingOperation", func() { diff --git a/handlers/last_operation.go b/handlers/last_operation.go index 59226134..2cd3746c 100644 --- a/handlers/last_operation.go +++ b/handlers/last_operation.go @@ -5,10 +5,10 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const lastOperationLogKey = "lastOperation" diff --git a/handlers/provision.go b/handlers/provision.go index 8b2dbf47..460428f5 100644 --- a/handlers/provision.go +++ b/handlers/provision.go @@ -6,11 +6,11 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" - "github.com/pivotal-cf/brokerapi/v11/utils" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" + "github.com/pivotal-cf/brokerapi/v12/utils" ) const ( diff --git a/handlers/unbind.go b/handlers/unbind.go index 24d3323a..8aec9a27 100644 --- a/handlers/unbind.go +++ b/handlers/unbind.go @@ -5,10 +5,10 @@ import ( "log/slog" "net/http" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const unbindLogKey = "unbind" diff --git a/handlers/update.go b/handlers/update.go index 90f17608..6fd02b44 100644 --- a/handlers/update.go +++ b/handlers/update.go @@ -7,10 +7,10 @@ import ( "net/http" "strconv" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/domain/apiresponses" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/domain/apiresponses" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const updateLogKey = "update" diff --git a/internal/blog/blog.go b/internal/blog/blog.go index 54d5237c..c4aac60c 100644 --- a/internal/blog/blog.go +++ b/internal/blog/blog.go @@ -13,7 +13,7 @@ import ( "log/slog" "strings" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) const ( diff --git a/internal/blog/blog_test.go b/internal/blog/blog_test.go index 90cc1458..dcf1b6af 100644 --- a/internal/blog/blog_test.go +++ b/internal/blog/blog_test.go @@ -8,8 +8,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" - "github.com/pivotal-cf/brokerapi/v11/internal/blog" - "github.com/pivotal-cf/brokerapi/v11/middlewares" + "github.com/pivotal-cf/brokerapi/v12/internal/blog" + "github.com/pivotal-cf/brokerapi/v12/middlewares" ) var _ = Describe("Context data", func() { diff --git a/internal/middleware/middleware_test.go b/internal/middleware/middleware_test.go index 267200f6..ccab766e 100644 --- a/internal/middleware/middleware_test.go +++ b/internal/middleware/middleware_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11/internal/middleware" + "github.com/pivotal-cf/brokerapi/v12/internal/middleware" ) var _ = Describe("Use()", func() { diff --git a/maintenance_info.go b/maintenance_info.go index e9fe5429..cd4e4c51 100644 --- a/maintenance_info.go +++ b/maintenance_info.go @@ -1,7 +1,7 @@ package brokerapi import ( - "github.com/pivotal-cf/brokerapi/v11/domain" + "github.com/pivotal-cf/brokerapi/v12/domain" ) // Deprecated: Use github.com/pivotal-cf/brokerapi/domain diff --git a/maintenance_info_test.go b/maintenance_info_test.go index d7bb4fb1..d77eec1e 100644 --- a/maintenance_info_test.go +++ b/maintenance_info_test.go @@ -3,7 +3,7 @@ package brokerapi_test import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11" + "github.com/pivotal-cf/brokerapi/v12" ) var _ = Describe("MaintenanceInfo", func() { diff --git a/response.go b/response.go index fda18c01..a54abf3f 100644 --- a/response.go +++ b/response.go @@ -16,8 +16,8 @@ package brokerapi import ( - "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" ) // Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses diff --git a/response_test.go b/response_test.go index 8f98d039..0765067a 100644 --- a/response_test.go +++ b/response_test.go @@ -20,7 +20,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11" + "github.com/pivotal-cf/brokerapi/v12" ) var _ = Describe("Catalog Response", func() { diff --git a/service_broker.go b/service_broker.go index c3b3b23c..42d6cf25 100644 --- a/service_broker.go +++ b/service_broker.go @@ -16,8 +16,8 @@ package brokerapi import ( - "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" ) //go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate diff --git a/utils/context.go b/utils/context.go index 74a85f11..f4fa2062 100644 --- a/utils/context.go +++ b/utils/context.go @@ -3,7 +3,7 @@ package utils import ( "context" - "github.com/pivotal-cf/brokerapi/v11/domain" + "github.com/pivotal-cf/brokerapi/v12/domain" ) type contextKey string diff --git a/utils/context_test.go b/utils/context_test.go index c93cacac..40fd9c21 100644 --- a/utils/context_test.go +++ b/utils/context_test.go @@ -5,8 +5,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/pivotal-cf/brokerapi/v11/domain" - "github.com/pivotal-cf/brokerapi/v11/utils" + "github.com/pivotal-cf/brokerapi/v12/domain" + "github.com/pivotal-cf/brokerapi/v12/utils" ) var _ = Describe("Context", func() {