File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
intg/src/main/java/org/apache/atlas Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ public final class ApplicationProperties extends PropertiesConfiguration {
4444 private static final Logger LOG = LoggerFactory .getLogger (ApplicationProperties .class );
4545
4646 public static final String ATLAS_CONFIGURATION_DIRECTORY_PROPERTY = "atlas.conf" ;
47+ public static final String ATLAS_PROPERTIES_FILENAME_SYSTEM_CONF = "atlas.properties" ;
4748 public static final String APPLICATION_PROPERTIES = "atlas-application.properties" ;
4849 public static final String GRAPHDB_BACKEND_CONF = "atlas.graphdb.backend" ;
4950 public static final String STORAGE_BACKEND_CONF = "atlas.graph.storage.backend" ;
@@ -104,7 +105,8 @@ public static Configuration get() throws AtlasException {
104105 me = instance ;
105106
106107 if (me == null ) {
107- set (get (APPLICATION_PROPERTIES ));
108+ String propertyFilename = System .getProperty (ATLAS_PROPERTIES_FILENAME_SYSTEM_CONF , APPLICATION_PROPERTIES );
109+ set (get (propertyFilename ));
108110
109111 me = instance ;
110112 }
You can’t perform that action at this time.
0 commit comments