This is an automated email from the ASF dual-hosted git repository. pinal pushed a commit to branch ATLAS-5098 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit d5f09341902f2b46452a7dfd096440f8736b0d35 Author: Pinal Shah <[email protected]> AuthorDate: Thu Sep 4 16:30:04 2025 +0530 ATLAS-5098: Support dynamic property file to be loaded under Atlas --- 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; }
