You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/03/07 16:26:12 UTC
[jira] [Updated] (FELIX-3958) Allow JSON output for
InventoryPrinters not natively supporting JSON
[ https://issues.apache.org/jira/browse/FELIX-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-3958:
-------------------------------------
Attachment: FELIX-3958.patch
Proposed patch:
* Enhance JSON output to support wrapping plain text data
* Support selection of JSON output method
> Allow JSON output for InventoryPrinters not natively supporting JSON
> --------------------------------------------------------------------
>
> Key: FELIX-3958
> URL: https://issues.apache.org/jira/browse/FELIX-3958
> Project: Felix
> Issue Type: Improvement
> Components: Inventory
> Affects Versions: inventory-1.0.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: inventory-1.0.0
>
> Attachments: FELIX-3958.patch
>
>
> If an InventoryPrinter announces itself supporting TEXT, it will not be called when the client requests JSON output (through the Web Console proxy registration).
> I propose to extend JSON output to such that when JSON is requested and the printer only supports TEXT the plain text is wrapped in JSON as follows:
> {
> "value": [
> .... double-quoted lines of plain text ....
> ]
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira