Skip to content
Success

Changes

Summary

  1. Include the model name in topic notifications (commit: 9d68852) (details)
Commit 9d68852a61656138c22694f9e0988f6b0a9a1e95 by Tim Ward
Include the model name in topic notifications

Filtering at the model level is extremely useful as it permits efficient tracking of multiple providers using the same model. The model URI is required to ensure strict uniqueness, however the model uri is difficult to represent in topic syntax, and would need large amounts of escaping. The trade off is therefore to allow the model name to be used in the topic for rapid checking, with the filter being available for more precise matching if needed.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 9d68852)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/notification/LifecycleNotification.java (diff)
The file was modified southbound/virtual/virtual-temperature-sensor/src/main/java/org/eclipse/sensinact/gateway/southbound/virtual/temperature/VirtualTemperatureDto.java (diff)
The file was modified northbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/RestNorthbound.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/notification/ResourceActionNotification.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/notification/ResourceMetaDataNotification.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/notification/ResourceNotificationsTest.java (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java (diff)
The file was modified core/impl/src/test/java/org/eclipse/sensinact/core/notification/impl/NotificationSenderTest.java (diff)
The file was modified northbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketEndpoint.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/notification/ResourceDataNotification.java (diff)