From 410b7d0592ba0e1dc2f3d9c745523fee430bcabe Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 10 Jun 2011 10:25:31 +0000
Subject: [PATCH] Partial fix for OPENDJ-194: Minor improvements to change log content and configuration

---
 opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml |   41 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 37 insertions(+), 4 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml
index deac4c2..3738977 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml
@@ -24,6 +24,7 @@
   !
   !
   !      Copyright 2009 Sun Microsystems, Inc.
+  !      Portions copyright 2011 ForgeRock AS
   ! -->
 <adm:managed-object name="external-changelog-domain"
   plural-name="external-changelog-domains"
@@ -59,17 +60,25 @@
   </adm:property>
   <adm:property name="ecl-include" multi-valued="true" mandatory="false">
     <adm:synopsis>
-      Allows to include some target entry attributes in the external changelog.
+      Specifies a list of attributes which should be published with every
+      change log entry, regardless of whether or not the attribute itself
+      has changed.
     </adm:synopsis>
     <adm:description>
-      Specifies an attribute that will be included in every External Change Log
-      entry related to this replication domain.
+      The list of attributes may include wild cards such as "*" and "+" as
+      well as object class references prefixed with an ampersand, for
+      example "@person".
+      The included attributes will be published using the "includedAttributes"
+      operational attribute as a single LDIF value rather like the
+      "changes" attribute. For modify and modifyDN operations the included
+      attributes will be taken from the entry before any changes were applied.
     </adm:description>
     <adm:default-behavior>
       <adm:undefined/>
     </adm:default-behavior>
     <adm:syntax>
-      <adm:attribute-type />
+      <!--  FIXME: can we constrain this with a regex? -->
+      <adm:string />
     </adm:syntax>
     <adm:profile name="ldap">
       <ldap:attribute>
@@ -77,4 +86,28 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+  <adm:property name="ecl-include-for-deletes" multi-valued="true" mandatory="false">
+    <adm:synopsis>
+      Specifies a list of attributes which should be published with every
+      delete operation change log entry, in addition to those specified by the
+      "ecl-include" property.
+    </adm:synopsis>
+    <adm:description>
+      This property provides a means for applications to archive entries after
+      they have been deleted. See the description of the "ecl-include" property
+      for further information about how the included attributes are published.
+    </adm:description>
+    <adm:default-behavior>
+      <adm:undefined/>
+    </adm:default-behavior>
+    <adm:syntax>
+      <!--  FIXME: can we constrain this with a regex? -->
+      <adm:string />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-ecl-include-for-deletes</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
 </adm:managed-object>

--
Gitblit v1.10.0