[open-ils-commits] r7949 - in trunk/Open-ILS: examples src/reporter

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Oct 30 23:10:31 EDT 2007


Author: dbs
Date: 2007-10-30 22:55:52 -0400 (Tue, 30 Oct 2007)
New Revision: 7949

Added:
   trunk/Open-ILS/src/reporter/report_failure.tmpl
   trunk/Open-ILS/src/reporter/report_success.tmpl
Modified:
   trunk/Open-ILS/examples/opensrf.xml.example
Log:
Set default reporter output directory to a Web-visible location.
Add basic email templates for report notification.


Modified: trunk/Open-ILS/examples/opensrf.xml.example
===================================================================
--- trunk/Open-ILS/examples/opensrf.xml.example	2007-10-31 02:14:52 UTC (rev 7948)
+++ trunk/Open-ILS/examples/opensrf.xml.example	2007-10-31 02:55:52 UTC (rev 7949)
@@ -58,7 +58,7 @@
                 </database>
                 <files>
                     <!-- successful report outputs go here -->
-                    <output_base>/openils/var/reporter/output</output_base>
+                    <output_base>/openils/var/web/reporter/output</output_base>
                     <success_template>/openils/var/data/report-success</success_template>
                     <fail_template>/openils/var/data/report-fail</fail_template>
                 </files>

Added: trunk/Open-ILS/src/reporter/report_failure.tmpl
===================================================================
--- trunk/Open-ILS/src/reporter/report_failure.tmpl	                        (rev 0)
+++ trunk/Open-ILS/src/reporter/report_failure.tmpl	2007-10-31 02:55:52 UTC (rev 7949)
@@ -0,0 +1,10 @@
+To: {TO}
+From: {FROM}
+Reply-To: {REPLY-TO}
+Subject: Report finished: "{REPORT_NAME}" 
+
+At {RUN_TIME} the report "{REPORT_NAME}" finished running with a complete
+time of {COMPLETE_TIME}.
+
+You can view the report at the following URL:
+{OUTPUT_URL}

Added: trunk/Open-ILS/src/reporter/report_success.tmpl
===================================================================
--- trunk/Open-ILS/src/reporter/report_success.tmpl	                        (rev 0)
+++ trunk/Open-ILS/src/reporter/report_success.tmpl	2007-10-31 02:55:52 UTC (rev 7949)
@@ -0,0 +1,10 @@
+To: {TO}
+From: {FROM}
+Reply-To: {REPLY-TO}
+Subject: Report finished: "{REPORT_NAME}" 
+
+At {RUN_TIME} the report "{REPORT_NAME}" finished running with a complete
+time of {COMPLETE_TIME}.
+
+You can view the report at the following URL:
+{OUTPUT_URL}



More information about the open-ils-commits mailing list