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