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 2017/03/07 04:11:15 UTC

incubator-atlas git commit: ATLAS-1649: Config fix for delete handler

Repository: incubator-atlas
Updated Branches:
  refs/heads/master f673eba40 -> 232e59629


ATLAS-1649: Config fix for delete handler

Signed-off-by: Madhan Neethiraj <ma...@apache.org>


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

Branch: refs/heads/master
Commit: 232e59629b9bdeb27d384474dd33b0a59c5e2b90
Parents: f673eba
Author: apoorvnaik <an...@hortonworks.com>
Authored: Mon Mar 6 18:24:14 2017 -0800
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Mon Mar 6 19:31:06 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/atlas/util/AtlasRepositoryConfiguration.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/232e5962/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java
----------------------------------------------------------------------
diff --git a/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java b/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java
index ee37e57..a4a596a 100644
--- a/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java
+++ b/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java
@@ -94,6 +94,7 @@ public class AtlasRepositoryConfiguration {
     }
 
     private static final String DELETE_HANDLER_IMPLEMENTATION_PROPERTY = "atlas.DeleteHandler.impl";
+    private static final String DELETE_HANDLER_V1_IMPLEMENTATION_PROPERTY = "atlas.DeleteHandlerV1.impl";
 
     @SuppressWarnings("unchecked")
     public static Class<? extends DeleteHandler> getDeleteHandlerImpl() {
@@ -110,7 +111,7 @@ public class AtlasRepositoryConfiguration {
         try {
             Configuration config = ApplicationProperties.get();
             return ApplicationProperties.getClass(config,
-                DELETE_HANDLER_IMPLEMENTATION_PROPERTY, SoftDeleteHandlerV1.class.getName(), DeleteHandlerV1.class);
+                    DELETE_HANDLER_V1_IMPLEMENTATION_PROPERTY, SoftDeleteHandlerV1.class.getName(), DeleteHandlerV1.class);
         } catch (AtlasException e) {
             throw new RuntimeException(e);
         }