From 45f7270672b8b0b442d1bdb4c6f21a8cb27630a9 Mon Sep 17 00:00:00 2001 From: PRATHAM2002-DS Date: Fri, 17 Jan 2025 00:10:57 +0530 Subject: [PATCH] mesh-363: uncomment code --- .../atlas/repository/store/graph/v2/EntityGraphMapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java index 498521891c..8e96b0dcf8 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java @@ -2331,7 +2331,7 @@ private void addInternalProductAttr(AttributeMutationContext ctx, List c private void addOrRemoveDaapInternalAttr(AtlasVertex toVertex, String internalAttr, List createdElements, List deletedElements) { if (CollectionUtils.isNotEmpty(createdElements)) { List addedGuids = createdElements.stream().map(x -> ((AtlasEdge) x).getOutVertex().getProperty("__guid", String.class)).collect(Collectors.toList()); - //addedGuids.forEach(guid -> AtlasGraphUtilsV2.addEncodedProperty(toVertex, internalAttr, guid)); + addedGuids.forEach(guid -> AtlasGraphUtilsV2.addEncodedProperty(toVertex, internalAttr, guid)); if (internalAttr.equals(OUTPUT_PORT_GUIDS_ATTR)) { RequestContext.get().setAddedOutputPorts(addedGuids); @@ -2340,7 +2340,7 @@ private void addOrRemoveDaapInternalAttr(AtlasVertex toVertex, String internalAt if (CollectionUtils.isNotEmpty(deletedElements)) { List removedGuids = deletedElements.stream().map(x -> x.getOutVertex().getProperty("__guid", String.class)).collect(Collectors.toList()); - //removedGuids.forEach(guid -> AtlasGraphUtilsV2.removeItemFromListPropertyValue(toVertex, internalAttr, guid)); + removedGuids.forEach(guid -> AtlasGraphUtilsV2.removeItemFromListPropertyValue(toVertex, internalAttr, guid)); if (internalAttr.equals(OUTPUT_PORT_GUIDS_ATTR)) { RequestContext.get().setRemovedOutputPorts(removedGuids);