Chathura C. Ekanayake wrote:
JDBCRegistry supports URIs for comments. Comments have the URIs of the form /projects/esb/synapse.xml;comments:12. When a comment is added, its

Oh cool!  That's great.  We should update the wiki page to reflect that.

URI is returned. This URI can be used to refer that comment later (e.g. when editing a comment). Also it is possible to do a get(...) with a comment URI, which returns the resource representation of the comment.

+1

We dropped the idea of deleting comments as it would affect the comments posted referring the deleted comment. But as Jonathan mentioned, there are use cases for deleting comments. So, shall I add functionality to remove comments using the API method,
void removeComment(String commentPath);

No - please just make delete(commentPath) work.

IMHO there are good cases for being able to delete comments, and also for locking them and preventing deletion. This seems like the kind of thing that should be a configurable policy. By setting a property "enableCommentDeletion" on the root, maybe?

--Glen

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to