[
https://issues.apache.org/jira/browse/FALCON-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ajay Yadava updated FALCON-1324:
--------------------------------
Attachment: FALCON-1324.patch
@DefaultValue annotation doesn't support a dynamically calculated value, so
solution is not as clean as I wanted to. There are certain approaches we can
try but for now I am putting up a "just-works" patch.
Have tested in embedded mode.
> Pagination API breaks backward compatibility
> --------------------------------------------
>
> Key: FALCON-1324
> URL: https://issues.apache.org/jira/browse/FALCON-1324
> Project: Falcon
> Issue Type: Bug
> Reporter: Ajay Yadava
> Assignee: Ajay Yadava
> Attachments: FALCON-1324.patch
>
>
> Currently pagination API breaks backward compatibility as it by default
> returns 10 results. For example, earlier
> falcon entity -type feed -list
> used to return all the feeds but now the same command will return only 10
> results.
> Proposed solution:
> We should make the default number of results configurable in the properties
> file and put it to a high value by default so that behavior is backwards
> compatible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)