From ef632b7eec69d4cce09c45c299a0b0fa0fd69b3c Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 02 Jun 2008 20:44:47 +0000
Subject: [PATCH] Fix for issue 3311 (import-ldif --templateFile does not work when the server is running) The fix consists on not assuming that the ldif file path is required to launch an import (the ds-task-import task definition has been modified for this) and allowing to create a task that imports contents based on a template.
---
opends/src/server/org/opends/server/config/ConfigConstants.java | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 1be0c38..a2482c2 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -3828,6 +3828,20 @@
NAME_PREFIX_TASK + "import-ldif-file";
+ /**
+ * The name of the attribute in an import task definition that specifies the
+ * path to the file containing the template data to import.
+ */
+ public static final String ATTR_IMPORT_TEMPLATE_FILE =
+ NAME_PREFIX_TASK + "import-template-file";
+
+
+ /**
+ * The name of the attribute in an import task definition that specifies the
+ * random seed to be used when we pass a template file to the import.
+ */
+ public static final String ATTR_IMPORT_RANDOM_SEED =
+ NAME_PREFIX_TASK + "import-random-seed";
/**
* The name of the attribute in an import task definition that specifies
--
Gitblit v1.10.0