From d2a3ab51e80e40206f97bb4e84117f86447f231f Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 30 Jul 2007 23:30:38 +0000
Subject: [PATCH] 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.
---
opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml
index 0225de8..7e84067 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/TaskBackendConfiguration.xml
@@ -31,6 +31,7 @@
extends="backend"
xmlns:adm="http://www.opends.org/admin"
xmlns:ldap="http://www.opends.org/admin-ldap">
+
<adm:synopsis>
The task backend provides a mechanism for processing tasks in the
OpenDS Directory Server. Tasks are intended to provide access to certain
@@ -51,6 +52,7 @@
The org.opends.server.backends.task.TaskBackend class provides the entry
point for the task backend implementation.
</adm:description>
+
<adm:profile name="ldap">
<ldap:object-class>
<ldap:oid>1.3.6.1.4.1.26027.1.2.10</ldap:oid>
@@ -58,6 +60,7 @@
<ldap:superior>ds-cfg-backend</ldap:superior>
</ldap:object-class>
</adm:profile>
+
<adm:property-override name="backend-class">
<adm:default-behavior>
<adm:defined>
@@ -67,6 +70,7 @@
</adm:defined>
</adm:default-behavior>
</adm:property-override>
+
<adm:property name="task-backing-file"
mandatory="true"
multi-valued="false">
@@ -86,6 +90,7 @@
</ldap:attribute>
</adm:profile>
</adm:property>
+
<adm:property name="task-retention-time"
mandatory="false"
multi-valued="false">
@@ -108,4 +113,34 @@
</ldap:attribute>
</adm:profile>
</adm:property>
+
+ <adm:property name="notification-sender-address"
+ mandatory="false"
+ multi-valued="false">
+ <adm:synopsis>
+ This specifies the e-mail address to use as the sender (i.e., "From:")
+ address for notification mail messages generated when a task completes
+ execution.
+ </adm:synopsis>
+ <adm:default-behavior>
+ <adm:alias>
+ <adm:synopsis>
+ The default sender address used will be "opends-task-notification@"
+ followed by the canonical address of the system on which the server is
+ running.
+ </adm:synopsis>
+ </adm:alias>
+ </adm:default-behavior>
+ <adm:syntax>
+ <adm:string />
+ </adm:syntax>
+ <adm:profile name="ldap">
+ <ldap:attribute>
+ <ldap:oid>1.3.6.1.4.1.26027.1.1.465</ldap:oid>
+ <ldap:name>ds-cfg-notification-sender-address</ldap:name>
+ </ldap:attribute>
+ </adm:profile>
+ </adm:property>
+
</adm:managed-object>
+
--
Gitblit v1.10.0