falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaik Idris Ali (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-152) REST API for entity & Admin resources only returns XML
Date Wed, 23 Oct 2013 19:24:05 GMT

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

Shaik Idris Ali edited comment on FALCON-152 at 10/23/13 7:22 PM:
------------------------------------------------------------------

Hi, why is runid removed as argument?
         } else if (optionsList.contains(STATUS_OPT)) {
-            result = client.getStatusOfInstances(type, entity, start, end,
-                    runid, colo);
+            result = client.getStatusOfInstances(type, entity, start, end, colo);

Ok, for status the method is just invoked with "null", make sense to cleanup.


was (Author: shaik.idris):
Hi, why is runid removed as argument?
         } else if (optionsList.contains(STATUS_OPT)) {
-            result = client.getStatusOfInstances(type, entity, start, end,
-                    runid, colo);
+            result = client.getStatusOfInstances(type, entity, start, end, colo);

> REST API for entity & Admin resources only returns XML
> ------------------------------------------------------
>
>                 Key: FALCON-152
>                 URL: https://issues.apache.org/jira/browse/FALCON-152
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Venkatesh Seetharam
>            Assignee: Venkatesh Seetharam
>         Attachments: FALCON-152.patch, FALCON-152-r1.patch
>
>
> I think the resources except the entity definition need to return both XML and JSON.
I plan to add JSON.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message