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 41 forks source link

JSON-LD Link Header should not point to the Core @context #10

Closed jmcanterafonseca closed 5 years ago

jmcanterafonseca commented 5 years ago

but to the Default @context or to the corresponding @context

jmcanterafonseca commented 5 years ago

this test fails

https://github.com/Fiware/NGSI-LD_Tests/blob/master/contextConsumption/retrieve_entity_test.js#L72

jmcanterafonseca commented 5 years ago

https://github.com/Fiware/NGSI-LD_Tests/blob/master/common.js#L32

kzangeli commented 5 years ago

Fixed in https://github.com/Fiware/context.Orion-LD/commit/d02ae46513f49634969180c3ddce4e529c60dedc. Except for one case, where the core context is given literally as context in input payload: ngsild_contexts_case_2.test This might not be a problem. If this issue ever resurfaces, we'll deal with it.