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

kenneth_suter
19.28.2007 efde227b9d0180122362133a750c6b322601c883
refs
author kenneth_suter <kenneth_suter@localhost>
Thursday, July 19, 2007 22:28 +0200
committer kenneth_suter <kenneth_suter@localhost>
Thursday, July 19, 2007 22:28 +0200
commitefde227b9d0180122362133a750c6b322601c883
tree 0d024f7341de88af271d7908a0afecb6f3d60270 tree | zip | gz
parent de31d5ca2c5a6b08742750118a89b9877ee8d79b view | diff
This initial implementation lays most of the groundwork necessary for signaling information and actions to the user during upgrade and reversion.  However the only public effect this code has on the current upgrade tool is an informational dialog dialog if an upgrade is attempted from a build prior to one of the issues (2049, 1582, 890).

With this commit:

- start-ds -F now advertises 'Upgrade Event IDs' which are the IDs of issues defined in VersionCompatibilityIssues that theoretically would have been encountered up to the current build.

- As mentioned above VersionCompatibilityIssue defines an issue and serves as the repository for issues. I tried to provide as many comments as possible to make it apparent how to define issues in the future.

- The upgrader's VersionOracle is responsible for correlating the version issues with actions to be taken by the upgrader or yet-to-be implemented reversion tools and presenting them to the user during the operation.

4 files added
12 files modified
1676 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java 37 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/CliUserInteraction.java 29 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Constants.java 24 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java 10 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 43 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/GuiUserInteraction.java 19 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeOracle.java 229 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 20 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/VersionOracle.java 376 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 43 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/MessageHandler.java 7 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/VersionMessages.java 151 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/BuildVersion.java 131 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/StaticUtils.java 21 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java 530 ●●●●● diff | view | raw | blame | history