Showing
1 changed file
with
2 additions
and
2 deletions
@@ -147,7 +147,7 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService { | @@ -147,7 +147,7 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService { | ||
147 | case ENTITY_VIEW: | 147 | case ENTITY_VIEW: |
148 | case DASHBOARD: | 148 | case DASHBOARD: |
149 | case RULE_CHAIN: | 149 | case RULE_CHAIN: |
150 | - processEntities(tenantId, edgeNotificationMsg); | 150 | + processEntity(tenantId, edgeNotificationMsg); |
151 | break; | 151 | break; |
152 | case ALARM: | 152 | case ALARM: |
153 | processAlarm(tenantId, edgeNotificationMsg); | 153 | processAlarm(tenantId, edgeNotificationMsg); |
@@ -166,7 +166,7 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService { | @@ -166,7 +166,7 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService { | ||
166 | } | 166 | } |
167 | } | 167 | } |
168 | 168 | ||
169 | - private void processEntities(TenantId tenantId, TransportProtos.EdgeNotificationMsgProto edgeNotificationMsg) { | 169 | + private void processEntity(TenantId tenantId, TransportProtos.EdgeNotificationMsgProto edgeNotificationMsg) { |
170 | ActionType edgeEventActionType = ActionType.valueOf(edgeNotificationMsg.getEdgeEventAction()); | 170 | ActionType edgeEventActionType = ActionType.valueOf(edgeNotificationMsg.getEdgeEventAction()); |
171 | EdgeEventType edgeEventType = EdgeEventType.valueOf(edgeNotificationMsg.getEdgeEventType()); | 171 | EdgeEventType edgeEventType = EdgeEventType.valueOf(edgeNotificationMsg.getEdgeEventType()); |
172 | EntityId entityId = EntityIdFactory.getByEdgeEventTypeAndUuid(edgeEventType, new UUID(edgeNotificationMsg.getEntityIdMSB(), edgeNotificationMsg.getEntityIdLSB())); | 172 | EntityId entityId = EntityIdFactory.getByEdgeEventTypeAndUuid(edgeEventType, new UUID(edgeNotificationMsg.getEntityIdMSB(), edgeNotificationMsg.getEntityIdLSB())); |