diff --git a/Makefile b/Makefile index 818085a0..936fa990 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,9 @@ BROKER_GO_OPTS=PORT=8080 \ GSB_COMPATIBILITY_ENABLE_BETA_SERVICES=$(GSB_COMPATIBILITY_ENABLE_BETA_SERVICES) PAK_PATH=$(PWD) #where the brokerpak zip resides -RUN_CSB=$(BROKER_GO_OPTS) go run github.com/cloudfoundry/cloud-service-broker -LDFLAGS="-X github.com/cloudfoundry/cloud-service-broker/utils.Version=$(CSB_VERSION)" -GET_CSB="env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags $(LDFLAGS) github.com/cloudfoundry/cloud-service-broker" +RUN_CSB=$(BROKER_GO_OPTS) go run github.com/cloudfoundry/cloud-service-broker/v2 +LDFLAGS="-X github.com/cloudfoundry/cloud-service-broker/v2/utils.Version=$(CSB_VERSION)" +GET_CSB="env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags $(LDFLAGS) github.com/cloudfoundry/cloud-service-broker/v2" ###### Targets ################################################################ diff --git a/go.mod b/go.mod index c577b8d0..c8b80d1b 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( code.cloudfoundry.org/jsonry v1.1.4 github.com/Pallinder/go-randomdata v1.2.0 github.com/blang/semver/v4 v4.0.0 - github.com/cloudfoundry/cloud-service-broker v1.0.1 + github.com/cloudfoundry/cloud-service-broker/v2 v2.0.0 github.com/hashicorp/terraform-json v0.21.0 github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 @@ -39,10 +39,10 @@ require ( github.com/cloudfoundry/socks5-proxy v0.2.60 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/go-chi/chi/v5 v5.0.11 // indirect + github.com/go-chi/chi/v5 v5.0.12 // indirect github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-sql-driver/mysql v1.8.0 // indirect + github.com/go-sql-driver/mysql v1.8.1 // indirect github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect @@ -59,7 +59,7 @@ require ( github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.20.0 // indirect + github.com/hashicorp/hcl/v2 v2.20.1 // indirect github.com/hashicorp/hil v0.0.0-20210521165536-27a72121fd40 // indirect github.com/heptiolabs/healthcheck v0.0.0-20180807145615-6ff867650f40 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect @@ -78,7 +78,7 @@ require ( github.com/openzipkin/zipkin-go v0.4.2 // indirect github.com/pborman/uuid v1.2.1 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/pivotal-cf/brokerapi/v10 v10.2.0 // indirect + github.com/pivotal-cf/brokerapi/v11 v11.0.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/prometheus/client_golang v1.11.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect @@ -87,7 +87,6 @@ require ( github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/sergi/go-diff v1.2.0 // indirect github.com/sourcegraph/conc v0.3.0 // indirect github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.6.0 // indirect @@ -126,5 +125,5 @@ require ( gopkg.in/ini.v1 v1.67.0 // indirect gorm.io/driver/mysql v1.5.6 // indirect gorm.io/driver/sqlite v1.4.4 // indirect - gorm.io/gorm v1.25.8 // indirect + gorm.io/gorm v1.25.9 // indirect ) diff --git a/go.sum b/go.sum index d8f4827a..f193d382 100644 --- a/go.sum +++ b/go.sum @@ -233,8 +233,8 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudfoundry/cloud-service-broker v1.0.1 h1:r7YRP4b9ZMwBEiEoAj5ApjNp+eRIQP9mBqjdIaoj6u0= -github.com/cloudfoundry/cloud-service-broker v1.0.1/go.mod h1:9yjNDWwZJL57cAR3VkhB4N47YAz6XUF4wKlmhhUXZ/k= +github.com/cloudfoundry/cloud-service-broker/v2 v2.0.0 h1:oUj1EUgZ8a29cLPJmVNN7l4TPEgaN7GGTUzbnLS/3ew= +github.com/cloudfoundry/cloud-service-broker/v2 v2.0.0/go.mod h1:oCHQv6lC0gI2ADx8iRHJ4vOG6ORqO3mN/i8sDDLEH30= github.com/cloudfoundry/go-socks5 v0.0.0-20180221174514-54f73bdb8a8e h1:FQdRViaoDphGRfgrotl2QGsX1gbloe57dbGBS5CG6KY= github.com/cloudfoundry/go-socks5 v0.0.0-20180221174514-54f73bdb8a8e/go.mod h1:PXmcacyJB/pJjSxEl15IU6rEIKXrhZQRzsr0UTkgNNs= github.com/cloudfoundry/socks5-proxy v0.2.60 h1:ydBc1njXIrCrU6UwQAwfIrKIab4Qq1lse8l2cVc7HA4= @@ -275,8 +275,8 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4 github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-chi/chi/v5 v5.0.11 h1:BnpYbFZ3T3S1WMpD79r7R5ThWX40TaFB7L31Y8xqSwA= -github.com/go-chi/chi/v5 v5.0.11/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s= +github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -292,8 +292,8 @@ github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ4 github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= -github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4= -github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= +github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y= +github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= @@ -423,8 +423,8 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl/v2 v2.20.0 h1:l++cRs/5jQOiKVvqXZm/P1ZEfVXJmvLS9WSVxkaeTb4= -github.com/hashicorp/hcl/v2 v2.20.0/go.mod h1:WmcD/Ym72MDOOx5F62Ly+leloeu6H7m0pG7VBiU6pQk= +github.com/hashicorp/hcl/v2 v2.20.1 h1:M6hgdyz7HYt1UN9e61j+qKJBqR3orTWbI1HKBJEdxtc= +github.com/hashicorp/hcl/v2 v2.20.1/go.mod h1:TZDqQ4kNKCbh1iJp99FdPiUaVDDUPivbqxZulxDYqL4= github.com/hashicorp/hil v0.0.0-20210521165536-27a72121fd40 h1:ExwaL+hUy1ys2AWDbsbh/lxQS2EVCYxuj0LoyLTdB3Y= github.com/hashicorp/hil v0.0.0-20210521165536-27a72121fd40/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= @@ -467,8 +467,6 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= @@ -526,8 +524,8 @@ github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= -github.com/pivotal-cf/brokerapi/v10 v10.2.0 h1:cdXk5FMkxuBONiaPS+H9aIu0v5aSYv4qvo5keBcUTGA= -github.com/pivotal-cf/brokerapi/v10 v10.2.0/go.mod h1:UEwbfVgaY8FpQ3NOfjoVRPLW/Ar0c7uYQP5TJj3r3OE= +github.com/pivotal-cf/brokerapi/v11 v11.0.0 h1:FxIrKdrFNAUyX8NAgPpdkJjwQ0vHmjbaPoxTPcAvcmY= +github.com/pivotal-cf/brokerapi/v11 v11.0.0/go.mod h1:MY40lQBKIChtmOpTVluTOyKQ9bW9p5fDszvXOEViIBQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -564,8 +562,6 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= @@ -616,6 +612,8 @@ github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -1217,8 +1215,8 @@ gorm.io/driver/sqlite v1.4.4 h1:gIufGoR0dQzjkyqDyYSCvsYR6fba1Gw5YKDqKeChxFc= gorm.io/driver/sqlite v1.4.4/go.mod h1:0Aq3iPO+v9ZKbcdiz8gLWRw5VOPcBOPUQJFLq5e2ecI= gorm.io/gorm v1.24.0/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA= gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= -gorm.io/gorm v1.25.8 h1:WAGEZ/aEcznN4D03laj8DKnehe1e9gYQAjW8xyPRdeo= -gorm.io/gorm v1.25.8/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/gorm v1.25.9 h1:wct0gxZIELDk8+ZqF/MVnHLkA1rvYlBWUMv2EdsK1g8= +gorm.io/gorm v1.25.9/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/integration-tests/bigquery_test.go b/integration-tests/bigquery_test.go index 91167e2a..88e08f07 100644 --- a/integration-tests/bigquery_test.go +++ b/integration-tests/bigquery_test.go @@ -1,7 +1,7 @@ package integration_test import ( - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/integration-tests/dataproc_test.go b/integration-tests/dataproc_test.go index 88f30b0c..86ab184c 100644 --- a/integration-tests/dataproc_test.go +++ b/integration-tests/dataproc_test.go @@ -1,7 +1,7 @@ package integration_test import ( - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/integration-tests/integration_tests_suite_test.go b/integration-tests/integration_tests_suite_test.go index 627879f4..8f6690d9 100644 --- a/integration-tests/integration_tests_suite_test.go +++ b/integration-tests/integration_tests_suite_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/integration-tests/mysql_test.go b/integration-tests/mysql_test.go index 08fc296b..36b4a060 100644 --- a/integration-tests/mysql_test.go +++ b/integration-tests/mysql_test.go @@ -3,7 +3,7 @@ package integration_test import ( "fmt" - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/integration-tests/postgres_test.go b/integration-tests/postgres_test.go index 380f8397..6c990a66 100644 --- a/integration-tests/postgres_test.go +++ b/integration-tests/postgres_test.go @@ -1,7 +1,7 @@ package integration_test import ( - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/integration-tests/redis_test.go b/integration-tests/redis_test.go index f23b1eee..9e45da64 100644 --- a/integration-tests/redis_test.go +++ b/integration-tests/redis_test.go @@ -3,7 +3,7 @@ package integration_test import ( "fmt" - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/integration-tests/spanner_test.go b/integration-tests/spanner_test.go index dfa8ab21..489191a1 100644 --- a/integration-tests/spanner_test.go +++ b/integration-tests/spanner_test.go @@ -1,7 +1,7 @@ package integration_test import ( - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/integration-tests/storage_test.go b/integration-tests/storage_test.go index 71269c40..c77e533f 100644 --- a/integration-tests/storage_test.go +++ b/integration-tests/storage_test.go @@ -3,7 +3,7 @@ package integration_test import ( "fmt" - testframework "github.com/cloudfoundry/cloud-service-broker/brokerpaktestframework" + testframework "github.com/cloudfoundry/cloud-service-broker/v2/brokerpaktestframework" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" diff --git a/terraform/bigquery/bind/versions.tf b/terraform/bigquery/bind/versions.tf new file mode 100644 index 00000000..07399692 --- /dev/null +++ b/terraform/bigquery/bind/versions.tf @@ -0,0 +1,8 @@ +terraform { + required_providers { + google = { + source = "registry.terraform.io/hashicorp/google" + version = ">=4.8.0" + } + } +} diff --git a/terraform/bigquery/provision/versions.tf b/terraform/bigquery/provision/versions.tf index 8c35949a..07399692 100644 --- a/terraform/bigquery/provision/versions.tf +++ b/terraform/bigquery/provision/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/cloudsql/mysql/bind/versions.tf b/terraform/cloudsql/mysql/bind/versions.tf index f721b15a..65aa1ffb 100644 --- a/terraform/cloudsql/mysql/bind/versions.tf +++ b/terraform/cloudsql/mysql/bind/versions.tf @@ -5,7 +5,7 @@ terraform { version = ">= 1.2.0" } random = { - source = "hashicorp/random" + source = "registry.terraform.io/hashicorp/random" version = ">=3.1.0" } } diff --git a/terraform/cloudsql/mysql/provision/versions.tf b/terraform/cloudsql/mysql/provision/versions.tf index 3aedb7c2..9c584792 100644 --- a/terraform/cloudsql/mysql/provision/versions.tf +++ b/terraform/cloudsql/mysql/provision/versions.tf @@ -1,11 +1,11 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } random = { - source = "hashicorp/random" + source = "registry.terraform.io/hashicorp/random" version = ">=3.4.3" } } diff --git a/terraform/cloudsql/postgresql/bind/versions.tf b/terraform/cloudsql/postgresql/bind/versions.tf index b836512d..9c47428e 100644 --- a/terraform/cloudsql/postgresql/bind/versions.tf +++ b/terraform/cloudsql/postgresql/bind/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { random = { - source = "hashicorp/random" + source = "registry.terraform.io/hashicorp/random" version = ">=3.1.0" } diff --git a/terraform/cloudsql/postgresql/provision/versions.tf b/terraform/cloudsql/postgresql/provision/versions.tf index 52c04dae..306f074e 100644 --- a/terraform/cloudsql/postgresql/provision/versions.tf +++ b/terraform/cloudsql/postgresql/provision/versions.tf @@ -1,12 +1,12 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } random = { - source = "hashicorp/random" + source = "registry.terraform.io/hashicorp/random" version = ">=3.1.0" } } diff --git a/terraform/dataproc/bind/versions.tf b/terraform/dataproc/bind/versions.tf index 8c35949a..07399692 100644 --- a/terraform/dataproc/bind/versions.tf +++ b/terraform/dataproc/bind/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/dataproc/provision/versions.tf b/terraform/dataproc/provision/versions.tf index 8c35949a..07399692 100644 --- a/terraform/dataproc/provision/versions.tf +++ b/terraform/dataproc/provision/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/redis/provision/versions.tf b/terraform/redis/provision/versions.tf index 8c35949a..07399692 100644 --- a/terraform/redis/provision/versions.tf +++ b/terraform/redis/provision/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/spanner/bind/versions.tf b/terraform/spanner/bind/versions.tf index 8c35949a..07399692 100644 --- a/terraform/spanner/bind/versions.tf +++ b/terraform/spanner/bind/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/spanner/provision/versions.tf b/terraform/spanner/provision/versions.tf index 8c35949a..07399692 100644 --- a/terraform/spanner/provision/versions.tf +++ b/terraform/spanner/provision/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/stackdriver/bind/versions.tf b/terraform/stackdriver/bind/versions.tf index 8c35949a..07399692 100644 --- a/terraform/stackdriver/bind/versions.tf +++ b/terraform/stackdriver/bind/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/storage/bind/versions.tf b/terraform/storage/bind/versions.tf index 8c35949a..07399692 100644 --- a/terraform/storage/bind/versions.tf +++ b/terraform/storage/bind/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/terraform/storage/provision/versions.tf b/terraform/storage/provision/versions.tf index 8c35949a..07399692 100644 --- a/terraform/storage/provision/versions.tf +++ b/terraform/storage/provision/versions.tf @@ -1,7 +1,7 @@ terraform { required_providers { google = { - source = "hashicorp/google" + source = "registry.terraform.io/hashicorp/google" version = ">=4.8.0" } } diff --git a/tools/tools.go b/tools/tools.go index 557a792c..60fd5bf3 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -3,7 +3,7 @@ package tools import ( - _ "github.com/cloudfoundry/cloud-service-broker" + _ "github.com/cloudfoundry/cloud-service-broker/v2" _ "github.com/onsi/ginkgo/v2/ginkgo" _ "golang.org/x/tools/cmd/goimports" _ "honnef.co/go/tools/cmd/staticcheck"