Skip to content
Success

Changes

Summary

  1. Include the model name in topic notifications (commit: 9d68852) (details)
Commit 9d68852a61656138c22694f9e0988f6b0a9a1e95 by timothyjward
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 modifiednorthbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/RestNorthbound.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/notification/ResourceNotificationsTest.java
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/notification/ResourceDataNotification.java
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/notification/ResourceMetaDataNotification.java
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/notification/LifecycleNotification.java
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/notification/ResourceActionNotification.java
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/src/main/java/org/eclipse/sensinact/gateway/southbound/virtual/temperature/VirtualTemperatureDto.java
The file was modifiednorthbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketEndpoint.java
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/notification/impl/NotificationSenderTest.java
The file was modifiednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java