Class TestLraCoordinatorConfigSource
java.lang.Object
io.helidon.microprofile.testing.lra.TestLraCoordinatorConfigSource
- All Implemented Interfaces:
ConfigSource
Configuration for
@HelidonTest
with LRA coordinator running on random port.
Any of the properties can be overridden with @AddConfig
.
Example of running test coordinator on port 8070:
@HelidonTest
@AddConfig(key = "server.sockets.500.port", value = "8070")
@AddBean(TestLraCoordinator.class)
-
Field Summary
Fields inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
CONFIG_ORDINAL, DEFAULT_ORDINAL
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
getProperties
-
Constructor Details
-
TestLraCoordinatorConfigSource
public TestLraCoordinatorConfigSource()Initialized by service locator.
-
-
Method Details
-
getPropertyNames
- Specified by:
getPropertyNames
in interfaceConfigSource
-
getOrdinal
public int getOrdinal()- Specified by:
getOrdinal
in interfaceConfigSource
-
getValue
- Specified by:
getValue
in interfaceConfigSource
-
getName
- Specified by:
getName
in interfaceConfigSource
-