From 0bebefe81310d8705bfafe769737a2e4087b771e Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 19 Sep 2014 14:58:23 +0000
Subject: [PATCH] OPENDJ-1388 Add new parameter replication-db-implementation to  replication server configuration

---
 opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml |   30 ++++++++++++++++++++++++++++--
 1 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml
index 73d7b2b..bfaa3fd 100644
--- a/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml
+++ b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/ReplicationServerConfiguration.xml
@@ -159,6 +159,32 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+  <adm:property name="replication-db-implementation" mandatory="true" read-only="true">
+    <adm:synopsis>
+       The <adm:user-friendly-name /> database implementation
+      that stores all persistent information.
+    </adm:synopsis>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>je</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:enumeration>
+        <adm:value name="je">
+          <adm:synopsis>Implementation based on Berkeley DB JE database.</adm:synopsis>
+        </adm:value>
+        <adm:value name="log">
+          <adm:synopsis>Implementation based on log file.</adm:synopsis>
+        </adm:value>
+      </adm:enumeration>
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-replication-db-implementation</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
   <adm:property name="replication-purge-delay">
     <adm:synopsis>
       The time (in seconds) after which the
@@ -311,7 +337,7 @@
       and directory servers). Larger values increase the length of time it
       takes for a directory server to detect and switch to a more suitable
       replication server, whereas smaller values increase the amount of
-      background network traffic.  
+      background network traffic.
     </adm:description>
     <adm:default-behavior>
       <adm:defined>
@@ -334,7 +360,7 @@
     <adm:description>
       This boolean tells the replication server to compute change numbers for
       each replicated change by maintaining a change number index database.
-      Changenumbers are computed according to 
+      Changenumbers are computed according to
       http://tools.ietf.org/html/draft-good-ldap-changelog-04.
       Note this functionality has an impact on CPU, disk accesses and storage.
       If changenumbers are not required, it is advisable to set this value to

--
Gitblit v1.10.0