directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r760021 - in /directory/apacheds/branches/apacheds-replication/mitosis: ./ src/main/java/org/apache/directory/mitosis/common/ src/main/java/org/apache/directory/mitosis/configuration/ src/main/java/org/apache/directory/mitosis/operation/ sr...
Date Mon, 30 Mar 2009 15:53:44 GMT
Author: elecharny
Date: Mon Mar 30 15:53:34 2009
New Revision: 760021

URL: http://svn.apache.org/viewvc?rev=760021&view=rev
Log:
Renamed mitosis to syncrepl

Added:
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicaPeerConfiguration.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicationSystem.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/SyncreplConfiguration.java
      - copied, changed from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolCodecFactory.java
      - copied, changed from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolCodecFactory.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolDecoder.java
      - copied, changed from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolEncoder.java
      - copied, changed from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolEncoder.java
Removed:
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/common/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/configuration/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/AddAttributeOperation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/AddEntryOperation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/AttributeOperation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/CompositeOperation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/DeleteAttributeOperation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/Operation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationFactory.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationType.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/ReplaceAttributeOperation.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/operation/support/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/ClientConnectionManager.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationContext.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationInterceptor.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationLogCleanJob.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationServiceException.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/Constants.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/codec/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/message/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/store/ReplicationLogIterator.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/store/ReplicationStore.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/store/ReplicationStoreException.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/store/derby/
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolCodecFactory.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolEncoder.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/test/java/org/apache/directory/mitosis/common/
    directory/apacheds/branches/apacheds-replication/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/
    directory/apacheds/branches/apacheds-replication/mitosis/src/test/java/org/apache/directory/mitosis/store/
Modified:
    directory/apacheds/branches/apacheds-replication/mitosis/pom.xml
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapConnectionImpl.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConsumer.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplRunnerUI.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/test/resources/log4j.properties

