directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-1586) 2.0 does not have a way to load external Ldifs (h.350)
Date Wed, 22 May 2013 15:37:20 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRSERVER-1586:
-----------------------------------------

    Fix Version/s:     (was: 2.0.0-RC1)
                   2.1.0

We need to add a way for the DirectoryService to load some schemas we loaded with a SchemaLoader.
We also need to extend the SchemaLoader to accept not only directories, but also single files.
                
> 2.0 does not have a way to load external Ldifs (h.350)
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1586
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1586
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0
>         Environment: Running on windows XP and Windows 2003 server
>            Reporter: Steve hammond
>             Fix For: 2.1.0
>
>         Attachments: commObject.ldif, XmppURIObject.ldif
>
>
> We need a method that is consistent with ldif files exported from Apache directory Studio,
that can be loaded to extend the schema of our server.
> In 1.5.3 I did ApacheDS.setLdifDirectory, then when the LDAP server started, it imported
and used the ldif definitions in that directory.  I have exhausted all methods I could find
to load these LDIF files.
> I tried ApplyLdifs, but that takes a description parameter that is part of Junit, not
real good for production code, and the Description I can get out of Junit does not have the
getAnnotation method on it.
> I tried DSAnnotationProcessor.injectLdifFiles directly, but it could never open the file
names i gave it.
> I tried writing my own injectLdifFiles method, but always got an error when trying to
add attributes to an objectclass that I had just added, saying that this objectClass is not
yet loaded.
> I tried making my own implementation of AbstractSchemaLoader, but that pukes saying that
all schemas must have a valid creatorsName attribute.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message