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
51 stars 43 forks source link

orionld fiware-servicepath is not segregating data #1610

Open tonyrosset opened 6 months ago

tonyrosset commented 6 months ago

orion: labels: org.fiware: 'twinair' image: fiware/orion-ld:1.5.0 restart: unless-stopped hostname: orion container_name: fiware-orion depends_on:

even after opening the multi service, the data are not stored in specified servicepath instead at the default path "/" Screenshot 2024-05-06 130530

kzangeli commented 6 months ago

Hello,

there seems to be some confusion about Service and ServicePath. First, those terms are NGSIv2. In NGSI-LD the features are called Tenant (Service) and Scope (ServicePath). The HTTP headers used in NGSI-LD are:

Orion-LD does still support the old NGSIv2 names for backwards compatibility with NGSIv2.

"tenant" is about separating database collections in different databases while "scope" is about putting entities in a hierarchy.

Two important notes: