pritidesai commented on issue #884: passing parameters between manifest and 
deploy.yml
URL: 
https://github.com/apache/incubator-openwhisk-wskdeploy/issues/884#issuecomment-386106835
 
 
   the same behavior is seen with `wsk` CLI:
   
   ```wsk trigger create my-alarm-trigger-1 --feed /whisk.system/alarms/alarm 
--param name Priti --param place Home --param cron "* * * * *"```
   
   Creating rule:
   
   ```wsk rule create my-rule-1 my-alarm-trigger-1 
hello_world_package/hello_world_triggerrule```
   
   Fire trigger:
   
   ```wsk trigger fire my-alarm-trigger-1```
   
   Result had no name and place assigned:
   
   ```
   wsk activation get 1b150c7339ab4074950c7339ab40741a ... "result": {
               "details": "You have 0 children and are 0 m. tall.",
               "greeting": "Hello,  from "
   ```
   
   
   V/S Non Feed Trigger:
   
   ```wsk trigger create my-no-alarm-trigger --param name Priti --param place 
Home```
   
   Creating rule with:
   
   ```wsk rule create my-rule-2 my-no-alarm-trigger 
hello_world_package/hello_world_triggerrule```
   
   Fire trigger and check the result:
   
   ```"result": {
               "details": "You have 0 children and are 0 m. tall.",
               "greeting": "Hello, Priti from Home"
           }
   ```
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to