Project

General

Profile

Actions

Task #411

closed

Allow using multiple sender implementations for one notification channel

Added by Peter Štrunc over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Notification
Target version:
Start date:
05/10/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

When multiple implementations of NotificationSender for particular notification type are present in ApplicationContext, notification is sent using all of them. The goal of this ticket is to implement mechanism for choosing which sender will be used for sending particular notification with given type.

Must haves:
  • Admin can select which sender is used for particular notification type
  • Admin can see, which sender was used to send each notification (even when the sender is no longer in application context)
  • Admin can globally set what to do, when sender is no longer present in application context (use default, log error) default sender will be used as default
Nice to haves:
  • Admin can specify multiple senders for one notification type and relationships among them (use all, use first successfull)
Actions #1

Updated by Radek Tomiška over 7 years ago

  • Category set to Notification
  • Assignee set to Radek Tomiška
  • Target version set to Diamond (7.4.0)
Actions #2

Updated by Vít Švanda over 7 years ago

  • Target version deleted (Diamond (7.4.0))
Actions #3

Updated by Radek Tomiška almost 7 years ago

  • Status changed from New to In Progress
  • Target version set to Garnet (7.8.0)
Actions #4

Updated by Radek Tomiška almost 7 years ago

  • Description updated (diff)
Actions #5

Updated by Radek Tomiška almost 7 years ago

  • Description updated (diff)
Actions #6

Updated by Radek Tomiška almost 7 years ago

  • % Done changed from 0 to 80

It's implemented the same way as filter builders, Configurable interface was added for notification senders.
Registered notification sender implementation with less order is used as default ( by notification type).
Notification sender implementation can be configured by property (see DefaultIdmNotificationConfigurationServiceIntegrationTest):
'idm.sec.<module_id>.notification-sender.<notification_type>.impl=springBeanName'
e.g.:
'idm.sec.core.notification-sender.email.impl=emailNotificationSender'

Documentation remains.

Actions #7

Updated by Radek Tomiška almost 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 80 to 90
Actions #8

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 90 to 100

I made review, everything works nice and clean. Thanks for documentation!

Actions #9

Updated by Radek Tomiška over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF