Issue #18 has been updated by Jonathan Clarke.

Overall, this looks good to me. One major query:

* Should we separate _sources_ out from _tasks_? I mean: the configuration that 
links a connection (URL, username, password for example) and a set of 
parameters to a _source service_ (for example: select all _inetOrgPerson_ 
objects with a filter of _(name=Doe)_ from connexion _42_) could be a in a 
seperate block, called a _source_ or a _source service_. Then, we could have 
several _tasks_ using the same _service_...

I don't really know at this point what is most adaptable and easy to 
understand. What do you think?

I also have some queries over details:

# I assume the connections can have names (like _My AD server_ rather than just 
_ldap_)?
# In the connections, why are some parameters on the first level (url, 
password) and some under a _configuration_ item?
# I don't really understand the _sources_ and _destinations_ items in the task 
definition: do you link a _connection_ from the first part of the file? If so, 
why not specify something like: _connection: My AD Server_?
# _basedn_, _filters_, etc are parameters of a [src/dst]Service, so should 
probably be underneath that item. Also, a connection is probably a parameter to 
the service too.
----------------------------------------
Feature #18: Change the configuration format to something more adaptable
http://tools.lsc-project.org/issues/show/18

Author: Jonathan Clarke
Status: Feedback
Priority: Normal
Assigned to: 
Category: Core
Target version: Sometime in the future


XML?
YAML?

Think about it being parsed/written by a web interface.

WIP : 

h2. XML :
 
+ Very easy to read/write for a computer
+ With CDATA we can write multiple lines JS
- Very hard to read/write for a human
 
h2. YAML : 
 
+ Easy to read/write for a human/computer
+ Can write multiple lines JS
 
h2. Properties :
 
+ Easy to read/write for a human/computer
+ Can reference other properties
- Can not write multiple lines JS
 
h2. NeXt/ Open Step configuration files 
 
See : 
http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/plist/PropertyListConfiguration.html
 
+ Easy to read/write for a human/computer
- Can not write multiple lines JS
 




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to