serverless-openwhisk icon indicating copy to clipboard operation
serverless-openwhisk copied to clipboard

Issue with trigger deployement using openwhisk alarm package.

Open ghost opened this issue 3 years ago • 0 comments

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: - http: method: POST path: /api/lc/refill resp: http package: include: - /**

bulk-refill-invoker: handler: actions/bulk_refill_invoker.main name: did-mgmt/bulk-refill-invoker namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime events: - trigger: blk-refill-trigger package: include: - /**

bulk-tn-search: handler: actions/bulk_tn_search.main name: did-mgmt/bulk-tn-search namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime package: include: - /**

bulk-tn-order: handler: actions/bulk_tn_order.main name: did-mgmt/bulk-tn-order namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime package: include: - /**

messenger: handler: actions/messenger.main name: did-mgmt/messenger namespace: 'whisk.system' runtime: nodejs:10 package: include: - node_modules/**

bulk-refill-seq: name: did-mgmt/bulk-refill-seq namespace: 'whisk.system' sequence: - bulk-tn-search - bulk-tn-order - messenger

assign-did: handler: actions/assign_did.main name: did-mgmt/assign-did namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime events: - http: method: POST path: /api/did/assign resp: http package: include: - /**

inventory-assign-lc: handler: actions/inventory_assign.assign name: did-mgmt/inventory-assign-lc namespace: 'whisk.system' runtime: nodejs:10 package: include: - node_modules/** parameters: isTollFree: false

inventory-assign-tf: handler: actions/inventory_assign.assign name: did-mgmt/inventory-assign-tf namespace: 'whisk.system' runtime: nodejs:10 package: include: - node_modules/** parameters: isTollFree: true

tasc-assign-lc: handler: actions/tasc_assign.tascAssign name: did-mgmt/tasc-assign-lc namespace: 'whisk.system' runtime: nodejs:10 package: include: - node_modules/** parameters: isTollFree: false

tasc-assign-tf: handler: actions/tasc_assign.tascAssign name: did-mgmt/tasc-assign-tf namespace: 'whisk.system' runtime: nodejs:10 package: include: - node_modules/** parameters: isTollFree: true

tf-refill: handler: actions/toll_free_refill.main name: did-mgmt/tf-refill namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime events: - http: method: POST path: /api/tf/refill resp: http package: include: - /**

refill-resp-handler: handler: actions/refill_response_handler.main name: did-mgmt/refill-resp-handler namespace: 'whisk.system' runtime: python:3 image: doc9600819523/custom_python_runtime package: include: - /**

plugins:

  • serverless-openwhisk`

COULD YOU GUYS PLEASE RESOLVE THIS ASAP.

ghost avatar Aug 05 '20 06:08 ghost