nimbella / aio-cli-plugin-runtime

Nimbella Fork of the Adobe I/O Runtime plugin for Apache OpenWhisk.
https://nimbella.com
Apache License 2.0
2 stars 1 forks source link

trigger fire should pass parameters as JSON dictionary of the form {"key":"value"} #28

Closed rabbah closed 3 years ago

rabbah commented 3 years ago

Describe the bug Create a trigger, and connect it to an echo action, then fire the trigger:

nim trigger fire mytrigger -p name test

The echo action receives:

{
  "parameters": [
    {
      "key": "name",
      "value": "test"
    }
  ]
}

Retry with the wsk CLI and you get { "name": "test" }

rabbah commented 3 years ago

Reported upstread https://github.com/adobe/aio-cli-plugin-runtime/issues/230.

rabbah commented 3 years ago

Closed by https://github.com/nimbella/aio-cli-plugin-runtime/commit/da366ce9013b03877d58b2523d7b024801dac358. Will try to upstream.