Issue #193 has been updated by Jonathan Clarke.

Clément Oudot wrote:
> I join an 'hsqldb' script, inspired by the lsc-sample one. The goal is to 
> have it in the main bin/ directory, so we can just use bin/hsqldb --import, 
> or bin/hsqldb --show

This looks good! Thanks! (I haven't tested it yet, just read through)

> I had to recopy some functions from bin/lsc, maybe we should have a common 
> library between our scripts.

I think that's a good idea too :)

> If this is ok for you, I can push the script in 1.2 branch

There is a problem with bash scripts of course: Windows compatibility. I know 
the sample doesn't have this either, but it should have... Of course, this 
script is much better than nothing, but ideally we should have a connector 
written in Java to do this, which can be configured via lsc.properties...

So, I'm a bit reluctant to put this in the bin directory, because it means we 
would have to remove it if (when) we implement a Java connector to do the same 
thing, and thus reverse compatibility would be broken, and hard to maintain.

Would you consider putting it in another directory (such as misc/ or contrib/), 
and providing documentation to copy it into bin/ if necessary, and a warning 
about possibles changes in the future?
----------------------------------------
Feature #193: Better import from CSV
http://tools.lsc-project.org/issues/show/193

Author: Clément Oudot
Status: Assigned
Priority: Normal
Assigned to: Clément Oudot
Category: Core
Target version: 1.2.x branch


Hello,

I want to create a connector CSV -> LDAP.

This is the use case of quickstart, and all the sample works great do do that.

But I do not want to use the sample, I just want to configure LSC to do what I 
want. For now, there is now way to import CSV in HSQLDB in order to use 
SimpleJdbcSrcService in lsc.properties

Two ideas:
* Add the --import and --show target from sample/bin/lsc-sample to bin/lsc
* Create a SimpleCsvSrcService source connector (see 
http://lsc-project.org/wiki/documentation/1.2/development/addingsourceconnector)


-- 
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