[
https://wso2.org/jira/browse/MASHUP-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194#action_16194
]
Keith Godwin Chapman commented on MASHUP-644:
---------------------------------------------
Implemented the deployment part of this fix in revision 15550 via a
serviceName.tags file. Now if there is a serviceName.tags file (This is an XML
file) these tage gate applied to the resource. This file is deleted after
service deployment.
e.g tags file is
<tags>
<tag>test</tag>
<tag>fun</tag>
<tag>keith chapman</tag>
</tags>
The reason to use an XML file was that in can be extended easily. Someday if we
come up with a way to migrate comments this file can cater to that too.
> Consider migrating comments and tags (each optionally?) with a mashup.
> ----------------------------------------------------------------------
>
> Key: MASHUP-644
> URL: https://wso2.org/jira/browse/MASHUP-644
> Project: WSO2 Mashup Server
> Issue Type: New Feature
> Reporter: Jonathan Marsh
> Assignee: Keith Godwin Chapman
> Fix For: 1.1
>
>
> Comments are difficult, as they need to be associated with a particular user,
> and the user community changes between each server.
> Tags however aren't quite as "author-centric". We can provide a checkbox to
> upload all tags along with a service. These tags would then be "authored" by
> the person uploading the service. He can easily delete any tags he doesn't
> want that came from another source.
> One way to implement this is to generate and write a "{servicename}.tags"
> file to the top-level of the ?download zip. When a service is deployed it
> looks for a {servicename}.tags file next to the {servicename}.js file, and if
> it finds one it extracts and applies the tags, and then deletes the .tags
> file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev