This repository was archived by the owner on Dec 9, 2024. It is now read-only.
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Incorrect Service Bus binding parsing #57
Closed
Description
This is the config I use in serverless.yaml
functions:
importJob:
handler: handler.importJob
events:
- serviceBus:
x-azure-settings:
name: item
queueName: import-queue
accessRights: listen
connection : ServiceBusConnection
This is the parsed binding result:
{ type: 'serviceBusTrigger',
direction: 'in',
name: 'item',
queueName: 'import-queue',
topicName: 'mysbtopic',
subscriptionName: 'mysubscription',
connection: 'ServiceBusConnection',
accessRights: 'listen'
}
There are both queueName and topicName defined in the binding output along with subscriptionName which should not be there if queueName is defined.
Metadata
Metadata
Assignees
Labels
No labels