actionWiremock

add_mappings

Adds more mappings to wiremock

Activity as code

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

Typeaction
Modulechaoswm.actions
Nameadd_mappings
Returnlist

Usage

JSON

{
  "name": "add-mappings",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaoswm.actions",
    "func": "add_mappings",
    "arguments": {
      "mappings": []
    }
  }
}

YAML

name: add-mappings
provider:
  arguments:
    mappings: []
  func: add_mappings
  module: chaoswm.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
mappingslistYesMappingsAdd new mappings

Returns the list of IDs of the added mappings.

Signature

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