[
https://issues.apache.org/jira/browse/FELIX-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger updated FELIX-4075:
-------------------------------------
Attachment: configuration-status-20130527-074003.zip
FELIX-4075.patch
Proposed patch to fix this:
* Moved ConfigurationWriter classes into a separate helper package (out of the
AbstractWebConsolePlugin class)
* Created a super-simple SimpleJson class helping to write JSON files
* an index.json file is generated which maps the InventoryPrinter names to the
actual files generated. This includes all text, json, and attachment files from
the respective Inventory Printer as well as its title. This allows tools to
easily extract the information.
* Add ZIP file generation timestamps in both plain text and JSON formats.
Also attached a sample configuration ZIP file generated from a current Sling
Launchpad build.
> 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