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

Introduction draft #147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Introduction draft #147

wants to merge 1 commit into from

Conversation

m0mus
Copy link
Contributor

@m0mus m0mus commented Dec 8, 2022

No description provided.

Signed-off-by: Dmitry Kornilov <[email protected]>

=== Resources

- GitHub repository: https://github.com/eclipse-ee4j/config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure we want to include this. I have not seen other spec mention this. Besides the location might change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to put this info in the readme instead of the spec itself.


Jakarta Config ("Specification") is a Java API for working with configurations. It supports externalized configuration allowing applications to use different configurations for different environments (dev, test, prod), and allows reading data from different layered configuration sources such as property files, environment variables, etc.

=== Goals
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to put these in the readme instead of the spec doc as it is more suitable there.

- Specification must provide integration with CDI and optionally with dependency injection frameworks.
- Specification must distinguish empty strings and null values.
- Specification must support profiles such as dev, test and prod.
- Specification must support both mutable and immutable configuration sources.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would seem we have agreed otherwise: #109


=== Scope

Jakarta Config ("Specification") is a Java API for working with configurations. It supports externalized configuration allowing applications to use different configurations for different environments (dev, test, prod), and allows reading data from different layered configuration sources such as property files, environment variables, etc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand this is just a sketch. As it exists, it needs a lot of work. I will try to draft an introduction befitting a Jakarta EE specification. I will look at our discussion in #142 to proceed.

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

Successfully merging this pull request may close these issues.

3 participants