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>
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Fields inherited from interface io.micronaut.testresources.core.TestResourcesResolver
TEST_RESOURCES_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.testcontainers.qdrant.QdrantContainer
createContainer
(org.testcontainers.utility.DockerImageName imageName, Map<String, Object> requestedProperties, Map<String, Object> testResourcesConfig) protected String
getRequiredProperties
(String expression) getResolvableProperties
(Map<String, Collection<String>> propertyEntries, Map<String, Object> testResourcesConfig) protected String
resolveProperty
(String propertyName, org.testcontainers.qdrant.QdrantContainer container) protected boolean
shouldAnswer
(String propertyName, Map<String, Object> requestedProperties, Map<String, Object> testResourcesConfig) Methods inherited from class io.micronaut.testresources.testcontainers.AbstractTestContainersProvider
configureContainer, getName, getOrder, resolve, resolveWithoutContainer, stringOrNull
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.testresources.core.TestResourcesResolver
getId
Methods inherited from interface io.micronaut.testresources.core.ToggableTestResourcesResolver
getDisplayName, isEnabled
-
Constructor Details
-
QdrantTestContainerProvider
public QdrantTestContainerProvider()
-
-
Method Details
-
getSimpleName
- Specified by:
getSimpleName
in classio.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
-
getDefaultImageName
- Specified by:
getDefaultImageName
in classio.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 classio.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
-
resolveProperty
protected Optional<String> resolveProperty(String propertyName, org.testcontainers.qdrant.QdrantContainer container) - Specified by:
resolveProperty
in classio.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
-
getResolvableProperties
-
getRequiredPropertyEntries
-
shouldAnswer
protected boolean shouldAnswer(String propertyName, Map<String, Object> requestedProperties, Map<String, Object> testResourcesConfig) - Overrides:
shouldAnswer
in classio.micronaut.testresources.testcontainers.AbstractTestContainersProvider<org.testcontainers.qdrant.QdrantContainer>
-
getRequiredProperties
-