Browse Source

Add entity notification for resources

pull/9226/head
Andrii Landiak 3 years ago
parent
commit
2e3d9b3e41
  1. 3
      application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeNotificationService.java

3
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);
}

Loading…
Cancel
Save