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

A way to locate configurations in known locations #42

Open
Emily-Jiang opened this issue Jan 27, 2022 · 3 comments
Open

A way to locate configurations in known locations #42

Emily-Jiang opened this issue Jan 27, 2022 · 3 comments
Labels
Milestone

Comments

@Emily-Jiang
Copy link
Contributor

As an application developer or deployer, I expect that the configuration file(s) can be found or deployed into predictable location(s), so that I can easily determine what the configuration is.

Source: #27 (comment)

@tomas-langer
Copy link
Contributor

This depends on what a "configuration source" will be and how we will treat default configuration.
This is probably about "convention over configuration". Yet with support for custom configuration sources, this is probably only partially implementable in the spec.

@Emily-Jiang
Copy link
Contributor Author

If config is in a jar, it must be under a known file location e.g. meta-inf/config/ with a file name and file extension
If config is in file system, it must be under a known path.

@Emily-Jiang Emily-Jiang added this to the 1.0 milestone Feb 24, 2022
@tomas-langer
Copy link
Contributor

Classpath: we need to use a known resource (such as a file name config with a supported suffix (properties, yaml)). We need to support runtimes that do not support runtime classpath scanning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants