GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  OPENXPKI::SERVER::WORKFLOW::ACTIVITY::WORKFLOWTEST (3)

.ds Aq ’

Name

OpenXPKI::Server::Workflow::Activity::WorkflowTest;

CONTENTS

Description

Test Activity for Workflow Development

    Configuration

Retry 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
action what should the action do? possible values: pause, crash or "" (run normally)
cause optional cause for pausing, will be passed as argument to $self->pause($msg)
reap_at OpenXPKI relative interval, ie. +0000000012. is checked in init phase and passed to $self->set_reap_at_interval($interval).
reap_at_dyn OpenXPKI relative interval, ie. +0000000012. is checked in execution phase and passed to $self->set_reap_at_interval($interval).
retry_interval OpenXPKI relative interval, ie. +0000000012. is checked in execution phase and passed to $self->set_reap_at_interval($interval).

    init

after super::init, the param reap_at is evaluated. if given, $self->set_reap_at_interval() is called.

    execute

checks param action: if action = pause, $self->pause() will be called. if action = crash, an exception I18N_OPENXPKI_SERVER_WORKFLOW_ACTIVITY_TEST_CRASHED is thrown.

    resume

hook 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_up

hook 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)
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVER::WORKFLOW::ACTIVITY::WORKFLOWTEST (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.