AxonServerContainer
following the merger of Standard and Enterprise edition into a
single version.@Deprecated public class AxonServerEEContainer<SELF extends AxonServerEEContainer<SELF>> extends org.testcontainers.containers.GenericContainer<SELF>
Constructor and Description |
---|
AxonServerEEContainer(org.testcontainers.utility.DockerImageName dockerImageName)
Deprecated.
Initialize AxonServer EE with a given docker image.
|
AxonServerEEContainer(String dockerImageName)
Deprecated.
Initialize AxonServer EE with a given docker image.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
String |
getAxonServerAddress()
Deprecated.
Returns the Axon Server's address container in a host:port format.
|
Integer |
getGrpcPort()
Deprecated.
Returns the mapped GRPC port used by this Axon Server container.
|
int |
hashCode()
Deprecated.
|
protected void |
optionallyCopyResourceToContainer(String pathNameInContainer,
String resourceLocation)
Deprecated.
Map (effectively replace) directory in Docker with the content of resourceLocation if resource location is not
null
|
String |
toString()
Deprecated.
|
SELF |
withAxonServerHostname(String axonServerHostname)
Deprecated.
Initialize AxonServer EE with a given Axon Server Hostname.
|
SELF |
withAxonServerInternalHostname(String axonServerInternalHostname)
Deprecated.
Initialize AxonServer EE with a given Axon Server Internal Hostname.
|
SELF |
withAxonServerName(String axonServerName)
Deprecated.
Initialize AxonServer EE with a given Axon Server Name.
|
SELF |
withClusterTemplate(String clusterTemplatePath)
Deprecated.
Initialize AxonServer EE with a given cluster template configuration file.
|
SELF |
withConfiguration(String configurationPath)
Deprecated.
Initialize AxonServer EE with a given configuration file.
|
SELF |
withLicense(String licensePath)
Deprecated.
Initialize AxonServer EE with a given license.
|
protected void |
withOptionalEnv(String key,
String value)
Deprecated.
Set an environment value if the value is present.
|
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBind
copyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, execInContainerWithUser, execInContainerWithUser, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunning
public AxonServerEEContainer(String dockerImageName)
dockerImageName
- name of the docker imagepublic AxonServerEEContainer(org.testcontainers.utility.DockerImageName dockerImageName)
dockerImageName
- name of the docker imageprotected void configure()
configure
in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerEEContainer<SELF>>
protected void optionallyCopyResourceToContainer(String pathNameInContainer, String resourceLocation)
Protected to allow for changing implementation by extending the class
pathNameInContainer
- path in dockerresourceLocation
- relative classpath to resourceprotected void withOptionalEnv(String key, String value)
Protected to allow for changing implementation by extending the class
key
- environment key value, usually a constantvalue
- environment value to be setpublic SELF withLicense(String licensePath)
licensePath
- path to the license file.public SELF withConfiguration(String configurationPath)
configurationPath
- path to the configuration file.public SELF withClusterTemplate(String clusterTemplatePath)
clusterTemplatePath
- path to the cluster template file.public SELF withAxonServerName(String axonServerName)
axonServerName
- name of the Axon Server.public SELF withAxonServerInternalHostname(String axonServerInternalHostname)
axonServerInternalHostname
- internal hostname of the Axon Server.public SELF withAxonServerHostname(String axonServerHostname)
axonServerHostname
- hostname of the Axon Server.public Integer getGrpcPort()
public String getAxonServerAddress()
public boolean equals(Object o)
equals
in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerEEContainer<SELF>>
public int hashCode()
hashCode
in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerEEContainer<SELF>>
public String toString()
toString
in class org.testcontainers.containers.GenericContainer<SELF extends AxonServerEEContainer<SELF>>
Copyright © 2010–2024. All rights reserved.