daisy-ycguo opened a new issue #450: Trigger supports "source" according to the 
code, yet spec has "feed" as trigger sub element.
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/450
 
 
   We should support `feed` under `trigger`, mark `source` deprecated.
   
   In the use case `alarmtrigger`, a trigger is described as below.
   ```
   package:
       name: helloworld
       triggers:
           Every12Hours:
               source: /whisk.system/alarms/alarm
   ```
   If I change `source` to `feed`, it will create a trigger without `feed` in 
OpenWhisk.
   ```
   $ wsk trigger get Every12Hours
   ok: got trigger Every12Hours
   {
       "namespace": "[email protected]_dev",
       "name": "Every12Hours",
       "version": "0.0.1",
       "parameters": [
           {
               "key": "cron",
               "value": "0 */12 * * *"
           }
       ],
       "limits": {},
       "publish": false
   }
   ```
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to