[Fiware-ngsi] ngsi9 - context entity and attribute registration

Martin Bauer Martin.Bauer at neclab.eu
Tue Mar 6 22:53:13 CET 2012


Hi Denes,

I fear that your observation is right and this is another weakness of NGSI.

I think the idea was that you could possibly only provide EntityIds or even only patterns or types.

If you add which attributes / attribute domains can be provided there are different interpretation options :(:
-  for all entities specified all specified attributes are available (-> may lead to a lot of separate registration messages)
-  all entities specified have all those attributes that fit their respective entity types
- some entities have some of the given attributes (-> may lead to a lot of unnecessary requests, because the desired combination is not really available)
- there is a pairwise match, i.e., the entity that has the entity Id has the first attribute, the second entity the second attribute and so on [personally I don't like this interpretation]

What do you think we should do?

Best regards,

Martin

------------------------------------------
Dr. Martin Bauer
Senior Researcher
NEC Europe Ltd.
NEC Laboratories Europe
Software & Services Research Division
Kurfürsten-Anlage 36
D-69115 Heidelberg
Tel: +49/ (0)6221/4342-168
Fax: +49/ (0)6221/4342-155
E-Mail: Martin.Bauer at neclab.eu<mailto:Martin.Bauer at neclab.eu>
http://www.nw.neclab.eu<http://www.nw.neclab.eu/>

*************************************************************
NEC Europe Limited
Registered Office: NEC House, 1 Victoria Road, London W3 6BL
Registered in England 2832014

From: fiware-ngsi-bounces at lists.fi-ware.eu [mailto:fiware-ngsi-bounces at lists.fi-ware.eu] On Behalf Of Bisztray, Denes (NSN - HU/Budapest)
Sent: Tuesday, March 06, 2012 2:56 PM
To: fiware-ngsi at lists.fi-ware.eu; Tobias Jacobs; ext Haller, Stephan; laurent.artusio at orange.com; laurence1.dupont at orange.com
Subject: [Fiware-ngsi] ngsi9 - context entity and attribute registration


Dear all,

I'm a bit puzzled with NGSI9's context registration process. If someone has any kind of insider information, it would be useful.

-       As far as I understand , the registerContext operation is used for such aims in NGSI-9. The associated registerContextRequest contains a ContextRegistration array, which is fine, since it allows mass registration.

-       However, when looked inside the ContextRegistration structure, one finds a LIST of EntityIds and LIST of ContextRegistrationAttributes. However, there is NO explicit association between the two. At least I didn't find any.

How are these two associated?

All EntityIds will from a ContextEntity containing all ContextAttributes each?

Can someone shed some light on this?

Best,

Dénes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20120306/dc7e3889/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