mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
31.30.2007 d2a3ab51e80e40206f97bb4e84117f86447f231f
refs
author neil_a_wilson <neil_a_wilson@localhost>
Tuesday, July 31, 2007 01:30 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Tuesday, July 31, 2007 01:30 +0200
commitd2a3ab51e80e40206f97bb4e84117f86447f231f
tree 1d8003011b036722020be37c8def1e2226cfb95f tree | zip | gz
parent 797ad0a7b16c6deb6fcdb3c8ec6d5594d48e95cd view | diff
Update the task backend to provide a mechanism for sending e-mail messages to
notify administrators whenever a given task has been completed. It is possible
to specify a set of administrators that should be notified only if the task
does not complete successfully, and/or a set of administrators that should be
notified regardless of the task's success or failure. The basic framework for
this capability has always been in place, and this change only provides the
final implementation that actually generates and sends the e-mail message.

This also includes a change to the way that log messages are handled so that
any messages logged by a thread executing a task (or any DirectoryThread
subclass created by a task thread) will be captured as part of that task.
These messages will also be included in the notification e-mail message.

OpenDS Issue Numbers: 2033, 2034
9 files modified
351 ■■■■ changed files
opends/resource/schema/02-config.ldif 7 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml 35 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/Task.java 129 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskBackend.java 50 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskScheduler.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskThread.java 50 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 15 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/loggers/ErrorLogger.java 34 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/BackendMessages.java 19 ●●●●● diff | view | raw | blame | history