Hi,
We've had a discussion during last OCCI-wg session in Roma about the way to specify entity ids.
As specified in current documents, entity ids can be specified in different ways _at the same time_ at creation time and implementations behaviour is not specified.
I suppose we should consider either removing different ways to specify ids either specify implementation behaviour.
Here are the different ways the can be specified:
* JSON rendering:
* 'id' attribute in JSON document
* 'occi.core.id' attribute in the 'attributes' property of the JSON document
* HTTP protocol:
* PUT request: url of the request + rendering specific (see above)
* POST request: rendering specific
In general, for renderings where core attributes are rendered differently from others (id, source, target, etc), it is not specified how to deal with attributes being set twice.
A suggestion will follow in a next e-mail. For me, the most important being to avoid ambiguities as to improve implementations interoperability.
Regards,
--
Jean Parpaillon
--
Open Source Consultant
Director @ OW2 Consortium
OCCIware Strategic Orientation Committee Chairman
Research Engineer @ Inria
--
Phone: +33 6 30 10 92 86
im: jean.parpaillon@gmail.com
skype: jean.parpaillon
linkedin: http://www.linkedin.com/in/jeanparpaillon/en