From efde227b9d0180122362133a750c6b322601c883 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 19 Jul 2007 20:28:20 +0000
Subject: [PATCH] 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).

---
 opends/src/server/org/opends/server/core/DirectoryServer.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 2b0687b..d419e8a 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -84,6 +84,8 @@
 import org.opends.server.util.SetupUtils;
 import org.opends.server.util.TimeThread;
 import org.opends.server.util.Validator;
+import org.opends.server.util.VersionCompatibilityIssue;
+import org.opends.server.util.StaticUtils;
 import org.opends.server.util.args.ArgumentException;
 import org.opends.server.util.args.ArgumentParser;
 import org.opends.server.util.args.BooleanArgument;
@@ -8817,6 +8819,10 @@
       System.out.println("Build JVM Version:   " + BUILD_JVM_VERSION);
       System.out.println("Build JVM Vendor:    " + BUILD_JVM_VENDOR);
 
+      System.out.println("Upgrade Event IDs:   " +
+              StaticUtils.listToString(
+                      VersionCompatibilityIssue.getAllEvents(), ","));
+
       return;
     }
     else if (systemInfo.isPresent())

--
Gitblit v1.10.0