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

Update web action and annotations docs to reflect that bound actions can't be web actions #2204

Closed
csantanapr opened this issue Apr 28, 2017 · 4 comments
Assignees

Comments

@csantanapr
Copy link
Member

We need to update the docs to make this point clear. In addition would be good to document a pattern of using sequences to create web actions that can leverage bound actions.

User can't enable certain actions as web actions.
The user needs to own the action to be able to enable it as web action by adding the annotation, or using the CLI --web true

Type of actions

  • User can't add annotation web-export true to an action inside a bound package. for example /gues/mySlackBinding/post if mySlackBinding if it's a bound package
  • User In addition can't enable web actions on shared packages for example /whisk.system/utls like the action /whisk.system/utls/echo
@csantanapr csantanapr self-assigned this Apr 28, 2017
@csantanapr csantanapr changed the title Update web action and annotations docs to reflect that bound actions can't be Update web action and annotations docs to reflect that bound actions can't be web actions Apr 28, 2017
@sjfink
Copy link
Contributor

sjfink commented Feb 14, 2018

I can't recall -- is there a good reason we can't support bound actions as web actions?

@csantanapr
Copy link
Member Author

csantanapr commented Feb 14, 2018

@sjfink

I can't recall -- is there a good reason we can't support bound actions as web actions?

I can't recall, I vaguely remember something that user can't write the annotation web-export to the action, since it doesn't own the action to attached the annotation.
Also something about the annotation needs to be on the action not on a package as it would make all the actions in the package a web action.

I bet @rabbah and @dubeejw can clarify since they worked on that code.

@rabbah
Copy link
Member

rabbah commented Feb 14, 2018 via email

@rabbah
Copy link
Member

rabbah commented Jan 9, 2019

We now allow web actions from bindings.
#3880

@rabbah rabbah closed this as completed Jan 9, 2019
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