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

Supporting meta-data (schema) #55

Open
m0mus opened this issue Feb 3, 2022 · 2 comments
Open

Supporting meta-data (schema) #55

m0mus opened this issue Feb 3, 2022 · 2 comments
Labels
operation could be related to meta

Comments

@m0mus
Copy link
Contributor

m0mus commented Feb 3, 2022

As an app deployer and container administrator I want to be able to discover expected configuration options of a deployment (application). Such a discovery should allow me to read configuration keys, expected type (boolean, String), configured default value, and description.

@m0mus m0mus created this issue from a note in Jakarta Config Board (Use Cases) Feb 3, 2022
@Emily-Jiang Emily-Jiang added the operation could be related to meta label Feb 10, 2022
@tomas-langer
Copy link
Contributor

Configuration metadata consists of two parts:

  • a way to declare what properties/configurable objects are required by the application (such as a source annotation)
  • a way to transfer this information to runtime (such as a file META-INF/config/config-metadata.json in each jar file that uses configuratino)

The specification should define both of these, not necessarily the way we get from the first information to the second

@Emily-Jiang
Copy link
Contributor

Emily-Jiang commented Feb 24, 2022

(see here on how spring does)

This needs to be namespace aware: if the file is inside in the app jar, it is scoped to the enclosed app. If the file is under a server location, there should be a way to specify which application scope it means for.
Issue: how to bind to the particular app? app name?

We need to consider the tree structure, which might help. Need more thoughts on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operation could be related to meta
Projects
Development

No branches or pull requests

3 participants