[exo-jcr-commits] exo-jcr SVN: r5605 - jcr/branches/1.15.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Feb 10 09:24:41 EST 2012


Author: nzamosenchuk
Date: 2012-02-10 09:24:40 -0500 (Fri, 10 Feb 2012)
New Revision: 5605

Modified:
   jcr/branches/1.15.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java
Log:
EXOJCR-1747 : merging RSYNC brainch into 1.15.x

Modified: jcr/branches/1.15.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java
===================================================================
--- jcr/branches/1.15.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java	2012-02-10 14:18:09 UTC (rev 5604)
+++ jcr/branches/1.15.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java	2012-02-10 14:24:40 UTC (rev 5605)
@@ -219,13 +219,15 @@
       // read RSYNC configuration
       String rsyncEntryName = config.getParameterValue(PARAM_RSYNC_ENTRY_NAME, null);
       String rsyncEntryPath = config.getParameterValue(PARAM_RSYNC_ENTRY_PATH, null);
+      String rsyncUserName = config.getParameterValue(PARAM_RSYNC_USER, null);
+      String rsyncPassword = config.getParameterValue(PARAM_RSYNC_PASSWORD, null);
       int rsyncPort = config.getParameterInteger(PARAM_RSYNC_PORT, PARAM_RSYNC_PORT_DEFAULT);
 
       // rsync configured
       if (rsyncEntryName != null)
       {
          return new RsyncIndexInfos(rootFqn, cache, system, modeHandler, ((SearchIndex)handler).getContext()
-            .getIndexDirectory(), rsyncPort, rsyncEntryName, rsyncEntryPath);
+            .getIndexDirectory(), rsyncPort, rsyncEntryName, rsyncEntryPath, rsyncUserName, rsyncPassword);
       }
       else
       {



More information about the exo-jcr-commits mailing list