You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by pi...@apache.org on 2024/09/26 10:16:59 UTC
(atlas) branch branch-2.0 updated: ATLAS-4802: Atlas 'updateTime' parameter is not updated when business metadata, labels is edited. (2)
This is an automated email from the ASF dual-hosted git repository.
pinal pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new a43361629 ATLAS-4802: Atlas 'updateTime' parameter is not updated when business metadata, labels is edited. (2)
a43361629 is described below
commit a433616291e02140ebf3788f6dca3ef897f8daa8
Author: chaitali <ch...@freestoneinfotech.com>
AuthorDate: Sat Aug 24 14:43:10 2024 +0530
ATLAS-4802: Atlas 'updateTime' parameter is not updated when business metadata, labels is edited. (2)
Signed-off-by: Pinal Shah <pi...@freestoneinfotech.com>
---
.../org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java | 3 +++
1 file changed, 3 insertions(+)
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 7bdd03d75..6828d0c2f 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
@@ -500,6 +500,7 @@ public class EntityGraphMapper {
}
if (MapUtils.isNotEmpty(updatedBusinessAttributes)) {
+ updateModificationMetadata(entityVertex);
entityChangeNotifier.onBusinessAttributesUpdated(AtlasGraphUtilsV2.getIdFromVertex(entityVertex), updatedBusinessAttributes);
}
@@ -558,6 +559,7 @@ public class EntityGraphMapper {
}
if (MapUtils.isNotEmpty(updatedBusinessAttributes)) {
+ updateModificationMetadata(entityVertex);
entityChangeNotifier.onBusinessAttributesUpdated(AtlasGraphUtilsV2.getIdFromVertex(entityVertex), updatedBusinessAttributes);
}
@@ -601,6 +603,7 @@ public class EntityGraphMapper {
}
if (MapUtils.isNotEmpty(updatedBusinessAttributes)) {
+ updateModificationMetadata(entityVertex);
entityChangeNotifier.onBusinessAttributesUpdated(AtlasGraphUtilsV2.getIdFromVertex(entityVertex), updatedBusinessAttributes);
}