felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3958) Allow JSON output for InventoryPrinters not natively supporting JSON
Date Thu, 07 Mar 2013 16:40:13 GMT

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

Carsten Ziegeler commented on FELIX-3958:
-----------------------------------------

+1
                
> 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

Mime
View raw message