|
NameOpenXPKI::Server::Workflow::Activity::WorkflowTest;DescriptionTest Activity for Workflow DevelopmentConfigurationRetry 5 times with a 15 minute pause interval and terminate workflow with FAILURE state if the retries are exceeded.<action name="I18N_OPENXPKI_WF_ACTION_TEST_ACTIVITY" class="OpenXPKI::Server::Workflow::Activity::WorkflowTest" retry_count="5" retry_interval="+0000000015" autofail="yes"> </action> Retry Interval is a OpenXPKI::DateTime specification only relative dates are allowed. The execution of this job can be controlled throgh a bunch of workflow params: wokflow/action params
initafter super::init, the param "reap_at" is evaluated. if given, $self->set_reap_at_interval() is called.executechecks param "action": if action = "pause", $self->pause() will be called. if action = "crash", an exception I18N_OPENXPKI_SERVER_WORKFLOW_ACTIVITY_TEST_CRASHED is thrown.resumehook method, will be called from OpenXPKI::Server::Workflow when activity is resumed after an exception. This implementation augments the wf context param "resume_was_called" for testing purposes (see /qatests/backend/paused_workflows)wake_uphook method, will be called from OpenXPKI::Server::Workflow when activity is executed again after pause. This implementation augments the wf context param "wake_up_was_called" for testing purposes (see /qatests/backend/paused_workflows)
Visit the GSP FreeBSD Man Page Interface. |