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.
In favor of AxonServerContainer following the merger of Standard and Enterprise edition into a single version.
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, waitStrategy

    Fields inherited from interface org.testcontainers.containers.ContainerState

    STATE_HEALTHY
  • Constructor Summary

    Constructors
    Constructor
    Description
    AxonServerSEContainer(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 Type
    Method
    Description
    protected void
    Deprecated.
     
    boolean
    Deprecated.
     
    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.
    int
    Deprecated.
     
    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, withWorkingDirectory

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.testcontainers.containers.Container

    addFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBind

    Methods 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, isRunning

    Methods inherited from interface org.testcontainers.lifecycle.Startable

    close
  • Constructor Details

    • AxonServerSEContainer

      public AxonServerSEContainer(String dockerImageName)
      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:
      configure in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
    • withDevMode

      public SELF withDevMode(boolean devMode)
      Deprecated.
      Initialize AxonServer SE on dev mode. Development mode enables some features for development convenience.
      Parameters:
      devMode - dev mode. Default value is false.
      Returns:
      Container itself for fluent API.
    • getGrpcPort

      public Integer getGrpcPort()
      Deprecated.
      Returns the mapped GRPC port used by this Axon Server container.
      Returns:
      mapped GRPC port.
    • getAxonServerAddress

      public String getAxonServerAddress()
      Deprecated.
      Returns the Axon Server's address container in a host:port format.
      Returns:
      address in host:port format.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerSEContainer<SELF>>