mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
07.56.2016 025d91805779be02d356eecce0eb8785bc07b8e2
OPENDJ-3714 Add to Upgrade class the task to add new ds-cfg-local-backend object class
2 files modified
8 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/tools/upgrade/Upgrade.java 7 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/messages/org/opends/messages/tool.properties 1 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/tools/upgrade/Upgrade.java
@@ -604,7 +604,12 @@
            "cn=UUID,cn=Syntaxes,cn=config",
            "cn=Syntaxes,cn=config")
    );
    register("4.0.0",
        modifyConfigEntry(INFO_UPGRADE_TASK_ADD_LOCAL_BACKEND.get(),
            "(objectClass=ds-cfg-backend)",
            "add: objectClass",
            "objectClass: ds-cfg-local-backend")
    );
    /* All upgrades will refresh the server configuration schema and generate a new upgrade folder. */
    registerLast(
opendj-server-legacy/src/messages/org/opends/messages/tool.properties
@@ -2686,3 +2686,4 @@
ERR_TRUSTING_CERTIFICATE_PERMANENTLY=Unable to trust the certificate permanently, \
 certificate will be trusted only for this session. Error details: %s
ERR_UPGRADE_READING_CONF_FILE=An error occurred while reading configuration file: %s
INFO_UPGRADE_TASK_ADD_LOCAL_BACKEND=Adding local backend object class