Modified: directory/apacheds/branches/apacheds-replication/mitosis/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/pom.xml?rev=760021&r1=760020&r2=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/pom.xml (original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/pom.xml Mon Mar 30 15:53:34 2009
@@ -26,7 +26,7 @@
     <artifactId>apacheds-parent</artifactId>
     <version>1.5.5-SNAPSHOT</version>
   </parent>
-  <artifactId>mitosis</artifactId>
+  <artifactId>syncrepl</artifactId>
   <name>ApacheDS replication</name>
   <packaging>jar</packaging>
 

Modified: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapConnectionImpl.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapConnectionImpl.java?rev=760021&r1=760020&r2=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapConnectionImpl.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapConnectionImpl.java
Mon Mar 30 15:53:34 2009
@@ -31,6 +31,7 @@
 import javax.naming.InvalidNameException;
 import javax.net.ssl.SSLContext;
 
+import org.apache.directory.mitosis.syncrepl.protocol.LdapProtocolCodecFactory;
 import org.apache.directory.shared.asn1.ber.IAsn1Container;
 import org.apache.directory.shared.ldap.codec.LdapConstants;
 import org.apache.directory.shared.ldap.codec.LdapMessage;

Modified: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConsumer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConsumer.java?rev=760021&r1=760020&r2=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConsumer.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConsumer.java
Mon Mar 30 15:53:34 2009
@@ -29,6 +29,7 @@
 import java.util.List;
 import java.util.UUID;
 
+import org.apache.directory.mitosis.syncrepl.configuration.SyncreplConfiguration;
 import org.apache.directory.server.core.CoreSession;
 import org.apache.directory.server.core.DirectoryService;
 import org.apache.directory.server.core.entry.DefaultServerEntry;

Modified: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplRunnerUI.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplRunnerUI.java?rev=760021&r1=760020&r2=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplRunnerUI.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplRunnerUI.java
Mon Mar 30 15:53:34 2009
@@ -31,6 +31,7 @@
 import javax.swing.SwingUtilities;
 
 import org.apache.commons.io.FileUtils;
+import org.apache.directory.mitosis.syncrepl.configuration.SyncreplConfiguration;
 import org.apache.directory.server.core.DefaultDirectoryService;
 import org.apache.directory.server.core.DirectoryService;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition;

Added: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicaPeerConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicaPeerConfiguration.java?rev=760021&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicaPeerConfiguration.java
(added)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicaPeerConfiguration.java
Mon Mar 30 15:53:34 2009
@@ -0,0 +1,231 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+
+package org.apache.directory.mitosis.syncrepl.configuration;
+
+
+import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.shared.ldap.util.LdapURL;
+import org.apache.directory.shared.ldap.util.StringTools;
+
+/**
+ * A configuration for a replica peer. We may have many replications relation
+ * set for a server, each one of them being described with this structure. 
+ *
+ * @org.apache.xbean.XBean
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class ReplicaPeerConfiguration
+{
+    /** A flag used when the replication use the RefreshOnly system */
+    private boolean refreshOnly;
+    
+    /** The time to wait between two consecutive RefreshOnly replication*/
+    private long interval;
+    
+    /** Default interval is 5 minutes */
+    private static final long DEFAULT_INTERVAL = 1000L*5L*60L;
+    
+    /** The default host */
+    private static final String DEFAULT_HOST = "localhost";
+    
+    /** The default ssl port */
+    private static final int DEFAULT_PORT = 10389;
+    
+    /** The default port */
+    private static final int DEFAULT_SSL_PORT = 10686;
+    
+    /** The producer we want to replicate */
+    private LdapURL producer;
+    
+    /** The principal to use to connect to the producer */
+    private LdapDN principalDN;
+    
+    /** The principal's password */
+    private String password;
+    
+    /** The producer's host */
+    private String host;
+    
+    /** The producer's port */
+    private int port;
+    
+    /** The base DN used for replication */
+    private LdapDN baseDN;
+    
+    /** A flag to tell the server to use an SSL connection */
+    private boolean useSSL;
+
+    
+    /**
+     * 
+     * Creates a new instance of ConsumerConfiguration.
+     *
+     */
+    public ReplicaPeerConfiguration()
+    {
+        interval = DEFAULT_INTERVAL;
+    }
+    
+    /**
+     * Set the type of replication wanted. If false, it will default
+     * to RefreshAndPersist.
+     * @param refreshOnly true if the refreshOnly replication is requested
+     */
+    public void setRefreshOnly( boolean refreshOnly )
+    {
+        this.refreshOnly = refreshOnly;
+    }
+
+    /**
+     * @return the refreshOnly flag
+     */
+    public boolean isRefreshOnly()
+    {
+        return refreshOnly;
+    }
+
+    /**
+     * Set the delay between two RefreshOnly replication. Its given in seconds.
+     * @param interval the interval to set
+     */
+    public void setInterval( long interval )
+    {
+        // Convert to milliseconds
+        this.interval = interval*1000L;
+    }
+
+    /**
+     * @return the interval
+     */
+    public long getInterval()
+    {
+        return interval;
+    }
+
+    /**
+     * @return the baseDN
+     */
+    public LdapDN getBaseDN()
+    {
+        return baseDN;
+    }
+
+    /**
+     * @param principalDN the principalDN to set
+     */
+    public void setPrincipalDN( LdapDN principalDN )
+    {
+        this.principalDN = principalDN;
+    }
+
+    /**
+     * @return the principalDN
+     */
+    public LdapDN getPrincipalDN()
+    {
+        return principalDN;
+    }
+
+    /**
+     * @param password the password to set
+     */
+    public void setPassword( String password )
+    {
+        this.password = password;
+    }
+
+    /**
+     * @return the password
+     */
+    public String getPassword()
+    {
+        return password;
+    }
+
+    /**
+     * @param producer the producer to set
+     */
+    public void setProducer( LdapURL producer )
+    {
+        this.producer = producer;
+        
+        // Update the other fields
+        baseDN = producer.getDn();
+        useSSL = "ldaps".equalsIgnoreCase( producer.getScheme() );
+        host = producer.getHost();
+        
+        if ( StringTools.isEmpty( host ) )
+        {
+            host = DEFAULT_HOST;
+        }
+        
+        port = producer.getPort();
+        
+        if ( port == -1 )
+        {
+            if ( useSSL )
+            {
+                port = DEFAULT_SSL_PORT;
+            }
+            else
+            {
+                port = DEFAULT_PORT;
+            }
+        }
+    }
+
+    
+    /**
+     * @return the producer
+     */
+    public LdapURL getProducer()
+    {
+        return producer;
+    }
+
+
+    /**
+     * @return true if the connection with the producer is done using SSL
+     */
+    public boolean isUseSSL()
+    {
+        return useSSL;
+    }
+
+
+    /**
+     * @return the producer's host
+     */
+    public String getHost()
+    {
+        return host;
+    }
+
+
+    /**
+     * @return the producer's port
+     */
+    public int getPort()
+    {
+        return port;
+    }
+}

