falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-640) Add ability to specify sort order for orderBy param in RestAPI
Date Mon, 25 Aug 2014 23:54:58 GMT

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

Balu Vellanki commented on FALCON-640:
--------------------------------------

After a conversation with [~svenkat], we decided to separate field and sortOrder in orderBy
param into separate params. 

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".

As part of this JIRA, add new param sortOrder. "asc" and "desc" are allowed options. 


> 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: Bug
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>         Attachments: Falcon-JIRA-640.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)

Mime
View raw message