You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2019/07/15 05:42:54 UTC

[atlas] branch master updated: ATLAS-3321: Introduce atlas metadata namespace #2 Add 'DEFAULT_CLUSTER_NAME' in AtlasConstants

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

sarath 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 2c612bb  ATLAS-3321: Introduce atlas metadata namespace #2 Add 'DEFAULT_CLUSTER_NAME' in AtlasConstants
2c612bb is described below

commit 2c612bb8bebf5fd5f5e574385336d45acb17a154
Author: Sarath Subramanian <sa...@apache.org>
AuthorDate: Sun Jul 14 22:42:34 2019 -0700

    ATLAS-3321: Introduce atlas metadata namespace #2 Add 'DEFAULT_CLUSTER_NAME' in AtlasConstants
---
 common/src/main/java/org/apache/atlas/AtlasConstants.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/src/main/java/org/apache/atlas/AtlasConstants.java b/common/src/main/java/org/apache/atlas/AtlasConstants.java
index 2b7b4b3..319eb57 100644
--- a/common/src/main/java/org/apache/atlas/AtlasConstants.java
+++ b/common/src/main/java/org/apache/atlas/AtlasConstants.java
@@ -26,6 +26,7 @@ public final class AtlasConstants {
     }
 
     public static final String CLUSTER_NAME_KEY              = "atlas.cluster.name";
+    public static final String DEFAULT_CLUSTER_NAME          = "primary";
     public static final String SYSTEM_PROPERTY_APP_PORT      = "atlas.app.port";
     public static final String ATLAS_REST_ADDRESS_KEY        = "atlas.rest.address";
     public static final String ATLAS_MIGRATION_MODE_FILENAME = "atlas.migration.data.filename";
@@ -36,5 +37,4 @@ public final class AtlasConstants {
     public static final String DEFAULT_ATLAS_REST_ADDRESS    = "http://localhost:21000";
     public static final String DEFAULT_TYPE_VERSION          = "1.0";
     public static final int    ATLAS_SHUTDOWN_HOOK_PRIORITY  = 30;
-
-}
+}
\ No newline at end of file