You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2019/04/16 08:09:00 UTC

[jira] [Created] (IGNITE-11752) Refactor usages of "System.getenv(key)" to IgniteSystemProperties.getString(key)

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)