summaryrefslogtreecommitdiffstats
path: root/packages/arquillian-unit-tests/src/test/resources/arquillian.xml
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2018-07-30 15:56:09 -0400
committerBenjamin, Max (mb388a) <mb388a@us.att.com>2018-07-31 11:09:25 -0400
commit5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch)
tree59a968f27b4b603aacc9d5e7b51fb598aeec5321 /packages/arquillian-unit-tests/src/test/resources/arquillian.xml
parentb6dc38501f3b746426b42d9de4cc883d894149e8 (diff)
Containerization feature of SO
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'packages/arquillian-unit-tests/src/test/resources/arquillian.xml')
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/arquillian.xml102
1 files changed, 0 insertions, 102 deletions
diff --git a/packages/arquillian-unit-tests/src/test/resources/arquillian.xml b/packages/arquillian-unit-tests/src/test/resources/arquillian.xml
deleted file mode 100644
index 6da80f2093..0000000000
--- a/packages/arquillian-unit-tests/src/test/resources/arquillian.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-<arquillian xmlns="http://jboss.org/schema/arquillian"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://jboss.org/schema/arquillian
- http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
-
- <defaultProtocol type="Servlet 3.0" />
-
- <extension qualifier="cube">
- <property name="connectionMode">STARTANDSTOP</property>
- </extension>
-
- <extension qualifier="docker">
-
- <property name="serverVersion">1.24</property>
-
- <property name="serverUri">${docker.url}</property>
- <property name="definitionFormat">CUBE</property>
- <property name="dockerContainers">
- mso:
- image: openecomp/mso-arquillian:${images.version}
- beforeStop:
- - copy:
- from: /opt/jboss/standalone/log/
- to: ${target.folder}/mso-automated-tests/jboss-logs
- - copy:
- from: /var/log/ecomp/MSO
- to: ${target.folder}/mso-automated-tests/mso-logs
- - copy:
- from: /tmp/mso-log-checker.log
- to: ${target.folder}/mso-automated-tests/
- hostName: mso
- await:
- strategy: http
- match: 'regexp:(.*)Welcome to WildFly 10(.*)'
- responseCode: 200
- url: http://dockerHost:18080
- sleepPollingTime: 30 s
- iterations: 20
- portBindings: [18080->8080/tcp, 9990/tcp, 9999/tcp]
- volumes: [/shared]
- binds:
- - ${target.folder}/test-classes/docker/mso:/shared
- links:
- - mariadb:mariadb
- - jacoco-shared:jacoco-shared
- jacoco-shared:
- image: openecomp/jacoco:1.0
- beforeStop:
- - copy:
- from: /shared/jacoco-it.exec
- to: ${target.folder}/mso-automated-tests/
- hostName: jacoco
- volumes: [/shared]
- binds:
- - ${target.folder}/test-classes/docker/mso:/shared:ro
- mariadb:
- image: mariadb:10.1.11
- beforeStop:
- - log:
- to: ${target.folder}/mso-automated-tests/db/mariadb.log
- follow: false
- stdout: true
- stderr: true
- timestamps: true
- exposedPorts: [3306/tcp]
- await:
- strategy: polling
- ports: [3306]
- sleepPollingTime: 15 s
- iterations: 80
- env: [MYSQL_ROOT_PASSWORD=Etoile19_]
- portBindings: [3306/tcp]
- hostName: mariadb
- volumes: [/etc/mysql/conf.d,/docker-entrypoint-initdb.d]
- binds:
- - ${target.folder}/test-classes/docker/mariadb/conf1:/etc/mysql/conf.d:ro
- - ${target.folder}/../../root-pack-extras/config-resources/mariadb:/docker-entrypoint-initdb.d:ro
-
- </property>
- <property name="shouldAllowToConnectToRunningContainers">false</property>
- <property name="clean">true</property>
- <property name="removeVolumes">true</property>
- <property name="autoStartContainers">mso</property>
- </extension>
-
-
- <container qualifier="jboss-as" default="true">
- <configuration>
- <property name="managementAddress">${docker.hostname}</property>
- <property name="managementPort">9990</property>
- <property name="username">admin</property>
- <property name="password">Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U</property>
- </configuration>
- <protocol type="Servlet 3.0">
- <property name="host">${docker.hostname}</property>
- <property name="port">18080</property>
- </protocol>
- </container>
-
-
-</arquillian> \ No newline at end of file