You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a CI or other developer tooling one might want to programmatically get the url of the web actions.
However, because the openwhisk package name is dynamically generated by aio app (using folder name, module version) and the action name could also be subject to certain dynamic adjustments, it is difficult to use aio runtime action get -r since one does not know the full name of the deployed action.
Feature request
I suggest these commands:
get url for an action. <action> is the name of the action in the manifest.yml:
aio app get-url <action>
outputs just the url so it can be easily used in shell scripts
get url for all actions
aio app get-url
outputs one url on each line
Workaround
As workaround, I added this shell script, with the package name logic AFAICS (not sure if always correct):
Motivation
In a CI or other developer tooling one might want to programmatically get the url of the web actions.
However, because the openwhisk package name is dynamically generated by
aio app
(using folder name, module version) and the action name could also be subject to certain dynamic adjustments, it is difficult to useaio runtime action get -r
since one does not know the full name of the deployed action.Feature request
I suggest these commands:
<action>
is the name of the action in themanifest.yml
:Workaround
As workaround, I added this shell script, with the package name logic AFAICS (not sure if always correct):
The text was updated successfully, but these errors were encountered: