Skip to content

Commit

Permalink
removed unused operation DELETE
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitpatnaik-atlan committed Feb 24, 2025
1 parent d1632e7 commit e821419
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ public void processAttributes(AtlasStruct entityStruct, EntityMutationContext co
case UPDATE:
processUpdateAsset(entity, vertex, operation);
break;
case DELETE:
processDelete(vertex);
break;
}
}

Expand Down Expand Up @@ -119,14 +116,6 @@ private void validateDomainAssetLinks(AtlasEntity entity) throws AtlasBaseExcept
}
}

@Override
public void processDelete(AtlasVertex vertex) throws AtlasBaseException {
//remove the domain link
if (vertex != null) {
vertex.removeProperty(DOMAIN_GUIDS);
}
}

private void isAuthorized(AtlasVertex vertex, EntityMutations.EntityOperation operation, AtlasEntity entity) throws AtlasBaseException {
AtlasEntityHeader sourceEntity;

Expand Down

0 comments on commit e821419

Please sign in to comment.