KEYCLOAK-9624 support for legacy driver for migration tests
This commit is contained in:
parent
7bd1f32eb1
commit
845275ef0f
2 changed files with 9 additions and 6 deletions
|
@ -260,8 +260,9 @@ This test will:
|
||||||
-Dtest=MigrationTest \
|
-Dtest=MigrationTest \
|
||||||
-Dmigration.mode=auto \
|
-Dmigration.mode=auto \
|
||||||
-Djdbc.mvn.groupId=mysql \
|
-Djdbc.mvn.groupId=mysql \
|
||||||
-Djdbc.mvn.version=5.1.29 \
|
|
||||||
-Djdbc.mvn.artifactId=mysql-connector-java \
|
-Djdbc.mvn.artifactId=mysql-connector-java \
|
||||||
|
-Djdbc.mvn.version=8.0.12 \
|
||||||
|
-Djdbc.mvn.version.legacy=5.1.38 \
|
||||||
-Dkeycloak.connectionsJpa.url=jdbc:mysql://$DB_HOST/keycloak \
|
-Dkeycloak.connectionsJpa.url=jdbc:mysql://$DB_HOST/keycloak \
|
||||||
-Dkeycloak.connectionsJpa.user=keycloak \
|
-Dkeycloak.connectionsJpa.user=keycloak \
|
||||||
-Dkeycloak.connectionsJpa.password=keycloak
|
-Dkeycloak.connectionsJpa.password=keycloak
|
||||||
|
@ -270,6 +271,7 @@ The profile "test-7X-migration" indicates from which version you want to test mi
|
||||||
* test-70-migration - indicates migration from RHSSO 7.0 (Equivalent to Keycloak 1.9.8.Final)
|
* test-70-migration - indicates migration from RHSSO 7.0 (Equivalent to Keycloak 1.9.8.Final)
|
||||||
* test-71-migration - indicates migration from RHSSO 7.1 (Equivalent to Keycloak 2.5.5.Final)
|
* test-71-migration - indicates migration from RHSSO 7.1 (Equivalent to Keycloak 2.5.5.Final)
|
||||||
* test-72-migration - indicates migration from RHSSO 7.2 (Equivalent to Keycloak 3.4.3.Final)
|
* test-72-migration - indicates migration from RHSSO 7.2 (Equivalent to Keycloak 3.4.3.Final)
|
||||||
|
* test-73-migration - indicates migration from RHSSO 7.3 (Equivalent to Keycloak 4.8.3.Final)
|
||||||
|
|
||||||
### DB migration test with manual mode
|
### DB migration test with manual mode
|
||||||
|
|
||||||
|
@ -286,8 +288,9 @@ just exports the needed SQL into the script. This SQL script then needs to be ma
|
||||||
-Dtest=MigrationTest \
|
-Dtest=MigrationTest \
|
||||||
-Dmigration.mode=manual \
|
-Dmigration.mode=manual \
|
||||||
-Djdbc.mvn.groupId=mysql \
|
-Djdbc.mvn.groupId=mysql \
|
||||||
-Djdbc.mvn.version=5.1.29 \
|
|
||||||
-Djdbc.mvn.artifactId=mysql-connector-java \
|
-Djdbc.mvn.artifactId=mysql-connector-java \
|
||||||
|
-Djdbc.mvn.version=8.0.12 \
|
||||||
|
-Djdbc.mvn.version.legacy=5.1.38 \
|
||||||
-Dkeycloak.connectionsJpa.url=jdbc:mysql://$DB_HOST/keycloak \
|
-Dkeycloak.connectionsJpa.url=jdbc:mysql://$DB_HOST/keycloak \
|
||||||
-Dkeycloak.connectionsJpa.user=keycloak \
|
-Dkeycloak.connectionsJpa.user=keycloak \
|
||||||
-Dkeycloak.connectionsJpa.password=keycloak
|
-Dkeycloak.connectionsJpa.password=keycloak
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<property>jdbc.mvn.artifactId</property>
|
<property>jdbc.mvn.artifactId</property>
|
||||||
</requireProperty>
|
</requireProperty>
|
||||||
<requireProperty>
|
<requireProperty>
|
||||||
<property>jdbc.mvn.version</property>
|
<property>jdbc.mvn.version.legacy</property>
|
||||||
</requireProperty>
|
</requireProperty>
|
||||||
<requireProperty>
|
<requireProperty>
|
||||||
<property>keycloak.connectionsJpa.user</property>
|
<property>keycloak.connectionsJpa.user</property>
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>${jdbc.mvn.groupId}</groupId>
|
<groupId>${jdbc.mvn.groupId}</groupId>
|
||||||
<artifactId>${jdbc.mvn.artifactId}</artifactId>
|
<artifactId>${jdbc.mvn.artifactId}</artifactId>
|
||||||
<version>${jdbc.mvn.version}</version>
|
<version>${jdbc.mvn.version.legacy}</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter>
|
<parameter>
|
||||||
<name>version</name>
|
<name>version</name>
|
||||||
<value>${jdbc.mvn.version}</value>
|
<value>${jdbc.mvn.version.legacy}</value>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</transformationSet>
|
</transformationSet>
|
||||||
|
|
Loading…
Reference in a new issue