Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Beta blog post for mpConfig-1.3 #3993
Have you provided @lauracowen the necessary Blog text and "what's new"? If not, do so here.
If your feature was described in a previous blog post and nothing has changed, provide a link to the most recent blog post that contains the relevant text.
If no, answer the following questions with as much detail as you can:
a. Which Liberty feature does it relate to?
i. Human-readable name (eg WebSockets feature)
ii. Feature name (eg websockets-1.0)
iii. Is this a new Feature or is it an update to an existing feature?
iv. Provide the qualified name of all changed feature deliveries?
b. Who is the target audience? eg application developers, devops pipeline devs, appserver administrators, etc
c. Why should they get excited about it (2-3 sentences)?
You can find a full list of changes since version 1.2 here: https://github.com/eclipse/microprofile-config/milestone/3?closed=1
i. Explain how this new feature literally makes their life easier? Why should they care? What was the problem before and how does this solve it for them?
ii. Explain how to make it work. (If it’s brief, just give instructions, otherwise give a brief overview and then link to the externally available docs.) Include screenshots and/or code snippets to illustrate how to use it, if relevant.
iii. Provide links to any docs in the externally available Knowledge Center.
iv. If relevant, provide links to external websites about this technology.
No API/SPI changes.
The OpenLiberty implementation of MicroProfile Config 1.3 introduces the ability to define a MicroProfile application's configuration through the OpenLiberty server.xml file.
A variable element such as,
assigns a value to a configuration entity that may be accessed by any application running on the Server. An appProperties property element such as,
assigns a value to a configuration entity that may be accessed by a specific application.
The implicit (common sense) converters have been improved and some of the built-in converters are removed from the spec as they are covered by implicit converters. The method invocation sequence on implicit converters are further improved (#325 - eclipse/microprofile-config#325).
The API bundle can work with either CDI 1.2 or CDI 2.0 in an OSGi environment.
To enable the MicroProfile Config 1.3 feature just add the following feature definition to your server.xml:mpConfig-1.3
For more information about MicroProfile Config 1.3, see the MicroProfile.io website http://microprofile.io/project/eclipse/microprofile-config
MicroProfile Config guides:
MicroProfile Config v1.3 spec:
d. Is this feature part of Open Liberty or is it WebSphere Liberty-only?
e. Attach any images to this work item as .png files.
@lauracowen The sections on Implicit converter improvements and Mapping a config property to environment variable need a bit more text...
Implicit converter improvements (#325)
The implicit converters have been improved such that if no built-in nor custom Converter is available for a requested Type T, an implicit Converter is automatically provided if:
Mapping a config property to environment variable (#264).
Some operating systems allow only alphabetic characters or an underscore,