Repository: atlas
Updated Branches:
  refs/heads/master 90958e83d -> 1d8b81d88


ATLAS-2805: Applying classification updates modificationTimestamp


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

Branch: refs/heads/master
Commit: 1d8b81d88f48d1ddc3362784353a885c95c89b76
Parents: 90958e8
Author: Ashutosh Mestry <ames...@hortonworks.com>
Authored: Mon Aug 6 10:25:33 2018 -0700
Committer: Ashutosh Mestry <ames...@hortonworks.com>
Committed: Mon Oct 8 22:03:56 2018 -0700

----------------------------------------------------------------------
 .../apache/atlas/repository/store/graph/v2/EntityGraphMapper.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/1d8b81d8/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
----------------------------------------------------------------------
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 fa69fdc..e9db754 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
@@ -1372,6 +1372,7 @@ public class EntityGraphMapper {
 
                 // add the attributes for the trait instance
                 mapClassification(EntityOperation.CREATE, context, 
classification, entityType, entityVertex, classificationVertex);
+                updateModificationMetadata(entityVertex);
 
                 if (propagateTags) {
                     // compute propagatedEntityVertices only once
@@ -1624,6 +1625,7 @@ public class EntityGraphMapper {
             }
 
             mapClassification(EntityOperation.UPDATE, context, classification, 
entityType, entityVertex, classificationVertex);
+            updateModificationMetadata(entityVertex);
 
             // handle update of 'propagate' flag
             Boolean currentTagPropagation = 
currentClassification.isPropagate();

Reply via email to