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 (JIRA)" <ji...@apache.org> on 2019/06/30 05:41:01 UTC

[jira] [Updated] (DIRSERVER-953) Provide registration scope support for Subtree (besides current Base support) in ModifyDN.Export/Import Triggers

     [ https://issues.apache.org/jira/browse/DIRSERVER-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-953:
----------------------------------------
    Component/s:     (was: core)
                 triggerInterceptor

> Provide registration scope support for Subtree (besides current Base support) in ModifyDN.Export/Import Triggers
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-953
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-953
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: triggerInterceptor
>    Affects Versions: 1.5.0
>            Reporter: Ersin Er
>            Assignee: Ersin Er
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Current implementation of Trigger System allow registering Triggers for ModifyDN.Export/Import operations on only the base entry which the request is made on. However, in a MoveAndRename operation, more than one entries are affected (moved). So it may be needed to handle each moved entry within a Stored Procedure.
> The support for an optional Subtree scope in ModifyDN Triggers can be provided by executing the Stored Procedure with new set of operation specific parameters for each moved entry. So for example the $newSuperior will be calculated differently for each entry which the SP is called with respect to.
> Following is an example of proposed extension:
> AFTER ModifyDN.Export:Subtree CALL "logger.LogMove" ($newDN, $entry);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org