directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r933700 - in /directory/apacheds/trunk/syncrepl/src/main: java/org/apache/directory/server/syncrepl/EntryInjector.java java/org/apache/directory/server/syncrepl/SyncreplRunnerUI.java resources/log4j.properties
Date Tue, 13 Apr 2010 16:15:39 GMT
Author: kayyagari
Date: Tue Apr 13 16:15:39 2010
New Revision: 933700

URL: http://svn.apache.org/viewvc?rev=933700&view=rev
Log:
o various changes done to run the test runner  UI
o added error level filtering to JDBM RDN index

Modified:
    directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/EntryInjector.java
    directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncreplRunnerUI.java
    directory/apacheds/trunk/syncrepl/src/main/resources/log4j.properties

Modified: directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/EntryInjector.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/EntryInjector.java?rev=933700&r1=933699&r2=933700&view=diff
==============================================================================
--- directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/EntryInjector.java
(original)
+++ directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/EntryInjector.java
Tue Apr 13 16:15:39 2010
@@ -83,7 +83,7 @@ public class EntryInjector extends JPane
             String cn = "entry-" + System.currentTimeMillis();
             DN dn = new DN( "cn=" + cn + "," + config.getBaseDn() );
             DefaultClientEntry entry = new DefaultClientEntry();
-            entry.add( "objectclass", "inetOrgPerson", "organizationalPerson", "person" );
+            entry.add( "objectclass", "person" );
             entry.add( "cn", cn );
             entry.add( "sn", cn );
             entry.setDn( dn );
@@ -237,7 +237,7 @@ public class EntryInjector extends JPane
                     addEntry();
                     mutex.release();
 
-                    Thread.sleep( 10000 );
+                    Thread.sleep( 1000 );
                 }
                 catch ( Exception e )
                 {

Modified: directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncreplRunnerUI.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncreplRunnerUI.java?rev=933700&r1=933699&r2=933700&view=diff
==============================================================================
--- directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncreplRunnerUI.java
(original)
+++ directory/apacheds/trunk/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncreplRunnerUI.java
Tue Apr 13 16:15:39 2010
@@ -99,9 +99,9 @@ public class SyncreplRunnerUI implements
 
     private EntryInjector entryInjector;
 
-    private String provServerHost = "localhost";
+    private String provServerHost = "192.168.22.109";
     private int provServerPort = 389;
-    private String provServerBindDn = "cn=Manager,dc=my-domain,dc=com";
+    private String provServerBindDn = "cn=Manager,dc=example,dc=com";
     private String provServerPwd = "secret";
 
     private boolean connected;
@@ -114,7 +114,7 @@ public class SyncreplRunnerUI implements
         config.setPort( provServerPort );
         config.setBindDn( provServerBindDn );
         config.setCredentials( provServerPwd );
-        config.setBaseDn( "dc=my-domain,dc=com" );
+        config.setBaseDn( "dc=example,dc=com" );
         config.setFilter( "(objectclass=*)" );
         config.setAttributes( "*,entryUUID,entryCSN" );
         config.setSearchScope( SearchScope.SUBTREE.getScope() );
@@ -140,8 +140,6 @@ public class SyncreplRunnerUI implements
             agent.init( dirService );
             agent.bind();
 
-            entryInjector.enable( true );
-
             connected = true;
             agent.prepareSyncSearchRequest();
             agent.startSync();
@@ -162,7 +160,6 @@ public class SyncreplRunnerUI implements
 
             if ( connected )
             {
-                entryInjector.enable( false );
                 agent.disconnet();
             }
 
@@ -271,7 +268,6 @@ public class SyncreplRunnerUI implements
         serverPanel.setBorder( new TitledBorder( "Server Controls" ) );
 
         entryInjector = new EntryInjector( provServerHost, provServerPort, provServerBindDn,
provServerPwd );
-        entryInjector.enable( false );
         entryInjector.setBorder( new TitledBorder( "Entry Injector" ) );
         entryInjector.setConfig( config );
 

Modified: directory/apacheds/trunk/syncrepl/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/syncrepl/src/main/resources/log4j.properties?rev=933700&r1=933699&r2=933700&view=diff
==============================================================================
--- directory/apacheds/trunk/syncrepl/src/main/resources/log4j.properties (original)
+++ directory/apacheds/trunk/syncrepl/src/main/resources/log4j.properties Tue Apr 13 16:15:39
2010
@@ -23,9 +23,12 @@ log4j.appender.stdout.layout.ConversionP
 log4j.logger.org.apache.directory.server.ldap=ERROR
 log4j.logger.org.apache.directory.server.core=ERROR
 log4j.logger.JdbmIndex=ERROR
+log4j.logger.JdbmRdnIndex=ERROR
 log4j.logger.JdbmTable=ERROR
 log4j.logger.LOG_CHANGES=ERROR
 log4j.logger.org.apache.directory.server.core=ERROR
 log4j.logger.org.apache.directory.shared=ERROR
 log4j.logger.org.apache.directory.shared.ldap.schema.registries=ERROR
-log4j.logger.org.apache.mina=ERROR
\ No newline at end of file
+log4j.logger.org.apache.mina=ERROR
+log4j.logger.org.apache.directory.ldap.client.api.protocol=ERROR
+log4j.logger.org.apache.directory.ldap.client.api=ERROR
\ No newline at end of file



Mime
View raw message