[Fiware-ngsi] DiscoveryAvailabilityContext interpretation in OMA NGSI spec

Fermín Galán Márquez fermin at tid.es
Thu Feb 14 17:00:09 CET 2013


Hi,

I have found another case of poorly documented operation in the OMA NGSI specification, that I would like to expose to the list members to know what do you think.

In particular, the description of discoverContextAvailability operation in section 5.3.2 defines the abstract format of the discovery in terms of ane EntityId list and a AttributeList, but not how that discovery has to be processed to produce the result. Our interpretation is as follows:

  *   If AttributeList is omitted, the discover operation returns all the context registration elements in which at least one of the entities in EntityId list is present. Each returned context registration contains all the entities original registered in the given context registration except the ones not included in the EntityId list of the discovery operation and all the attributes in the original registration.
  *   If AttributeList is not omitted, the discover operation returns all the context registration elements in which at least one of the entities in EntityId list is present and at least one of the attributes in AttributesList is present. Each returned context registration contains all the entities original registered in the given context registration except the ones not included in the EntityId list of the discovery operation and all the attributes in the original registration except the ones not incluced in AttributesList.

Let me show this with an example. Let's consider that two registrations have be done with the following information:

[cid:part1.06050801.00050402 at tid.es]
Then the following discoveries (first and second column) will produce the following results (third and fourth column):

[cid:part2.03090303.00080208 at tid.es]

What do you think?

Thanks!

Best regards,

------
Fermín

________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20130214/72d35280/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cbgdccac.png
Type: image/png
Size: 2966 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20130214/72d35280/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cigdcbff.png
Type: image/png
Size: 8886 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20130214/72d35280/attachment-0001.png>


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