-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75360/
-----------------------------------------------------------
(Updated Feb. 11, 2025, 10:26 a.m.)
Review request for ranger, Madhan Neethiraj and Ramesh Mani.
Changes
-------
Updated patch as per the review comments.
Summary (updated)
-----------------
RANGER-5129: Enhance Dataset Filtering by Validity Schedule and Expiration Date
Range
Bugs: RANGER-5129
https://issues.apache.org/jira/browse/RANGER-5129
Repository: ranger
Description
-------
Enhance the existing enhancedSummary API to support filtering datasets based on
their validity schedule and expiration date. The API should return datasets
that have a defined validity schedule and whose expiration date falls within
the specified date range.
Filtering Criteria:
The dataset must have a validity schedule.
The expiration date of the dataset should be within the provided range:
validityExpiryFrom – Start of the expiration date range
validityExpiryTo – End of the expiration date range
This enhancement ensures that only relevant datasets with scheduled validity
and expiring within the given timeframe are retrieved.
API: curl GET <ranger-admin
url>/service/gds/dataset/enhancedsummary?validityExpiryFrom=<yyyy/MM/dd
HH:mm:ss>&validityExpiryTo=<yyyy/MM/dd HH:mm:ss>
Diffs (updated)
-----
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerValidityScheduleEvaluator.java
027c2140c
agents-common/src/main/java/org/apache/ranger/plugin/util/SearchFilter.java
a260a8782
security-admin/src/main/java/org/apache/ranger/biz/GdsDBStore.java 312a67a28
security-admin/src/main/java/org/apache/ranger/common/RangerSearchUtil.java
6c93d7104
security-admin/src/test/java/org/apache/ranger/rest/TestGdsREST.java
68d62fc31
Diff: https://reviews.apache.org/r/75360/diff/2/
Changes: https://reviews.apache.org/r/75360/diff/1-2/
Testing
-------
Tested locally.
Thanks,
Radhika Kundam