[
https://issues.apache.org/jira/browse/RANGER-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17796544#comment-17796544
]
Abhishek commented on RANGER-4605:
----------------------------------
Review request available at :- [https://reviews.apache.org/r/74792/]
Thank you
> /assets/resources/count does not return proper count if policies are greater
> than 200
> -------------------------------------------------------------------------------------
>
> Key: RANGER-4605
> URL: https://issues.apache.org/jira/browse/RANGER-4605
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Abhishek
> Assignee: Abhishek
> Priority: Major
>
> {color:#172b4d}The /assets/resources/count API should return the actual
> number of policies (present in knox, hbase, hive and hdfs repos).{color}
> {color:#172b4d}However, if the number of policies is greater than 200, then
> to fetch the actual number of policies, a parameter "?pageSize" has to be
> added, and the response returned is based on the page size parameter.{color}
> {color:#172b4d}Ideally, the count returned should not depend on the pageSize
> parameter.{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)