You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by fm...@apache.org on 2013/11/12 10:26:01 UTC

svn commit: r1540980 - /syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/notification/NotificationManager.java

Author: fmartelli
Date: Tue Nov 12 09:26:00 2013
New Revision: 1540980

URL: http://svn.apache.org/r1540980
Log:
Added event details to the notification model about SYNCOPE-422 and SYNCOP-423

Modified:
    syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/notification/NotificationManager.java

Modified: syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/notification/NotificationManager.java
URL: http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/notification/NotificationManager.java?rev=1540980&r1=1540979&r2=1540980&view=diff
==============================================================================
--- syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/notification/NotificationManager.java (original)
+++ syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/notification/NotificationManager.java Tue Nov 12 09:26:00 2013
@@ -248,6 +248,11 @@ public class NotificationManager {
                 LOG.debug("Creating notification task for events {} about {}", events, attributable);
 
                 final Map<String, Object> model = new HashMap<String, Object>();
+                model.put("type", type);
+                model.put("category", category);
+                model.put("subcategory", subcategory);
+                model.put("event", event);
+                model.put("condition", condition);
                 model.put("before", before);
                 model.put("output", output);
                 model.put("input", input);