Package org.springframework.boot.test.autoconfigure.service.connection
package org.springframework.boot.test.autoconfigure.service.connection
General support for auto-configuration of service connections in tests.
-
ClassDescriptionContainerConnectionDetailsFactory<A extends Annotation,
D extends ConnectionDetails, C extends org.testcontainers.containers.GenericContainer<?>> Base class forConnectionDetailsFactoryimplementations that provideConnectionDetailsfrom aContainerConnectionSource.Convenient base class forConnectionDetailsresults that are backed by aContainerConnectionSource.ContainerConnectionSource<A extends Annotation,D extends ConnectionDetails, C extends org.testcontainers.containers.GenericContainer<?>> Passed toContainerConnectionDetailsFactoryto provide details of the@ServiceConnectionannotationGenericContainerfield that provides the service.Annotation used to indicate that a field provides a service that can be connected to.