You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
NGSILD-Tenant (FIWARE-Service)
NGSILD-Scope (FIWARE-ServicePath)
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:
For NGSI-LD requests, the NGSILD Scope feature hasn't been implemented yet in Orion-LD. Sorry, not very high up on the ToDo list.
You have to start Orion-LD (just like orion) with the CLI option -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:
networks:
ports:
environment:
command: -dbhost mongo-db -logLevel DEBUG -forwarding -t 0-255
healthcheck:
test: curl --fail -s http://orion:${ORION_LD_PORT}/version || exit 1
interval: 5s
even after opening the multi service, the data are not stored in specified servicepath instead at the default path "/"
The text was updated successfully, but these errors were encountered: