Notification scenarios
This section presents several scenarios about sending e-mail notification by diffrent AMPS modules.
How to use e-mail (and jabber) notifications in source code is described by Błażej Pietrzak in his e-mail "[GN2-SA3-DEV] Module for sending e-mails and jabber messages", 12.12.2005, Message-ID: <439D8A67.3050208@man.poznan.pl>.
Scenarios:
| Module | Who is notified | Description | Changes in source code |
| Interdomain | Home domain administrator | Send notification when transaction timeout occures and it is unable to rollback entirely this transaction after sending rollback messages interdomain.transaction.numberOfRollbacks times. | Two options: 1. Modification in TaskRepeater? and TransactionTimeoutTask? classes. 2. New class TimeoutTaskRepeater? inherits TaskRepeater? |
| Interdomain | Interdomain user | User is able to pass on ‘notification’in create request, so he or she may be notified about service status changes and some other information. Please notice that ‘notification’ from user request should not be forwarded to domains which are on reservations’paths. This will prevent user from getting notifications from ‘unknown’domains which are not his or her home domain. | This feature requires to use observer pattern. Other problem is how to define policy what and when send notifications. |
| Intradomain | Intradomain administrator | Notfify admin if single reservation is created, modified or cancelled. | Modification in IntradomainControllerImpl?. |
| Intradomain | Intradomain user | Notify single domain client about any changes with his or her reservation. It is assumed that Interdomain will not pass on any notification information to Intradomain from its users. This feature is dedicated only to all clients direcly using Intra-domain service. | Modification in IntradomainControllerImpl?. This feature may also require additional field ‘notification’ in wsdl/xsd schema in createNSIRequest. |
| Config Module | Network administrator (NOC) | Send e-mails with configuration (files) which will allow network administrator to establish or change easily reservation in his or her domain. | ??? |
--
MichalGiertych - 09 Feb 2006