[PR #17016] [CLOSED] TEST #14980

Closed
opened 2025-12-30 00:19:15 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17016
Author: @jeremystretch
Created: 7/29/2024
Status: Closed

Base: featureHead: 15692-background-jobs-2


📝 Commits (10+)

  • 5fab8e4 Introduce reusable BackgroundJob framework
  • 957bc3d Restore using import_string for jobs
  • db591d4 Use SyncDataSourceJob for management command
  • 53a4420 Implement BackgroundJob for running scripts
  • 7fb1875 Fix documentation of model features
  • 212262d Ensure consitent code style
  • 9dc6099 Introduce reusable ScheduledJob
  • 4880d81 Introduce reusable SystemJob
  • d78ddfc Add documentation for jobs framework
  • fd8d537 Merge branch 'feature' into 15692-background-jobs

📊 Changes

21 files changed (+537 additions, -282 deletions)

View changed files

📝 docs/development/models.md (+1 -1)
docs/plugins/development/background-jobs.md (+93 -0)
docs/plugins/development/background-tasks.md (+0 -30)
📝 docs/plugins/development/index.md (+1 -0)
📝 docs/plugins/development/models.md (+2 -0)
📝 mkdocs.yml (+1 -1)
📝 netbox/core/api/views.py (+7 -1)
📝 netbox/core/jobs.py (+14 -16)
netbox/core/migrations/0012_job_object_type_optional.py (+24 -0)
📝 netbox/core/models/data.py (+1 -18)
📝 netbox/core/models/jobs.py (+24 -5)
📝 netbox/core/views.py (+7 -1)
📝 netbox/extras/api/views.py (+3 -3)
📝 netbox/extras/events.py (+3 -4)
netbox/extras/jobs.py (+105 -0)
📝 netbox/extras/management/commands/runscript.py (+27 -80)
📝 netbox/extras/scripts.py (+1 -119)
📝 netbox/extras/views.py (+3 -3)
📝 netbox/netbox/constants.py (+3 -0)
netbox/utilities/jobs.py (+159 -0)

...and 1 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/17016 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/29/2024 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `15692-background-jobs-2` --- ### 📝 Commits (10+) - [`5fab8e4`](https://github.com/netbox-community/netbox/commit/5fab8e48396e050bdb0cfd4c6091c8d0a1dff53c) Introduce reusable BackgroundJob framework - [`957bc3d`](https://github.com/netbox-community/netbox/commit/957bc3d3de908722f3ce6d3ee7e4124021267f20) Restore using import_string for jobs - [`db591d4`](https://github.com/netbox-community/netbox/commit/db591d422a78c3cd292a84bf1759c0fe173d292d) Use SyncDataSourceJob for management command - [`53a4420`](https://github.com/netbox-community/netbox/commit/53a4420bc3c7a2c42f793c5f36c8f446928f1b0b) Implement BackgroundJob for running scripts - [`7fb1875`](https://github.com/netbox-community/netbox/commit/7fb1875c21623a0aca3ea0fba0b8318aa163fce0) Fix documentation of model features - [`212262d`](https://github.com/netbox-community/netbox/commit/212262dc7d16e8fcb8ecfa19a6a886da34b2a347) Ensure consitent code style - [`9dc6099`](https://github.com/netbox-community/netbox/commit/9dc6099eaf3be9c6e808610b93b060104bd4eec4) Introduce reusable ScheduledJob - [`4880d81`](https://github.com/netbox-community/netbox/commit/4880d8132e715021a2f17d0145e6323748f115bb) Introduce reusable SystemJob - [`d78ddfc`](https://github.com/netbox-community/netbox/commit/d78ddfcffb740ad982dd1dd2a75b42846e27c738) Add documentation for jobs framework - [`fd8d537`](https://github.com/netbox-community/netbox/commit/fd8d5378cf860901cc9d57fc8199333952b63ff7) Merge branch 'feature' into 15692-background-jobs ### 📊 Changes **21 files changed** (+537 additions, -282 deletions) <details> <summary>View changed files</summary> 📝 `docs/development/models.md` (+1 -1) ➕ `docs/plugins/development/background-jobs.md` (+93 -0) ➖ `docs/plugins/development/background-tasks.md` (+0 -30) 📝 `docs/plugins/development/index.md` (+1 -0) 📝 `docs/plugins/development/models.md` (+2 -0) 📝 `mkdocs.yml` (+1 -1) 📝 `netbox/core/api/views.py` (+7 -1) 📝 `netbox/core/jobs.py` (+14 -16) ➕ `netbox/core/migrations/0012_job_object_type_optional.py` (+24 -0) 📝 `netbox/core/models/data.py` (+1 -18) 📝 `netbox/core/models/jobs.py` (+24 -5) 📝 `netbox/core/views.py` (+7 -1) 📝 `netbox/extras/api/views.py` (+3 -3) 📝 `netbox/extras/events.py` (+3 -4) ➕ `netbox/extras/jobs.py` (+105 -0) 📝 `netbox/extras/management/commands/runscript.py` (+27 -80) 📝 `netbox/extras/scripts.py` (+1 -119) 📝 `netbox/extras/views.py` (+3 -3) 📝 `netbox/netbox/constants.py` (+3 -0) ➕ `netbox/utilities/jobs.py` (+159 -0) _...and 1 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:19:15 +01:00
adam closed this issue 2025-12-30 00:19:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14980