Dhaval Rajpara created RANGER-5890:
--------------------------------------
Summary: Add filter to display only outdated/unsynced plugins
(Download Time < Last Update Time)
Key: RANGER-5890
URL: https://issues.apache.org/jira/browse/RANGER-5890
Project: Ranger
Issue Type: Task
Components: Ranger
Reporter: Dhaval Rajpara
Assignee: Rakesh Gupta
*Summary* Enhance the *Audit → Plugins* (Plugin Status) page and backend API to
allow administrators to filter and view only plugins that have not yet
downloaded the latest policy or tag updates—specifically where {{{}Download
Time < Last Update Time{}}}.
*Background / Problem Statement* In environments with many services and plugin
instances, administrators currently have to manually scan through all plugin
status records to identify which plugins are out of sync with the latest
policy/tag updates. Adding a dedicated filter will make troubleshooting sync
delays much faster.
*Proposed Changes*
*1. Server / Backend API:*
* Add support for a query parameter (e.g., {{isOutdated=true}} or
{{{}syncStatus=outdated{}}}) on the Plugin Status search endpoint
({{{}/service/plugins/info{}}} or relevant audit plugin endpoint).
* Filter plugin records where {{downloadTime < lastUpdateTime}} (handling
null/missing timestamps safely) and ensure accurate total pagination counts are
returned.
*2. UI (Audit → Plugins):*
* Add a filter checkbox (e.g., *"Show only outdated plugins"* / {*}"Plugins
pending latest updates"{*}) in the Plugin Status search/filter bar.
* Pass the corresponding query parameter to the backend API when the checkbox
is selected, and ensure pagination and existing search filters (Service Name,
Service Type, Host Name, etc.) work seamlessly alongside it.
CC : [~madhan] , [~dineshkumar]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)