Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-638

Finish implementation of "System Properties" for .NET

    XMLWordPrintableJSON

Details

    Description

      In Java, System Properties are file based properties that can be overridden by for the specific environment (environment variables).

      To implement similar functionality in .NET, we have added the Lucene.Net.Support.SystemProperties class, which currently just reads/writes environment variables.

      With the release of the TestFramework, it is now more important to have Hierarchical file configuration based properties that can be utilized in test projects in order to control the features of the TestFramework. They should also still be able to be specified as environment variables that override the file-based settings.

      We should use a JSON-based file format, ideally following an existing convention in .NET.

      The closest match in .NET Core appears to be the Microsoft.Extensions.Configuration API. We need to investigate using this API as a replacement for Lucene.Net.Support.SystemProperties, and come up with a read-write hierarchical file-based configuration solution that can be overridden by environment variables on any platform.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nightowl888 Shad Storhaug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 20h
                20h
                Remaining:
                Remaining Estimate - 20h
                20h
                Logged:
                Time Spent - Not Specified
                Not Specified