falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-159) Version API endpoint does not emit valid JSON
Date Fri, 08 Nov 2013 09:07:17 GMT

     [ https://issues.apache.org/jira/browse/FALCON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Srimanth Gunturi updated FALCON-159:
------------------------------------

    Attachment: FALCON-159_3.patch

Changed {{AdminResource#getVersion()}} to emit XML and JSON content. Remove plain text output
as exceptions were being thrown. 

Fixed testcase to parse JSON using regular expressions.

> 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
>             Fix For: 0.4
>
>         Attachments: FALCON-159.patch, FALCON-159_2.patch, FALCON-159_3.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