You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Balu Vellanki (JIRA)" <ji...@apache.org> on 2014/08/25 19:56:57 UTC

[jira] [Created] (FALCON-640) Add ability to specify sort order for orderBy param in RestAPI

Balu Vellanki created FALCON-640:
------------------------------------

             Summary: 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


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)