Open tonyrosset opened 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:
-multiservice
for the NGSILD-Tenant header to be taken into consideration. It is silently ignored otherwise (also backwards compatibility with NGSIv2)
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 "/"