<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-mssqlserver</artifactId>
<scope>test</scope>
</dependency>
-
embedded.mssqlserver.enabled
(true|false, default is true)
-
embedded.mssqlserver.reuseContainer
(true|false, default is false)
-
embedded.mssqlserver.dockerImage
(default is 'mcr.microsoft.com/mssql/server:2022-latest')
-
Image versions: https://hub.docker.com/_/microsoft-mssql-server
-
-
embedded.mssqlserver.password
(default is foobar1234)
-
embedded.mssqlserver.acceptLicence
(default is 'false')
-
embedded.mssqlserver.startupLogCheckRegex
-
embedded.mssqlserver.initScriptPath
-
embedded.toxiproxy.proxies.mssqlserver.enabled
Enables both creation of the container with ToxiProxy TCP proxy and a proxy to theembedded-mssqlserver
container.
The username and database name can intentionally not be supplied to this module, because the MS SQL Server images do not allow to set those parameters.
-
embedded.mssqlserver.host
-
embedded.mssqlserver.port
-
embedded.mssqlserver.database
-
embedded.mssqlserver.user
-
embedded.mssqlserver.password
-
embedded.mssqlserver.toxiproxy.host
-
embedded.mssqlserver.toxiproxy.port
-
embedded.mssqlserver.networkAlias
-
embedded.mssqlserver.internalPort
-
Bean
ToxiproxyContainer.ContainerProxy mssqlserverContainerProxy