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] [Created] (FALCON-640) Add ability to specify sort order for orderBy param in RestAPI
Date Mon, 25 Aug 2014 17:56:57 GMT
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)

Mime
View raw message