Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Qdrant module #1149

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from

Commits on Mar 29, 2024

  1. Add Qdrant container

    This commit adds a qdrant container to the list of supported
    Testcontainers.
    
    The qdrant container allows configuration of:
    
    - an API key to authenticate to Qdrant
    - an x509 certificate used to secure communication to Qdrant with
      Transport Layer Security
    - a custom configuration file. See
      https://qdrant.tech/documentation/guides/configuration/
    
    Closes testcontainers#992
    russcam committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    6b6d3fc View commit details
    Browse the repository at this point in the history
  2. Fix TLS tests on Linux

    Qdrant uses rustls for TLS, which does not accept IPv4 or IPv6 addresses as the hostname in SNI, adhering
    to RFC 6066: https://www.rfc-editor.org/rfc/rfc6066#page-7
    
    Sending an IPv4 or IPv6 address as the hostname in SNI causes the handshake to be rejected and
    qdrant to log
    
    WARN rustls::msgs::handshake: Illegal SNI hostname received "127.0.0.1"
    
    By default, .NET on linux sends the DNS name in the URI in Server Name Indication (SNI),
    irrespective of whether it's an IP address or not. In order to resolve this, a custom
    Host request header is added, per
    
    dotnet/runtime#20876 (comment)
    russcam committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    1cd8f77 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0181b8e View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. PR feedback

    russcam committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    dc5f0cb View commit details
    Browse the repository at this point in the history
  2. remove superfluous whitespace

    russcam committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    93494d7 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. address PR checks

    russcam committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    cb55a2f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Use readyz endpoint

    This commit moves the wait for strategy to
    use the readyz endpoint. If a certificate has
    been specified, perform the check with TLS and
    allow any certificate to pass validation.
    russcam committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    ca0b39b View commit details
    Browse the repository at this point in the history
  2. Also target net462

    The qdrant gRPC client uses .NET Framework build
    of Grpc.Net.Client, which uses WinHttpHandler. The
    wiring up is easier on net462 if net462 is targeted
    specifically. Same reason why the Milvus container
    also targets net462 (testcontainers#1131 (comment)).
    russcam committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    da10ea1 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. Configuration menu
    Copy the full SHA
    bb42811 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21a3439 View commit details
    Browse the repository at this point in the history
  3. chore: Remove BOM

    HofmeisterAn committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    f662ec6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    331abc5 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    96be0c7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'qdrant-container' of github.com:russcam/testcontainers-…

    …dotnet into qdrant-container
    russcam committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    6b5e170 View commit details
    Browse the repository at this point in the history
  3. remove BOM

    russcam committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f31250e View commit details
    Browse the repository at this point in the history