actionWiremock

global_fixed_delay

Adds a fixed delay to all mappings

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaoswm.actions
Nameglobal_fixed_delay
Returninteger

Usage

JSON

{
  "name": "global-fixed-delay",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaoswm.actions",
    "func": "global_fixed_delay"
  }
}

YAML

name: global-fixed-delay
provider:
  func: global_fixed_delay
  module: chaoswm.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
fixedDelayinteger0NoFixed DelayDelay to apply globally

Signature

def global_fixed_delay(fixedDelay: int = 0,
                       configuration: Dict[str, Dict[str, str]] = None) -> int:
    pass