From 6401e69f22f9b5044c53bbdb4051851cb0f4cd7a Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 10 Nov 2009 08:52:03 +0000
Subject: [PATCH] Fix#4262 ECL One should be able to disable ECL for each domain

---
 opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml |   51 ++++++++-------------------------------------------
 1 files changed, 8 insertions(+), 43 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
index 154fd70..9172d4e 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
@@ -43,6 +43,14 @@
       <ldap:superior>top</ldap:superior>
     </ldap:object-class>
   </adm:profile>
+  <adm:relation name="external-changelog-domain">
+    <adm:one-to-one />
+    <adm:profile name="ldap">
+      <ldap:rdn-sequence>
+        cn=External ChangeLog
+      </ldap:rdn-sequence>
+    </adm:profile>
+  </adm:relation>
   <adm:property name="replication-server" multi-valued="true"
     mandatory="true">
     <adm:synopsis>
@@ -487,47 +495,4 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-  <adm:property name="ecl-include" multi-valued="true" mandatory="false">
-    <adm:synopsis>
-      Allows to include some target entry attributes in the ECL.
-    </adm:synopsis>
-    <adm:description>
-      Specifies an attribute that will be included in every External Change Log
-      entry related to this replication domain.
-    </adm:description>
-    <adm:default-behavior>
-      <adm:undefined/>
-    </adm:default-behavior>
-    <adm:syntax>
-      <adm:string>
-        <adm:pattern>
-          <!-- This java regex is mostly derived from keystring BNF definition
-          that can be found in RFC 2252, section "4.1. Common Encoding Aspects".
-          This can be read as: (oid|\*):oid(,oid)*+
-          -->
-          <adm:regex>^((([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+)|\\*):(([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+)(,(([a-zA-Z]([a-zA-Z]|[0-9]|-|;)*+)|(0|([1-9]([0-9])*+))(\\.(0|([1-9]([0-9])*+)))*+))*+$</adm:regex>
-          <adm:usage>Syntax:
-          className:attributeName[,attributeName]
-          or
-          *:attributeName[,attributeName].
-          Note that any class (className) or attribute (attributeName) definition can be replaced with its OID definition.
-          Examples:
-          inetOrgPerson:photo,jpegPhoto : 'photo' and 'jpegPhoto' attributes of any entry of type 'inetOrgPerson' class.
-          This can also be 2.16.840.1.113730.3.2.2:0.9.2342.19200300.100.1.7,0.9.2342.19200300.100.1.60 or a mix.
-          *:jpegPhoto : the 'jpegPhoto' attribute of any entry that has this attribute.
-          This can also be *:0.9.2342.19200300.100.1.60
-          </adm:usage>
-          <adm:synopsis>
-            Defines attribute(s) of one particular class or of all possible
-            classes, to exclude from the replication.
-          </adm:synopsis>
-        </adm:pattern>
-      </adm:string>
-    </adm:syntax>
-    <adm:profile name="ldap">
-      <ldap:attribute>
-        <ldap:name>ds-cfg-ecl-include</ldap:name>
-      </ldap:attribute>
-    </adm:profile>
-  </adm:property>
 </adm:managed-object>

--
Gitblit v1.10.0