testcontainers / testcontainers-dotnet

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
https://dotnet.testcontainers.org
MIT License
3.73k stars 262 forks source link

[Feature]: Add Qdrant test container #992

Open russcam opened 1 year ago

russcam commented 1 year ago

Problem

Qdrant is a vector search engine/database that is becoming popular for search and recommendations use cases. Qdrant provides docker images but there isn't currently an official .NET test container. This issue proposes adding one.

Solution

Open a PR with Qdrant test container from https://github.com/russcam/qdrant-dotnet-client/tree/main/tests/Qdrant.Grpc.Tests/Container

Benefit

Provides a qdrant test container for folks that need it

Alternatives

Folks who need a qdrant test container each define it themselves

Would you like to help contributing this enhancement?

Yes

HofmeisterAn commented 1 year ago

Thank you for bringing up this issue. Since you've already made progress on an implementation, I'm happy to review the pull request as soon as you're ready. I believe we briefly discussed the client implementation, right? There is no official .NET client, right? If not, how can we test the module? Can we utilize e.g. a generic HTTP request?

russcam commented 12 months ago

Opened #994.

There is currently no official client; qdrant exposes both HTTP and gRPC APIs, so the HTTP API can be tested with HttpClient. The gRPC API can be tested with https://www.nuget.org/packages/Qdrant.Grpc for the time being, if need be.