From 8fcfb4046aa00a681b5c7b63818448123a841d77 Mon Sep 17 00:00:00 2001 From: Eric FELIXINE Date: Mon, 4 May 2026 23:16:54 -0400 Subject: [PATCH] Fix Orion-LD: Remove source from @context - Testing shows Orion-LD stores source properly WITHOUT defining it in @context - When defined in @context, it's stored with full URI as key - Without @context definition, source is stored and returned correctly - Simulator now creates entities with proper source/mqttTopic fields --- simulator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/simulator.py b/simulator.py index 7151315f..50b86e05 100644 --- a/simulator.py +++ b/simulator.py @@ -168,7 +168,6 @@ for stype, locs in SENSOR_LOCATIONS.items(): # Orion-LD ne peut pas résoudre raw.githubusercontent.com — utiliser uri.etsi.org uniquement ORION_CONTEXT = [ "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld", - {"source": "https://uri.fiware.org/ngsi-ld/default-context/source"} ] # Mapping sensor type → Smart Data Model type NGSI-LD