FIWARE / context.Orion-LD

Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs
https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.06.01_60/gs_CIM009v010601p.pdf
GNU Affero General Public License v3.0
50 stars 43 forks source link

KeyValues option is not working when retrieving federated entities #1551

Closed ravaga closed 8 months ago

ravaga commented 9 months ago

I have 3 Orion-LD federated instances through Context Source Registrations. When I make an HTTP GET request (/ngsi-ld/v1/entities?options=keyValues&type=T) to obtain all the entities of the type T in key-values format, only local entities of the broker are returned in this format. The entities that belong to the other brokers are returned in the default normalized format.

kzangeli commented 9 months ago

ok, that's unfortunate :) I'll look into this asap,

ravaga commented 8 months ago

After performing some tests using format=simplified , it's working as expected. The same applies for the concise format related bug.

ravaga commented 8 months ago

The same bug occurs when retrieving a single entity using its ID GET /ngsi-ld/v1/entities/urn:ngsi-ld:E1?format=simplified and also with options=keyValues