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>
|
2017-08-23 13:36:29 +00:00
|
|
|
<property name="downloadBinaries">${webdriverDownloadBinaries}</property>
|
2017-09-18 07:52:45 +00:00
|
|
|
<property name="githubUsername">${github.username}</property>
|
|
|
|
<property name="githubToken">${github.secretToken}</property>
|
|
|
|
<property name="ieDriverArch">${ieDriverArch}</property>
|
2017-08-23 13:36:29 +00:00
|
|
|
|
|
|
|
<!-- htmlunit -->
|
2017-01-31 13:49:54 +00:00
|
|
|
<property name="htmlUnit.version">${htmlUnitBrowserVersion}</property>
|
2017-08-23 13:36:29 +00:00
|
|
|
<property name="htmlUnitWebClientOptions">cssEnabled=false;historyPageCacheLimit=1</property>
|
|
|
|
|
|
|
|
<!-- firefox -->
|
2015-12-17 09:27:42 +00:00
|
|
|
<property name="firefox_binary">${firefox_binary}</property>
|
2017-08-23 13:36:29 +00:00
|
|
|
<property name="firefoxLogLevel">OFF</property>
|
|
|
|
<property name="firefoxLegacy">${firefoxLegacyDriver}</property>
|
|
|
|
|
|
|
|
<!-- chrome -->
|
2018-03-02 16:33:48 +00:00
|
|
|
<property name="chromeBinary">${chromeBinary}</property>
|
2017-03-24 11:25:49 +00:00
|
|
|
<property name="chromeArguments">${chromeArguments}</property>
|
2015-09-18 12:27:28 +00:00
|
|
|
</extension>
|
2018-02-26 09:49:05 +00:00
|
|
|
|
2018-03-02 17:03:54 +00:00
|
|
|
<extension qualifier="drone">
|
|
|
|
<property name="instantiationTimeoutInSeconds">${droneInstantiationTimeoutInSeconds}</property>
|
|
|
|
</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>
|
2018-02-26 09:49:05 +00:00
|
|
|
|
|
|
|
<extension qualifier="webdriver-javascriptbrowser">
|
|
|
|
<property name="browser">${js.browser}</property>
|
2018-04-17 09:03:50 +00:00
|
|
|
<property name="downloadBinaries">${webdriverDownloadBinaries}</property>
|
|
|
|
<property name="githubUsername">${github.username}</property>
|
|
|
|
<property name="githubToken">${github.secretToken}</property>
|
|
|
|
<property name="ieDriverArch">${ieDriverArch}</property>
|
|
|
|
|
|
|
|
<!-- htmlunit -->
|
2018-02-26 09:49:05 +00:00
|
|
|
<property name="htmlUnit.version">${htmlUnitBrowserVersion}</property>
|
2018-04-17 09:03:50 +00:00
|
|
|
<property name="htmlUnitWebClientOptions">cssEnabled=false;historyPageCacheLimit=1</property>
|
|
|
|
|
|
|
|
<!-- firefox -->
|
2018-02-26 09:49:05 +00:00
|
|
|
<property name="firefox_binary">${firefox_binary}</property>
|
2018-04-17 09:03:50 +00:00
|
|
|
<property name="firefoxLogLevel">OFF</property>
|
|
|
|
<property name="firefoxLegacy">${firefoxLegacyDriver}</property>
|
|
|
|
|
|
|
|
<!-- chrome -->
|
|
|
|
<property name="chromeBinary">${chromeBinary}</property>
|
2018-02-26 09:49:05 +00:00
|
|
|
<property name="chromeArguments">${js.chromeArguments}</property>
|
|
|
|
</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>
|
|
|
|
|
2018-04-18 13:45:12 +00:00
|
|
|
<container qualifier="auth-server-undertow" mode="suite" default="true">
|
2016-02-04 19:24:58 +00:00
|
|
|
<configuration>
|
2017-09-21 13:01:01 +00:00
|
|
|
<property name="enabled">${auth.server.undertow} && ! ${auth.server.crossdc}</property>
|
2016-09-21 17:02:22 +00:00
|
|
|
<property name="bindAddress">0.0.0.0</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>
|
2017-05-04 08:42:43 +00:00
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
2016-02-04 19:24:58 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2018-04-18 13:45:12 +00:00
|
|
|
<container qualifier="auth-server-${auth.server}" mode="suite" default="true">
|
2016-02-04 19:24:58 +00:00
|
|
|
<configuration>
|
2017-09-21 13:01:01 +00:00
|
|
|
<property name="enabled">${auth.server.jboss} && ! ${auth.server.crossdc}</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
|
2017-06-28 18:47:43 +00:00
|
|
|
-Dauth.server.http.port=${auth.server.http.port}
|
|
|
|
-Dauth.server.https.port=${auth.server.https.port}
|
2017-10-23 10:11:36 +00:00
|
|
|
-Dkeycloak.password.blacklists.path=${keycloak.password.blacklists.path}
|
2016-03-24 10:24:21 +00:00
|
|
|
${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}
|
2017-01-05 10:03:36 +00:00
|
|
|
${auth.server.feature}
|
2017-09-07 13:24:10 +00:00
|
|
|
${kie.maven.settings}
|
2018-02-23 11:46:48 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2016-03-24 10:24:21 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
2017-06-07 11:44:18 +00:00
|
|
|
${auth.server.jboss.jvm.debug.args}
|
2016-03-24 10:24:21 +00:00
|
|
|
${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">
|
2017-05-04 08:42:43 +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}
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
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>
|
2017-05-29 07:02:57 +00:00
|
|
|
<property name="bindHttpPortOffset">${auth.server.backend1.port.offset}</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}
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
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>
|
2017-05-29 07:02:57 +00:00
|
|
|
<property name="bindHttpPortOffset">${auth.server.backend2.port.offset}</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
|
|
|
|
2017-05-04 08:42:43 +00:00
|
|
|
<!-- Clustering with embedded undertow -->
|
|
|
|
<group qualifier="auth-server-undertow-cluster">
|
|
|
|
<container qualifier="auth-server-undertow-backend1" mode="manual" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.cluster}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">1</property>
|
|
|
|
<property name="route">node1</property>
|
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
2017-12-05 21:47:08 +00:00
|
|
|
<property name="keycloakConfigPropertyOverrides">{
|
|
|
|
"keycloak.connectionsInfinispan.nodeName": "node1"
|
|
|
|
}
|
|
|
|
</property>
|
2017-05-04 08:42:43 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
<container qualifier="auth-server-undertow-backend2" mode="manual" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.cluster}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">2</property>
|
|
|
|
<property name="route">node2</property>
|
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
2017-12-05 21:47:08 +00:00
|
|
|
<property name="keycloakConfigPropertyOverrides">{
|
|
|
|
"keycloak.connectionsInfinispan.nodeName": "node2"
|
|
|
|
}
|
|
|
|
</property>
|
2017-05-04 08:42:43 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
|
|
|
<container qualifier="auth-server-balancer-undertow" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.cluster}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.lb.SimpleUndertowLoadBalancerContainer</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="nodes">node1=http://localhost:8181,node2=http://localhost:8182</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
|
2017-09-21 13:01:01 +00:00
|
|
|
<!-- Cross DC. Node numbering is [centre #].[node #] -->
|
|
|
|
<group qualifier="auth-server-jboss-cross-dc">
|
2017-06-19 22:29:19 +00:00
|
|
|
<container qualifier="cache-server-cross-dc-1" mode="suite" >
|
2017-05-29 07:02:57 +00:00
|
|
|
<configuration>
|
2017-09-21 13:01:01 +00:00
|
|
|
<property name="enabled">${auth.server.crossdc} && ! ${cache.server.lifecycle.skip}</property>
|
2017-05-29 07:02:57 +00:00
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
|
|
|
<property name="jbossHome">${cache.server.home}</property>
|
2017-10-19 06:53:04 +00:00
|
|
|
<property name="serverConfig">clustered-1.xml</property>
|
2017-05-29 07:02:57 +00:00
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${cache.server.port.offset}
|
|
|
|
-Djboss.default.multicast.address=234.56.78.99
|
2017-09-21 13:01:01 +00:00
|
|
|
-Djboss.node.name=cache-server-dc-1
|
2017-05-29 07:02:57 +00:00
|
|
|
${adapter.test.props}
|
|
|
|
${auth.server.profile}
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2017-05-29 07:02:57 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
${auth.server.memory.settings}
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
2017-10-09 11:03:39 +00:00
|
|
|
${cache.server.crossdc1.jvm.debug.args}
|
2017-05-29 07:02:57 +00:00
|
|
|
</property>
|
|
|
|
<property name="outputToConsole">${cache.server.console.output}</property>
|
|
|
|
<property name="managementPort">${cache.server.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2017-06-19 22:29:19 +00:00
|
|
|
<container qualifier="cache-server-cross-dc-2" mode="suite" >
|
|
|
|
<configuration>
|
2017-09-21 13:01:01 +00:00
|
|
|
<property name="enabled">${auth.server.crossdc} && ! ${cache.server.lifecycle.skip}</property>
|
2017-06-19 22:29:19 +00:00
|
|
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
|
|
|
<property name="jbossHome">${cache.server.home}</property>
|
|
|
|
<property name="setupCleanServerBaseDir">true</property>
|
|
|
|
<property name="cleanServerBaseDir">${cache.server.home}/standalone-dc-2</property>
|
2017-10-19 06:53:04 +00:00
|
|
|
<property name="serverConfig">clustered-2.xml</property>
|
2017-06-19 22:29:19 +00:00
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${cache.server.2.port.offset}
|
2017-10-19 06:53:04 +00:00
|
|
|
-Djboss.default.multicast.address=234.56.78.100
|
2017-06-19 22:29:19 +00:00
|
|
|
-Djboss.node.name=cache-server-dc-2
|
|
|
|
${adapter.test.props}
|
|
|
|
${auth.server.profile}
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2017-06-19 22:29:19 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
${auth.server.memory.settings}
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
2017-10-09 11:03:39 +00:00
|
|
|
${cache.server.crossdc2.jvm.debug.args}
|
2017-06-19 22:29:19 +00:00
|
|
|
</property>
|
|
|
|
<property name="outputToConsole">${cache.server.console.output}</property>
|
|
|
|
<property name="managementPort">${cache.server.2.management.port}</property>
|
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2017-05-29 07:02:57 +00:00
|
|
|
<container qualifier="auth-server-balancer-cross-dc" mode="suite" >
|
|
|
|
<configuration>
|
2017-09-21 13:01:01 +00:00
|
|
|
<property name="enabled">${auth.server.crossdc}</property>
|
2017-05-29 07:02:57 +00:00
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.lb.SimpleUndertowLoadBalancerContainer</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
2017-09-21 13:01:01 +00:00
|
|
|
<property name="nodes">auth-server-${node.name}-cross-dc-0_1=http://localhost:8101,auth-server-${node.name}-cross-dc-0_2-manual=http://localhost:8102,auth-server-${node.name}-cross-dc-1_1=http://localhost:8111,auth-server-${node.name}-cross-dc-1_2-manual=http://localhost:8112</property>
|
2017-05-29 07:02:57 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2017-06-19 22:29:19 +00:00
|
|
|
<container qualifier="auth-server-undertow-cross-dc-0_1" mode="suite" >
|
2017-05-29 07:02:57 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-79</property>
|
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
|
|
|
<property name="dataCenter">0</property>
|
|
|
|
<property name="keycloakConfigPropertyOverrides">{
|
|
|
|
"keycloak.connectionsInfinispan.jgroupsUdpMcastAddr": "234.56.78.1",
|
2017-05-29 19:25:44 +00:00
|
|
|
"keycloak.connectionsInfinispan.siteName": "dc-0",
|
2017-06-19 22:29:19 +00:00
|
|
|
"keycloak.connectionsInfinispan.nodeName": "auth-server-undertow-cross-dc-0_1",
|
2017-05-29 07:02:57 +00:00
|
|
|
"keycloak.connectionsInfinispan.clustered": "${keycloak.connectionsInfinispan.clustered:true}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStoreServer": "${keycloak.connectionsInfinispan.remoteStoreServer:localhost}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStorePort": "${keycloak.connectionsInfinispan.remoteStorePort:11222}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStoreEnabled": "${keycloak.connectionsInfinispan.remoteStoreEnabled:true}",
|
|
|
|
"keycloak.connectionsJpa.url": "${keycloak.connectionsJpa.url.crossdc:jdbc:h2:mem:test-dc-shared}",
|
|
|
|
"keycloak.connectionsJpa.driver": "${keycloak.connectionsJpa.driver.crossdc:org.h2.Driver}",
|
|
|
|
"keycloak.connectionsJpa.driverDialect": "${keycloak.connectionsJpa.driverDialect.crossdc:}"
|
|
|
|
}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
2017-06-19 22:29:19 +00:00
|
|
|
<container qualifier="auth-server-undertow-cross-dc-0_2-manual" mode="manual" >
|
2017-05-29 07:02:57 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-78</property>
|
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
|
|
|
<property name="dataCenter">0</property>
|
|
|
|
<property name="keycloakConfigPropertyOverrides">{
|
|
|
|
"keycloak.connectionsInfinispan.jgroupsUdpMcastAddr": "234.56.78.1",
|
2017-05-29 19:25:44 +00:00
|
|
|
"keycloak.connectionsInfinispan.siteName": "dc-0",
|
2017-06-19 22:29:19 +00:00
|
|
|
"keycloak.connectionsInfinispan.nodeName": "auth-server-undertow-cross-dc-0_2-manual",
|
2017-05-29 07:02:57 +00:00
|
|
|
"keycloak.connectionsInfinispan.clustered": "${keycloak.connectionsInfinispan.clustered:true}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStoreServer": "${keycloak.connectionsInfinispan.remoteStoreServer:localhost}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStorePort": "${keycloak.connectionsInfinispan.remoteStorePort:11222}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStoreEnabled": "${keycloak.connectionsInfinispan.remoteStoreEnabled:true}",
|
|
|
|
"keycloak.connectionsJpa.url": "${keycloak.connectionsJpa.url.crossdc:jdbc:h2:mem:test-dc-shared}",
|
|
|
|
"keycloak.connectionsJpa.driver": "${keycloak.connectionsJpa.driver.crossdc:org.h2.Driver}",
|
|
|
|
"keycloak.connectionsJpa.driverDialect": "${keycloak.connectionsJpa.driverDialect.crossdc:}"
|
|
|
|
}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
|
2017-06-19 22:29:19 +00:00
|
|
|
<container qualifier="auth-server-undertow-cross-dc-1_1" mode="suite" >
|
2017-05-29 07:02:57 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-69</property>
|
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
|
|
|
<property name="dataCenter">1</property>
|
|
|
|
<property name="keycloakConfigPropertyOverrides">{
|
|
|
|
"keycloak.connectionsInfinispan.jgroupsUdpMcastAddr": "234.56.78.2",
|
2017-05-29 19:25:44 +00:00
|
|
|
"keycloak.connectionsInfinispan.siteName": "dc-1",
|
2017-06-19 22:29:19 +00:00
|
|
|
"keycloak.connectionsInfinispan.nodeName": "auth-server-undertow-cross-dc-1_1",
|
2017-05-29 07:02:57 +00:00
|
|
|
"keycloak.connectionsInfinispan.clustered": "${keycloak.connectionsInfinispan.clustered:true}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStoreServer": "${keycloak.connectionsInfinispan.remoteStoreServer:localhost}",
|
2017-06-19 22:29:19 +00:00
|
|
|
"keycloak.connectionsInfinispan.remoteStorePort": "${keycloak.connectionsInfinispan.remoteStorePort.2:11222}",
|
2017-05-29 07:02:57 +00:00
|
|
|
"keycloak.connectionsInfinispan.remoteStoreEnabled": "${keycloak.connectionsInfinispan.remoteStoreEnabled:true}",
|
|
|
|
"keycloak.connectionsJpa.url": "${keycloak.connectionsJpa.url.crossdc:jdbc:h2:mem:test-dc-shared}",
|
|
|
|
"keycloak.connectionsJpa.driver": "${keycloak.connectionsJpa.driver.crossdc:org.h2.Driver}",
|
|
|
|
"keycloak.connectionsJpa.driverDialect": "${keycloak.connectionsJpa.driverDialect.crossdc:}"
|
|
|
|
}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
2017-06-19 22:29:19 +00:00
|
|
|
<container qualifier="auth-server-undertow-cross-dc-1_2-manual" mode="manual" >
|
2017-05-29 07:02:57 +00:00
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.undertow.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.undertow.KeycloakOnUndertow</property>
|
|
|
|
<property name="bindAddress">localhost</property>
|
|
|
|
<property name="bindHttpPort">${auth.server.http.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-68</property>
|
|
|
|
<property name="remoteMode">${undertow.remote}</property>
|
|
|
|
<property name="dataCenter">1</property>
|
|
|
|
<property name="keycloakConfigPropertyOverrides">{
|
|
|
|
"keycloak.connectionsInfinispan.jgroupsUdpMcastAddr": "234.56.78.2",
|
2017-05-29 19:25:44 +00:00
|
|
|
"keycloak.connectionsInfinispan.siteName": "dc-1",
|
2017-06-19 22:29:19 +00:00
|
|
|
"keycloak.connectionsInfinispan.nodeName": "auth-server-undertow-cross-dc-1_2-manual",
|
2017-05-29 07:02:57 +00:00
|
|
|
"keycloak.connectionsInfinispan.clustered": "${keycloak.connectionsInfinispan.clustered:true}",
|
|
|
|
"keycloak.connectionsInfinispan.remoteStoreServer": "${keycloak.connectionsInfinispan.remoteStoreServer:localhost}",
|
2017-06-19 22:29:19 +00:00
|
|
|
"keycloak.connectionsInfinispan.remoteStorePort": "${keycloak.connectionsInfinispan.remoteStorePort.2:11222}",
|
2017-05-29 07:02:57 +00:00
|
|
|
"keycloak.connectionsInfinispan.remoteStoreEnabled": "${keycloak.connectionsInfinispan.remoteStoreEnabled:true}",
|
|
|
|
"keycloak.connectionsJpa.url": "${keycloak.connectionsJpa.url.crossdc:jdbc:h2:mem:test-dc-shared}",
|
|
|
|
"keycloak.connectionsJpa.driver": "${keycloak.connectionsJpa.driver.crossdc:org.h2.Driver}",
|
|
|
|
"keycloak.connectionsJpa.driverDialect": "${keycloak.connectionsJpa.driverDialect.crossdc:}"
|
|
|
|
}</property>
|
|
|
|
</configuration>
|
|
|
|
</container>
|
2017-09-21 13:01:01 +00:00
|
|
|
<container qualifier="auth-server-jboss-cross-dc-0_1" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.jboss.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">${auth.server.adapter.impl.class}</property>
|
|
|
|
<property name="jbossHome">${auth.server.crossdc01.home}</property>
|
|
|
|
<property name="serverConfig">standalone-ha.xml</property>
|
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.crossdc01.port.offset}
|
|
|
|
-Djboss.default.multicast.address=234.56.78.1
|
|
|
|
-Dremote.cache.port=12232
|
|
|
|
-Djboss.site.name=dc0
|
|
|
|
-Djboss.node.name=auth-server-${node.name}-cross-dc-0_1
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2018-03-08 10:19:30 +00:00
|
|
|
-Dkeycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled=${keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled}
|
2017-09-21 13:01:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
|
|
|
${auth.server.crossdc01.jvm.debug.args}
|
|
|
|
</property>
|
|
|
|
<property name="managementPort">${auth.server.crossdc01.management.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-79</property>
|
|
|
|
<property name="dataCenter">0</property>
|
2017-10-06 08:06:26 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2017-09-21 13:01:01 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
<container qualifier="auth-server-jboss-cross-dc-0_2-manual" mode="manual" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.jboss.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">${auth.server.adapter.impl.class}</property>
|
|
|
|
<property name="jbossHome">${auth.server.crossdc02.home}</property>
|
|
|
|
<property name="serverConfig">standalone-ha.xml</property>
|
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.crossdc02.port.offset}
|
|
|
|
-Djboss.default.multicast.address=234.56.78.1
|
|
|
|
-Dremote.cache.port=12232
|
|
|
|
-Djboss.site.name=dc0
|
|
|
|
-Djboss.node.name=auth-server-${node.name}-cross-dc-0_2-manual
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2018-03-08 10:19:30 +00:00
|
|
|
-Dkeycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled=${keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled}
|
2017-09-21 13:01:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
|
|
|
${auth.server.crossdc02.jvm.debug.args}
|
|
|
|
</property>
|
|
|
|
<property name="managementPort">${auth.server.crossdc02.management.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-78</property>
|
|
|
|
<property name="dataCenter">0</property>
|
2017-10-06 08:06:26 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2017-09-21 13:01:01 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
2017-05-29 07:02:57 +00:00
|
|
|
|
2017-09-21 13:01:01 +00:00
|
|
|
<container qualifier="auth-server-jboss-cross-dc-1_1" mode="suite" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.jboss.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">${auth.server.adapter.impl.class}</property>
|
|
|
|
<property name="jbossHome">${auth.server.crossdc11.home}</property>
|
|
|
|
<property name="serverConfig">standalone-ha.xml</property>
|
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.crossdc11.port.offset}
|
|
|
|
-Djboss.default.multicast.address=234.56.78.2
|
|
|
|
-Dremote.cache.port=13232
|
|
|
|
-Djboss.site.name=dc1
|
|
|
|
-Djboss.node.name=auth-server-${node.name}-cross-dc-1_1
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2018-03-08 10:19:30 +00:00
|
|
|
-Dkeycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled=${keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled}
|
2017-09-21 13:01:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
|
|
|
${auth.server.crossdc11.jvm.debug.args}
|
|
|
|
</property>
|
|
|
|
<property name="managementPort">${auth.server.crossdc11.management.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-69</property>
|
|
|
|
<property name="dataCenter">1</property>
|
2017-10-06 08:06:26 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2017-09-21 13:01:01 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
<container qualifier="auth-server-jboss-cross-dc-1_2-manual" mode="manual" >
|
|
|
|
<configuration>
|
|
|
|
<property name="enabled">${auth.server.jboss.crossdc}</property>
|
|
|
|
<property name="adapterImplClass">${auth.server.adapter.impl.class}</property>
|
|
|
|
<property name="jbossHome">${auth.server.crossdc12.home}</property>
|
|
|
|
<property name="serverConfig">standalone-ha.xml</property>
|
|
|
|
<property name="jbossArguments">
|
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.crossdc12.port.offset}
|
|
|
|
-Djboss.default.multicast.address=234.56.78.2
|
|
|
|
-Dremote.cache.port=13232
|
|
|
|
-Djboss.site.name=dc1
|
|
|
|
-Djboss.node.name=auth-server-${node.name}-cross-dc-1_2-manual
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2018-03-08 10:19:30 +00:00
|
|
|
-Dkeycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled=${keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled}
|
2017-09-21 13:01:01 +00:00
|
|
|
</property>
|
|
|
|
<property name="javaVmArguments">
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
|
|
|
${auth.server.crossdc12.jvm.debug.args}
|
|
|
|
</property>
|
|
|
|
<property name="managementPort">${auth.server.crossdc12.management.port}</property>
|
|
|
|
<property name="bindHttpPortOffset">-68</property>
|
|
|
|
<property name="dataCenter">1</property>
|
2017-10-06 08:06:26 +00:00
|
|
|
<property name="startupTimeoutInSeconds">${auth.server.jboss.startup.timeout}</property>
|
2017-09-21 13:01:01 +00:00
|
|
|
</configuration>
|
|
|
|
</container>
|
|
|
|
</group>
|
|
|
|
|
2017-05-29 07:02:57 +00:00
|
|
|
|
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">
|
2018-02-28 10:45:20 +00:00
|
|
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
2016-03-24 10:24:21 +00:00
|
|
|
</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}
|
2018-02-28 10:45:20 +00:00
|
|
|
-Dauth.server.truststore=${auth.server.truststore}
|
|
|
|
-Dauth.server.truststore.password=${auth.server.truststore.password}
|
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-07-26 15:47:28 +00:00
|
|
|
</arquillian>
|