falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-159) Version API endpoint does not emit valid JSON
Date Fri, 01 Nov 2013 04:14:17 GMT

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

Srikanth Sundarrajan commented on FALCON-159:
---------------------------------------------

Though incompatible with previous versions, [~svenkat]'s suggestion to return a general property
list is actually a good suggestion. It will allow us to add more information along with the
version call without changing the schema of the response. CLI seems to be echoing the server
response as it is, so no issues there.

> Version API endpoint does not emit valid JSON
> ---------------------------------------------
>
>                 Key: FALCON-159
>                 URL: https://issues.apache.org/jira/browse/FALCON-159
>             Project: Falcon
>          Issue Type: Bug
>          Components: prism
>    Affects Versions: 0.3
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>         Attachments: FALCON-159.patch
>
>
> {{/api/admin/version}} endpoint emits 
> {noformat}
> {Version:"0.4-incubating-SNAPSHOT-rb47788d1112fcf949c22a3860934167237b395b0",Mode:"distributed"}
> {noformat}
> which is not valid JSON. It should be
> {noformat}
> {"Version":"0.4-incubating-SNAPSHOT-rb47788d1112fcf949c22a3860934167237b395b0","Mode":"distributed"}
> {noformat}



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

Mime
View raw message