mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-02 05:00:58 -05:00
Renamed change logs to CR1
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
<include file="META-INF/jpa-changelog-1.1.0.Beta1.xml"/>
|
||||
<include file="META-INF/jpa-changelog-1.1.0.Final.xml"/>
|
||||
<include file="META-INF/jpa-changelog-1.2.0.Beta1.xml"/>
|
||||
<include file="META-INF/jpa-changelog-1.2.0.RC1.xml"/>
|
||||
<include file="META-INF/jpa-changelog-1.2.0.CR1.xml"/>
|
||||
</databaseChangeLog>
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ import org.keycloak.connections.mongo.updater.impl.updates.Update;
|
||||
import org.keycloak.connections.mongo.updater.impl.updates.Update1_0_0_Final;
|
||||
import org.keycloak.connections.mongo.updater.impl.updates.Update1_1_0_Beta1;
|
||||
import org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_Beta1;
|
||||
import org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_RC1;
|
||||
import org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1;
|
||||
import org.keycloak.models.KeycloakSession;
|
||||
|
||||
import java.util.Date;
|
||||
@@ -30,7 +30,7 @@ public class DefaultMongoUpdaterProvider implements MongoUpdaterProvider {
|
||||
Update1_0_0_Final.class,
|
||||
Update1_1_0_Beta1.class,
|
||||
Update1_2_0_Beta1.class,
|
||||
Update1_2_0_RC1.class
|
||||
Update1_2_0_CR1.class
|
||||
};
|
||||
|
||||
@Override
|
||||
|
||||
+2
-2
@@ -8,11 +8,11 @@ import org.keycloak.models.KeycloakSession;
|
||||
/**
|
||||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
|
||||
*/
|
||||
public class Update1_2_0_RC1 extends Update {
|
||||
public class Update1_2_0_CR1 extends Update {
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return "1.2.0.RC1";
|
||||
return "1.2.0.CR1";
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1,7 +1,7 @@
|
||||
package org.keycloak.migration;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
import org.keycloak.migration.migrators.MigrationTo1_2_0_RC1;
|
||||
import org.keycloak.migration.migrators.MigrationTo1_2_0_CR1;
|
||||
import org.keycloak.models.KeycloakSession;
|
||||
|
||||
/**
|
||||
@@ -19,9 +19,9 @@ public class MigrationModelManager {
|
||||
if (storedVersion == null) stored = new ModelVersion(0, 0, 0);
|
||||
else stored = new ModelVersion(storedVersion);
|
||||
|
||||
if (stored.lessThan(MigrationTo1_2_0_RC1.VERSION)) {
|
||||
if (stored.lessThan(MigrationTo1_2_0_CR1.VERSION)) {
|
||||
logger.info("Migrating older model to 1.2.0.RC1 updates");
|
||||
new MigrationTo1_2_0_RC1().migrate(session);
|
||||
new MigrationTo1_2_0_CR1().migrate(session);
|
||||
}
|
||||
|
||||
model.setStoredVersion(MigrationModel.LATEST_VERSION);
|
||||
|
||||
+2
-2
@@ -14,8 +14,8 @@ import java.util.Map;
|
||||
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
|
||||
* @version $Revision: 1 $
|
||||
*/
|
||||
public class MigrationTo1_2_0_RC1 {
|
||||
public static final ModelVersion VERSION = new ModelVersion("1.2.0.RC1");
|
||||
public class MigrationTo1_2_0_CR1 {
|
||||
public static final ModelVersion VERSION = new ModelVersion("1.2.0.CR1");
|
||||
|
||||
public void setupBrokerService(RealmModel realm) {
|
||||
ClientModel client = realm.getClientNameMap().get(Constants.BROKER_SERVICE_CLIENT_ID);
|
||||
Reference in New Issue
Block a user