chaostoolkit / chaostoolkit

Chaos Engineering Toolkit & Orchestration for Developers

Home Page:https://chaostoolkit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't send a property from a dictionary to the activities.

roeiK-wix opened this issue · comments

Now that we have the ability to wrap a couple of properties together and send them as a dictionary to the probes/actions, we have found that we can't send a single property from the dictionary to the activities.

For example:

"configuration": {
    "data": {
      "arg1": "something1",
      "arg2": "something2",
      "arg3": "something3"
    },
}
            {
              "name": "Probe name",
              "description": "Probe desc",
              "type": "probe",
              "provider": {
                "type": "python",
                "module": "some_module",
                "func": "fucntion_name",
                "arguments": {
                  "arg1": "${data.arg1}",  <----- like so
                  "arg2": "${data.arg2}", <----- like so
                  "arg3": "${data.arg3}", <----- like so
                }
              },
              "tolerance": true
            } 

In the activity we are getting: '${data.args1}' instead of 'something1'
We would love to have this ability.
Thanks.

You could finding new ways to push the ctk, it's good :p

This Issue has not been active in 365 days. To re-activate this Issue, remove the Stale label or comment on it. If not re-activated, this Issue will be closed in 7 days.

This Issue was closed because it was not reactivated after 7 days of being marked Stale.