Issue #555 has been updated by Clément OUDOT.

Category set to Core
Status changed from New to Assigned
Assigned to set to Sébastien Bahloul
Target version set to 2.1

Sébastien, could you explain us why conditions are ignored in dry-run mode in 
the code?
----------------------------------------
Feature #555: Dry-run should consider <conditions> settings
http://tools.lsc-project.org/issues/555

Author: Maxime Pelletier
Status: Assigned
Priority: Normal
Assigned to: Sébastien Bahloul
Category: Core
Target version: 2.1


When running a task in dry-run (-n flag), then all modification possibilities 
are evaluated. It should consider <conditions> settings in lsc.xml file:
<pre>
                <conditions>
                    <create>false</create>
                    <update>true</update>
                    <delete>false</delete>
                    <changeId>false</changeId>
                </conditions>
</pre>
In this example, LSC should only evaluate update, even in dry-run.

I think that this change should be consider since dry-run could have external 
impact (java class or LSC function like SequencesFactory.getNextValue).



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