
Hey Ralf! Thanks for bringing this up :-) I'd whole-heartedly agree with you that having clear and simple semantics are a must especially with potentially dangerous operation like DELETE. Semantics related to removal/deletion of Link, in my view should be divided into two separate but complimentary areas: 1) Unlinking - to unlink one resource from another the use of PUT should be used to update the appropriate resource 2) Destroying a link - to destroy a link resource it must be unlinked from dependent resources using PUT and then finally destroyed using DELETE. If a user attempts to destroy before unlinking then the server should raise an exception. That way there are no dangling references to non-existent resources. What do you and others think? Andy -----Original Message----- From: occi-wg-bounces@ogf.org [mailto:occi-wg-bounces@ogf.org] On Behalf Of Ralf Nyren Sent: Sunday, August 08, 2010 3:20 PM To: occi-wg@ogf.org Subject: [occi-wg] Removing associations between resources Hi again, Reading the specs I cannot quite figure out how to remove an association between one resource and another. As far as I understand PUT can be used to add a new or change an existing association, i.e. using Link headers. But how to remove an association? Reading the Wiki [1] I found some new text which indicates that DELETE somehow can be used to remove associations as well as resources. The described semantics seemed to be rather complicated. You have probably thought a lot about this already but from my point of view any operation which irreversibly deletes/destroys a resource should have as simple semantics as possible. Using DELETE to remove associations seem dangerous to me. What are your thoughts on this matter? regards, Ralf [1] http://forge.ogf.org/sf/wiki/do/viewPage/projects.occi-wg/wiki/CoreAndModels... _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg ------------------------------------------------------------- Intel Ireland Limited (Branch) Collinstown Industrial Park, Leixlip, County Kildare, Ireland Registered Number: E902934 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.