-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66024/
-----------------------------------------------------------
Review request for ranger.
Bugs: RANGER-1991
https://issues.apache.org/jira/browse/RANGER-1991
Repository: ranger
Description
-------
There is a code path, where a null is passed as a HttpServletRequest - to
trigger 'searching with empty filter'.
A simple fix is to introduce a getServicePolicies(serviceName,SearchFilter)
method, so the HttpServletRequest is not needed anymore.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 229863e7
Diff: https://reviews.apache.org/r/66024/diff/1/
Testing
-------
Tested locally
Thanks,
Zsombor Gegesy