Skip to content

Commit

Permalink
mesh-363: uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
PRATHAM2002-DS committed Jan 16, 2025
1 parent ddb4fc3 commit 45f7270
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2331,7 +2331,7 @@ private void addInternalProductAttr(AttributeMutationContext ctx, List<Object> c
private void addOrRemoveDaapInternalAttr(AtlasVertex toVertex, String internalAttr, List<Object> createdElements, List<AtlasEdge> deletedElements) {
if (CollectionUtils.isNotEmpty(createdElements)) {
List<String> 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);
Expand All @@ -2340,7 +2340,7 @@ private void addOrRemoveDaapInternalAttr(AtlasVertex toVertex, String internalAt

if (CollectionUtils.isNotEmpty(deletedElements)) {
List<String> 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);
Expand Down

0 comments on commit 45f7270

Please sign in to comment.