You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lecharny <el...@gmail.com> on 2008/12/22 11:40:12 UTC

Schema manipulation API

Hi guys,

as I'm playing a bit with the schema API those days, I'm finding it a 
bit painfull. I'm not sure our users would like to deal with m-XXX 
attributes.

Even if the current documentation 
(http://directory.apache.org/apacheds/1.5/31-add-your-first-elements-to-the-schema.html) 
is currently up to date, we might like to add two or three more things :
- A direct API (not JNDI based) for embedded server
- A simple API allowing a user to inject a RFC based schema (ie, either 
a string or a file)
- and a simple way to enable an existing schema programatically (it's 
really a PITA atm)

Does it makes sense to you? Anyone want to draft something quickly ?

Thanks !

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: Schema manipulation API

Posted by Stefan Seelmann <se...@apache.org>.
Emmanuel Lecharny wrote:
> Hi guys,
> 
> as I'm playing a bit with the schema API those days, I'm finding it a
> bit painfull. I'm not sure our users would like to deal with m-XXX
> attributes.
> 
> Even if the current documentation
> (http://directory.apache.org/apacheds/1.5/31-add-your-first-elements-to-the-schema.html)
> is currently up to date, we might like to add two or three more things :
> - A direct API (not JNDI based) for embedded server
> - A simple API allowing a user to inject a RFC based schema (ie, either
> a string or a file)
> - and a simple way to enable an existing schema programatically (it's
> really a PITA atm)
> 
> Does it makes sense to you? Anyone want to draft something quickly ?
> 

I added two other ways how to add schema elements to the wiki page:
- Using LDIF to load schema elements in RFC 4512 format
- Using JNDI to add schema elements in RFC 4512 format programmatically

Regards,
Stefan