You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/04 06:53:00 UTC

[jira] [Commented] (SYNCOPE-1705) Deprecate SchedulingPullActions

    [ https://issues.apache.org/jira/browse/SYNCOPE-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628725#comment-17628725 ] 

ASF subversion and git services commented on SYNCOPE-1705:
----------------------------------------------------------

Commit ae4b85b2e733b605e6bb683c9a8fcbb690bae09c in syncope's branch refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=ae4b85b2e7 ]

[SYNCOPE-1705] Removing deprecated SchedulingPullActions


> Deprecate SchedulingPullActions
> -------------------------------
>
>                 Key: SYNCOPE-1705
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1705
>             Project: Syncope
>          Issue Type: Improvement
>          Components: core
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>            Priority: Major
>             Fix For: 3.0.0-M2
>
>
> The class {{SchedulingPullActions}} has been used so far when, at the end of a Pull Task's execution, some logic needed to be executed, which required the entities pulled to be flushed to the internal storage.
> Typical use case is [LDAPMembershipPullActions|https://github.com/apache/syncope/blob/syncope-3.0.0-M1/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/LDAPMembershipPullActions.java] which, in its {{afterAll()}} method, is scheduling [SetUMembershipsJob|https://github.com/apache/syncope/blob/syncope-3.0.0-M1/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/SetUMembershipsJob.java] to update the pulled users so that they become members of the pulled groups, matching the similar relationships existing in LDAP.
> Such scheduling approach has proven to be problematic, especially because the job scheduled at the end of a pull task execution cannot be controlled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)