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