Apply all registered request processors when running custom scripts #18224
Labels
complexity: low
Requires minimal effort to implement
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v4.1.8
Feature type
Change to existing functionality
Triage priority
I volunteer to perform this work (if approved)
Proposed functionality
When a custom script is run (as a background job), currently only the
event_tracking
request processor is employed:netbox/netbox/extras/jobs.py
Lines 101 to 104 in e63fe23
All registered request processors should be applied here, not just
event_tracking
.Use case
FR #18211 recently introduced the ability to dynamically register request processors (a planned feature for the plugins API). This change will ensure that any additional registered processors are run when executing custom scripts as well as when servicing requests.
Database changes
N/A
External dependencies
N/A
The text was updated successfully, but these errors were encountered: