[ 
https://issues.apache.org/jira/browse/FALCON-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Balu Vellanki updated FALCON-640:
---------------------------------

    Attachment: Falcon-JIRA-640.patch

> 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)

Reply via email to