Rename JobResult to Job and move to the "core" app #12067
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Proposed Changes
This proposal entails two changes:
JobResult
class toJob
extras
to the newcore
appThe REST API endpoint for jobs would thus move from
/api/extras/job-results
to/api/core/jobs/
. Similarly, theJOBRESULT_RETENTION
configuration parameter will be renamed toJOB_RETENTION
.Justification
The
core
app being introduced in v3.5 serves to hold models which are not directly useful but empower other functionality in NetBox. Jobs meet this criteria, similar to other models which are being introduced in core:DataSource
,DataFile
, andManagedFile
.Renaming the class also feels appropriate as the model is used to track the entire lifecycle of a job, not just its result.
The text was updated successfully, but these errors were encountered: