You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/05/03 17:49:12 UTC

[GitHub] eweiter commented on issue #289: Unable to view Trigger parameters from the CLI

eweiter commented on issue #289: Unable to view Trigger parameters from the CLI
URL: https://github.com/apache/incubator-openwhisk-cli/issues/289#issuecomment-386380007
 
 
   More context on this issue:
   This issue is related to #290 
   It is dealing with Triggers that have associated Feeds. A Trigger with a Feed has two sets of parameters.
   a) The parameters on the Trigger object itself
   b) the parameters on the Feed that is attached to the Trigger
   
   The Trigger get command has been updated to now show the result of doing a "GET" against the Trigger feed when calling the `wsk trigger get` command on a Trigger with a Feed.
   Due to this we no longer expose certain information that is on the Trigger object itself, such as the parameters that may be stored there. 
   
   The commands to recreate this scenario cannot be reproduced as they are blocked by issue #290 .
   However they would be:
   `wsk trigger create alarm --feed whisk.system/alarms/alarm -p cron "* * * * *"`
   `wsk trigger update alarm -p trigger_param "someValue"`
   `wsk trigger get alarm` and you should be able to find on the "parameters" property a `trigger_param: "someValue"`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services