serverless / serverless-openwhisk

Adds Apache OpenWhisk support to the Serverless Framework!
http://openwhisk.org/
MIT License
143 stars 47 forks source link

Issue with trigger deployement using openwhisk alarm package. #195

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi Team,

We are working on a new openwhisk project for our organization. we are in deployment stage and we tried to use a serverless framework for deployment. it worked fine for functions when I tried to deploy an alarm trigger. it hadn't worked.

When I tried to look on code, its seems like you guys using 'feedMask' which makes feed parameter to undefined, which makes my trigger deployment not working. when I changed the 'object .assign' line it worked fine.

Please could you guys, look at this issue ASAP, we are near to our production deployment.

test

My serverless.Yaml

`

service: did-mgmt

provider: name: openwhisk ignore_certs: true

resources: triggers: blk-refill-trigger: feed: /whisk.system/alarms/alarm namespace: 'whisk.system' feed_parameters: cron: '/1 *' apihost: 10.16.206.34:31001

functions: refill: handler: actions/refill.main name: did-mgmt/refill namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime events:

plugins:

COULD YOU GUYS PLEASE RESOLVE THIS ASAP.