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

neil_a_wilson
31.30.2007 a0c742dc589e56e8b1a7498de1d165e039f58aac
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
commita0c742dc589e56e8b1a7498de1d165e039f58aac
tree 7c7e101cd015c51dcd72b148fa7f673d011b1bdc tree | zip | gz
parent 00878035acc7d7e20a148036a03f65909d73e6ec 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
opendj-sdk/opends/resource/schema/02-config.ldif 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml 35 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/Task.java 129 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskBackend.java 50 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java 12 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskThread.java 50 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java 15 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/loggers/ErrorLogger.java 34 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/BackendMessages.java 19 ●●●●● diff | view | raw | blame | history