[
https://issues.apache.org/jira/browse/FALCON-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14115278#comment-14115278
]
Balu Vellanki commented on FALCON-640:
--------------------------------------
[~svenkat] Please review the patch V1.
> Add ability to specify sort order for orderBy param in RestAPI
> --------------------------------------------------------------
>
> Key: FALCON-640
> URL: https://issues.apache.org/jira/browse/FALCON-640
> Project: Falcon
> Issue Type: Sub-task
> Affects Versions: 0.6
> Reporter: Balu Vellanki
> Assignee: Balu Vellanki
> Attachments: Falcon-JIRA-640.patch, Falcon-Jira-640-v1.patch
>
>
> Today, users can specify sort of returned entities by "name", default
> ascending order. Users can specify sort of returned instances by "status",
> "cluster", "starttime" and "endtime". Default order is asc for status &
> cluster. Default order is desc for "starttime" and "endtime".
> We plan to add ability to specify sort order to param orderBy. User can set
> orderBy to
> - "field" -- default order will be used
> - "field:sortOrder" -- specified sortOrder will be used. "asc" and "desc"
> are allowed options.
> Update RestAPI docs accordingly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)