From 76ebd1ad82e2a1fc421519f09c62b948e9376e8a Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 06 Oct 2009 12:34:32 +0000
Subject: [PATCH] Entry attributes for ECL - Protocol V4

---
 opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 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 a8439b5..154fd70 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
@@ -487,4 +487,47 @@
       </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