telefonicaid / fiware-orion

Context Broker and CEF building block for context data management, providing NGSI interfaces.
https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md
GNU Affero General Public License v3.0
210 stars 265 forks source link

In the specification is not referenced the "legacy" format in the Subscriptions section #2459

Closed iariasleon closed 8 years ago

iariasleon commented 8 years ago

In FIWARE-NGSI v2 Specification is not referenced the "legacy" format in the Subscriptions section:

"attrsFormat (optional): specifies how the entities are represented in notifications. Accepted values are normalized (default), keyValues or values. If attrsFormat takes any value different than those, an error is raised. See detail in "Notification Messages" section."

Legacy format: if we create a subscription using NGSI v2, but with attrsFromat=legacy, the notification will be send in NGSI v1 format.

fgalan commented 8 years ago

It is ok not mentioning legacy format in the NGSIv2 as it is a legacy feature in Orion only. Note that a "pure" NGSIv2 implementation will not implement that legacy thing. Thus, it cannot be part of the NGSIv2 specification document.

However, note also that it is mentioned in the Orion specific implementation docuementation: https://fiware-orion.readthedocs.io/en/develop/user/ngsiv2_implementation_notes/index.html