Abhishek created RANGER-4605: -------------------------------- Summary: /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
{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)