You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2020/06/02 20:36:30 UTC

[atlas] 19/20: ATLAS-3722: ZipFileMigrationImporter: Allow AtlasPatchService to Run Before Migration Starts

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

madhan pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit bd9e0c91ca3d16afdc092d835c8567553d90c8bc
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
    
    (cherry picked from commit 00bef883c5561596ccc2b7b1075e8379bf8ac6bb)
---
 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) {