Skip to content

Commit 04c7e9e

Browse files
committed
chore: Remove BOM
1 parent 7b1ae6f commit 04c7e9e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/modules/qdrant.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,18 @@ To execute the tests, use the command `dotnet test` from a terminal.
2828

2929
## Configure API key
3030

31+
To set and configure an API key, use the following builder method:
32+
3133
=== "Configure the API key"
3234
```csharp
3335
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantContainerApiKey"
3436
```
3537

36-
Make sure the underlying HTTP or gRPC client adds the API key to the HTTP header or gRPC metadata:
38+
Make sure the underlying Qdrant HTTP or gRPC client adds the API key to the HTTP header or gRPC metadata:
3739

3840
=== "Configure the Qdrant client"
3941
```csharp
40-
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientCertificate-1"
42+
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientApiKey"
4143
```
4244

4345
## Configure TLS
@@ -46,22 +48,20 @@ The following example generates a self-signed certificate and configures the Tes
4648

4749
=== "Configure the TLS certificate"
4850
```csharp
49-
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientCertificate"
51+
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantContainerCertificate"
5052
```
5153

5254
The Qdrant client is configured to validate the TLS certificate using its thumbprint:
5355

5456
=== "Configure the Qdrant client"
5557
```csharp
56-
--8<--
57-
"tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientCertificate-1"
58-
"tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientCertificate-2"
59-
--8<--
58+
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientCertificate-1"
59+
--8<-- "tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs:ConfigureQdrantClientCertificate-2"
6060
```
6161

6262
## A Note To Developers
6363

64-
The Testcontainers module creates a container that listens to requests over **HTTP**. The official Qdrant client uses the gRPC APIs to communicate with Qdrant. **.NET Core** and **.NET** support the above example with no additional configuration. However, **.NET Framework** has limited supported for gRPC over HTTP/2, but it can be enabled by
64+
The Testcontainers module creates a container that listens to requests over **HTTP**. The official Qdrant client uses the gRPC APIs to communicate with Qdrant. **.NET Core** and **.NET** support the above example with no additional configuration. However, **.NET Framework** has limited supported for gRPC over HTTP/2, but it can be enabled by:
6565

6666
1. Configuring the Testcontainers module to use TLS.
6767
1. Configuring server certificate validation.

tests/Testcontainers.Qdrant.Tests/PemCertificate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Testcontainers.Qdrant;
1+
namespace Testcontainers.Qdrant;
22

33
public sealed class PemCertificate
44
{

tests/Testcontainers.Qdrant.Tests/QdrantSecureContainerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Testcontainers.Qdrant;
1+
namespace Testcontainers.Qdrant;
22

33
public sealed class QdrantSecureContainerTest : IAsyncLifetime
44
{

0 commit comments

Comments
 (0)