public class SchemaRegistryContainer extends org.testcontainers.containers.FixedHostPortGenericContainer<SchemaRegistryContainer> implements IContainer<SchemaRegistryContainer>
| Constructor and Description |
|---|
SchemaRegistryContainer(String version) |
SchemaRegistryContainer(String version,
int mappingPort) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure()
Configure the container
|
boolean |
equals(Object o) |
String |
getInternalURL()
Get the local url.
|
String |
getURL()
Get the url.
|
int |
hashCode() |
boolean |
isSecured() |
protected void |
registerSchemaRegistryEnvironment()
Register the spring boot properties.
|
boolean |
registerSpringbootProperties() |
void |
start()
Start the container.
|
SchemaRegistryContainer |
withBootstrapServersInternalURL(String internalURL)
Set bootstrap servers for local container.
|
SchemaRegistryContainer |
withRegisterSpringbootProperties(boolean registerProperties) |
SchemaRegistryContainer |
withSchemaRegistrySystemProperty(String schemaRegistrySystemProperty) |
SchemaRegistryContainer |
withServerCertificates(Certificates certificates) |
SchemaRegistryContainer |
withZookeeperInternalURL(String internalURL)
Set the zookeeper url for local container.
|
withFixedExposedPort, withFixedExposedPortaddEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canEqual, containerIsCreated, containerIsStarted, containerIsStarting, copyFileFromContainer, copyFileFromContainer, copyFileToContainer, copyFileToContainer, createVolumeDirectory, doStart, execInContainer, execInContainer, failed, fetchDockerDaemonInfo, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDockerClient, getDockerDaemonInfo, 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, isPrivilegedMode, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFileSystemBind, addLink, copyFileFromContainer, copyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, fetchDockerDaemonInfo, followOutput, followOutput, getBinds, getCommandParts, getDockerClient, getDockerDaemonInfo, getDockerImageName, getEnv, getEnvMap, getExtraHosts, getImage, getLinkedContainers, getPortBindings, getTestHostIpAddress, self, setBinds, setCommand, setCommand, setCommandParts, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLinkedContainers, setPortBindings, setWaitStrategy, waitingFor, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withEnv, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withFileSystemBind, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withStartupCheckStrategy, withStartupTimeout, withVolumesFrom, withWorkingDirectorygetContainerNamepublic SchemaRegistryContainer(String version)
version - public SchemaRegistryContainer(String version, int mappingPort)
version - mappingPort - protected void configure()
configure in class org.testcontainers.containers.GenericContainer<SchemaRegistryContainer>public boolean isSecured()
public SchemaRegistryContainer withServerCertificates(Certificates certificates)
public SchemaRegistryContainer withZookeeperInternalURL(String internalURL)
internalURL - public SchemaRegistryContainer withBootstrapServersInternalURL(String internalURL)
internalURL - public SchemaRegistryContainer withSchemaRegistrySystemProperty(String schemaRegistrySystemProperty)
schemaRegistrySystemProperty - public void start()
start in interface org.testcontainers.lifecycle.Startablestart in class org.testcontainers.containers.GenericContainer<SchemaRegistryContainer>protected void registerSchemaRegistryEnvironment()
public SchemaRegistryContainer withRegisterSpringbootProperties(boolean registerProperties)
withRegisterSpringbootProperties in interface IContainer<SchemaRegistryContainer>registerProperties - public boolean registerSpringbootProperties()
registerSpringbootProperties in interface IContainer<SchemaRegistryContainer>public String getURL()
getURL in interface IContainer<SchemaRegistryContainer>public String getInternalURL()
getInternalURL in interface IContainer<SchemaRegistryContainer>public boolean equals(Object o)
equals in class org.testcontainers.containers.GenericContainer<SchemaRegistryContainer>public int hashCode()
hashCode in class org.testcontainers.containers.GenericContainer<SchemaRegistryContainer>Copyright © 2019. All rights reserved.