Actions
Bug #36852
closedLast smart proxy sync date should have a way to query per environment
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
medium
Triaged:
Yes
Pull request:
Description
Today smart proxy sync on the UI can only be done on a global smart proxy level. The UI is also designed to return this task as last sync for all envs in the capsule. This isn't always accurate since an env can be newly added(never synced) or the last sync may have run for an individual CV on publish/promote.
Can't think of a good way to isolate env out of capsule sync task queries since env goes into input params and not the resource for the capsule sync task which is always the capsule. We'd have to look up all capsule sync tasks since last complete sync and look at input params for those.
We could introduce a new model and save this in the DB for quicker access but that'd mean modifying task to keep these records updated.
Actions