opengeospatial / sensorthings

The official web site of the OGC SensorThings API standard specification.
135 stars 29 forks source link

Receive updates with MQTT Subscribe #3

Open mjacoby opened 8 years ago

mjacoby commented 8 years ago

Given the following scenario

Existing entities:

Datastreams(1) and Sensors(1) are linked, therefore Datastreams(1).Sensor = Sensors(1) and Sensors(1).Datastreams = Datastreams(1)

Existing MQTT subscriptions:

Now Datastreams(1) is linked to Sensors(2), e.g. Datastreams(1).Sensor = Sensors(1) --> Datastreams(1).Sensor = Sensors(2)

Which of the given MQTT subscriptions will get notified and why?

mjacoby commented 8 years ago

Some other questions regarding on receiving updates with MQTT subscribe I've came across

Response: When a property of the subscribed entity is updated, the service returns a complete JSON representation of the updated entity

but there is no definition of what a complete JSON representation is. Does it include the selflink and all navigationLinks?

liangsteve commented 7 years ago

See https://portal.opengeospatial.org/files/?artifact_id=70669 for an update. Removed MQTT Subscribe ENTITY/# (e.g., Datastreams(1)/#). We believe it is clear if a client specify clearly what does it want to receive updates about (e.g., Datastreams(1)/update, Datastreams(1)/delete, etc.)