[Fiware-ngsi] "Duplication" in resource URL in convenience operations

Tobias Jacobs Tobias.Jacobs at neclab.eu
Tue Dec 10 13:55:31 CET 2013


Hi Fermin,

The duplication is functionally not really needed; I guess we just found it more 'natural'. 

The alternative would be to disallow e.g. any interaction with /ngsi9/contextEntities/{EntityId}/attributes. 

Or, as a compromise, to leave it out of the standard whether interaction with that resource is possible or not and only make the functionality of /ngsi9/contextEntities/{EntityId} mandatory.

Best
Tobias

-----Original Message-----
From: fiware-ngsi-bounces at lists.fi-ware.eu [mailto:fiware-ngsi-bounces at lists.fi-ware.eu] On Behalf Of Fermín Galán Márquez
Sent: Montag, 9. Dezember 2013 12:56
To: fiware-ngsi at lists.fi-ware.eu
Subject: [Fiware-ngsi] "Duplication" in resource URL in convenience operations

Hi,

We have a few cases of convenience operations in which the processing of the "father" resource is exactly the same that the processing of the "child" resource with "/attributes":

/ngsi9/contextEntities/{EntityId}  and
/ngsi9/contextEntities/{EntityId}/attributes
/ngsi9/contextEntityTypes/{typeName} and /ngsi9/contextEntityTypes/{typeName}/attributes
/ngsi10/contextEntities/{EntityId}  and
/ngsi10/contextEntities/{EntityId}/attributes
/ngsi10/contextEntityTypes/{typeName} and /ngsi10/contextEntityTypes/{typeName}/attributes

Why do we need such "duplication"?

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
_______________________________________________
Fiware-ngsi mailing list
Fiware-ngsi at lists.fi-ware.eu
https://lists.fi-ware.eu/listinfo/fiware-ngsi



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