Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsk cli does not pass annotations for rules #426

Open
rabbah opened this issue Mar 17, 2019 · 2 comments
Open

wsk cli does not pass annotations for rules #426

rabbah opened this issue Mar 17, 2019 · 2 comments

Comments

@rabbah
Copy link
Member

rabbah commented Mar 17, 2019

@erezh16 commented on Sat Mar 16 2019

Environment details:

  • vagrant

Steps to reproduce the issue:

  1. wsk trigger create testTrigger
  2. wsk rule create testRule testTrigger /whisk.system/utils/echo -a testAnn '{"key":"value"}' -v

Provide the expected results and outputs:

Output request should contain the annotation testAnn

Provide the actual results and outputs:

Output request does not contain the annotation testAnn
Response also does not contain the annotation testAnn

Additional information you deem important:

  • Seems like a stable issue

@rabbah commented on Sun Mar 17 2019

This is a CLI bug - the request body does not post the annotations.

@erezh16
Copy link

erezh16 commented Mar 18, 2019

I verified that the REST API certainly accepts annotations for rules, so the problem is isolated to the CLI.
On a related note, the same problem exists in the javascript client library. I guess that's a separate ticket. I'll look it up.

@shazron
Copy link
Member

shazron commented Apr 23, 2019

Filed apache/openwhisk-client-js#165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants