[lsc-changes] [Ldap Synchronization Connector (LSC)] page changed: documentation:2.0:configuration:service:scriptable

webmaster at lsc-project.org webmaster at lsc-project.org
Thu Sep 1 11:41:02 CEST 2011


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2011/09/01 11:41
Browser     : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.124 Safari/535.1
IP-Address  : 193.252.189.123
Hostname    : LAubervilliers-153-51-14-123.w193-252.abo.wanadoo.fr
Old Revision: http://lsc-project.org/wiki/documentation/2.0/configuration/service/scriptable?rev=1312445558
New Revision: http://lsc-project.org/wiki/documentation/2.0/configuration/service/scriptable
Edit Summary: removed
User        : sbahloul

@@ -1,37 +1 @@
- ==== ExecutableLdifService and JndiExecutableLdifService ====
- 
- These two services provides the same way of handling data updates, but JndiExecutableLdifService look for the data exactly in the same way that the SimpleJndiDstService does, where as ExecutableLdifService look it through both listScript and getScript. All the executable use streams to provide data  :
- 
-   * input stream is used to get data from LSC
- 
-   * output stream is used to provide data to LSC
- 
-   * error stream is used to provide log messages to LSC. If log messages are prefixed with "DEBUG: ", "INFO: ", "WARN: " or "ERROR: ", they will be written to the corresponding log level. If not specified, messages will be written to WARN level.
- 
- Executables must return their status through exit code : 
- 
-   * if 0 is returned, this means that the script has succeeded
- 
-   * if a non zero exit code, this means that the script has failed.
- 
- To configure these scripts, you can use :
- 
-   * **lsc>tasks>TASKNAME>[src|dst]Service>vars>* **
- 
- When these variables are set in the lsc.properties configuration file, the following executables are launched with these variables as environment.
- 
-   * **lsc>tasks>TASKNAME>[src|dst]>listScript**
- 
- This executable does not take neither parameter nor data on the input stream. It is in charge of returning dn and pivot attributes/values as LDIF entries. Entries will be separated by empty new line.
- 
-   * **lsc>tasks>TASKNAME[src|dst]Service>getScript**
- 
- This executable will get the dn as the first parameter and will read other pivot attributes on the input stream. It will return a complete LDIF entry on stdout and log messages on stderr.
- 
-   * **lsc>tasks>TASKNAME>[src|dst]Service>addScript**
-   * **lsc>tasks>TASKNAME>[src|dst]Service>updateScript**
-   * **lsc>tasks>TASKNAME>[src|dst]Service>renameScript**
-   * **lsc>tasks>TASKNAME>[src|dst]Service>deleteScript**
- 
- These executables will get data to update as LDIF modification items It will return a complete LDIF entry on stdout, log messages on stderr and a exit code for its status.
  



-- 
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/



More information about the lsc-changes mailing list