Renamed change logs to CR1
This commit is contained in:
1 parent
dcbdb59e00
commit
d67804cd0b
6 files changed
+10
-10
No files matched your search
@@ -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