Package org.axonframework.test.server
Class AxonServerSEContainer<SELF extends AxonServerSEContainer<SELF>>
java.lang.Object
org.testcontainers.containers.FailureDetectingExternalResource
org.testcontainers.containers.GenericContainer<SELF>
org.axonframework.test.server.AxonServerSEContainer<SELF>
- All Implemented Interfaces:
AutoCloseable,org.junit.rules.TestRule,org.testcontainers.containers.Container<SELF>,org.testcontainers.containers.ContainerState,org.testcontainers.containers.traits.LinkableContainer,org.testcontainers.containers.wait.strategy.WaitStrategyTarget,org.testcontainers.lifecycle.Startable
@Deprecated
public class AxonServerSEContainer<SELF extends AxonServerSEContainer<SELF>>
extends org.testcontainers.containers.GenericContainer<SELF>
Deprecated.
Constructs a single node AxonServer Standard Edition (SE) for testing.
- Since:
- 4.6.0
- Author:
- Lucas Campos
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.testcontainers.containers.Container
org.testcontainers.containers.Container.ExecResult -
Field Summary
Fields inherited from class org.testcontainers.containers.GenericContainer
CONTAINER_RUNNING_TIMEOUT_SEC, dependencies, dockerClient, INTERNAL_HOST_HOSTNAME, waitStrategyFields inherited from interface org.testcontainers.containers.ContainerState
STATE_HEALTHY -
Constructor Summary
ConstructorsConstructorDescriptionAxonServerSEContainer(String dockerImageName) Deprecated.Initialize AxonServer SE with a given docker image.AxonServerSEContainer(org.testcontainers.utility.DockerImageName dockerImageName) Deprecated.Initialize AxonServer SE with a given docker image. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.booleanDeprecated.Deprecated.Returns the Axon Server's address container in a host:port format.Deprecated.Returns the mapped GRPC port used by this Axon Server container.inthashCode()Deprecated.toString()Deprecated.withDevMode(boolean devMode) Deprecated.Initialize AxonServer SE on dev mode.Methods inherited from class org.testcontainers.containers.GenericContainer
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, failed, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerDef, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.testcontainers.containers.Container
addFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindMethods inherited from interface org.testcontainers.containers.ContainerState
copyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, execInContainer, execInContainer, execInContainerWithUser, execInContainerWithUser, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningMethods inherited from interface org.testcontainers.lifecycle.Startable
close
-
Constructor Details
-
AxonServerSEContainer
Deprecated.Initialize AxonServer SE with a given docker image.- Parameters:
dockerImageName- name of the docker image
-
AxonServerSEContainer
public AxonServerSEContainer(org.testcontainers.utility.DockerImageName dockerImageName) Deprecated.Initialize AxonServer SE with a given docker image.- Parameters:
dockerImageName- name of the docker image
-
-
Method Details
-
configure
protected void configure()Deprecated.- Overrides:
configurein classorg.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
-
withDevMode
Deprecated.Initialize AxonServer SE on dev mode. Development mode enables some features for development convenience.- Parameters:
devMode- dev mode. Default value isfalse.- Returns:
- Container itself for fluent API.
-
getGrpcPort
Deprecated.Returns the mapped GRPC port used by this Axon Server container.- Returns:
- mapped GRPC port.
-
getAxonServerAddress
Deprecated.Returns the Axon Server's address container in a host:port format.- Returns:
- address in host:port format.
-
equals
Deprecated.- Overrides:
equalsin classorg.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classorg.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
-
toString
Deprecated.- Overrides:
toStringin classorg.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
-
AxonServerContainerfollowing the merger of Standard and Enterprise edition into a single version.