Added: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicationSystem.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicationSystem.java?rev=760021&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicationSystem.java
(added)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/ReplicationSystem.java
Mon Mar 30 15:53:34 2009
@@ -0,0 +1,46 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.mitosis.syncrepl.configuration;
+
+import java.util.List;
+
+
+/**
+ * The replication sub-system.
+ *
+ * @org.apache.xbean.XBean
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class ReplicationSystem
+{
+    /** The list of servers this server is connected to */
+    private List<ReplicaPeerConfiguration> replicaPeers;
+    
+    /**
+     * Set the list of replica peers this server is connected to
+     *
+     * @param replicaPeers The list of replicas
+     */
+    public void setReplicaPeers( List<ReplicaPeerConfiguration> replicaPeers )
+    {
+        this.replicaPeers = replicaPeers;
+    }
+}

Copied: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/SyncreplConfiguration.java
(from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/SyncreplConfiguration.java?p2=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/SyncreplConfiguration.java&p1=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java&r1=759581&r2=760021&rev=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/configuration/SyncreplConfiguration.java
Mon Mar 30 15:53:34 2009
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.mitosis.syncrepl;
+package org.apache.directory.mitosis.syncrepl.configuration;
 
 import org.apache.directory.shared.ldap.filter.SearchScope;
 

Copied: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolCodecFactory.java
(from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolCodecFactory.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolCodecFactory.java?p2=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolCodecFactory.java&p1=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolCodecFactory.java&r1=759581&r2=760021&rev=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolCodecFactory.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolCodecFactory.java
Mon Mar 30 15:53:34 2009
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.mitosis.syncrepl;
+package org.apache.directory.mitosis.syncrepl.protocol;
 
 import org.apache.mina.core.session.IoSession;
 import org.apache.mina.filter.codec.ProtocolCodecFactory;

Copied: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolDecoder.java
(from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolDecoder.java?p2=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolDecoder.java&p1=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java&r1=759581&r2=760021&rev=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolDecoder.java
Mon Mar 30 15:53:34 2009
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.mitosis.syncrepl;
+package org.apache.directory.mitosis.syncrepl.protocol;
 
 import java.nio.ByteBuffer;
 

Copied: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolEncoder.java
(from r759581, directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolEncoder.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolEncoder.java?p2=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolEncoder.java&p1=directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolEncoder.java&r1=759581&r2=760021&rev=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolEncoder.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/protocol/LdapProtocolEncoder.java
Mon Mar 30 15:53:34 2009
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.mitosis.syncrepl;
+package org.apache.directory.mitosis.syncrepl.protocol;
 
 import java.nio.ByteBuffer;
 

Modified: directory/apacheds/branches/apacheds-replication/mitosis/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/test/resources/log4j.properties?rev=760021&r1=760020&r2=760021&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/test/resources/log4j.properties
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/test/resources/log4j.properties
Mon Mar 30 15:53:34 2009
@@ -20,5 +20,5 @@
 
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%m%n
+log4j.appender.stdout.layout.ConversionPattern=%C %m%n
 #[%d{HH:mm:ss}] %5p [%-26.26c{1}] %m%n



Mime
View raw message