You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (Updated) (JIRA)" <ji...@apache.org> on 2012/03/06 19:28:57 UTC
[jira] [Updated] (WOOKIE-327) Make widget metadata returned by the
REST API more consistent with W3C Widget Config.xml, remove confusing IDs
[ https://issues.apache.org/jira/browse/WOOKIE-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Wilson updated WOOKIE-327:
--------------------------------
Attachment: widgethelperpatch.txt
I've attached the patch for this to make it easier to sync this work with the changes needed for the connector framework (see WOOKIE-326)
> Make widget metadata returned by the REST API more consistent with W3C Widget Config.xml, remove confusing IDs
> --------------------------------------------------------------------------------------------------------------
>
> Key: WOOKIE-327
> URL: https://issues.apache.org/jira/browse/WOOKIE-327
> Project: Wookie
> Issue Type: Improvement
> Reporter: Scott Wilson
> Attachments: widgethelperpatch.txt
>
>
> The metadata returned by Wookie for GET /widgets and GET /widgets/{id_or_uri} is slightly confusing in that it doesn't quite follow the W3C widget spec (e.g. it has <title> instead of <name>) and it contains two different attributes for identifiers:
> id == the wookie internal JPA identifier
> identifier == the W3C Widget id
> I propose making the following changes:
> 1. Change "title" to "name"
> 2. Remove "identifier"
> 3. Change the content of "id" to the W3C Widget URI id (as provided in config.xml
> 4. Change <icon>{URL}</icon> to <icon src="{URL}"/>
> This has implications for connectors, which will need to be updated to the same version as the Wookie server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira