KEYCLOAK-14062 Add postgres10

This commit is contained in:
vramik 2020-05-10 23:50:16 +02:00 committed by Pavel Drozd
parent a827d20a90
commit 37e23cb0a2

View file

@ -465,12 +465,6 @@
<profile> <profile>
<id>db-allocator-db-mysql</id> <id>db-allocator-db-mysql</id>
<properties> <properties>
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
<jdbc.mvn.groupId>mysql</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>mysql-connector-java</jdbc.mvn.artifactId>
<jdbc.mvn.version>${mysql.version}</jdbc.mvn.version>
<dballocator.type>mysql80</dballocator.type> <dballocator.type>mysql80</dballocator.type>
<dballocator.skip>false</dballocator.skip> <dballocator.skip>false</dballocator.skip>
</properties> </properties>
@ -496,6 +490,27 @@
<docker.database.wait-for-log-regex>(?si)Ready for start up.*ready [^\n]{0,30}connections</docker.database.wait-for-log-regex> <docker.database.wait-for-log-regex>(?si)Ready for start up.*ready [^\n]{0,30}connections</docker.database.wait-for-log-regex>
</properties> </properties>
</profile> </profile>
<profile>
<id>db-postgres10</id>
<properties>
<keycloak.connectionsJpa.driver>org.postgresql.Driver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database>keycloak</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user>keycloak</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password>keycloak</keycloak.connectionsJpa.password>
<keycloak.connectionsJpa.url>jdbc:postgresql://${auth.server.db.host}/${keycloak.connectionsJpa.database}</keycloak.connectionsJpa.url>
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
<jdbc.mvn.groupId>org.postgresql</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>postgresql</jdbc.mvn.artifactId>
<jdbc.mvn.version>42.2.2</jdbc.mvn.version>
<docker.database.image>postgres:10</docker.database.image>
<docker.database.port>5432</docker.database.port>
<docker.database.skip>false</docker.database.skip>
<docker.database.cmd>postgres</docker.database.cmd>
<docker.database.wait-for-log-regex>(?si)Ready for start up.*ready [^\n]{0,30}connections</docker.database.wait-for-log-regex>
</properties>
</profile>
<profile> <profile>
<id>db-allocator-db-postgres</id> <id>db-allocator-db-postgres</id>
<properties> <properties>
@ -512,13 +527,6 @@
<profile> <profile>
<id>db-allocator-db-postgresplus</id> <id>db-allocator-db-postgresplus</id>
<properties> <properties>
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
<!-- For EDB, the JDBC driver will need to be downloaded and manually added to local maven repository -->
<jdbc.mvn.groupId>com.edb.Driver</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>edb-jdbc</jdbc.mvn.artifactId>
<jdbc.mvn.version>18</jdbc.mvn.version>
<dballocator.type>postgresplus101</dballocator.type> <dballocator.type>postgresplus101</dballocator.type>
<dballocator.skip>false</dballocator.skip> <dballocator.skip>false</dballocator.skip>
</properties> </properties>
@ -548,12 +556,6 @@
<profile> <profile>
<id>db-allocator-db-mariadb</id> <id>db-allocator-db-mariadb</id>
<properties> <properties>
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
<jdbc.mvn.groupId>org.mariadb.jdbc</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>mariadb-java-client</jdbc.mvn.artifactId>
<jdbc.mvn.version>${mariadb.version}</jdbc.mvn.version>
<dballocator.type>mariadb_galera_101</dballocator.type> <dballocator.type>mariadb_galera_101</dballocator.type>
<dballocator.skip>false</dballocator.skip> <dballocator.skip>false</dballocator.skip>
</properties> </properties>
@ -583,12 +585,6 @@
<profile> <profile>
<id>db-allocator-db-mssql2017</id> <id>db-allocator-db-mssql2017</id>
<properties> <properties>
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
<jdbc.mvn.groupId>com.microsoft.sqlserver</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>mssql-jdbc</jdbc.mvn.artifactId>
<jdbc.mvn.version>${mssql.version}</jdbc.mvn.version>
<dballocator.type>mssql2017</dballocator.type> <dballocator.type>mssql2017</dballocator.type>
<dballocator.skip>false</dballocator.skip> <dballocator.skip>false</dballocator.skip>
</properties> </properties>
@ -619,12 +615,6 @@
<profile> <profile>
<id>db-allocator-db-oracleRAC</id> <id>db-allocator-db-oracleRAC</id>
<properties> <properties>
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
<jdbc.mvn.groupId>com.oracle</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>ojdbc8</jdbc.mvn.artifactId>
<jdbc.mvn.version>12.2.0.1</jdbc.mvn.version>
<dballocator.type>oracle19cRAC</dballocator.type> <dballocator.type>oracle19cRAC</dballocator.type>
<dballocator.skip>false</dballocator.skip> <dballocator.skip>false</dballocator.skip>
</properties> </properties>