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 \
|
||||
-Dmigration.mode=auto \
|
||||
-Djdbc.mvn.groupId=mysql \
|
||||
-Djdbc.mvn.version=5.1.29 \
|
||||
-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.user=keycloak \
|
||||
-Dkeycloak.connectionsJpa.password=keycloak
|
||||
|
@ -269,7 +270,8 @@ This test will:
|
|||
The profile "test-7X-migration" indicates from which version you want to test migration. The valid values are:
|
||||
* 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-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
|
||||
|
||||
|
@ -286,8 +288,9 @@ just exports the needed SQL into the script. This SQL script then needs to be ma
|
|||
-Dtest=MigrationTest \
|
||||
-Dmigration.mode=manual \
|
||||
-Djdbc.mvn.groupId=mysql \
|
||||
-Djdbc.mvn.version=5.1.29 \
|
||||
-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.user=keycloak \
|
||||
-Dkeycloak.connectionsJpa.password=keycloak
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<property>jdbc.mvn.artifactId</property>
|
||||
</requireProperty>
|
||||
<requireProperty>
|
||||
<property>jdbc.mvn.version</property>
|
||||
<property>jdbc.mvn.version.legacy</property>
|
||||
</requireProperty>
|
||||
<requireProperty>
|
||||
<property>keycloak.connectionsJpa.user</property>
|
||||
|
@ -106,7 +106,7 @@
|
|||
<artifactItem>
|
||||
<groupId>${jdbc.mvn.groupId}</groupId>
|
||||
<artifactId>${jdbc.mvn.artifactId}</artifactId>
|
||||
<version>${jdbc.mvn.version}</version>
|
||||
<version>${jdbc.mvn.version.legacy}</version>
|
||||
<type>jar</type>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
|
@ -143,7 +143,7 @@
|
|||
</parameter>
|
||||
<parameter>
|
||||
<name>version</name>
|
||||
<value>${jdbc.mvn.version}</value>
|
||||
<value>${jdbc.mvn.version.legacy}</value>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</transformationSet>
|
||||
|
|
Loading…
Reference in a new issue