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

Felix Meschberger commented on FELIX-4075:
------------------------------------------

Applied a slightly modified patch in Rev. 1486594:

- Consolidate ConfigurationWriter classes into a new helpers package (out of 
the AbstractWebConsolePlugin)
- Create a dead-simple SimpleJson helper class to generate the configuration 
ZIP index.json file
- Create an index.json file providing the timestamp and the files provided by 
the plugins
- Use "<pre>" formatting for plain text and JSON output in the HTML (Browser) 
context

The timestamp file(s) are now collapsed into the index.json file. Tools may 
read the index.json file (which will always be the last file in the ZIP) to get 
the formatted and raw timestamp of the time of ZIP file generation as well as 
the files generated by the InventoryPrinter services "indexed" by the printer 
names.
                
> Cleanup InventoryPrinter generated file names in the ZIP file
> -------------------------------------------------------------
>
>                 Key: FELIX-4075
>                 URL: https://issues.apache.org/jira/browse/FELIX-4075
>             Project: Felix
>          Issue Type: Bug
>          Components: Inventory
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: inventory-1.0.0
>
>         Attachments: configuration-status-20130527-074003.zip, 
> FELIX-4075.patch
>
>
> Generating the ZIP creates files whose names are actually the value of the 
> InventoryPrinter names, aka URL labels, instead of the printer titles 
> previously used. Also the files are not numbered any more.
> I pretty much like the numbering and it makes sure the files are unique 
> (should two or more InventoryPrinter services use the same title but 
> different names). 

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

Reply via email to