Class QdrantTestContainerProvider

java.lang.Object
io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.testresources.core.TestResourcesResolver, io.micronaut.testresources.core.ToggableTestResourcesResolver

public class QdrantTestContainerProvider extends io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
  • Constructor Details

    • QdrantTestContainerProvider

      public QdrantTestContainerProvider()
  • Method Details

    • getSimpleName

      protected String getSimpleName()
      Specified by:
      getSimpleName in class io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
    • getDefaultImageName

      protected String getDefaultImageName()
      Specified by:
      getDefaultImageName in class io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
    • createContainer

      protected org.testcontainers.qdrant.QdrantContainer createContainer(org.testcontainers.utility.DockerImageName imageName, Map<String,Object> requestedProperties, Map<String,Object> testResourcesConfig)
      Specified by:
      createContainer in class io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
    • resolveProperty

      protected Optional<String> resolveProperty(String propertyName, org.testcontainers.qdrant.QdrantContainer container)
      Specified by:
      resolveProperty in class io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
    • getResolvableProperties

      public List<String> getResolvableProperties(Map<String,Collection<String>> propertyEntries, Map<String,Object> testResourcesConfig)
    • getRequiredPropertyEntries

      public List<String> getRequiredPropertyEntries()
    • shouldAnswer

      protected boolean shouldAnswer(String propertyName, Map<String,Object> requestedProperties, Map<String,Object> testResourcesConfig)
      Overrides:
      shouldAnswer in class io.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
    • getRequiredProperties

      public List<String> getRequiredProperties(String expression)