Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11752

Refactor usages of "System.getenv(key)" to IgniteSystemProperties.getString(key)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • general
    • None
    • Docs Required

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kuaw26 Alexey Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: