[Fiware-ngsi] register context problem

Bisztray, Denes (NSN - HU/Budapest) denes.bisztray at nsn.com
Tue Apr 17 10:39:52 CEST 2012


Dear all,

As per request I summarise my problems with the NGSI-9 registerContext. 

As one can see, the request contains a list of ContextRegistration structures which contains the following (page 25, sec 5.5.7 ):

-	List of EntityIDs (optional)
-	List of ContextRegistrationAttributes (optional) - List of ContextAttributes and/or AttributeDomains which are made available through this registration.
-	List of ContextMetadata (optional)

So the problem is the following:
How do we match the EntityId set with the contextAttribute and contextMetadata set?

Possible solutions I can come up with:
-	Match by position, i.e. EntityId[4] matches with ContextRegistrationAttributes[4]. This solution is blatantly flawed, as one Entity can have only one attribute.
-	All Entities will have all attributes. This could work, but then what do we do with the contextMetadata. How do we map them to the attributes...

So I cannot really see what the designers were thinking when they came up with this message.

Best,
Dénes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20120417/29d8165b/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