RT notifier: parse templates without header correctly
[openxpki.git] / trunk / package / morphix / notification.xml
blobbaebd729478dee083e7cd2e2bf3a3bbd99259e9c
1 <notification_config>
2   <notifications id="default">
3     <notification id="csr_created">
4       <action type="open">
5         <requestor>[% creator %]</requestor>
6         <queue>General</queue>
7         <subject>CSR for [% cert_subject %]</subject>
8       </action>
9       <action type="comment">
10         <template file="/etc/openxpki/instances/trustcenter1/notification/en/csr_created_comment.txt" lang="en_EN"/>
11       </action>
12       <action type="correspond">
13         <template file="/etc/openxpki/instances/trustcenter1/notification/en/csr_created_correspond.txt" lang="en_EN"/>
14       </action>
15       <action type="set_value">
16         <field>priority</field>
17         <value>2</value>
18       </action>
19     </notification>
21     <notification id="csr_approved">
22       <action type="comment">
23         <template file="/etc/openxpki/instances/trustcenter1/notification/en/csr_approved_comment.txt" lang="en_EN"/>
24       </action>
25     </notification>
27     <notification id="csr_approvals_canceled">
28       <action type="comment">
29         <template file="/etc/openxpki/instances/trustcenter1/notification/en/csr_approvals_canceled_comment.txt" lang="en_EN"/>
30       </action>
31     </notification>
33     <notification id="certificate_issued">
34       <action type="correspond">
35         <template file="/etc/openxpki/instances/trustcenter1/notification/en/certificate_issued_correspond.txt" lang="en_EN"/>
36       </action>
37       <action type="close"/>
38     </notification>
40     <notification id="csr_rejected">
41       <action type="correspond">
42         <template file="/etc/openxpki/instances/trustcenter1/notification/en/csr_rejected_correspond.txt" lang="en_EN"/>
43       </action>
44       <action type="close"/>
45     </notification>
46     <notification id="create_bulk_request">
47       <action type="open">
48         <requestor>[% creator %]</requestor>
49         <queue>General</queue>
50         <subject>Bulk request</subject>
51       </action>
52     </notification>
54     <notification id="create_bulk_request_workflows">
55       <action type="comment">
56         <template file="/Users/klink/usr/local/etc/openxpki/notification/en/create_bulk_request_comment.txt" lang="en_EN"/>
57       </action>
58     </notification>
59   </notifications>
61   <notifier id="rt1">
62     <notification_backend type="RT">
63       <url>http://openxpkilive/rt</url>
64       <username>root</username>
65       <password>password</password>
66       <timeout>10</timeout>
67     </notification_backend>
68     <notifications super="../../notifications{default}"/>
69   </notifier>
71 </notification_config>