2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
2016-02-04 19:24:58 +00:00
|
|
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
|
|
|
~ and other contributors as indicated by the @author tags.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
2016-02-03 10:20:22 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<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="webdriver">
|
|
|
|
<property name="browser">${browser}</property>
|
2015-12-17 09:27:42 +00:00
|
|
|
<property name="firefox_binary">${firefox_binary}</property>
|
2016-04-13 07:45:28 +00:00
|
|
|
<property name="phantomjs.cli.args">--ignore-ssl-errors=true --web-security=false</property>
|
2015-09-18 12:27:28 +00:00
|
|
|
</extension>
|
|
|
|
|
2015-12-01 16:28:28 +00:00
|
|
|
<extension qualifier="graphene">
|
2015-12-02 15:46:15 +00:00
|
|
|
<property name="waitGuiInterval">5</property>
|
|
|
|
<property name="waitAjaxInterval">5</property>
|
|
|
|
<property name="waitModelInterval">10</property>
|
|
|
|
<property name="waitGuardInterval">5</property>
|
2015-12-01 16:28:28 +00:00
|
|
|
</extension>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<extension qualifier="graphene-secondbrowser">
|
|
|
|
<property name="browser">${browser}</property>
|
2016-01-12 13:59:21 +00:00
|
|
|
<property name="firefox_binary">${firefox_binary}</property>
|
2015-09-18 12:27:28 +00:00
|
|
|
</extension>
|
|
|
|
|
|
|
|
<engine>
|
|
|
|
<!-- This allows manual inspection of deployed archives. -->
|
|
|
|
<property name="deploymentExportPath">target/deployments</property>
|
|
|
|
</engine>
|
|
|
|
|
2016-02-04 19:24:58 +00:00
|
|
|
<container qualifier="auth-server-undertow" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow}</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<container qualifier="auth-server-${auth.server}" mode="suite" >
|
2016-02-04 19:24:58 +00:00
|
|
|
<configuration>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="enabled">${auth.server.jboss}</property>
|
2016-05-23 11:17:20 +00:00
|
|
|
<property name="adapterImplClass">${auth.server.adapter.impl.class}</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="jbossHome">${auth.server.home}</property>
|
2016-05-23 11:17:20 +00:00
|
|
|
<property name="${auth.server.config.property.name}">${auth.server.config.property.value}</property>
|
|
|
|
<!-- This is required for domain mode -->
|
|
|
|
<property name="allowConnectingToRunningServer">true</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
-Djboss.bind.address=0.0.0.0
|
|
|
|
${adapter.test.props}
|
2016-10-12 10:26:00 +00:00
|
|
|
${migration.import.properties}
|
2016-11-02 14:51:06 +00:00
|
|
|
${auth.server.profile}
|
2016-03-24 10:24:21 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
${auth.server.memory.settings}
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
|
|
|
</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2016-03-01 07:46:17 +00:00
|
|
|
<property name="javaHome">${auth.server.java.home}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
|
|
|
<group qualifier="auth-server-${auth.server}-cluster">
|
|
|
|
<container qualifier="auth-server-${auth.server}-backend1" mode="manual" >
|
2016-02-04 19:24:58 +00:00
|
|
|
<configuration>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="enabled">${auth.server.cluster}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="jbossHome">${auth.server.backend1.home}</property>
|
2016-02-09 04:21:11 +00:00
|
|
|
<property name="serverConfig">standalone-ha.xml</property>
|
2016-02-09 15:35:40 +00:00
|
|
|
<property name="jbossArguments">
|
2016-02-04 19:24:58 +00:00
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.backend1.port.offset}
|
2016-02-09 04:21:11 +00:00
|
|
|
-Djboss.node.name=node1
|
2016-02-09 15:35:40 +00:00
|
|
|
${adapter.test.props}
|
2016-11-02 14:51:06 +00:00
|
|
|
${auth.server.profile}
|
2016-02-09 15:35:40 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
2016-03-24 10:24:21 +00:00
|
|
|
${auth.server.memory.settings}
|
2016-02-09 15:35:40 +00:00
|
|
|
-Djava.net.preferIPv4Stack=true
|
2016-02-04 19:24:58 +00:00
|
|
|
</property>
|
2016-02-15 22:56:44 +00:00
|
|
|
<property name="outputToConsole">${backends.console.output}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
<property name="managementPort">${auth.server.backend1.management.port}</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
2016-03-24 10:24:21 +00:00
|
|
|
<container qualifier="auth-server-${auth.server}-backend2" mode="manual" >
|
2016-02-08 15:12:47 +00:00
|
|
|
<configuration>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="enabled">${auth.server.cluster}</property>
|
2016-02-08 15:12:47 +00:00
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="jbossHome">${auth.server.backend2.home}</property>
|
2016-02-09 04:21:11 +00:00
|
|
|
<property name="serverConfig">standalone-ha.xml</property>
|
2016-02-09 15:35:40 +00:00
|
|
|
<property name="jbossArguments">
|
2016-02-08 15:12:47 +00:00
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.backend2.port.offset}
|
2016-02-09 04:21:11 +00:00
|
|
|
-Djboss.node.name=node2
|
2016-02-09 15:35:40 +00:00
|
|
|
${adapter.test.props}
|
2016-11-02 14:51:06 +00:00
|
|
|
${auth.server.profile}
|
2016-02-09 15:35:40 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
2016-03-24 10:24:21 +00:00
|
|
|
${auth.server.memory.settings}
|
2016-02-09 15:35:40 +00:00
|
|
|
-Djava.net.preferIPv4Stack=true
|
2016-02-08 15:12:47 +00:00
|
|
|
</property>
|
2016-02-15 22:56:44 +00:00
|
|
|
<property name="outputToConsole">${backends.console.output}</property>
|
2016-02-08 15:12:47 +00:00
|
|
|
<property name="managementPort">${auth.server.backend2.management.port}</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2016-02-08 15:12:47 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
2016-02-04 19:24:58 +00:00
|
|
|
</group>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
|
|
|
<container qualifier="auth-server-balancer-wildfly" mode="suite" >
|
2016-02-04 19:24:58 +00:00
|
|
|
<configuration>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="enabled">${auth.server.cluster}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="jbossHome">${auth.server.balancer.home}</property>
|
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
|
|
|
</property>
|
|
|
|
<property name="outputToConsole">${frontend.console.output}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
2016-03-24 10:24:21 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<container qualifier="auth-server-remote" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.remote}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.remote.RemoteDeployableContainer</property>
|
|
|
|
|
|
|
|
<property name="managementAddress">${auth.server.host}</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="username">admin</property>
|
|
|
|
<property name="password">admin</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-09-02 11:55:49 +00:00
|
|
|
<!-- PREVIOUS VERSION OF KEYCLOAK FOR MIGRATION TESTS -->
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-09-02 11:55:49 +00:00
|
|
|
<container qualifier="auth-server-jboss-migration" mode="manual" >
|
2015-10-20 14:59:32 +00:00
|
|
|
<configuration>
|
2016-09-02 11:55:49 +00:00
|
|
|
<property name="enabled">${auth.server.jboss.migration}</property>
|
2015-10-20 14:59:32 +00:00
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
2015-10-27 13:31:15 +00:00
|
|
|
<property name="jbossHome">${keycloak.migration.home}</property>
|
|
|
|
<property name="javaVmArguments">
|
2016-10-12 10:26:00 +00:00
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
${migration.import.props.previous}
|
2016-09-02 11:55:49 +00:00
|
|
|
${auth.server.memory.settings}
|
2015-10-29 13:48:05 +00:00
|
|
|
</property>
|
2015-10-18 14:01:26 +00:00
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
2016-09-02 11:55:49 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2015-09-18 12:27:28 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
2016-05-23 11:17:20 +00:00
|
|
|
</arquillian>
|