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"
9 <field name="destination"/>
11 <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_CLEANUP"
12 class="OpenXPKI::Server::Workflow::Activity::DataExchange::Cleanup">
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>
24 <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_EXPORT_WORKFLOW_INSTANCES"
25 class="OpenXPKI::Server::Workflow::Activity::DataExchange::ExportWorkflowInstances">
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__">
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__">
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__">
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__">
45 <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_IMPORT_LOGS"
46 class="OpenXPKI::Server::Workflow::Activity::DataExchange::ImportLogs">
48 <action name="I18N_OPENXPKI_WF_ACTION_DATAEXCHANGE_IMPORT_WORKFLOW_INSTANCES"
49 class="OpenXPKI::Server::Workflow::Activity::DataExchange::ImportWorkflowInstances">