Skip to content

Commit

Permalink
Update MongoDriver to match MongoBson
Browse files Browse the repository at this point in the history
  • Loading branch information
jas88 committed Oct 24, 2024
1 parent 7270c57 commit 6f6297b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 130 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.11.0" />
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" />
<PackageVersion Include="MongoDB.Bson" Version="3.0.0" />
<PackageVersion Include="MongoDB.Driver" Version="2.30.0" />
<PackageVersion Include="MongoDB.Driver" Version="3.0.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="NLog" Version="5.3.4" />
<PackageVersion Include="RabbitMQ.Client" Version="6.8.1" />
Expand All @@ -40,4 +40,4 @@
<PackageVersion Include="NunitXml.TestLogger" Version="4.1.0" />
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="21.0.29" />
</ItemGroup>
</Project>
</Project>
51 changes: 9 additions & 42 deletions src/SmiServices/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,17 @@
},
"MongoDB.Driver": {
"type": "Direct",
"requested": "[2.30.0, )",
"resolved": "2.30.0",
"contentHash": "BCG8cNF0+U3h5f/O9fu3ktrYhoESBDems1w06PExfYrn2KjHBHCBdvBRY1cIbysnZVjQAJjGtFV9XgW+hXt7Hg==",
"requested": "[3.0.0, )",
"resolved": "3.0.0",
"contentHash": "udcP8rOhyuhLDn3sGVdNUgQSXfKGPaIP4w09XVKf4xdy66YSXinhkIuQSuOeZVHdTFsG2PpUbRx2wyFm7E0EMg==",
"dependencies": {
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"MongoDB.Bson": "2.30.0",
"MongoDB.Driver.Core": "2.30.0",
"MongoDB.Libmongocrypt": "1.12.0"
"MongoDB.Bson": "3.0.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
}
},
"Newtonsoft.Json": {
Expand Down Expand Up @@ -614,27 +617,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Driver.Core": {
"type": "Transitive",
"resolved": "2.30.0",
"contentHash": "oepDgu24lo44SljuHmIQ99x6jHISnMC4tLfzQGniQg39xiMD8nxalm1HM9RDZcuZbbWa4F6YLt2AIhWkny3XWA==",
"dependencies": {
"AWSSDK.SecurityToken": "3.7.100.14",
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"MongoDB.Bson": "2.30.0",
"MongoDB.Libmongocrypt": "1.12.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"MySqlConnector": {
"type": "Transitive",
"resolved": "2.3.7",
Expand Down Expand Up @@ -1098,11 +1080,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -1604,11 +1581,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -2110,11 +2082,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down
53 changes: 10 additions & 43 deletions tests/SmiServices.IntegrationTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,27 +509,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Driver.Core": {
"type": "Transitive",
"resolved": "2.30.0",
"contentHash": "oepDgu24lo44SljuHmIQ99x6jHISnMC4tLfzQGniQg39xiMD8nxalm1HM9RDZcuZbbWa4F6YLt2AIhWkny3XWA==",
"dependencies": {
"AWSSDK.SecurityToken": "3.7.100.14",
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"MongoDB.Bson": "2.30.0",
"MongoDB.Libmongocrypt": "1.12.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"MySqlConnector": {
"type": "Transitive",
"resolved": "2.3.7",
Expand Down Expand Up @@ -955,7 +934,7 @@
"Microsoft.CodeAnalysis.CSharp.Scripting": "[4.11.0, )",
"Microsoft.Extensions.Caching.Memory": "[8.0.1, )",
"MongoDB.Bson": "[3.0.0, )",
"MongoDB.Driver": "[2.30.0, )",
"MongoDB.Driver": "[3.0.0, )",
"NLog": "[5.3.4, )",
"Newtonsoft.Json": "[13.0.3, )",
"RabbitMQ.Client": "[6.8.1, )",
Expand Down Expand Up @@ -1139,14 +1118,17 @@
},
"MongoDB.Driver": {
"type": "CentralTransitive",
"requested": "[2.30.0, )",
"resolved": "2.30.0",
"contentHash": "BCG8cNF0+U3h5f/O9fu3ktrYhoESBDems1w06PExfYrn2KjHBHCBdvBRY1cIbysnZVjQAJjGtFV9XgW+hXt7Hg==",
"requested": "[3.0.0, )",
"resolved": "3.0.0",
"contentHash": "udcP8rOhyuhLDn3sGVdNUgQSXfKGPaIP4w09XVKf4xdy66YSXinhkIuQSuOeZVHdTFsG2PpUbRx2wyFm7E0EMg==",
"dependencies": {
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"MongoDB.Bson": "2.30.0",
"MongoDB.Driver.Core": "2.30.0",
"MongoDB.Libmongocrypt": "1.12.0"
"MongoDB.Bson": "3.0.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
}
},
"Newtonsoft.Json": {
Expand Down Expand Up @@ -1262,11 +1244,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -1768,11 +1745,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -2274,11 +2246,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down
53 changes: 10 additions & 43 deletions tests/SmiServices.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,27 +509,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Driver.Core": {
"type": "Transitive",
"resolved": "2.30.0",
"contentHash": "oepDgu24lo44SljuHmIQ99x6jHISnMC4tLfzQGniQg39xiMD8nxalm1HM9RDZcuZbbWa4F6YLt2AIhWkny3XWA==",
"dependencies": {
"AWSSDK.SecurityToken": "3.7.100.14",
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"MongoDB.Bson": "2.30.0",
"MongoDB.Libmongocrypt": "1.12.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"MySqlConnector": {
"type": "Transitive",
"resolved": "2.3.7",
Expand Down Expand Up @@ -955,7 +934,7 @@
"Microsoft.CodeAnalysis.CSharp.Scripting": "[4.11.0, )",
"Microsoft.Extensions.Caching.Memory": "[8.0.1, )",
"MongoDB.Bson": "[3.0.0, )",
"MongoDB.Driver": "[2.30.0, )",
"MongoDB.Driver": "[3.0.0, )",
"NLog": "[5.3.4, )",
"Newtonsoft.Json": "[13.0.3, )",
"RabbitMQ.Client": "[6.8.1, )",
Expand Down Expand Up @@ -1124,14 +1103,17 @@
},
"MongoDB.Driver": {
"type": "CentralTransitive",
"requested": "[2.30.0, )",
"resolved": "2.30.0",
"contentHash": "BCG8cNF0+U3h5f/O9fu3ktrYhoESBDems1w06PExfYrn2KjHBHCBdvBRY1cIbysnZVjQAJjGtFV9XgW+hXt7Hg==",
"requested": "[3.0.0, )",
"resolved": "3.0.0",
"contentHash": "udcP8rOhyuhLDn3sGVdNUgQSXfKGPaIP4w09XVKf4xdy66YSXinhkIuQSuOeZVHdTFsG2PpUbRx2wyFm7E0EMg==",
"dependencies": {
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"MongoDB.Bson": "2.30.0",
"MongoDB.Driver.Core": "2.30.0",
"MongoDB.Libmongocrypt": "1.12.0"
"MongoDB.Bson": "3.0.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
}
},
"Newtonsoft.Json": {
Expand Down Expand Up @@ -1247,11 +1229,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -1753,11 +1730,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -2259,11 +2231,6 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Libmongocrypt": {
"type": "Transitive",
"resolved": "1.12.0",
"contentHash": "B1X51jrtNacKvxKoaqWeknYeJfQS5aWf6BmVLT5JZerz3AUXFzv8edPskJYqBc3kLy1J2PWzMqqsnyb9g8FtcA=="
},
"runtime.any.System.Collections": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down

0 comments on commit 6f6297b

Please sign in to comment.