Skip to content

Allow custom fields on webhooks #11936

@abhi1693

Description

@abhi1693

NetBox version

v3.4.5

Feature type

Data model extension

Proposed functionality

Add CustomFieldsMixin on the Webhook model

Use case

I'd like to implement some extra fields on my webhook which are not a part of standard installation or shoould not be added to the core NetBox code. Like knowing how many instances of webhook receiver are registered on it. Such functionality will allow me to create clustered receivers and I will be able to scale them up/down depending on the load on NetBox.

Since this is my custom requirement, it makes sense for to be able to utilise custom fields as per my requirements.

Database changes

Adds a new field automatically to the Webhook model via the mixin as described above.

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions