directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r583294 - in /directory/apacheds/branches/bigbang: core-unit/src/test/java/org/apache/directory/server/core/trigger/ core/src/main/java/org/apache/directory/server/core/sp/
Date Tue, 09 Oct 2007 20:46:34 GMT
Author: akarasulu
Date: Tue Oct  9 13:46:32 2007
New Revision: 583294

URL: http://svn.apache.org/viewvc?rev=583294&view=rev
Log:
rename a test case and fix a bug introduced

Added:
    directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerInterceptorITest.java
  (contents, props changed)
      - copied, changed from r583282, directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java
Removed:
    directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java
Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/sp/StoredProcExecutionManager.java

Copied: directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerInterceptorITest.java
(from r583282, directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerInterceptorITest.java?p2=directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerInterceptorITest.java&p1=directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java&r1=583282&r2=583294&rev=583294&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerServiceITest.java
(original)
+++ directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerInterceptorITest.java
Tue Oct  9 13:46:32 2007
@@ -38,7 +38,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev:$
  */
-public class TriggerServiceITest extends AbstractAdminTestCase
+public class TriggerInterceptorITest extends AbstractAdminTestCase
 {
     private LdapContext ctx;
     LdapContext spCtx;

Propchange: directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/trigger/TriggerInterceptorITest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/sp/StoredProcExecutionManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/sp/StoredProcExecutionManager.java?rev=583294&r1=583293&r2=583294&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/sp/StoredProcExecutionManager.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/sp/StoredProcExecutionManager.java
Tue Oct  9 13:46:32 2007
@@ -22,17 +22,16 @@
 package org.apache.directory.server.core.sp;
 
 
-import java.util.List;
+import org.apache.directory.shared.ldap.constants.SchemaConstants;
+import org.apache.directory.shared.ldap.util.AttributeUtils;
 
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 import javax.naming.directory.Attributes;
 import javax.naming.directory.SearchControls;
 import javax.naming.directory.SearchResult;
-
 import javax.naming.ldap.LdapContext;
-
-import org.apache.directory.shared.ldap.constants.SchemaConstants;
+import java.util.List;
 
 /**
  * A Factory type class which holds a registry of supported {@link StoredProcEngineConfig}s.
A container reference
@@ -93,8 +92,7 @@
      */
     public StoredProcEngine getStoredProcEngineInstance( Attributes spUnitEntry ) throws
NamingException
     {
-
-        String spLangId = ( String ) spUnitEntry.get( "STORED_PROC_LANG_ID" ).get();
+        String spLangId = ( String ) spUnitEntry.get( "storedProcLangId" ).get();
 
         for ( StoredProcEngineConfig engineConfig : storedProcEngineConfigs )
         {



Mime
View raw message