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
When I query urn:ngsi-ld:Shelf:unit001 on the context broker, an Entity of type:Shelf is returned (even though I have only registered type:Building.
Specifically, the forwarded request is: /ngsi-ld/v1/entities/urn:ngsi-ld:Store:001?options=sysAttrs when it should be /ngsi-ld/v1/entities/urn:ngsi-ld:Store:001?options=sysAttrs&type=Building
or rather:
type=Building expands to https://uri.fiware.org/ns/data-models#Building using this context
https://uri.fiware.org/ns/data-models#Building compacts to Store using this context which has been defined in the jcontextSourceInfo.sonldContext
Therefore the correct compacted type should be type=Store in the forwarded request.
The text was updated successfully, but these errors were encountered:
I have a context source (Partial Broker) which includes this Entity
urn:ngsi-ld:Shelf:unit001
oftype:Shelf
I register the following
inclusive
registration on the context broker:When I query
urn:ngsi-ld:Shelf:unit001
on the context broker, an Entity oftype:Shelf
is returned (even though I have only registeredtype:Building
.Specifically, the forwarded request is:
/ngsi-ld/v1/entities/urn:ngsi-ld:Store:001?options=sysAttrs
when it should be/ngsi-ld/v1/entities/urn:ngsi-ld:Store:001?options=sysAttrs&type=Building
or rather:
type=Building
expands tohttps://uri.fiware.org/ns/data-models#Building
using this contexthttps://uri.fiware.org/ns/data-models#Building
compacts toStore
using this context which has been defined in thejcontextSourceInfo.sonldContext
Therefore the correct compacted
type
should betype=Store
in the forwarded request.The text was updated successfully, but these errors were encountered: