Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish implementation of "System Properties" for .NET #254

Closed
clambertus opened this issue Dec 27, 2019 · 0 comments
Closed

Finish implementation of "System Properties" for .NET #254

clambertus opened this issue Dec 27, 2019 · 0 comments
Assignees

Comments

@clambertus
Copy link

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.

JIRA link - [LUCENENET-638] created by nightowl888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants