directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gokt...@apache.org
Subject svn commit: r1222942 - in /directory/apacheds/branches/apacheds-osgi/component-hub/src/main: java/org/apache/directory/server/component/hub/ java/org/apache/directory/server/component/schema/ java/org/apache/directory/server/component/utilities/ resour...
Date Sat, 24 Dec 2011 09:15:25 GMT
Author: gokturk
Date: Sat Dec 24 09:15:25 2011
New Revision: 1222942

URL: http://svn.apache.org/viewvc?rev=1222942&view=rev
Log:
* Schema related constants are moved to a new class : ADSSchemaConstants
* feedOIDGenerator() is implemented to find out maximum component indice on schema partition,
and feed the generator with that value for further schema generations.
* componenthub.ldif schema's oid values are modified for compatibility with other components.


Added:
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSSchemaConstants.java
  (with props)
Modified:
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ComponentSchemaManager.java
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ConfigurationManager.java
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/ComponentOIDGenerator.java
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/DefaultComponentSchemaGenerator.java
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSComponentHelper.java
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSConstants.java
    directory/apacheds/branches/apacheds-osgi/component-hub/src/main/resources/org/apache/directory/server/component/schema/componenthub.ldif

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ComponentSchemaManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ComponentSchemaManager.java?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ComponentSchemaManager.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ComponentSchemaManager.java
Sat Dec 24 09:15:25 2011
@@ -26,17 +26,26 @@ import java.util.List;
 
 import org.apache.directory.server.component.ADSComponent;
 import org.apache.directory.server.component.schema.ADSComponentSchema;
+import org.apache.directory.server.component.schema.ComponentOIDGenerator;
 import org.apache.directory.server.component.schema.ComponentSchemaGenerator;
 import org.apache.directory.server.component.schema.DefaultComponentSchemaGenerator;
 import org.apache.directory.server.component.utilities.ADSComponentHelper;
+import org.apache.directory.server.component.utilities.ADSConstants;
+import org.apache.directory.server.component.utilities.ADSSchemaConstants;
 
+import org.apache.directory.server.core.api.filtering.EntryFilteringCursor;
 import org.apache.directory.server.core.api.interceptor.context.AddOperationContext;
 import org.apache.directory.server.core.api.interceptor.context.LookupOperationContext;
+import org.apache.directory.server.core.api.interceptor.context.SearchOperationContext;
 import org.apache.directory.server.core.api.schema.SchemaPartition;
+import org.apache.directory.shared.ldap.model.constants.SchemaConstants;
+import org.apache.directory.shared.ldap.model.entry.Attribute;
 import org.apache.directory.shared.ldap.model.entry.Entry;
 import org.apache.directory.shared.ldap.model.exception.LdapException;
+import org.apache.directory.shared.ldap.model.exception.LdapInvalidDnException;
 import org.apache.directory.shared.ldap.model.ldif.LdifEntry;
 import org.apache.directory.shared.ldap.model.ldif.LdifReader;
+import org.apache.directory.shared.ldap.model.message.SearchScope;
 import org.apache.directory.shared.ldap.model.name.Dn;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -59,6 +68,11 @@ public class ComponentSchemaManager
      */
     private Dictionary<String, ComponentSchemaGenerator> schemaGenerators;
 
+    /*
+     * Specify whether OID Generator is fed with largest component OID in schema.
+     */
+    private boolean OIDGeneratorFed = false;
+
 
     public ComponentSchemaManager( SchemaPartition schemaPartition )
     {
@@ -90,8 +104,18 @@ public class ComponentSchemaManager
      * @param component ADSComponent reference
      * @throws LdapException
      */
-    public void setComponentSchema( ADSComponent component ) throws LdapException
+    public void generateAndInstallSchema( ADSComponent component ) throws LdapException
     {
+        if ( !schemaBaseExists() )
+        {
+            generateAndInstallBaseSchema();
+        }
+
+        if ( !OIDGeneratorFed )
+        {
+            feedOIDGenerator();
+        }
+
         ADSComponentSchema schema = generateComponentSchema( component );
         injectSchemaElements( schema );
     }
@@ -127,11 +151,6 @@ public class ComponentSchemaManager
      */
     private void injectSchemaElements( ADSComponentSchema schema ) throws LdapException
     {
-        if ( !schemaBaseExists( schema ) )
-        {
-            createSchemaBase( schema );
-        }
-
         List<LdifEntry> schemaElements = schema.getSchemaElements();
 
         for ( LdifEntry le : schemaElements )
@@ -148,12 +167,12 @@ public class ComponentSchemaManager
      * @param schema ADSComponentSchema reference to check its parent schema
      * @return whether base schema exists or not
      */
-    private boolean schemaBaseExists( ADSComponentSchema schema )
+    private boolean schemaBaseExists()
     {
         LookupOperationContext luc = new LookupOperationContext( null );
         try
         {
-            luc.setDn( new Dn( schema.getParentSchemaDn() ) );
+            luc.setDn( new Dn( "cn", ADSSchemaConstants.ADS_COMPONENT_BASE, SchemaConstants.OU_SCHEMA
) );
             Entry e = schemaPartition.lookup( luc );
 
             if ( e != null )
@@ -171,17 +190,12 @@ public class ComponentSchemaManager
 
 
     /**
-     * It install the base schema for the component.
-     * PS:(It is first considered to be unique for every component type,
-     * but now it is merged under one schema. So that's why we're using one resource for
all of them.)
-     * 
-     * TODO Fix base schema related references later. Will be more meaningfull when we merge
component-hubs schemas and constants
-     * into ApacheDS's own configuration.
+     * It install the base schema for the components.
      *  
      * @param schema ADSComponentSchema reference.
      * @throws LdapException
      */
-    private void createSchemaBase( ADSComponentSchema schema ) throws LdapException
+    private void generateAndInstallBaseSchema() throws LdapException
     {
         try
         {
@@ -202,4 +216,53 @@ public class ComponentSchemaManager
         }
 
     }
+
+
+    /**
+     * Searchs the schema partition for component-hub elements, and
+     * sets the OIDGenerator's base to the largest component number's base.
+     * 
+     *
+     */
+    private void feedOIDGenerator()
+    {
+        try
+        {
+            Dn componentOCDn = new Dn( "m-oid", ADSSchemaConstants.ADS_COMPONENT, SchemaConstants.OBJECT_CLASSES_PATH,
+                "cn",
+                ADSSchemaConstants.ADS_COMPONENT_BASE, SchemaConstants.OU_SCHEMA );
+
+            SearchOperationContext soc = new SearchOperationContext( null );
+            soc.setDn( componentOCDn );
+            soc.setScope( SearchScope.ONELEVEL );
+            soc.setReturningAttributes( new String[]
+                { "m-oid" } );
+
+            EntryFilteringCursor cursor = schemaPartition.search( soc );
+
+            int baseOIDLen = ADSSchemaConstants.ADS_COMPONENT_BASE.length();
+            int maxComponentID = 0;
+
+            while ( cursor.next() )
+            {
+                String oid = cursor.get().get( "m-oid" ).get().getString();
+                String _componentID = oid.substring( baseOIDLen );
+                _componentID = _componentID.substring( 0, _componentID.indexOf( '.' ) );
+
+                int componentID = Integer.parseInt( _componentID );
+                if ( componentID > maxComponentID )
+                {
+                    maxComponentID = componentID;
+                }
+            }
+
+            ComponentOIDGenerator.feedGenerator( maxComponentID );
+            OIDGeneratorFed = true;
+        }
+        catch ( Exception e )
+        {
+            LOG.info( "Cursor threw exception while searching for max component oid in schema
partition" );
+            e.printStackTrace();
+        }
+    }
 }

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ConfigurationManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ConfigurationManager.java?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ConfigurationManager.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/hub/ConfigurationManager.java
Sat Dec 24 09:15:25 2011
@@ -31,6 +31,7 @@ import org.apache.directory.server.compo
 import org.apache.directory.server.component.instance.ComponentInstance;
 import org.apache.directory.server.component.utilities.ADSComponentHelper;
 import org.apache.directory.server.component.utilities.ADSConstants;
+import org.apache.directory.server.component.utilities.ADSSchemaConstants;
 import org.apache.directory.server.component.utilities.LdifConfigHelper;
 import org.apache.directory.server.core.api.interceptor.context.AddOperationContext;
 import org.apache.directory.server.core.api.interceptor.context.LookupOperationContext;
@@ -98,7 +99,7 @@ public class ConfigurationManager
             try
             {
                 // Generate and install component's own schema elements first.
-                componentSchemaManager.setComponentSchema( component );
+                componentSchemaManager.generateAndInstallSchema( component );
             }
             catch ( LdapException e )
             {
@@ -178,7 +179,7 @@ public class ConfigurationManager
     {
         try
         {
-            Attribute purgeAttrib = new DefaultAttribute( ADSConstants.ADS_COMPONENT_ATTRIB_PURGE,
"0" );
+            Attribute purgeAttrib = new DefaultAttribute( ADSSchemaConstants.ADS_COMPONENT_ATTRIB_PURGE,
"0" );
             DefaultModification dm = new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE,
purgeAttrib );
 
             String componentDn = ADSComponentHelper.getComponentDn( component );
@@ -244,12 +245,12 @@ public class ConfigurationManager
             ldifs.add( new LdifEntry( componentDn,
                 "objectClass:organizationalUnit",
                 "objectClass:top",
-                "objectClass:" + ADSConstants.ADS_COMPONENT_OC_NAME,
+                "objectClass:" + ADSSchemaConstants.ADS_COMPONENT,
                 "ou:" + componentName,
-                ADSConstants.ADS_COMPONENT_ATTRIB_NAME + ":" + componentName,
-                ADSConstants.ADS_COMPONENT_ATTRIB_TYPE + ":" + componentType,
-                ADSConstants.ADS_COMPONENT_ATTRIB_OC + ":" + componentOCName,
-                ADSConstants.ADS_COMPONENT_ATTRIB_PURGE + ":" + "0" ) );
+                ADSSchemaConstants.ADS_COMPONENT_ATTRIB_NAME + ":" + componentName,
+                ADSSchemaConstants.ADS_COMPONENT_ATTRIB_TYPE + ":" + componentType,
+                ADSSchemaConstants.ADS_COMPONENT_ATTRIB_OC + ":" + componentOCName,
+                ADSSchemaConstants.ADS_COMPONENT_ATTRIB_PURGE + ":" + "0" ) );
 
             ldifs.add( new LdifEntry( componentInstancesDn,
                 "objectClass:organizationalUnit",

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/ComponentOIDGenerator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/ComponentOIDGenerator.java?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/ComponentOIDGenerator.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/ComponentOIDGenerator.java
Sat Dec 24 09:15:25 2011
@@ -20,7 +20,11 @@
 package org.apache.directory.server.component.schema;
 
 
+import java.util.Dictionary;
+import java.util.Hashtable;
+
 import org.apache.directory.server.component.utilities.ADSConstants;
+import org.apache.directory.server.component.utilities.ADSSchemaConstants;
 
 
 /**
@@ -40,16 +44,27 @@ public class ComponentOIDGenerator
      * Counters to keep track.
      */
     private static int componentCounter;
-    private static int ocCounter;
-    private static int attribCounter;
+
+    private static Dictionary<String, Integer> attributeCountMapping;
 
     static
     {
-        baseOID = ADSConstants.ADS_COMPONENT_BASE_OID;
-
+        baseOID = ADSSchemaConstants.ADS_COMPONENT_BASE_OID;
         componentCounter = 0;
-        ocCounter = 0;
-        attribCounter = 0;
+        attributeCountMapping = new Hashtable<String, Integer>();
+    }
+
+
+    /**
+     * Feeds the generator with specified component number.
+     * All the schemas generated after this method will have 
+     * larger component base in their OID.
+     *
+     * @param largestComponentNumber An integer to feed the OIDGenerator to largest component
number
+     */
+    public static void feedGenerator( int largestComponentNumber )
+    {
+        componentCounter = largestComponentNumber;
     }
 
 
@@ -69,9 +84,9 @@ public class ComponentOIDGenerator
      *
      * @return oid for object class
      */
-    public static synchronized String generateOCOID( String componentBase )
+    public static synchronized String getObjectClassOID( String componentBase )
     {
-        return componentBase + ".1." + ( ++ocCounter );
+        return componentBase + ".1.1";
     }
 
 
@@ -82,6 +97,20 @@ public class ComponentOIDGenerator
      */
     public static synchronized String generateAttribOID( String componentBase )
     {
-        return componentBase + ".2." + ( ++attribCounter );
+        Integer currentAttribCount = attributeCountMapping.get( componentBase );
+        String attribVal = null;
+
+        if ( currentAttribCount == null )
+        {
+            attributeCountMapping.put( componentBase, 1 );
+            attribVal = "1";
+        }
+        else
+        {
+            attribVal = ( ++currentAttribCount ).toString();
+            attributeCountMapping.put( componentBase, ++currentAttribCount );
+        }
+
+        return componentBase + ".2." + attribVal;
     }
 }

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/DefaultComponentSchemaGenerator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/DefaultComponentSchemaGenerator.java?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/DefaultComponentSchemaGenerator.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/schema/DefaultComponentSchemaGenerator.java
Sat Dec 24 09:15:25 2011
@@ -117,7 +117,7 @@ public class DefaultComponentSchemaGener
                 "objectClass:top",
                 "ou:objectClasses" ) );
 
-            String ocoid = ComponentOIDGenerator.generateOCOID( componentBaseOID );
+            String ocoid = ComponentOIDGenerator.getObjectClassOID( componentBaseOID );
             String ocDn = "m-oid=" + ocoid + "," + ocsDn;
 
             ocAttribs.add( 0, "m-may:cached" );

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSComponentHelper.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSComponentHelper.java?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSComponentHelper.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSComponentHelper.java
Sat Dec 24 09:15:25 2011
@@ -45,6 +45,7 @@ public class ADSComponentHelper
 
     /**
      * Gets the base schema name which will hold this component's schema
+     * TODO: Make it fixed, remove the argument, discuss it first, it's effecting overall
look of DIT !
      *
      * @param component ADSComponent reference to generate base schema name
      * @return generated base schema name for ADSComponent
@@ -52,7 +53,7 @@ public class ADSComponentHelper
     public static String getSchemaBaseName( ADSComponent component )
     {
         //return component.getComponentType() + "components";
-        return ADSConstants.ADS_COMPONENT_BASE_SCHEMA_NAME;
+        return ADSSchemaConstants.ADS_COMPONENT_BASE;
     }
 
 

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSConstants.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSConstants.java?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSConstants.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSConstants.java
Sat Dec 24 09:15:25 2011
@@ -57,41 +57,6 @@ public class ADSConstants
     public static final String ADS_CACHE_VERSION_FILE = "version";
 
     /*
-     * Base OID value for ApacheDS component schemas.
-     */
-    public static final String ADS_COMPONENT_BASE_OID = "1.3.6.1.4.1.18060.0.4.4";
-
-    /*
-     * Base schema name for holding component's elements
-     */
-    public static final String ADS_COMPONENT_BASE_SCHEMA_NAME = "componenthub";
-
-    /*
-     * OC name of the component OC.
-     */
-    public static final String ADS_COMPONENT_OC_NAME = "ads-component";
-
-    /*
-     * Attribute name of component name
-     */
-    public static final String ADS_COMPONENT_ATTRIB_NAME = "ads-componetname";
-
-    /*
-     * Attribute name of component type
-     */
-    public static final String ADS_COMPONENT_ATTRIB_TYPE = "ads-componenttype";
-
-    /*
-     * Attribute name of component object class
-     */
-    public static final String ADS_COMPONENT_ATTRIB_OC = "ads-ocname";
-
-    /*
-     * Attribute name of component purge count
-     */
-    public static final String ADS_COMPONENT_ATTRIB_PURGE = "ads-componentpurgecount";
-
-    /*
      * Component type name of interceptors
      */
     public static final String ADS_COMPONENT_TYPE_INTERCEPTOR = "interceptor";

Added: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSSchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSSchemaConstants.java?rev=1222942&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSSchemaConstants.java
(added)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSSchemaConstants.java
Sat Dec 24 09:15:25 2011
@@ -0,0 +1,61 @@
+/*
+ *  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.server.component.utilities;
+
+
+public class ADSSchemaConstants
+{
+
+    /*
+     * Base schema name for holding component's elements
+     */
+    public static final String ADS_COMPONENT_BASE = "componenthub";
+    public static final String ADS_COMPONENT_BASE_OID = "1.3.6.1.4.1.18060.0.4.4";
+
+    /*
+     * OC name of the component OC.
+     */
+    public static final String ADS_COMPONENT = "ads-component";
+    public static final String ADS_COMPONENT_OID = "1.3.6.1.4.1.18060.0.4.4.0.2.1";
+
+    /*
+     * Attribute name of component name
+     */
+    public static final String ADS_COMPONENT_ATTRIB_NAME = "ads-componentname";
+    public static final String ADS_COMPONENT_ATTRIB_NAME_OID = "1.3.6.1.4.1.18060.0.4.4.0.1.1";
+
+    /*
+     * Attribute name of component type
+     */
+    public static final String ADS_COMPONENT_ATTRIB_TYPE = "ads-componenttype";
+    public static final String ADS_COMPONENT_ATTRIB_TYPE_OID = "1.3.6.1.4.1.18060.0.4.4.0.1.2";
+
+    /*
+     * Attribute name of component object class
+     */
+    public static final String ADS_COMPONENT_ATTRIB_OC = "ads-ocname";
+    public static final String ADS_COMPONENT_ATTRIB_OC_OID = "1.3.6.1.4.1.18060.0.4.4.0.1.3";
+
+    /*
+     * Attribute name of component purge count
+     */
+    public static final String ADS_COMPONENT_ATTRIB_PURGE = "ads-componentpurgecount";
+    public static final String ADS_COMPONENT_ATTRIB_PURGE_OID = "1.3.6.1.4.1.18060.0.4.4.0.1.4";
+}

Propchange: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/java/org/apache/directory/server/component/utilities/ADSSchemaConstants.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: directory/apacheds/branches/apacheds-osgi/component-hub/src/main/resources/org/apache/directory/server/component/schema/componenthub.ldif
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/component-hub/src/main/resources/org/apache/directory/server/component/schema/componenthub.ldif?rev=1222942&r1=1222941&r2=1222942&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/component-hub/src/main/resources/org/apache/directory/server/component/schema/componenthub.ldif
(original)
+++ directory/apacheds/branches/apacheds-osgi/component-hub/src/main/resources/org/apache/directory/server/component/schema/componenthub.ldif
Sat Dec 24 09:15:25 2011
@@ -12,12 +12,12 @@ objectclass: organizationalUnit
 objectclass: top
 ou: attributetypes
 
-dn: m-oid=1.3.6.1.4.1.18060.0.4.3.1.1, ou=attributeTypes, cn=componenthub, ou=sc
+dn: m-oid=1.3.6.1.4.1.18060.0.4.4.0.1.1, ou=attributeTypes, cn=componenthub, ou=sc
  hema
 objectclass: metaAttributeType
 objectclass: metaTop
 objectclass: top
-m-oid: 1.3.6.1.4.1.18060.0.4.3.1.1
+m-oid: 1.3.6.1.4.1.18060.0.4.4.0.1.1
 m-name: ads-componentname
 m-description: The normalized factory name of an IPojo component
 m-equality: caseIgnoreMatch
@@ -28,12 +28,12 @@ m-length: 0
 m-singleValue: TRUE
 m-usage: directoryOperation
 
-dn: m-oid=1.3.6.1.4.1.18060.0.4.3.1.2, ou=attributeTypes, cn=componenthub, ou=sc
+dn: m-oid=1.3.6.1.4.1.18060.0.4.4.0.1.2, ou=attributeTypes, cn=componenthub, ou=sc
  hema
 objectclass: metaAttributeType
 objectclass: metaTop
 objectclass: top
-m-oid: 1.3.6.1.4.1.18060.0.4.3.1.2
+m-oid: 1.3.6.1.4.1.18060.0.4.4.0.1.2
 m-name: ads-componenttype
 m-description: Describes the type of a IPojo component(eg: interceptor,partition
  ,...)
@@ -45,12 +45,12 @@ m-length: 0
 m-singleValue: TRUE
 m-usage: directoryOperation
 
-dn: m-oid=1.3.6.1.4.1.18060.0.4.3.1.3, ou=attributeTypes, cn=componenthub, ou=sc
+dn: m-oid=1.3.6.1.4.1.18060.0.4.4.0.1.3, ou=attributeTypes, cn=componenthub, ou=sc
  hema
 objectclass: metaAttributeType
 objectclass: metaTop
 objectclass: top
-m-oid: 1.3.6.1.4.1.18060.0.4.3.1.3
+m-oid: 1.3.6.1.4.1.18060.0.4.4.0.1.3
 m-name: ads-ocname
 m-description: Object Class name which will be used to represent a component.
 m-equality: caseIgnoreMatch
@@ -61,12 +61,12 @@ m-length: 0
 m-singleValue: TRUE
 m-usage: directoryOperation
 
-dn: m-oid=1.3.6.1.4.1.18060.0.4.3.1.4, ou=attributeTypes, cn=componenthub, ou=sc
+dn: m-oid=1.3.6.1.4.1.18060.0.4.4.0.1.4, ou=attributeTypes, cn=componenthub, ou=sc
  hema
 objectclass: metaAttributeType
 objectclass: metaTop
 objectclass: top
-m-oid: 1.3.6.1.4.1.18060.0.4.3.1.4
+m-oid: 1.3.6.1.4.1.18060.0.4.4.0.1.4
 m-name: ads-componentpurgecount
 m-description: The count which will be used as a feedback to house keeping proce
  dure for component.
@@ -118,12 +118,12 @@ objectclass: organizationalUnit
 objectclass: top
 ou: objectClasses
 
-dn: m-oid=1.3.6.1.4.1.18060.0.4.3.2.1, ou=objectClasses, cn=componenthub, ou=sch
+dn: m-oid=1.3.6.1.4.1.18060.0.4.4.0.2.1, ou=objectClasses, cn=componenthub, ou=sch
  ema
 objectclass: metaObjectClass
 objectclass: metaTop
 objectclass: top
-m-oid: 1.3.6.1.4.1.18060.0.4.3.2.1
+m-oid: 1.3.6.1.4.1.18060.0.4.4.0.2.1
 m-name: ads-component
 m-description: Describes the IPojo component extension to the ApacheDS
 m-supObjectClass: organizationalUnit



Mime
View raw message