-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75389/
-----------------------------------------------------------
(Updated May 22, 2025, 10:05 p.m.)
Review request for ranger, Madhan Neethiraj and Ramesh Mani.
Bugs: RANGER-5213
https://issues.apache.org/jira/browse/RANGER-5213
Repository: ranger
Description (updated)
-------
Dataset Search and Summary APIs should support filtering by isEnabled and
Partial/Exact text search for Labels and Keywords.
Label and Keyword Filtering Enhancements
Partial Match (Existing Behavior - Performs a case-insensitive substring
search):
datasetLabel
datasetKeyword
Exact/Full Match (New Behavior):
Query parameters introduced:
datasetLabelMatchType=full
datasetKeywordMatchType=full
When these flags are set to full, the corresponding datasetLabel or
datasetKeyword values must match exactly(case-insensitive).
Without the flags, partial match remains the default.
isEnabled Filter
New query parameter: isEnabled
Filters datasets based on their enabled/disabled status.
Only datasets with the specified status will be included in the results.
Example: isEnabled=true returns only enabled datasets.
Diffs (updated)
-----
agents-common/src/main/java/org/apache/ranger/plugin/util/SearchFilter.java
717b94c67
security-admin/src/main/java/org/apache/ranger/common/RangerSearchUtil.java
a76c2b5a3
security-admin/src/main/java/org/apache/ranger/rest/GdsREST.java 84009c3fa
security-admin/src/main/java/org/apache/ranger/service/RangerGdsDatasetService.java
8ace32a53
Diff: https://reviews.apache.org/r/75389/diff/3/
Changes: https://reviews.apache.org/r/75389/diff/2-3/
Testing
-------
Tested locally
Thanks,
Radhika Kundam