ServiceConnectionProperties class abstract interface

A container that can say how an application connects to it: the properties @ServiceConnection() puts into the test's context.

PostgresContainer and KeycloakContainer implement it. A container of your own does too, to be used with @ServiceConnection().

Spring Boot: ConnectionDetails and ContainerConnectionDetailsFactory.

Implementers

Properties

connectionProperties → Map<String, String>
The properties that point an application at the started container, such as spring.datasource.url. Read after the container started: the values hold its host and mapped ports.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited