From 2e3d9b3e41d0ebafb9dcc044c508c6e02e706375 Mon Sep 17 00:00:00 2001 From: Andrii Landiak Date: Fri, 27 Oct 2023 13:06:06 +0300 Subject: [PATCH] Add entity notification for resources --- .../server/service/edge/DefaultEdgeNotificationService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeNotificationService.java b/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeNotificationService.java index f213169299..87e5adeb99 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeNotificationService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeNotificationService.java @@ -225,6 +225,9 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService { case TENANT_PROFILE: tenantProfileEdgeProcessor.processEntityNotification(tenantId, edgeNotificationMsg); break; + case TB_RESOURCE: + resourceEdgeProcessor.processEntityNotification(tenantId, edgeNotificationMsg); + break; default: log.warn("[{}] Edge event type [{}] is not designed to be pushed to edge", tenantId, type); }