Repository: atlas
Updated Branches:
  refs/heads/master a6f9b9bed -> 0eaefe38f


ATLAS-2638: Disabling tag propagation at an edge : Switching propagate flag 
after adding tag to blockedPropagatedClassifications


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/0eaefe38
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/0eaefe38
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/0eaefe38

Branch: refs/heads/master
Commit: 0eaefe38f2c650d098e943dd1614c633f16e7481
Parents: a6f9b9b
Author: Sarath Subramanian <ssubraman...@hortonworks.com>
Authored: Tue May 15 14:16:18 2018 -0700
Committer: Sarath Subramanian <ssubraman...@hortonworks.com>
Committed: Tue May 15 14:16:18 2018 -0700

----------------------------------------------------------------------
 .../apache/atlas/repository/store/graph/v1/EntityGraphMapper.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/0eaefe38/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
----------------------------------------------------------------------
diff --git 
a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
 
b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
index 287dacc..8344b70 100644
--- 
a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
+++ 
b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
@@ -1534,7 +1534,7 @@ public class EntityGraphMapper {
             }
 
             if (isClassificationUpdated && 
CollectionUtils.isEmpty(entitiesToPropagateTo)) {
-                entitiesToPropagateTo = graphHelper.getImpactedVertices(guid);
+                entitiesToPropagateTo = 
graphHelper.getImpactedVerticesWithRestrictions(guid, 
classificationVertex.getIdForDisplay());
             }
 
             if (LOG.isDebugEnabled()) {

Reply via email to