Skip to content

Commit 2ffe53c

Browse files
authored
[BACK-2378][BACK-2388] Bump mongo-driver package to latest version 1.11 to support mongodb versions up to 6.0. (#622)
* Bump mongo-driver to latest 1.11 to support mongodb versions up to 6.0.
1 parent a7f22b5 commit 2ffe53c

File tree

475 files changed

+17422
-9099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

475 files changed

+17422
-9099
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/_tmp
77
/deploy
88
/.idea
9+
.DS_Store

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ go_import_path: github.com/tidepool-org/platform
1111

1212
env:
1313
global:
14-
- MONGODB=4.4.14
14+
- MONGODB=5.3.2
1515

1616
before_install:
1717
- sudo apt-get remove -y mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools

go.mod

+16-16
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ require (
2525
github.com/tidepool-org/go-common v0.9.0
2626
github.com/tidepool-org/hydrophone/client v0.0.0-20221219223301-92bd47a8a11c
2727
github.com/urfave/cli v1.22.4
28-
go.mongodb.org/mongo-driver v1.8.2
28+
go.mongodb.org/mongo-driver v1.11.1
2929
go.uber.org/fx v1.13.1
30-
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
30+
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
3131
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
32-
golang.org/x/oauth2 v0.2.0
32+
golang.org/x/oauth2 v0.4.0
3333
golang.org/x/sync v0.1.0
34-
golang.org/x/tools v0.1.12
35-
google.golang.org/grpc v1.51.0
34+
golang.org/x/tools v0.6.0
35+
google.golang.org/grpc v1.53.0
3636
gopkg.in/yaml.v2 v2.4.0
3737
syreclabs.com/go/faker v1.2.2
3838
)
@@ -53,9 +53,8 @@ require (
5353
github.com/eapache/queue v1.1.0 // indirect
5454
github.com/fatih/color v1.9.0 // indirect
5555
github.com/fsnotify/fsnotify v1.4.9 // indirect
56-
github.com/go-stack/stack v1.8.0 // indirect
5756
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
58-
github.com/golang/protobuf v1.5.2 // indirect
57+
github.com/golang/protobuf v1.5.3 // indirect
5958
github.com/golang/snappy v0.0.1 // indirect
6059
github.com/grpc-ecosystem/grpc-gateway/v2 v2.14.0 // indirect
6160
github.com/hashicorp/go-uuid v1.0.2 // indirect
@@ -66,6 +65,7 @@ require (
6665
github.com/mattn/go-colorable v0.1.12 // indirect
6766
github.com/mattn/go-isatty v0.0.14 // indirect
6867
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
68+
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
6969
github.com/nxadm/tail v1.4.4 // indirect
7070
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
7171
github.com/pkg/errors v0.9.1 // indirect
@@ -77,8 +77,8 @@ require (
7777
github.com/russross/blackfriday/v2 v2.0.1 // indirect
7878
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
7979
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
80-
github.com/xdg-go/scram v1.0.2 // indirect
81-
github.com/xdg-go/stringprep v1.0.2 // indirect
80+
github.com/xdg-go/scram v1.1.1 // indirect
81+
github.com/xdg-go/stringprep v1.0.3 // indirect
8282
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect
8383
github.com/xdg/stringprep v1.0.0 // indirect
8484
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
@@ -89,15 +89,15 @@ require (
8989
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
9090
go.uber.org/zap v1.13.0 // indirect
9191
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
92-
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
93-
golang.org/x/net v0.4.0 // indirect
94-
golang.org/x/sys v0.3.0 // indirect
95-
golang.org/x/term v0.3.0 // indirect
96-
golang.org/x/text v0.5.0 // indirect
92+
golang.org/x/mod v0.8.0 // indirect
93+
golang.org/x/net v0.8.0 // indirect
94+
golang.org/x/sys v0.6.0 // indirect
95+
golang.org/x/term v0.6.0 // indirect
96+
golang.org/x/text v0.8.0 // indirect
9797
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
9898
google.golang.org/appengine v1.6.7 // indirect
99-
google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37 // indirect
100-
google.golang.org/protobuf v1.28.1 // indirect
99+
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
100+
google.golang.org/protobuf v1.30.0 // indirect
101101
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect
102102
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 // indirect
103103
gopkg.in/jcmturner/gokrb5.v7 v7.5.0 // indirect

go.sum

+32-32
Large diffs are not rendered by default.

store/structured/mongo/mongo_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var _ = Describe("Mongo", func() {
7878
Expect(store).ToNot(BeNil())
7979
Expect(err).ToNot(HaveOccurred())
8080
err = store.Ping(context.Background())
81-
Expect(err).To(MatchError("connection() error occured during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism \"SCRAM-SHA-1\": (AuthenticationFailed) Authentication failed."))
81+
Expect(err).To(MatchError(`connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.`))
8282
})
8383

8484
It("returns no error if successful", func() {

vendor/github.com/go-stack/stack/.travis.yml

-15
This file was deleted.

vendor/github.com/go-stack/stack/README.md

-38
This file was deleted.

0 commit comments

Comments
 (0)