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/10/27 10:52: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=17625025#comment-17625025 ] 

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

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

[SYNCOPE-1705] Encapsulating each object processing into an inner transaction (#383)



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