From e71e0ffed59f29c3b36a97abd949b0b434fae080 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 12 Mar 2007 16:36:07 +0000
Subject: [PATCH] Provide a mechanism for the server to notify the synchronization service about any schema changes that occur. The synchronization service can already handle schema changes that occur over protocol with the server online, but this set of changes adds support for detecting schema changes made by directly editing the schema configuration files with the server offline, as well as new schema elements added through the add schema file task.
---
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java b/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
index 4213d15..69f0bbe 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -2232,6 +2232,15 @@
/**
+ * The name of the system property that can be used to determine whether the
+ * Directory Server is starting up for the purpose of running the unit tests.
+ */
+ public static final String PROPERTY_RUNNING_UNIT_TESTS =
+ "org.opends.server.RunningUnitTests";
+
+
+
+ /**
* The name of the system property that can be used to specify the path to the
* directory in which the schema configuration files may be found. If this is
* not set, then the server wiill use a directory named "schema" below the
@@ -2281,5 +2290,25 @@
* The column at which to wrap long lines of output in the command-line tools.
*/
public static final int MAX_LINE_WIDTH = 79;
+
+
+
+ /**
+ * The name that should be used for the file to which the latest complete
+ * schema data should be concatenated.
+ */
+ public static final String SCHEMA_CONCAT_FILE_NAME = "schema.ldif.current";
+
+
+
+ /**
+ * The name that should be used for the concatenated schema file generated at
+ * build time with the base schema for the Subversion revision on which the
+ * current build is based. The value of
+ * {@code DynamicConstants.REVISION_NUMBER} must be appended to this value in
+ * order to get the full name.
+ */
+ public static final String SCHEMA_BASE_FILE_NAME_WITHOUT_REVISION =
+ "schema.ldif.";
}
--
Gitblit v1.10.0