Skip to content

EventTimeout supporting expression #816

Closed
@fjtirado

Description

@fjtirado

What would you like to be added:
Currently, timeouts are required to be ISO 8601 string. That makes sense but it would be nice to add the possibility of that ISO 8601 string to be the result of evaluating an expression.

Why is this needed:
This will allow defining a recurrent timeout as a conts in the header of the file and then refer to it later on in several places. Hence, if the timeout has to change later, you can change it in just one place.

See example

  "constants": {"duration":"PT5S"}

  "timeouts": {
        "eventTimeout": "$CONST.duration"
      }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions