This is an automated email from the ASF dual-hosted git repository.
pinal pushed a commit to branch atlas-2.5
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/atlas-2.5 by this push:
new 87be90275 ATLAS-5098: option to customize name of the configuration
filename (#432)
87be90275 is described below
commit 87be902755ea636683daad3ea345cc1b18599cf9
Author: Pinal Shah <[email protected]>
AuthorDate: Fri Sep 5 09:22:26 2025 +0530
ATLAS-5098: option to customize name of the configuration filename (#432)
(cherry picked from commit d11f41541ae2a05bb2e0b4932bf0960dd9a806ef)
---
intg/src/main/java/org/apache/atlas/ApplicationProperties.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/intg/src/main/java/org/apache/atlas/ApplicationProperties.java
b/intg/src/main/java/org/apache/atlas/ApplicationProperties.java
index 7551cc950..e54847c6e 100644
--- a/intg/src/main/java/org/apache/atlas/ApplicationProperties.java
+++ b/intg/src/main/java/org/apache/atlas/ApplicationProperties.java
@@ -44,6 +44,7 @@ public final class ApplicationProperties extends
PropertiesConfiguration {
private static final Logger LOG =
LoggerFactory.getLogger(ApplicationProperties.class);
public static final String ATLAS_CONFIGURATION_DIRECTORY_PROPERTY =
"atlas.conf";
+ public static final String ATLAS_PROPERTIES_FILENAME_SYSTEM_CONF =
"atlas.properties";
public static final String APPLICATION_PROPERTIES =
"atlas-application.properties";
public static final String GRAPHDB_BACKEND_CONF =
"atlas.graphdb.backend";
public static final String STORAGE_BACKEND_CONF =
"atlas.graph.storage.backend";
@@ -104,7 +105,8 @@ public final class ApplicationProperties extends
PropertiesConfiguration {
me = instance;
if (me == null) {
- set(get(APPLICATION_PROPERTIES));
+ String propertyFilename =
System.getProperty(ATLAS_PROPERTIES_FILENAME_SYSTEM_CONF,
APPLICATION_PROPERTIES);
+ set(get(propertyFilename));
me = instance;
}