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

Sowmya Ramesh commented on FALCON-1001:
---------------------------------------

[~kawaa]: According to 
[FalconDoc|http://falcon.apache.org/restapi/InstanceList.html] for instances, 
orderBy is optional param. Currently functionality already supports ordering by 
"status","startTime","endTime","cluster". From the code if orderBy is not 
passed then no sort is performed.

For entities [FalconDoc|http://falcon.apache.org/restapi/EntityList.html], 
orderBy is optional and supports ordering by name.

Are there other API's missing this capability? If not, can you please close 
this bug as Invalid? Thanks!

> Don't hardcode the ordering field that is used to display the list of 
> instances on the Web UI
> ---------------------------------------------------------------------------------------------
>
>                 Key: FALCON-1001
>                 URL: https://issues.apache.org/jira/browse/FALCON-1001
>             Project: Falcon
>          Issue Type: New Feature
>          Components: ui, webapp
>    Affects Versions: 0.6, trunk
>            Reporter: Adam Kawa
>
> Currently the Web UI hardcores the field that it uses for ordering the 
> instances on the Web UI (the ordering is done using startTime, if I 
> understand correctly {{html5-ui/js/falcon-entity.js}}) 
> {code}
> falcon.getJson(url('instance/status') + '?orderBy=startTime&start=' + start + 
> '&end=' + end, function (data) {
> {code}
> It would be useful to have a possibility to order feeds/processes by:
> * name
> * status
> * group (if the <groups> tag in XML is provided).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to