syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-1087) Avoid to read input entities if no notification or audit are requested
Date Mon, 22 May 2017 07:40:05 GMT

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

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

Commit 5ab65808ec565ef50b970e96be011edfce8eabff in syncope's branch refs/heads/master from
[~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=5ab6580 ]

[SYNCOPE-1087] Check if notifications are available or audit was requested for the ongoing
event before performing any actual read


> Avoid to read input entities if no notification or audit are requested
> ----------------------------------------------------------------------
>
>                 Key: SYNCOPE-1087
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1087
>             Project: Syncope
>          Issue Type: Improvement
>          Components: core
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>             Fix For: 1.2.11, 2.0.4, 2.1.0
>
>
> The [LogicInvocationHandler|https://github.com/apache/syncope/blob/2_0_X/core/logic/src/main/java/org/apache/syncope/core/logic/LogicInvocationHandler.java]
is an aspect triggered around any Logic method execution.
> As very first step before proceeding with actual invocation, it blindly invokes the {{resolveBeanReference()}}
method implemented by all Logic classes, that often involves in turn to read the entity matching
the provided input from the internal storage.
> Such read should instead be performed only if there is (a) at least one notification
defined or (b) audit requested for the current invocation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message