[
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_5.patch
Updated patch where client outputs the contents of the {{/api/admin/version}}
JSON endpoint as is. This preserves the original behavior.
{noformat}
Falcon server build version:
{"properties":[{"key":"Version","value":"0.4-incubating-SNAPSHOT-rb47788d1112fcf949c22a3860934167237b395b0"},{"key":"Mode","value":"embedded"}]}
{noformat}
> 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, FALCON-159_4.patch, FALCON-159_5.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)