Closed mjacoby closed 4 years ago
Personally I would say that navigation properties are not included. If one is interested in the Thing of Datastream 1, the subscription should be on v1.0/Datastreams(1)/Thing
.
The reason is that for v1.0/Datastreams(1)
the updated entity is the Datastream, but the complete JSON representation
of a Datastream does not give any meaningful information (not even the Id) about the Thing. So sending a Datastream representation to the user when the Thing of the Datastream changes does not tell the user anything.
I personally agree with Hylke as well.
Section
14.2.2 Receive updates of a SensorThings entity with MQTT Subscribe
of the standard saysWhat exactly is considered to be a
property
here? Are those only the "primitive properties" or does this include navigation properties? E.g. if I subscribe to/Datastreams(1)
and the Thing that is linked to that Datastream is changed, should this trigger a MQTT notification?