houshengbo opened a new issue #315: Use case of trigger rule does not configure 
the pramters of the action with the correct values
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/315
 
 
   In our test case of trigger rule, one action helloworld/greeting will be 
created with the default inputs name: Bernie and place: Vermont. However, the 
keys name and place have been added, but the values are not added. Here is the 
information of the action created, if I run the command:
    ./wskdeploy -m tests/usecases/triggerrule/manifest.yml -d 
tests/usecases/triggerrule/deployment.yml
   {
       "namespace": "whisk.system/helloworld",
       "name": "greeting",
       "version": "0.0.1",
       "exec": {
           "kind": "nodejs:6",
           "code": "/**\n * Return a simple greeting message for someone.\n *\n 
* @param name A person's name.\n * @param place Where the person is from.\n 
*/\nfunction main(params) {\n    var name = params.name || params.payload || 
'stranger';\n    var place = params.place || 'somewhere';\n    return {payload: 
 'Hello, ' + name + ' from ' + place + '!'};\n}\n"
       },
       "annotations": [
           {
               "key": "exec",
               "value": "nodejs:6"
           }
       ],
       "parameters": [
           {
               "key": "name",
               "value": "string"
           },
           {
               "key": "place",
               "value": "string"
           }
       ],
       "limits": {
           "timeout": 60000,
           "memory": 256,
           "logs": 10
       },
       "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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to