falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ying Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1324) Pagination API breaks backward compatibility
Date Thu, 23 Jul 2015 18:55:04 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14639360#comment-14639360

Ying Zheng commented on FALCON-1324:

[~ajayyadava] Thanks for proposing to add default number of returning entities in the properties
file. I saw you hardcoded the default value "3000" in a couple of places. Looks better to
define it as a static integer. You can use AbstractEntityManager.DEFAULT_NUM_RESULTS.

> 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

View raw message