RT notifier: parse templates without header correctly
[openxpki.git] / trunk / deployment / etc / templates / default / workflow_activity_dataexchange.xml
blob978093599fd30f74149b85ea90f9d784bfa5aa80
1 <actions>
2   <!-- this action name has not to be human readable      -->
3   <!-- because it is only used to initialize the workflow -->
5   <!-- common activities -->
6   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_PREPARE_ENV"
7           class="OpenXPKI::Server::Workflow::Activity::DataExchange::PrepareEnv"
8           device="/tmp/fd0">
9     <field name="destination"/>
10   </action>
11   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_CLEANUP"
12           class="OpenXPKI::Server::Workflow::Activity::DataExchange::Cleanup">
13   </action>
15   <!-- Export activities -->
16   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_EXPORT_LOGS"
17           class="OpenXPKI::Server::Workflow::Activity::DataExchange::ExportLogs">
18     <!-- do not use field with is_required                -->
19     <!-- because this ignores the order of the validators -->
20     <validator name="HasRequiredField">
21       <arg>destination</arg>
22     </validator>
23   </action>
24   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_EXPORT_WORKFLOW_INSTANCES"
25           class="OpenXPKI::Server::Workflow::Activity::DataExchange::ExportWorkflowInstances">
26   </action>
27   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_EXPORT_PACK_ARCHIVE"
28           class="OpenXPKI::Server::Workflow::Activity::DataExchange::PackArchive"
29           command="tar -f - -C __DIR__ -c . | gzip -c > __ARCHIVE__">
30   </action>
31   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_EXPORT_WRITE_ARCHIVE"
32           class="OpenXPKI::Server::Workflow::Activity::DataExchange::WriteArchive"
33           command="tar -cf __DEVICE__ __ARCHIVE__">
34   </action>
36   <!-- Import activities -->
37   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_IMPORT_READ_ARCHIVE"
38           class="OpenXPKI::Server::Workflow::Activity::DataExchange::ReadArchive"
39           command="tar -xf __DEVICE__ -C __DIR__">
40   </action>
41   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_IMPORT_UNPACK_ARCHIVE"
42           class="OpenXPKI::Server::Workflow::Activity::DataExchange::UnpackArchive"
43           command="gzip -d __ARCHIVE__ -c | tar -f - -x -C __DIR__">
44   </action>
45   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_IMPORT_LOGS"
46           class="OpenXPKI::Server::Workflow::Activity::DataExchange::ImportLogs">
47   </action>
48   <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_IMPORT_WORKFLOW_INSTANCES"
49           class="OpenXPKI::Server::Workflow::Activity::DataExchange::ImportWorkflowInstances">
50   </action>
51 </actions>