[
https://issues.apache.org/jira/browse/SYNCOPE-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Patricelli updated SYNCOPE-447:
--------------------------------------
Comment: was deleted
(was: Mechanism of creating cumulative notifications is already available by a
proper configuration of notification.
A simple use case is user synchronization;
a) if we want to have a notification task for each user creation/update coming
from sync task we can configure notification task to generate notification on
this event [SyncTask]:[user]:[resourceName]:[create]:[SUCCESS].
b) But if we do not want to have too many notifications, like point 1, we can
configure notification to create a notification task only when synchronization
job finishes, setting notification event to
[TASK]:[SyncJob]:[]:[SyncJob]:[SUCCESS] instead of
[SyncTask]:[user]:[resourceName]:[create]:[SUCCESS].
In case of a large number of users to synchronize b is preferable, and
cumulative notification is sent.
We can instead improve notification messages to show a better and more complete
notification message generated from jobs like SyncJob or PushJob and also
provide new mail and text templates useful for use case exposed above.
)
> Provide the ability to have a single (cumulative) notification for task
> execution
> ---------------------------------------------------------------------------------
>
> Key: SYNCOPE-447
> URL: https://issues.apache.org/jira/browse/SYNCOPE-447
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.2.0
> Reporter: fabio martelli
> Assignee: Andrea Patricelli
> Fix For: 1.2.0
>
>
> A simple use case is user synchronization;
> a) if we want to have a notification task for each user creation/update
> coming from sync task we can configure notification task to generate
> notification on this event
> [SyncTask]:[user]:[resourceName]:[create]:[SUCCESS].
> b) But if we do not want to have too many notifications, like point 1, we can
> configure notification to create a notification task only when
> synchronization job finishes, setting notification event to
> [TASK]:[SyncJob]:[]:[SyncJob]:[SUCCESS] instead of
> [SyncTask]:[user]:[resourceName]:[create]:[SUCCESS].
> In case of a large number of users to synchronize b is preferable, and
> cumulative notification is sent.
> Improve notification messages to show a better and more complete notification
> message generated from jobs like SyncJob or PushJob and also provide new mail
> and text templates useful for use case exposed above.
--
This message was sent by Atlassian JIRA
(v6.2#6252)