[Fiware-ngsi] NGSI last open questions

Bisztray, Denes (NSN - HU/Budapest) denes.bisztray at nsn.com
Mon Apr 2 14:06:39 CEST 2012


Dear All,

As far as I remember we have only two open questions left with the NGSI-10 RESTful binding. 

Let me elaborate on these two:

1.	Entity ID uniqueness

As previously mentioned I vote for the sole uniquenss of the Entity ID without the Type.
My reasons are:

a)	If we allow the type+ID combo-uniqueness the whole RESTful binding goes down the drain.
b)	I don't see real problems with having a unique name. I understand that having a phone and person with name Peter would make sense, but then what would the other all the other Peters doing? They have a name clash even within a single type. 

2.	What should a GET on the /{entityId}/attributeDomains return

Tobias proposed not to return anything, Martin proposed to return all attributes ordered by domains. 
I Currently there is no way to get a list of defined attributeDomains in an entity. Thus, we need some kind of method to get that list. However, returning all attributes as well is not good here, there are several ways to get a list of attributes. I propose the following response for the GET:

returnAttributeDomainsResponse
parts:
Part name: AttributeDomainList
Part type: String[0..unbounded]

Part name: ResponseCode
Part type: StatusCode

Please respond in this questions ASAP.

Best,
Dénes


 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20120402/76aec385/attachment.html>


More information about the Fiware-ngsi mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy