Skip to content

Allow periodic synchronization of data sources #18287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alehaa opened this issue Dec 30, 2024 · 0 comments
Closed

Allow periodic synchronization of data sources #18287

alehaa opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
complexity: medium Requires a substantial but not unusual amount of effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@alehaa
Copy link
Contributor

alehaa commented Dec 30, 2024

NetBox version

v4.1.10

Feature type

New functionality

Triage priority

I volunteer to perform this work (if approved)

Proposed functionality

Allow a data source to be synchronized periodically. Since the SyncDataSourceJob uses the job runner framework, this feature is technically available, but must be added to the appropriate forms and related methods.

Use case

Keeping data in sync automatically without user interaction.

Database changes

None.

External dependencies

None.

@alehaa alehaa added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Dec 30, 2024
@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release status: backlog Awaiting selection for work complexity: medium Requires a substantial but not unusual amount of effort to implement and removed status: needs triage This issue is awaiting triage by a maintainer labels Feb 6, 2025
@jeremystretch jeremystretch added this to the v4.3 milestone Feb 20, 2025
@jeremystretch jeremystretch removed the needs milestone Awaiting prioritization for inclusion with a future NetBox release label Feb 20, 2025
@jeremystretch jeremystretch self-assigned this Feb 26, 2025
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: backlog Awaiting selection for work labels Feb 26, 2025
jeremystretch added a commit that referenced this issue Mar 3, 2025
* Add sync_interval to DataSource

* Enqueue a SyncDataSourceJob when needed after saving a DataSource

* Fix logic for clearing pending jobs on interval change

* Fix lingering background tasks after modifying DataSource
bctiemann added a commit that referenced this issue Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: medium Requires a substantial but not unusual amount of effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants