You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by am...@apache.org on 2020/05/28 19:28:19 UTC

[atlas] branch master updated: ATLAS-3722: ZipFileMigrationImporter: Allow AtlasPatchService to Run Before Migration Starts

This is an automated email from the ASF dual-hosted git repository.

amestry 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 00bef88  ATLAS-3722: ZipFileMigrationImporter: Allow AtlasPatchService to Run Before Migration Starts
00bef88 is described below

commit 00bef883c5561596ccc2b7b1075e8379bf8ac6bb
Author: Ashutosh Mestry <am...@cloudera.com>
AuthorDate: Thu May 28 09:40:43 2020 -0700

    ATLAS-3722: ZipFileMigrationImporter: Allow AtlasPatchService to Run Before Migration Starts
---
 common/src/main/java/org/apache/atlas/service/Services.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/src/main/java/org/apache/atlas/service/Services.java b/common/src/main/java/org/apache/atlas/service/Services.java
index 75eba03..2d54846 100644
--- a/common/src/main/java/org/apache/atlas/service/Services.java
+++ b/common/src/main/java/org/apache/atlas/service/Services.java
@@ -108,7 +108,8 @@ public class Services {
 
     private boolean isNeededForZipFileMigration(Service svc) {
         return svc.getClass().getSuperclass().getSimpleName().equals("AbstractStorageBasedAuditRepository") ||
-                svc.getClass().getSuperclass().getSimpleName().equals("AbstractNotification");
+                svc.getClass().getSuperclass().getSimpleName().equals("AbstractNotification") ||
+                svc.getClass().getSimpleName().equals("AtlasPatchService");
     }
 
     private boolean isDataMigrationService(Service svc) {