From 1e1c39644fa2efe85b0042a83269f13debdbad6d Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Tue, 11 Jun 2013 15:25:39 +0000
Subject: [PATCH] CR-1829 OPENDJ-982 Upgrade: SNMP Connection Handler does not start after the upgrade As suggested in CR, a new upgrade task has been created 'Rename SNMP security config file'. This task is launched if the old SNMP config file actually exists in the config/snmp/security. The task renames the file with the new opendj name.

---
 opends/src/server/org/opends/server/tools/upgrade/Installation.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/upgrade/Installation.java b/opends/src/server/org/opends/server/tools/upgrade/Installation.java
index 91c0f17..38bb90b 100644
--- a/opends/src/server/org/opends/server/tools/upgrade/Installation.java
+++ b/opends/src/server/org/opends/server/tools/upgrade/Installation.java
@@ -90,6 +90,16 @@
   public static final String TMP_PATH_RELATIVE = "tmp";
 
   /**
+   * Relative path to the snmp directory.
+   */
+  public static final String SNMP_PATH_RELATIVE = "snmp";
+
+  /**
+   * Relative path to the security directory.
+   */
+  public static final String SECURITY_PATH_RELATIVE = "security";
+
+  /**
    * The relative path to the current Configuration LDIF file.
    */
   public static final String CURRENT_CONFIG_FILE_NAME = "config.ldif";

--
Gitblit v1.10.0