You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by pi...@apache.org on 2025/09/04 15:10:09 UTC

(atlas) branch ATLAS-5098 updated (d5f093419 -> 2559d19b0)

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

pinal pushed a change to branch ATLAS-5098
in repository https://gitbox.apache.org/repos/asf/atlas.git


 discard d5f093419 ATLAS-5098: Support dynamic property file to be loaded under Atlas
     new 2559d19b0 ATLAS-5098: option to customize name of the configuration filename

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d5f093419)
            \
             N -- N -- N   refs/heads/ATLAS-5098 (2559d19b0)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


(atlas) 01/01: ATLAS-5098: option to customize name of the configuration filename

Posted by pi...@apache.org.
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 2559d19b0fabe300779b45d7209c8203659abf1e
Author: Pinal Shah <pi...@freestoneinfotech.com>
AuthorDate: Thu Sep 4 16:30:04 2025 +0530

    ATLAS-5098: option to customize name of the configuration filename
---
 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;
                 }