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>
|
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
|
|
|
<!-- KEYCLOAK AUTH SERVERS -->
|
|
|
|
|
|
|
|
<container qualifier="auth-server-undertow" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow}</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.CustomUndertowContainer</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
|
|
|
<container qualifier="auth-server-wildfly" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.wildfly}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
|
|
|
<property name="jbossHome">${keycloak.home}</property>
|
|
|
|
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m ${adapter.test.props}</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
|
|
|
<group qualifier="auth-server-wildfly-cluster">
|
|
|
|
<container qualifier="auth-server-wildfly-balancer" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.wildfly.cluster}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
|
|
|
<property name="jbossHome">${wildfly.home}</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
-Xms64m -Xmx512m -XX:MaxPermSize=256m
|
|
|
|
${adapter.test.props}
|
|
|
|
</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
<container qualifier="auth-server-wildfly-backend1" mode="manual" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.wildfly.cluster}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
|
|
|
<property name="jbossHome">${keycloak.backend1.home}</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.backend1.port.offset}
|
|
|
|
-Xms64m -Xmx512m -XX:MaxPermSize=256m
|
|
|
|
${adapter.test.props}
|
|
|
|
</property>
|
|
|
|
<property name="managementPort">${auth.server.backend1.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<container qualifier="auth-server-eap7" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.eap7}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
|
|
|
<property name="jbossHome">${keycloak.home}</property>
|
|
|
|
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m ${adapter.test.props}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
|
|
|
<!-- PREVIOUS VERSIONS OF KEYCLOAK FOR MIGRATION TESTS -->
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-02-04 19:24:58 +00:00
|
|
|
<container qualifier="migrated-auth-server-wildfly_kc16" mode="manual" >
|
2015-10-20 14:59:32 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${migration.kc16}</property>
|
|
|
|
<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">
|
|
|
|
-Dkeycloak.migration.action=import
|
|
|
|
-Dkeycloak.migration.provider=singleFile
|
|
|
|
-Dkeycloak.migration.file=${keycloak.migration.file}
|
|
|
|
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
|
|
|
|
-Dkeycloak.migration.realmName=Migration
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
-Xms64m -Xmx512m -XX:MaxPermSize=256m
|
|
|
|
</property>
|
2015-10-20 14:59:32 +00:00
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-02-04 19:24:58 +00:00
|
|
|
<container qualifier="migrated-auth-server-wildfly_kc15" mode="manual" >
|
2015-10-18 14:01:26 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${migration.kc15}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
2015-10-30 10:32:01 +00:00
|
|
|
<property name="jbossHome">${keycloak.migration.home}</property>
|
2015-10-29 13:48:05 +00:00
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Dkeycloak.migration.action=import
|
|
|
|
-Dkeycloak.migration.provider=singleFile
|
|
|
|
-Dkeycloak.migration.file=${keycloak.migration.file}
|
|
|
|
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
|
|
|
|
-Dkeycloak.migration.realmName=Migration
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
-Xms64m -Xmx512m -XX:MaxPermSize=256m
|
|
|
|
</property>
|
2015-10-18 14:01:26 +00:00
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-02-04 19:24:58 +00:00
|
|
|
<container qualifier="migrated-auth-server-wildfly_kc14" mode="manual" >
|
2015-09-18 12:27:28 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${migration.kc14}</property>
|
|
|
|
<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>
|
2015-09-18 12:27:28 +00:00
|
|
|
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-02-04 19:24:58 +00:00
|
|
|
<container qualifier="migrated-auth-server-wildfly_kc13" mode="manual" >
|
2015-09-18 12:27:28 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${migration.kc13}</property>
|
|
|
|
<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>
|
2015-09-18 12:27:28 +00:00
|
|
|
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-02-04 19:24:58 +00:00
|
|
|
<container qualifier="migrated-auth-server-wildfly_kc12" mode="manual" >
|
2015-09-18 12:27:28 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${migration.kc12}</property>
|
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
2015-12-15 12:14:30 +00:00
|
|
|
<property name="jbossHome">${keycloak.migration.home}</property>
|
2015-09-18 12:27:28 +00:00
|
|
|
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m</property>
|
|
|
|
<property name="managementPort">${auth.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2016-02-05 02:54:22 +00:00
|
|
|
<!--
|
|
|
|
|
|
|
|
APP SERVER CONTAINERS ARE ADDED BY XSL TRANSFORMATIONS IN ADAPTER TEST SUBMODULES
|
|
|
|
The configuration of various application containers had to be split into multiple
|
|
|
|
maven submodules: tests/other/adapters, which are activated on demand by profiles.
|
|
|
|
|
|
|
|
-->
|
2016-02-04 19:24:58 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</arquillian>
|