actionWiremock

down

Set a list of services down

Activity as code

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

Typeaction
Modulechaoswm.actions
Namedown
Returnlist

Usage

JSON

{
  "name": "down",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaoswm.actions",
    "func": "down",
    "arguments": {
      "filter": []
    }
  }
}

YAML

name: down
provider:
  arguments:
    filter: []
  func: down
  module: chaoswm.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
filterlistYesFilterAdd delay matching the given filters

This action adds a chunked dribble delay to the mapping as defined in the configuration section (or action attributes). It returns the list of delayed mappings.

Signature

def down(filter: List[Any],
         configuration: Dict[str, Dict[str, str]] = None) -> List[Any]:
    pass