directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r398899 - in /directory/trunks/apacheds/core/src/main: java/org/apache/directory/server/core/schema/bootstrap/ schema/
Date Tue, 02 May 2006 10:51:44 GMT
Author: ersiner
Date: Tue May  2 03:51:25 2006
New Revision: 398899

URL: http://svn.apache.org/viewcvs?rev=398899&view=rev
Log:
Added schema elements (two both schema files and source files where neened) for Triggers.

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxCheckerProducer.java
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxProducer.java
    directory/trunks/apacheds/core/src/main/schema/apache.schema

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxCheckerProducer.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxCheckerProducer.java?rev=398899&r1=398898&r2=398899&view=diff
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxCheckerProducer.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxCheckerProducer.java
Tue May  2 03:51:25 2006
@@ -303,5 +303,8 @@
 
         syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.58" );
         cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker );
+        
+        syntaxChecker = new AcceptAllSyntaxChecker( "1.3.6.1.4.1.1466.115.121.1.59" );
+        cb.schemaObjectProduced( this, syntaxChecker.getSyntaxOid(), syntaxChecker );
     }
 }

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxProducer.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxProducer.java?rev=398899&r1=398898&r2=398899&view=diff
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxProducer.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/SystemSyntaxProducer.java
Tue May  2 03:51:25 2006
@@ -559,5 +559,11 @@
             { "Substring Assertion" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
+        
+        syntax = new BootstrapSyntax( "1.3.6.1.4.1.1466.115.121.1.59", syntaxCheckerRegistry
);
+        syntax.setNames( new String[]
+            { "Trigger Specification" } );
+        syntax.setHumanReadible( true );
+        cb.schemaObjectProduced( this, syntax.getOid(), syntax );
     }
 }

Modified: directory/trunks/apacheds/core/src/main/schema/apache.schema
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/core/src/main/schema/apache.schema?rev=398899&r1=398898&r2=398899&view=diff
==============================================================================
--- directory/trunks/apacheds/core/src/main/schema/apache.schema (original)
+++ directory/trunks/apacheds/core/src/main/schema/apache.schema Tue May  2 03:51:25 2006
@@ -236,4 +236,38 @@
     DESC 'The default search context for the Ldap Class Loader'
     SUP distinguishedName
     EQUALITY distinguishedNameMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
\ No newline at end of file
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
+
+# ===============
+# Trigger related
+# ===============
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.25 NAME 'prescriptiveTrigger'
+    DESC 'Trigger specification that applies to a set of entries'
+    EQUALITY directoryStringFirstComponentMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.59
+    USAGE directoryOperation )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.26 NAME 'entryTrigger'
+    DESC 'Trigger specification that applies to a single entry'
+    EQUALITY directoryStringFirstComponentMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.59
+    USAGE directoryOperation )
+
+attributetype ( 1.2.6.1.4.1.18060.1.1.1.3.27 NAME 'triggerSubentries'
+    DESC 'Used to track subentries associated with a trigger area which an entry falls under'
+    SUP distinguishedName
+    EQUALITY distinguishedNameMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
+    NO-USER-MODIFICATION
+    USAGE directoryOperation )
+
+objectclass ( 1.2.6.1.4.1.18060.1.1.1.3.28 NAME 'triggerSubentry'
+    DESC 'Used to track a subentry associated with trigger areas'
+    AUXILIARY
+    MUST prescriptiveTrigger )
+
+# ======================
+# End of Trigger related
+# ======================
+



Mime
View raw message