Commit 97b410c4ac921b4abd2d06367810c546ee45573d

Authored by Volodymyr Babak
1 parent 0e7af5a6

Fixed assign edge to customer test

@@ -198,7 +198,7 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService { @@ -198,7 +198,7 @@ public class DefaultEdgeNotificationService implements EdgeNotificationService {
198 private void processEdge(TenantId tenantId, TransportProtos.EdgeNotificationMsgProto edgeNotificationMsg) { 198 private void processEdge(TenantId tenantId, TransportProtos.EdgeNotificationMsgProto edgeNotificationMsg) {
199 try { 199 try {
200 EdgeEventActionType actionType = EdgeEventActionType.valueOf(edgeNotificationMsg.getAction()); 200 EdgeEventActionType actionType = EdgeEventActionType.valueOf(edgeNotificationMsg.getAction());
201 - EdgeId edgeId = new EdgeId(new UUID(edgeNotificationMsg.getEdgeIdMSB(), edgeNotificationMsg.getEdgeIdLSB())); 201 + EdgeId edgeId = new EdgeId(new UUID(edgeNotificationMsg.getEntityIdMSB(), edgeNotificationMsg.getEntityIdLSB()));
202 ListenableFuture<Edge> edgeFuture; 202 ListenableFuture<Edge> edgeFuture;
203 switch (actionType) { 203 switch (actionType) {
204 case ASSIGNED_TO_CUSTOMER: 204 case ASSIGNED_TO_CUSTOMER: