Dear Armin, Thanks a lot for writing the test cases. This helps a lot to check whether we have a common understanding of the NGSI-10 functionality. I have two general remarks: - to our understanding, a query for {entity-list},{attribute-list} reads as "for all context elements in {entity-list} give me all available values of the attributes in {attribute-list}", rather than "give me all information about the entities in {entity-list} where information about all attributes in {attribute-list} is available". This applies in particular to test case 4,5,6,8,9 of queryContext. Some examples: o A query for the temperature of room2 should return only the temperature, not the humidity. The latter attribute simply does not appear in the result. o A query for the temperature and humidity of room1 should return the temperature of room1 (as the humidity of room1 is not known). o A query for the humidity of room1 and room2 should return an error for room1 and the humidity of room2. - In the subscribeContext operations as you describe it, the context entities are subscribing to each other. However, in general the reference of a subscription is a generic web resource and has nothing to do with the Context Entities. For example, one could request a subscription for temperature of room_1 with the recipient http://john.nicepeople.org/notify, so that John will get information updates about the room_1 temperature. Of course in principle the reference can also be a resource representing again a context entity, but this mixture of different roles is confusing in my opinion. By the way, the originator of a subscription does not have to be identical with the reference, e.g., Peter could request a subscription of John. Best regards Tobias From: fiware-iot-bounces at lists.fi-ware.eu<mailto:fiware-iot-bounces at lists.fi-ware.eu> [mailto:fiware-iot-bounces at lists.fi-ware.eu]<mailto:[mailto:fiware-iot-bounces at lists.fi-ware.eu]> On Behalf Of Zamani Farahani, Armin Sent: Mittwoch, 21. Dezember 2011 11:16 To: fiware-iot at lists.fi-ware.eu<mailto:fiware-iot at lists.fi-ware.eu> Subject: [Fiware-iot] Test cases for NGSI-10 Dear all, we have worked out several test cases for the OMA NGSI-10 Context Management operations, based on the NGSI-10 specification at http://www.openmobilealliance.org/Technical/release_program/docs/NGSI/V1_0-20101207-C/OMA-TS-NGSI_Context_Management-V1_0-20100803-C.pdf. These test cases are a first draft and can be found at: https://forge.fi-ware.eu/plugins/mediawiki/wiki/iot/index.php/NGSI_10_TestCases Please have a look at them and tell us, if the re is so be improved. We are looking forward to get feedback from you. If there are any questions, please do not hesitate to contact us. Merry Christmas and a happy new year to all of you and your families! Best, Fabia n Tschir o:p> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/old-fiware-iot/attachments/20111222/894d03c6/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy