Skip to content

Latest commit

 

History

History

embedded-mssqlserver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

embedded-mssqlserver

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-mssqlserver</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • 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')

  • 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 the embedded-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.

Produces

  • 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