This is an automated email from the ASF dual-hosted git repository. pinal pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push: new 76f918cfe ATLAS-4802: Atlas 'updateTime' parameter is not updated when business metadata, labels is edited. (2) 76f918cfe is described below commit 76f918cfe45738b00240b8438d830c1217682499 Author: chaitali <chaitali.bor...@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 <pinal.s...@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); }