Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
219 lines (199 sloc) 11 KB
<?xml version="1.0" encoding="utf-8" ?>
<objects
xmlns="http://www.springframework.net"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.net/aop"
>
<!--
////////////////////////////////////////////////////////////////////////////////////
oracle
////////////////////////////////////////////////////////////////////////////////////
-->
<object name="oracle.CreateContainerParameters" type="Docker.DotNet.Models.CreateContainerParameters, Docker.DotNet" parent="default.CreateContainerParameters">
<property name="Image" value="oragon/oragon-contexts-oracle:11.2.0.2-xe" />
<property name="Env">
<list element-type="String">
<value><![CDATA[ORACLE_PDB=ORCLPDB1]]></value>
<value><![CDATA[ORACLE_PWD=szwg2uXkeCJh8rG8mEZ9]]></value>
</list>
</property>
<property name="ExposedPorts">
<dictionary key-type="string" value-type="Docker.DotNet.Models.EmptyStruct, Docker.DotNet">
<entry key="1521/tcp">
<object type="Oragon.Context.Tests.Integrated.DockerSupport.EmptyStructFactory, Oragon.Context.Tests" factory-method="BuildEmpty"></object>
</entry>
</dictionary>
</property>
<property name="HostConfig">
<object type="Docker.DotNet.Models.HostConfig, Docker.DotNet">
<property name="PublishAllPorts" value="true" />
<property name="ShmSize" expression="6442450944" />
</object>
</property>
</object>
<object name="oracle.ExpectedText" type="string" factory-method="Copy">
<constructor-arg index="0" value="DATABASE IS READY TO USE!"/>
</object>
<alias alias="oracle.ContainerStartParameters" name="default.ContainerStartParameters"/>
<alias alias="oracle.ContainerLogsParameters" name="default.ContainerLogsParameters"/>
<alias alias="oracle.GetLogsWaitTime" name="default.GetLogsWaitTime"/>
<alias alias="oracle.GetLogsRetryCount" name="default.GetLogsRetryCount"/>
<alias alias="oracle.DefaultTimeout" name="default.DefaultTimeout"/>
<!--
////////////////////////////////////////////////////////////////////////////////////
postgresql
////////////////////////////////////////////////////////////////////////////////////
-->
<object name="postgresql.CreateContainerParameters" type="Docker.DotNet.Models.CreateContainerParameters, Docker.DotNet" parent="default.CreateContainerParameters">
<property name="Image" value="postgres:11" />
<property name="Env">
<list element-type="String">
<value><![CDATA[POSTGRES_DB=OragonSamplesDB]]></value>
<value><![CDATA[POSTGRES_USER=OragonDemoUser]]></value>
<value><![CDATA[POSTGRES_PASSWORD=OragonDemoPwd]]></value>
</list>
</property>
<property name="ExposedPorts">
<dictionary key-type="string" value-type="Docker.DotNet.Models.EmptyStruct, Docker.DotNet">
<entry key="5432/tcp">
<object type="Oragon.Context.Tests.Integrated.DockerSupport.EmptyStructFactory, Oragon.Context.Tests" factory-method="BuildEmpty"></object>
</entry>
</dictionary>
</property>
</object>
<object name="postgresql.ExpectedText" type="string" factory-method="Copy">
<constructor-arg index="0" value="database system is ready to accept connections"/>
</object>
<alias alias="postgresql.ContainerStartParameters" name="default.ContainerStartParameters"/>
<alias alias="postgresql.ContainerLogsParameters" name="default.ContainerLogsParameters"/>
<alias alias="postgresql.GetLogsWaitTime" name="default.GetLogsWaitTime"/>
<alias alias="postgresql.GetLogsRetryCount" name="default.GetLogsRetryCount"/>
<alias alias="postgresql.DefaultTimeout" name="default.DefaultTimeout"/>
<!--
////////////////////////////////////////////////////////////////////////////////////
mysql
////////////////////////////////////////////////////////////////////////////////////
-->
<object name="mysql.CreateContainerParameters" type="Docker.DotNet.Models.CreateContainerParameters, Docker.DotNet" parent="default.CreateContainerParameters">
<property name="Image" value="mysql:8" />
<property name="Env">
<list element-type="String">
<value><![CDATA[MYSQL_ROOT_PASSWORD=PbfSeBmdy34KvTGwWUTHdxht]]></value>
<value><![CDATA[MYSQL_DATABASE=OragonSamplesDB]]></value>
<value><![CDATA[MYSQL_USER=OragonDemoUser]]></value>
<value><![CDATA[MYSQL_PASSWORD=OragonDemoPwd]]></value>
</list>
</property>
<property name="ExposedPorts">
<dictionary key-type="string" value-type="Docker.DotNet.Models.EmptyStruct, Docker.DotNet">
<entry key="3306/tcp">
<object type="Oragon.Context.Tests.Integrated.DockerSupport.EmptyStructFactory, Oragon.Context.Tests" factory-method="BuildEmpty"></object>
</entry>
</dictionary>
</property>
</object>
<object name="mysql.ExpectedText" type="string" factory-method="Copy">
<constructor-arg index="0" value="port: 3306 MySQL"/>
</object>
<alias alias="mysql.ContainerStartParameters" name="default.ContainerStartParameters"/>
<alias alias="mysql.ContainerLogsParameters" name="default.ContainerLogsParameters"/>
<alias alias="mysql.GetLogsWaitTime" name="default.GetLogsWaitTime"/>
<alias alias="mysql.GetLogsRetryCount" name="default.GetLogsRetryCount"/>
<alias alias="mysql.DefaultTimeout" name="default.DefaultTimeout"/>
<!--
////////////////////////////////////////////////////////////////////////////////////
sqlserver
////////////////////////////////////////////////////////////////////////////////////
-->
<object name="sqlserver.CreateContainerParameters" type="Docker.DotNet.Models.CreateContainerParameters, Docker.DotNet" parent="default.CreateContainerParameters">
<property name="Image" value="luizcarlosfaria/mssql-server-linux:latest" />
<property name="Env">
<list element-type="String">
<value><![CDATA[ACCEPT_EULA=Y]]></value>
<value><![CDATA[SA_PASSWORD=PbfSeBmdy34KvTGwWUTHdxht]]></value>
<value><![CDATA[MSSQL_DATABASE=OragonSamplesDB]]></value>
<value><![CDATA[MSSQL_DATABASE_COLLATE=SQL_Latin1_General_CP1_CS_AS]]></value>
<value><![CDATA[MSSQL_USER=OragonDemoUser]]></value>
<value><![CDATA[MSSQL_PASSWORD=OragonDemoPwd]]></value>
</list>
</property>
<property name="ExposedPorts">
<dictionary key-type="string" value-type="Docker.DotNet.Models.EmptyStruct, Docker.DotNet">
<entry key="1433/tcp">
<object type="Oragon.Context.Tests.Integrated.DockerSupport.EmptyStructFactory, Oragon.Context.Tests" factory-method="BuildEmpty"></object>
</entry>
</dictionary>
</property>
</object>
<object name="sqlserver.ExpectedText" type="string" factory-method="Copy">
<constructor-arg index="0" value="SQL Server Database ready"/>
</object>
<alias alias="sqlserver.ContainerStartParameters" name="default.ContainerStartParameters"/>
<alias alias="sqlserver.ContainerLogsParameters" name="default.ContainerLogsParameters"/>
<alias alias="sqlserver.GetLogsWaitTime" name="default.GetLogsWaitTime"/>
<alias alias="sqlserver.GetLogsRetryCount" name="default.GetLogsRetryCount"/>
<alias alias="sqlserver.DefaultTimeout" name="default.DefaultTimeout"/>
<!--
////////////////////////////////////////////////////////////////////////////////////
sqlite
////////////////////////////////////////////////////////////////////////////////////
-->
<object name="sqlite.CreateContainerParameters" type="Docker.DotNet.Models.CreateContainerParameters, Docker.DotNet" parent="default.CreateContainerParameters">
<property name="Image" value="busybox:latest" />
<property name="Cmd">
<list element-type="string">
<value>sleep</value>
<value>600</value>
</list>
</property>
<property name="ExposedPorts">
<dictionary key-type="string" value-type="Docker.DotNet.Models.EmptyStruct, Docker.DotNet">
<entry key="22/tcp">
<object type="Oragon.Context.Tests.Integrated.DockerSupport.EmptyStructFactory, Oragon.Context.Tests" factory-method="BuildEmpty"></object>
</entry>
</dictionary>
</property>
</object>
<object name="sqlite.ExpectedText" type="string" factory-method="Copy">
<constructor-arg index="0" value=""/>
</object>
<alias alias="sqlite.ContainerStartParameters" name="default.ContainerStartParameters"/>
<alias alias="sqlite.ContainerLogsParameters" name="default.ContainerLogsParameters"/>
<alias alias="sqlite.GetLogsWaitTime" name="default.GetLogsWaitTime"/>
<alias alias="sqlite.GetLogsRetryCount" name="default.GetLogsRetryCount"/>
<alias alias="sqlite.DefaultTimeout" name="default.DefaultTimeout"/>
<!--
////////////////////////////////////////////////////////////////////////////////////
Default
////////////////////////////////////////////////////////////////////////////////////
-->
<object name="default.DefaultTimeout" type="System.TimeSpan">
<constructor-arg name="hours" value="0" />
<constructor-arg name="minutes" value="3" />
<constructor-arg name="seconds" value="0" />
</object>
<object name="default.CreateContainerParameters" abstract="true">
<property name="HostConfig">
<object type="Docker.DotNet.Models.HostConfig, Docker.DotNet">
<property name="PublishAllPorts" value="true" />
</object>
</property>
</object>
<object name="default.ExpectedText" type="string" factory-method="Copy">
<constructor-arg index="0" value="SQL Server Database ready"/>
</object>
<object name="default.ContainerStartParameters" type="Docker.DotNet.Models.ContainerStartParameters, Docker.DotNet"></object>
<object name="default.ContainerLogsParameters" type="Docker.DotNet.Models.ContainerLogsParameters, Docker.DotNet">
<property name="Tail" value="50" />
<property name="ShowStdout" value="true" />
<property name="ShowStderr" value="true" />
</object>
<object name="default.GetLogsWaitTime" type="System.TimeSpan">
<constructor-arg name="hours" value="0" />
<constructor-arg name="minutes" value="0" />
<constructor-arg name="seconds" value="5" />
</object>
<object name="default.GetLogsRetryCount" type="System.Int32" factory-method="Parse">
<constructor-arg index="0" value="30" />
</object>
</objects>
You can’t perform that action at this time.