2015-09-18 12:27:28 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
2017-01-26 14:46:45 +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
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-tests</artifactId>
|
2023-03-03 10:11:44 +00:00
|
|
|
<version>999.0.0-SNAPSHOT</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-tests-base</artifactId>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<name>Base TestSuite</name>
|
|
|
|
|
|
|
|
<description></description>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
|
|
|
<properties>
|
2016-07-12 13:30:33 +00:00
|
|
|
<cli.log.output>false</cli.log.output>
|
|
|
|
<test.intermittent>false</test.intermittent>
|
2016-08-01 11:14:33 +00:00
|
|
|
<exclude.test>-</exclude.test>
|
2015-09-18 12:27:28 +00:00
|
|
|
<exclude.console>-</exclude.console>
|
|
|
|
<exclude.account>-</exclude.account>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude.client>-</exclude.client>
|
2016-02-09 04:21:11 +00:00
|
|
|
<!--exclude cluster tests by default, enabled by 'auth-server-*-cluster' profiles in tests/pom.xml-->
|
|
|
|
<exclude.cluster>**/cluster/**/*Test.java</exclude.cluster>
|
2017-05-29 07:02:57 +00:00
|
|
|
<exclude.crossdc>**/crossdc/**/*Test.java</exclude.crossdc>
|
2020-01-23 08:38:55 +00:00
|
|
|
<mvel.version>2.4.0.Final</mvel.version>
|
2021-01-04 19:52:53 +00:00
|
|
|
<systemrules.version>1.19.0</systemrules.version>
|
2022-09-30 07:41:57 +00:00
|
|
|
<common.resources>${basedir}/../../servers/auth-server/common</common.resources>
|
2022-08-09 11:18:25 +00:00
|
|
|
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
|
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2015-11-12 09:33:03 +00:00
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-util-embedded-ldap</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
2023-07-20 09:57:18 +00:00
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
2015-11-12 09:33:03 +00:00
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2022-09-27 06:53:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2016-02-25 16:51:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-configuration</groupId>
|
|
|
|
<artifactId>commons-configuration</artifactId>
|
|
|
|
<version>1.10</version>
|
|
|
|
</dependency>
|
2017-02-26 15:32:20 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</dependency>
|
2016-03-24 15:08:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2016-04-20 03:10:40 +00:00
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
2016-03-24 15:08:36 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2022-04-20 12:25:16 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-testsuite-providers-deployment</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2016-04-19 18:13:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2017-07-25 07:44:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
2021-11-12 15:37:03 +00:00
|
|
|
<artifactId>hamcrest</artifactId>
|
2017-07-25 07:44:36 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-05-16 20:31:23 +00:00
|
|
|
<dependency>
|
2023-01-31 01:36:58 +00:00
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
2016-05-16 20:31:23 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-04-19 18:13:06 +00:00
|
|
|
<dependency>
|
2023-01-31 01:36:58 +00:00
|
|
|
<groupId>org.subethamail</groupId>
|
|
|
|
<artifactId>subethasmtp</artifactId>
|
2016-04-19 18:13:06 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-09-21 17:02:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>testcontainers</artifactId>
|
2018-04-26 17:00:49 +00:00
|
|
|
<version>${testcontainers.version}</version>
|
2016-09-21 17:02:22 +00:00
|
|
|
</dependency>
|
2022-10-20 21:37:04 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
</dependency>
|
2022-12-17 07:50:21 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>cockroachdb</artifactId>
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
</dependency>
|
2018-02-02 00:32:27 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
2020-06-22 20:20:19 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-model-map</artifactId>
|
|
|
|
</dependency>
|
2022-05-26 13:48:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-model-legacy-services</artifactId>
|
|
|
|
</dependency>
|
2018-04-18 11:31:04 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-spi</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2018-04-18 13:45:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2023-04-19 15:42:34 +00:00
|
|
|
<artifactId>integration-arquillian-util</artifactId>
|
2018-04-18 13:45:12 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-11-21 16:20:32 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mvel</groupId>
|
|
|
|
<artifactId>mvel2</artifactId>
|
2020-01-23 08:38:55 +00:00
|
|
|
<version>${mvel.version}</version>
|
2019-11-21 16:20:32 +00:00
|
|
|
</dependency>
|
2020-01-22 11:57:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-api</artifactId>
|
|
|
|
</dependency>
|
2020-04-30 08:19:57 +00:00
|
|
|
<dependency>
|
2023-03-21 17:23:08 +00:00
|
|
|
<groupId>io.smallrye</groupId>
|
2020-04-30 08:19:57 +00:00
|
|
|
<artifactId>jandex</artifactId>
|
2023-03-21 17:23:08 +00:00
|
|
|
<version>${smallrye.jandex.version}</version>
|
2020-04-30 08:19:57 +00:00
|
|
|
</dependency>
|
2021-01-04 19:52:53 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-rules</artifactId>
|
|
|
|
<version>${systemrules.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-06-26 15:35:40 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
2023-01-04 20:35:38 +00:00
|
|
|
<artifactId>infinispan-server-hotrod-jakarta</artifactId>
|
2021-06-26 15:35:40 +00:00
|
|
|
<version>${infinispan.version}</version>
|
|
|
|
</dependency>
|
2023-01-09 09:57:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-adapter-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.xml.ws</groupId>
|
|
|
|
<artifactId>jakarta.xml.ws-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.ws.rs</groupId>
|
|
|
|
<artifactId>jakarta.ws.rs-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2023-01-11 21:30:04 +00:00
|
|
|
|
2023-05-25 17:00:49 +00:00
|
|
|
<!-- FIXME: Override in order to prevent NoClassDefFoundError: org/jboss/threads/AsyncFuture in ClientContainerController -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.threads</groupId>
|
|
|
|
<artifactId>jboss-threads</artifactId>
|
|
|
|
<version>2.4.0.Final</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-02-27 11:37:48 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.servlet</groupId>
|
|
|
|
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-01-11 21:30:04 +00:00
|
|
|
<!-- Embedded Distribution -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2023-04-06 23:53:23 +00:00
|
|
|
<artifactId>keycloak-junit5</artifactId>
|
2023-01-11 21:30:04 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>*</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2016-01-20 06:16:53 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<build>
|
2017-01-18 14:44:30 +00:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>migration-test/*</include>
|
2017-04-12 17:34:27 +00:00
|
|
|
<include>authorization-test/*</include>
|
2017-01-18 14:44:30 +00:00
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-06-22 20:20:19 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<delete>
|
|
|
|
<fileset dir="${project.build.directory}" includes="map-*.json"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2016-08-01 11:14:33 +00:00
|
|
|
<exclude>${exclude.test}</exclude>
|
2015-09-18 12:27:28 +00:00
|
|
|
<exclude>${exclude.console}</exclude>
|
|
|
|
<exclude>${exclude.account}</exclude>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude>${exclude.client}</exclude>
|
2016-02-09 04:29:20 +00:00
|
|
|
<exclude>${exclude.cluster}</exclude>
|
2017-06-16 09:32:02 +00:00
|
|
|
<exclude>${exclude.crossdc}</exclude>
|
2015-09-18 12:27:28 +00:00
|
|
|
</excludes>
|
2018-10-05 11:20:09 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<com.mchange.v2.c3p0.VMID>testsuiteVmId</com.mchange.v2.c3p0.VMID>
|
2019-01-29 17:17:58 +00:00
|
|
|
<auth.server.db.host>${docker.container.testdb.ip}</auth.server.db.host>
|
2018-10-05 11:20:09 +00:00
|
|
|
</systemPropertyVariables>
|
2015-09-18 12:27:28 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-01-29 17:17:58 +00:00
|
|
|
|
2016-01-20 06:16:53 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
2016-03-24 10:24:21 +00:00
|
|
|
<execution>
|
2018-08-07 09:10:24 +00:00
|
|
|
<id>copy-common-dependencies</id>
|
2016-03-24 10:24:21 +00:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/dependency</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>arquillian.xml</include>
|
2020-09-02 13:29:07 +00:00
|
|
|
<include>wildfly-config.xml</include>
|
2017-11-08 07:03:10 +00:00
|
|
|
<include>password-blacklists/**</include>
|
2018-08-07 09:10:24 +00:00
|
|
|
<include>log4j.properties</include>
|
2019-09-05 10:13:31 +00:00
|
|
|
<include>vault/**</include>
|
2020-06-03 08:04:48 +00:00
|
|
|
<include>firefox-cookies-prefs.js</include>
|
2016-03-24 10:24:21 +00:00
|
|
|
</includes>
|
|
|
|
<!--<filtering>true</filtering>-->
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-01-20 06:16:53 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-admin-user-json-file</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-09-02 11:55:49 +00:00
|
|
|
<skip>${skip.add.user.json}</skip>
|
2016-03-24 10:24:21 +00:00
|
|
|
<outputDirectory>${auth.server.config.dir}</outputDirectory>
|
2016-01-20 06:16:53 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>keycloak-add-user.json</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-07-12 13:30:33 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-client-cli-dist</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-client-cli-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
2018-03-20 20:42:35 +00:00
|
|
|
</artifactItems>
|
2016-07-12 13:30:33 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-08-29 14:12:28 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-testsuite-providers-to-base-testsuite</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.keycloak.testsuite</includeGroupIds>
|
|
|
|
<includeArtifactIds>integration-arquillian-testsuite-providers</includeArtifactIds>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-07-12 13:30:33 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-01-29 17:17:58 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
<version>${docker.maven.plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>${docker.database.skip}</skip>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-db-container</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<showLogs>true</showLogs>
|
|
|
|
<images>
|
|
|
|
<image>
|
|
|
|
<alias>testdb</alias>
|
|
|
|
<name>${docker.database.image}</name>
|
|
|
|
<run>
|
2019-01-31 15:42:27 +00:00
|
|
|
<shmSize>${docker.database.shmsize}</shmSize>
|
2019-01-29 17:17:58 +00:00
|
|
|
<ports>
|
2023-01-31 17:54:43 +00:00
|
|
|
<port>${docker.database.port}:${docker.database.port}</port>
|
2019-01-29 17:17:58 +00:00
|
|
|
</ports>
|
|
|
|
<env>
|
|
|
|
<!-- MYSQL and MariaDB -->
|
|
|
|
<MYSQL_DATABASE>${keycloak.connectionsJpa.database}</MYSQL_DATABASE>
|
|
|
|
<MYSQL_USER>${keycloak.connectionsJpa.user}</MYSQL_USER>
|
|
|
|
<MYSQL_PASSWORD>${keycloak.connectionsJpa.password}</MYSQL_PASSWORD>
|
|
|
|
<MYSQL_RANDOM_ROOT_PASSWORD>true</MYSQL_RANDOM_ROOT_PASSWORD>
|
|
|
|
|
|
|
|
<!-- PostgreSQL -->
|
|
|
|
<POSTGRES_DB>${keycloak.connectionsJpa.database}</POSTGRES_DB>
|
|
|
|
<POSTGRES_USER>${keycloak.connectionsJpa.user}</POSTGRES_USER>
|
|
|
|
<POSTGRES_PASSWORD>${keycloak.connectionsJpa.password}</POSTGRES_PASSWORD>
|
2019-01-31 15:42:27 +00:00
|
|
|
|
|
|
|
<!-- MSSQL -->
|
|
|
|
<ACCEPT_EULA>Y</ACCEPT_EULA>
|
|
|
|
<SA_PASSWORD>${keycloak.connectionsJpa.password}</SA_PASSWORD>
|
|
|
|
|
|
|
|
<!-- Oracle -->
|
|
|
|
<ORACLE_SID>${keycloak.connectionsJpa.database}</ORACLE_SID>
|
2023-05-08 08:04:03 +00:00
|
|
|
<ORACLE_PWD>sa</ORACLE_PWD>
|
2019-01-29 17:17:58 +00:00
|
|
|
</env>
|
2019-05-20 20:00:26 +00:00
|
|
|
<cmd>${docker.database.cmd}</cmd>
|
2019-01-29 17:17:58 +00:00
|
|
|
<wait>
|
2019-01-31 15:42:27 +00:00
|
|
|
<!-- Do not use waiting for port since that is unreliable, sometimes port is listening before DB is ready to serve -->
|
|
|
|
<log>${docker.database.wait-for-log-regex}</log>
|
2023-05-08 08:04:03 +00:00
|
|
|
<time>2000000</time>
|
2023-01-10 16:37:27 +00:00
|
|
|
<kill>10000</kill>
|
2019-01-31 15:42:27 +00:00
|
|
|
<exec>
|
|
|
|
<postStart>${docker.database.postStart}</postStart>
|
2021-03-04 01:39:47 +00:00
|
|
|
<breakOnError>true</breakOnError>
|
2019-01-31 15:42:27 +00:00
|
|
|
</exec>
|
2019-01-29 17:17:58 +00:00
|
|
|
</wait>
|
|
|
|
</run>
|
|
|
|
</image>
|
|
|
|
</images>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-db-container</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2019-05-24 10:59:57 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-08-09 11:18:25 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</build>
|
2017-10-11 10:20:06 +00:00
|
|
|
|
|
|
|
<profiles>
|
2020-02-27 08:38:45 +00:00
|
|
|
<profile>
|
|
|
|
<id>jpa</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- DB will be released after the test -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>db-allocator-plugin</artifactId>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>release-db</id>
|
|
|
|
<goals>
|
|
|
|
<goal>release</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-02-12 09:12:40 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>app-server-jetty94</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>jetty94</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>jetty94</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>true</app.server.skip.unpack>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-jetty-94</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2023-04-19 15:42:34 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-undertow</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>undertow</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>undertow</app.server> <!--in case the profile is called directly-->
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-undertow</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2018-04-19 07:08:36 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly</id>
|
|
|
|
<activation>
|
2023-04-19 15:42:34 +00:00
|
|
|
<activeByDefault>true</activeByDefault>
|
2018-04-19 07:08:36 +00:00
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>wildfly</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>wildfly</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
2023-09-20 13:13:08 +00:00
|
|
|
<wildfly.core.version>${tests.wildfly.core.version}</wildfly.core.version>
|
2018-04-19 07:08:36 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-wildfly</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
2018-06-20 10:47:36 +00:00
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${wildfly.core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-05-31 08:44:40 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-eap</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>eap</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
2023-09-20 13:13:08 +00:00
|
|
|
<wildfly.core.version>${tests.wildfly.core.version}</wildfly.core.version>
|
2018-05-31 08:44:40 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2018-06-06 12:45:50 +00:00
|
|
|
<!--required by creaper-core-->
|
2018-05-31 08:44:40 +00:00
|
|
|
<dependency>
|
2018-06-06 12:45:50 +00:00
|
|
|
<groupId>org.wildfly.core</groupId>
|
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${wildfly.core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-08-23 14:30:12 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap71</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap71</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>eap71</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-eap</app.server.artifactId><!-- Need to override -->
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
2018-09-24 08:49:47 +00:00
|
|
|
<version>3.0.10.Final</version>
|
2018-08-23 14:30:12 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2023-05-22 11:26:17 +00:00
|
|
|
<!-- EAP6, Fuse 6.x and Fuse 7.x adapter profiles, can be removed once there will be no need for supporting these adapters -->
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap6</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap6</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>eap6</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<arquillian-wildfly-container.version>2.0.0.Final</arquillian-wildfly-container.version>
|
|
|
|
<!--TODO: check it when KEYCLOAK-8529 is resolved-->
|
|
|
|
<!--<infinispan.version>8.2.5.Final</infinispan.version> KEYCLOAK-5302 -->
|
|
|
|
|
|
|
|
<app.server.management.protocol>remote</app.server.management.protocol>
|
|
|
|
<app.server.management.port>10199</app.server.management.port>
|
|
|
|
<app.server.1.management.port>10299</app.server.1.management.port>
|
|
|
|
<app.server.2.management.port>10399</app.server.2.management.port>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap6</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>2.0.10.Final</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.jboss.modules</groupId>
|
|
|
|
<artifactId>jboss-modules</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-fuse63</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>fuse63</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>fuse63</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<!--fuse examples expect auth server on 8080-->
|
|
|
|
<auth.server.port.offset>0</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8080</auth.server.http.port>
|
|
|
|
<auth.server.management.port>9990</auth.server.management.port>
|
|
|
|
<!--fuse examples expect default karaf http port 8181-->
|
|
|
|
<app.server.http.port>8181</app.server.http.port>
|
|
|
|
|
|
|
|
<app.server.management.user>admin</app.server.management.user>
|
|
|
|
<app.server.management.password>password</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=localhost:${app.server.debug.port}</app.server.karaf.jvm.debug.args>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-fuse63</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<message>When running fuse tests 'additional.fuse.repos' is expected to be set.</message>
|
|
|
|
<property>additional.fuse.repos</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<message>When running fuse tests 'fuse.adapter.version' is expected to be set.</message>
|
|
|
|
<property>fuse.adapter.version</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server.management.user>${app.server.management.user}</app.server.management.user>
|
|
|
|
<app.server.management.password>${app.server.management.password}</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>${app.server.karaf.jvm.debug.args}</app.server.karaf.jvm.debug.args>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-fuse7x</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>fuse7x</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>fuse7x</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<!--fuse examples expect auth server on 8080-->
|
|
|
|
<auth.server.port.offset>0</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8080</auth.server.http.port>
|
|
|
|
<auth.server.management.port>9990</auth.server.management.port>
|
|
|
|
<!--fuse examples expect default karaf http port 8181-->
|
|
|
|
<app.server.http.port>8181</app.server.http.port>
|
|
|
|
|
|
|
|
<app.server.management.user>admin</app.server.management.user>
|
|
|
|
<app.server.management.password>password</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=localhost:${app.server.debug.port}</app.server.karaf.jvm.debug.args>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-fuse7x</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<message>When running fuse tests 'additional.fuse.repos' is expected to be set.</message>
|
|
|
|
<property>additional.fuse.repos</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server.management.user>${app.server.management.user}</app.server.management.user>
|
|
|
|
<app.server.management.password>${app.server.management.password}</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>${app.server.karaf.jvm.debug.args}</app.server.karaf.jvm.debug.args>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<!-- EAP6, Fuse 6.x and Fuse 7.x adapter profiles END -->
|
2018-08-23 14:30:12 +00:00
|
|
|
|
2019-02-13 11:53:45 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-tomcat8</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>tomcat8</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>tomcat8</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-tomcat8</app.server.artifactId><!-- Need to override -->
|
|
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
|
|
<app.server.management.port>9990</app.server.management.port>
|
2020-06-29 07:03:56 +00:00
|
|
|
<app.server.keystore.dir>${app.server.home}/lib</app.server.keystore.dir>
|
2019-02-13 11:53:45 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-tomcat8</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-tomcat9</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>tomcat9</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>tomcat9</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-tomcat9</app.server.artifactId><!-- Need to override -->
|
|
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
|
|
<app.server.management.port>9990</app.server.management.port>
|
2020-06-29 07:03:56 +00:00
|
|
|
<app.server.keystore.dir>${app.server.home}/lib</app.server.keystore.dir>
|
2019-02-13 11:53:45 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-tomcat9</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-10-11 10:20:06 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-servers-crossdc-undertow</id>
|
|
|
|
<properties>
|
|
|
|
<skip.clean.second.cache>false</skip.clean.second.cache>
|
2018-07-03 12:20:34 +00:00
|
|
|
<exclude.crossdc>-</exclude.crossdc>
|
2019-04-26 21:16:50 +00:00
|
|
|
<surefire.memory.Xmx>1024m</surefire.memory.Xmx>
|
2017-10-11 10:20:06 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>auth-servers-crossdc-jboss</id>
|
|
|
|
<properties>
|
|
|
|
<skip.clean.second.cache>false</skip.clean.second.cache>
|
|
|
|
<skip.copy.auth.crossdc.nodes>false</skip.copy.auth.crossdc.nodes>
|
2018-07-03 12:20:34 +00:00
|
|
|
<exclude.crossdc>-</exclude.crossdc>
|
2019-04-26 21:16:50 +00:00
|
|
|
<surefire.memory.Xmx>1024m</surefire.memory.Xmx>
|
2017-10-11 10:20:06 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2020-05-26 14:33:16 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>generate-certs-for-custom-app-server-host</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server.host</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>keytool-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>remove-old-app-server-key</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>deleteAlias</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<keystore>${app.server.keystore}</keystore>
|
|
|
|
<storepass>${app.server.keystore.password}</storepass>
|
2020-06-29 07:03:56 +00:00
|
|
|
<alias>localhost3</alias>
|
2020-05-26 14:33:16 +00:00
|
|
|
<skip>${app.server.skip.unpack}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generate-new-app-server-cert</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generateKeyPair</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<keystore>${app.server.keystore}</keystore>
|
|
|
|
<storepass>${app.server.keystore.password}</storepass>
|
|
|
|
<alias>${app.server.host}</alias>
|
|
|
|
<dname>CN=${app.server.host}, OU=Keycloak, O=Red Hat, L=Westword, ST=MA, C=US</dname>
|
|
|
|
<keyalg>RSA</keyalg>
|
|
|
|
<keysize>2048</keysize>
|
|
|
|
<sigalg>SHA256withRSA</sigalg>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>export-app-server-cert</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exportCertificate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<keystore>${app.server.keystore}</keystore>
|
|
|
|
<storepass>${app.server.keystore.password}</storepass>
|
|
|
|
<alias>${app.server.host}</alias>
|
|
|
|
<file>${dependency.keystore.root}/${app.server.host}.pem</file>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>import-app-server-cert-to-truststore</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>importCertificate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<keystore>${dependency.truststore}</keystore>
|
|
|
|
<storepass>${dependency.truststore.password}</storepass>
|
|
|
|
<alias>${app.server.host}</alias>
|
|
|
|
<file>${dependency.keystore.root}/${app.server.host}.pem</file>
|
|
|
|
<trustcacerts>true</trustcacerts>
|
|
|
|
<noprompt>true</noprompt>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-processed-truststore-to-app-server</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2020-06-29 07:03:56 +00:00
|
|
|
<outputDirectory>${app.server.keystore.dir}</outputDirectory>
|
2020-05-26 14:33:16 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${dependency.keystore.root}</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
<skip>${app.server.skip.unpack}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-06-29 07:03:56 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-processed-truststore-to-secured-deployment-app-server-config</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.home}/standalone-secured-deployments/configuration</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${dependency.keystore.root}</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
<skip>${app.server.skip.unpack}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-processed-keystore-to-secured-deployment-app-server-config</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${app.server.home}/standalone-secured-deployments/configuration</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${app.server.keystore.dir}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>adapter.jks</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
<skip>${app.server.skip.unpack}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-05-26 14:33:16 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2021-04-28 11:47:08 +00:00
|
|
|
<profile>
|
2022-12-16 17:55:31 +00:00
|
|
|
<id>map-storage-chm</id>
|
2021-04-28 11:47:08 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2022-12-16 17:55:31 +00:00
|
|
|
<!--
|
|
|
|
The following properties needs to be synchronized across all map-storage profiles
|
|
|
|
-->
|
2021-05-04 08:01:33 +00:00
|
|
|
<keycloak.profile.feature.map_storage>enabled</keycloak.profile.feature.map_storage>
|
2021-04-28 11:47:08 +00:00
|
|
|
<keycloak.realm.provider>map</keycloak.realm.provider>
|
|
|
|
<keycloak.client.provider>map</keycloak.client.provider>
|
|
|
|
<keycloak.clientScope.provider>map</keycloak.clientScope.provider>
|
|
|
|
<keycloak.group.provider>map</keycloak.group.provider>
|
|
|
|
<keycloak.role.provider>map</keycloak.role.provider>
|
|
|
|
<keycloak.user.provider>map</keycloak.user.provider>
|
2021-05-18 07:59:31 +00:00
|
|
|
<keycloak.deploymentState.provider>map</keycloak.deploymentState.provider>
|
2021-04-28 11:47:08 +00:00
|
|
|
<keycloak.authSession.provider>map</keycloak.authSession.provider>
|
|
|
|
<keycloak.userSession.provider>map</keycloak.userSession.provider>
|
|
|
|
<keycloak.loginFailure.provider>map</keycloak.loginFailure.provider>
|
|
|
|
<keycloak.authorization.provider>map</keycloak.authorization.provider>
|
2022-04-20 13:45:18 +00:00
|
|
|
<keycloak.eventsStore.provider>map</keycloak.eventsStore.provider>
|
2022-04-14 14:22:29 +00:00
|
|
|
<keycloak.singleUseObject.provider>map</keycloak.singleUseObject.provider>
|
2022-07-05 12:57:51 +00:00
|
|
|
<keycloak.publicKeyStorage.provider>map</keycloak.publicKeyStorage.provider>
|
2022-03-01 08:33:04 +00:00
|
|
|
<keycloak.authorizationCache.enabled>false</keycloak.authorizationCache.enabled>
|
2022-04-15 17:00:42 +00:00
|
|
|
<keycloak.realmCache.enabled>false</keycloak.realmCache.enabled>
|
|
|
|
<keycloak.userCache.enabled>false</keycloak.userCache.enabled>
|
2022-07-05 12:57:51 +00:00
|
|
|
<keycloak.publicKeyCache.enabled>false</keycloak.publicKeyCache.enabled>
|
2022-07-01 09:51:07 +00:00
|
|
|
<keycloak.userSessionPersister.provider></keycloak.userSessionPersister.provider>
|
2022-07-05 10:30:32 +00:00
|
|
|
<keycloak.userFederatedStorage.provider></keycloak.userFederatedStorage.provider>
|
2022-12-16 17:55:31 +00:00
|
|
|
<!--
|
|
|
|
The end of the block synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.mapStorage.provider>concurrenthashmap</keycloak.mapStorage.provider>
|
2022-07-20 10:27:19 +00:00
|
|
|
<auth.server.quarkus.mapStorage.profile.config>chm</auth.server.quarkus.mapStorage.profile.config>
|
2022-12-20 12:27:06 +00:00
|
|
|
<keycloak.globalLock.provider>none</keycloak.globalLock.provider>
|
2022-12-16 17:55:31 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
2021-04-28 11:47:08 +00:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2022-04-22 19:43:01 +00:00
|
|
|
<profile>
|
2022-12-17 07:50:21 +00:00
|
|
|
<id>map-storage-jpa-postgres</id>
|
2022-10-20 21:37:04 +00:00
|
|
|
<properties>
|
|
|
|
<postgres.start-container>true</postgres.start-container>
|
|
|
|
</properties>
|
2022-04-22 19:43:01 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2022-12-16 17:55:31 +00:00
|
|
|
<!--
|
|
|
|
The following properties needs to be synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.profile.feature.map_storage>enabled</keycloak.profile.feature.map_storage>
|
|
|
|
<keycloak.realm.provider>map</keycloak.realm.provider>
|
|
|
|
<keycloak.client.provider>map</keycloak.client.provider>
|
|
|
|
<keycloak.clientScope.provider>map</keycloak.clientScope.provider>
|
|
|
|
<keycloak.group.provider>map</keycloak.group.provider>
|
|
|
|
<keycloak.role.provider>map</keycloak.role.provider>
|
|
|
|
<keycloak.user.provider>map</keycloak.user.provider>
|
|
|
|
<keycloak.deploymentState.provider>map</keycloak.deploymentState.provider>
|
|
|
|
<keycloak.authSession.provider>map</keycloak.authSession.provider>
|
|
|
|
<keycloak.userSession.provider>map</keycloak.userSession.provider>
|
|
|
|
<keycloak.loginFailure.provider>map</keycloak.loginFailure.provider>
|
|
|
|
<keycloak.authorization.provider>map</keycloak.authorization.provider>
|
|
|
|
<keycloak.eventsStore.provider>map</keycloak.eventsStore.provider>
|
|
|
|
<keycloak.singleUseObject.provider>map</keycloak.singleUseObject.provider>
|
|
|
|
<keycloak.publicKeyStorage.provider>map</keycloak.publicKeyStorage.provider>
|
|
|
|
<keycloak.authorizationCache.enabled>false</keycloak.authorizationCache.enabled>
|
|
|
|
<keycloak.realmCache.enabled>false</keycloak.realmCache.enabled>
|
|
|
|
<keycloak.userCache.enabled>false</keycloak.userCache.enabled>
|
|
|
|
<keycloak.publicKeyCache.enabled>false</keycloak.publicKeyCache.enabled>
|
|
|
|
<keycloak.userSessionPersister.provider></keycloak.userSessionPersister.provider>
|
|
|
|
<keycloak.userFederatedStorage.provider></keycloak.userFederatedStorage.provider>
|
|
|
|
<!--
|
|
|
|
The end of the block synchronized across all map-storage profiles
|
|
|
|
-->
|
2022-10-20 21:37:04 +00:00
|
|
|
<postgres.start-container>${postgres.start-container}</postgres.start-container>
|
|
|
|
|
2022-04-22 19:43:01 +00:00
|
|
|
<keycloak.map.storage.connectionsJpa.url>${keycloak.map.storage.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
|
|
|
|
<keycloak.map.storage.connectionsJpa.user>${keycloak.map.storage.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
|
|
|
|
<keycloak.map.storage.connectionsJpa.password>${keycloak.map.storage.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
|
|
|
|
|
2023-01-19 18:22:26 +00:00
|
|
|
<keycloak.storage.connections.vendor>postgres</keycloak.storage.connections.vendor>
|
|
|
|
|
2022-05-09 15:06:27 +00:00
|
|
|
<keycloak.authorization.map.storage.provider>jpa</keycloak.authorization.map.storage.provider>
|
2022-05-19 17:23:22 +00:00
|
|
|
<keycloak.authSession.map.storage.provider>jpa</keycloak.authSession.map.storage.provider>
|
|
|
|
<keycloak.client.map.storage.provider>jpa</keycloak.client.map.storage.provider>
|
|
|
|
<keycloak.clientScope.map.storage.provider>jpa</keycloak.clientScope.map.storage.provider>
|
2022-05-24 13:44:18 +00:00
|
|
|
<keycloak.adminEventsStore.map.storage.provider>jpa</keycloak.adminEventsStore.map.storage.provider>
|
|
|
|
<keycloak.authEventsStore.map.storage.provider>jpa</keycloak.authEventsStore.map.storage.provider>
|
2022-05-19 17:23:22 +00:00
|
|
|
<keycloak.group.map.storage.provider>jpa</keycloak.group.map.storage.provider>
|
|
|
|
<keycloak.loginFailure.map.storage.provider>jpa</keycloak.loginFailure.map.storage.provider>
|
|
|
|
<keycloak.realm.map.storage.provider>jpa</keycloak.realm.map.storage.provider>
|
|
|
|
<keycloak.role.map.storage.provider>jpa</keycloak.role.map.storage.provider>
|
2022-06-02 18:36:56 +00:00
|
|
|
<keycloak.singleUseObject.map.storage.provider>jpa</keycloak.singleUseObject.map.storage.provider>
|
2022-07-05 14:19:31 +00:00
|
|
|
<keycloak.user.map.storage.provider>jpa</keycloak.user.map.storage.provider>
|
2022-07-14 15:07:02 +00:00
|
|
|
<keycloak.userSession.map.storage.provider>jpa</keycloak.userSession.map.storage.provider>
|
2022-07-20 10:27:19 +00:00
|
|
|
<auth.server.quarkus.mapStorage.profile.config>jpa</auth.server.quarkus.mapStorage.profile.config>
|
2023-01-24 08:59:48 +00:00
|
|
|
<keycloak.globalLock.provider>map</keycloak.globalLock.provider>
|
|
|
|
<keycloak.lock.map.storage.provider>jpa</keycloak.lock.map.storage.provider>
|
2022-05-09 15:06:27 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
2022-04-22 19:43:01 +00:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2022-12-01 13:30:48 +00:00
|
|
|
|
2022-12-17 07:50:21 +00:00
|
|
|
<profile>
|
2022-12-16 17:55:31 +00:00
|
|
|
<id>map-storage-hot-rod</id>
|
2022-12-17 07:50:21 +00:00
|
|
|
<properties>
|
2022-12-16 17:55:31 +00:00
|
|
|
<keycloak.testsuite.start-hotrod-container>true</keycloak.testsuite.start-hotrod-container>
|
2022-12-17 07:50:21 +00:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2022-12-16 17:55:31 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2022-12-17 07:50:21 +00:00
|
|
|
<configuration>
|
2022-12-16 17:55:31 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<!--
|
|
|
|
The following properties needs to be synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.profile.feature.map_storage>enabled</keycloak.profile.feature.map_storage>
|
|
|
|
<keycloak.realm.provider>map</keycloak.realm.provider>
|
|
|
|
<keycloak.client.provider>map</keycloak.client.provider>
|
|
|
|
<keycloak.clientScope.provider>map</keycloak.clientScope.provider>
|
|
|
|
<keycloak.group.provider>map</keycloak.group.provider>
|
|
|
|
<keycloak.role.provider>map</keycloak.role.provider>
|
|
|
|
<keycloak.user.provider>map</keycloak.user.provider>
|
|
|
|
<keycloak.deploymentState.provider>map</keycloak.deploymentState.provider>
|
|
|
|
<keycloak.authSession.provider>map</keycloak.authSession.provider>
|
|
|
|
<keycloak.userSession.provider>map</keycloak.userSession.provider>
|
|
|
|
<keycloak.loginFailure.provider>map</keycloak.loginFailure.provider>
|
|
|
|
<keycloak.authorization.provider>map</keycloak.authorization.provider>
|
|
|
|
<keycloak.eventsStore.provider>map</keycloak.eventsStore.provider>
|
|
|
|
<keycloak.singleUseObject.provider>map</keycloak.singleUseObject.provider>
|
|
|
|
<keycloak.publicKeyStorage.provider>map</keycloak.publicKeyStorage.provider>
|
|
|
|
<keycloak.authorizationCache.enabled>false</keycloak.authorizationCache.enabled>
|
|
|
|
<keycloak.realmCache.enabled>false</keycloak.realmCache.enabled>
|
|
|
|
<keycloak.userCache.enabled>false</keycloak.userCache.enabled>
|
|
|
|
<keycloak.publicKeyCache.enabled>false</keycloak.publicKeyCache.enabled>
|
|
|
|
<keycloak.userSessionPersister.provider></keycloak.userSessionPersister.provider>
|
|
|
|
<keycloak.userFederatedStorage.provider></keycloak.userFederatedStorage.provider>
|
|
|
|
<!--
|
|
|
|
The end of the block synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.authSession.map.storage.provider>hotrod</keycloak.authSession.map.storage.provider>
|
|
|
|
<keycloak.client.map.storage.provider>hotrod</keycloak.client.map.storage.provider>
|
|
|
|
<keycloak.clientScope.map.storage.provider>hotrod</keycloak.clientScope.map.storage.provider>
|
|
|
|
<keycloak.group.map.storage.provider>hotrod</keycloak.group.map.storage.provider>
|
|
|
|
<keycloak.role.map.storage.provider>hotrod</keycloak.role.map.storage.provider>
|
|
|
|
<keycloak.user.map.storage.provider>hotrod</keycloak.user.map.storage.provider>
|
|
|
|
<keycloak.loginFailure.map.storage.provider>hotrod</keycloak.loginFailure.map.storage.provider>
|
|
|
|
<keycloak.realm.map.storage.provider>hotrod</keycloak.realm.map.storage.provider>
|
|
|
|
<keycloak.userSession.map.storage.provider>hotrod</keycloak.userSession.map.storage.provider>
|
|
|
|
<keycloak.authorization.map.storage.provider>hotrod</keycloak.authorization.map.storage.provider>
|
2023-01-27 11:56:28 +00:00
|
|
|
<keycloak.adminEventsStore.map.storage.provider>hotrod</keycloak.adminEventsStore.map.storage.provider>
|
|
|
|
<keycloak.authEventsStore.map.storage.provider>hotrod</keycloak.authEventsStore.map.storage.provider>
|
2022-12-16 17:55:31 +00:00
|
|
|
<keycloak.singleUseObject.map.storage.provider>hotrod</keycloak.singleUseObject.map.storage.provider>
|
|
|
|
<infinispan.version>${infinispan.version}</infinispan.version>
|
2022-08-29 14:12:28 +00:00
|
|
|
<project.version>${project.version}</project.version>
|
2022-12-16 17:55:31 +00:00
|
|
|
<keycloak.testsuite.start-hotrod-container>${keycloak.testsuite.start-hotrod-container}</keycloak.testsuite.start-hotrod-container>
|
|
|
|
<auth.server.quarkus.mapStorage.profile.config>hotrod</auth.server.quarkus.mapStorage.profile.config>
|
2022-12-20 12:27:06 +00:00
|
|
|
<keycloak.globalLock.provider>hotrod</keycloak.globalLock.provider>
|
2022-12-16 17:55:31 +00:00
|
|
|
</systemPropertyVariables>
|
2022-12-17 07:50:21 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-12-16 17:55:31 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2023-02-14 18:43:41 +00:00
|
|
|
<profile>
|
|
|
|
<id>map-storage-file</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!--
|
|
|
|
The following properties needs to be synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.profile.feature.map_storage>enabled</keycloak.profile.feature.map_storage>
|
|
|
|
<keycloak.realm.provider>map</keycloak.realm.provider>
|
|
|
|
<keycloak.client.provider>map</keycloak.client.provider>
|
|
|
|
<keycloak.clientScope.provider>map</keycloak.clientScope.provider>
|
|
|
|
<keycloak.group.provider>map</keycloak.group.provider>
|
|
|
|
<keycloak.role.provider>map</keycloak.role.provider>
|
|
|
|
<keycloak.user.provider>map</keycloak.user.provider>
|
|
|
|
<keycloak.deploymentState.provider>map</keycloak.deploymentState.provider>
|
|
|
|
<keycloak.authSession.provider>map</keycloak.authSession.provider>
|
|
|
|
<keycloak.userSession.provider>map</keycloak.userSession.provider>
|
|
|
|
<keycloak.loginFailure.provider>map</keycloak.loginFailure.provider>
|
|
|
|
<keycloak.authorization.provider>map</keycloak.authorization.provider>
|
|
|
|
<keycloak.eventsStore.provider>map</keycloak.eventsStore.provider>
|
|
|
|
<keycloak.singleUseObject.provider>map</keycloak.singleUseObject.provider>
|
|
|
|
<keycloak.publicKeyStorage.provider>map</keycloak.publicKeyStorage.provider>
|
|
|
|
<keycloak.authorizationCache.enabled>false</keycloak.authorizationCache.enabled>
|
|
|
|
<keycloak.realmCache.enabled>false</keycloak.realmCache.enabled>
|
|
|
|
<keycloak.userCache.enabled>false</keycloak.userCache.enabled>
|
|
|
|
<keycloak.publicKeyCache.enabled>false</keycloak.publicKeyCache.enabled>
|
|
|
|
<keycloak.userSessionPersister.provider></keycloak.userSessionPersister.provider>
|
|
|
|
<keycloak.userFederatedStorage.provider></keycloak.userFederatedStorage.provider>
|
|
|
|
<!--
|
|
|
|
The end of the block synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.mapStorage.provider.default>file</keycloak.mapStorage.provider.default>
|
|
|
|
<keycloak.singleUseObject.map.storage.provider>concurrenthashmap</keycloak.singleUseObject.map.storage.provider>
|
|
|
|
<project.version>${project.version}</project.version>
|
|
|
|
<auth.server.quarkus.mapStorage.profile.config>file</auth.server.quarkus.mapStorage.profile.config>
|
|
|
|
<keycloak.globalLock.provider>none</keycloak.globalLock.provider>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2022-12-16 17:55:31 +00:00
|
|
|
<profile>
|
|
|
|
<id>map-storage-jpa-cockroach</id>
|
|
|
|
<properties>
|
|
|
|
<cockroachdb.start-container>true</cockroachdb.start-container>
|
|
|
|
<keycloak.map.storage.connectionsJpa.url>jdbc:postgresql://localhost:26257/keycloak</keycloak.map.storage.connectionsJpa.url>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-12-17 07:50:21 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2022-12-16 17:55:31 +00:00
|
|
|
<!--
|
|
|
|
The following properties needs to be synchronized across all map-storage profiles
|
|
|
|
-->
|
|
|
|
<keycloak.profile.feature.map_storage>enabled</keycloak.profile.feature.map_storage>
|
|
|
|
<keycloak.realm.provider>map</keycloak.realm.provider>
|
|
|
|
<keycloak.client.provider>map</keycloak.client.provider>
|
|
|
|
<keycloak.clientScope.provider>map</keycloak.clientScope.provider>
|
|
|
|
<keycloak.group.provider>map</keycloak.group.provider>
|
|
|
|
<keycloak.role.provider>map</keycloak.role.provider>
|
|
|
|
<keycloak.user.provider>map</keycloak.user.provider>
|
|
|
|
<keycloak.deploymentState.provider>map</keycloak.deploymentState.provider>
|
|
|
|
<keycloak.authSession.provider>map</keycloak.authSession.provider>
|
|
|
|
<keycloak.userSession.provider>map</keycloak.userSession.provider>
|
|
|
|
<keycloak.loginFailure.provider>map</keycloak.loginFailure.provider>
|
|
|
|
<keycloak.authorization.provider>map</keycloak.authorization.provider>
|
|
|
|
<keycloak.eventsStore.provider>map</keycloak.eventsStore.provider>
|
|
|
|
<keycloak.singleUseObject.provider>map</keycloak.singleUseObject.provider>
|
|
|
|
<keycloak.publicKeyStorage.provider>map</keycloak.publicKeyStorage.provider>
|
|
|
|
<keycloak.authorizationCache.enabled>false</keycloak.authorizationCache.enabled>
|
|
|
|
<keycloak.realmCache.enabled>false</keycloak.realmCache.enabled>
|
|
|
|
<keycloak.userCache.enabled>false</keycloak.userCache.enabled>
|
|
|
|
<keycloak.publicKeyCache.enabled>false</keycloak.publicKeyCache.enabled>
|
|
|
|
<keycloak.userSessionPersister.provider></keycloak.userSessionPersister.provider>
|
|
|
|
<keycloak.userFederatedStorage.provider></keycloak.userFederatedStorage.provider>
|
|
|
|
<!--
|
|
|
|
The end of the block synchronized across all map-storage profiles
|
|
|
|
-->
|
2022-12-17 07:50:21 +00:00
|
|
|
<cockroachdb.start-container>${cockroachdb.start-container}</cockroachdb.start-container>
|
|
|
|
|
|
|
|
<keycloak.map.storage.connectionsJpa.url>${keycloak.map.storage.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
|
|
|
|
<keycloak.map.storage.connectionsJpa.user>${keycloak.map.storage.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
|
|
|
|
<keycloak.map.storage.connectionsJpa.password>${keycloak.map.storage.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
|
|
|
|
|
2023-01-19 18:22:26 +00:00
|
|
|
<keycloak.storage.connections.vendor>cockroach</keycloak.storage.connections.vendor>
|
|
|
|
|
2022-12-17 07:50:21 +00:00
|
|
|
<keycloak.authorization.map.storage.provider>jpa</keycloak.authorization.map.storage.provider>
|
|
|
|
<keycloak.authSession.map.storage.provider>jpa</keycloak.authSession.map.storage.provider>
|
|
|
|
<keycloak.client.map.storage.provider>jpa</keycloak.client.map.storage.provider>
|
|
|
|
<keycloak.clientScope.map.storage.provider>jpa</keycloak.clientScope.map.storage.provider>
|
|
|
|
<keycloak.adminEventsStore.map.storage.provider>jpa</keycloak.adminEventsStore.map.storage.provider>
|
|
|
|
<keycloak.authEventsStore.map.storage.provider>jpa</keycloak.authEventsStore.map.storage.provider>
|
|
|
|
<keycloak.group.map.storage.provider>jpa</keycloak.group.map.storage.provider>
|
|
|
|
<keycloak.loginFailure.map.storage.provider>jpa</keycloak.loginFailure.map.storage.provider>
|
|
|
|
<keycloak.realm.map.storage.provider>jpa</keycloak.realm.map.storage.provider>
|
|
|
|
<keycloak.role.map.storage.provider>jpa</keycloak.role.map.storage.provider>
|
|
|
|
<keycloak.singleUseObject.map.storage.provider>jpa</keycloak.singleUseObject.map.storage.provider>
|
|
|
|
<keycloak.user.map.storage.provider>jpa</keycloak.user.map.storage.provider>
|
|
|
|
<keycloak.userSession.map.storage.provider>jpa</keycloak.userSession.map.storage.provider>
|
|
|
|
<auth.server.quarkus.mapStorage.profile.config>jpa</auth.server.quarkus.mapStorage.profile.config>
|
2023-01-24 08:59:48 +00:00
|
|
|
<keycloak.globalLock.provider>map</keycloak.globalLock.provider>
|
|
|
|
<keycloak.lock.map.storage.provider>jpa</keycloak.lock.map.storage.provider>
|
2022-12-17 07:50:21 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
2022-12-01 13:30:48 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-fips140-2</id>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-bcfips-deps-client-tools</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${containers.home}/keycloak-client-tools/bin/client/lib</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${containers.home}/auth-server-quarkus/bin/client/lib</directory>
|
|
|
|
<includes>
|
|
|
|
<include>bc-fips-*</include>
|
|
|
|
<include>bctls-fips-*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2023-01-11 21:30:04 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-quarkus-embedded</id>
|
|
|
|
<properties>
|
2023-03-10 21:52:57 +00:00
|
|
|
<surefire.memory.Xms>2048m</surefire.memory.Xms>
|
|
|
|
<surefire.memory.Xmx>2048m</surefire.memory.Xmx>
|
2023-01-11 21:30:04 +00:00
|
|
|
<surefire.memory.metaspace>512m</surefire.memory.metaspace>
|
2023-03-10 21:52:57 +00:00
|
|
|
<surefire.memory.metaspace.max>1024m</surefire.memory.metaspace.max>
|
2023-06-21 13:46:47 +00:00
|
|
|
<junit-vintage-engine.version>5.9.3</junit-vintage-engine.version>
|
2023-01-11 21:30:04 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2023-04-06 23:53:23 +00:00
|
|
|
<artifactId>keycloak-junit5</artifactId>
|
2023-01-11 21:30:04 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<!-- TODO: FIPS not yet supported -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-crypto-fips1402</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2023-06-21 13:46:47 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
<version>${junit-vintage-engine.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-01-11 21:30:04 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logmanager</groupId>
|
|
|
|
<artifactId>log4j-jboss-logmanager</artifactId>
|
|
|
|
<version>1.3.0.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.bytebuddy</groupId>
|
|
|
|
<artifactId>byte-buddy</artifactId>
|
|
|
|
<version>1.12.18</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
|
2017-10-11 10:20:06 +00:00
|
|
|
</profiles>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</project>
|