ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11752) Refactor usages of "System.getenv(key)" to IgniteSystemProperties.getString(key)
Date Tue, 16 Apr 2019 08:09:00 GMT
Alexey Kuznetsov created IGNITE-11752:
-----------------------------------------

             Summary: Refactor usages of "System.getenv(key)" to IgniteSystemProperties.getString(key)
                 Key: IGNITE-11752
                 URL: https://issues.apache.org/jira/browse/IGNITE-11752
             Project: Ignite
          Issue Type: Improvement
          Components: general
            Reporter: Alexey Kuznetsov
            Assignee: Alexey Kuznetsov


IgniteSystemProperties.getString(key) implemented as:
 1. Try to get property from System.properties.
 2. If not found - try to get from System.getenv

In Java you could easily override System.properties from code, for testing purposes, for example,
but it is almost impossible to do the same for environment variables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message