As a sysadmin I want to use MicroProfile Config API to configure my installation
@poikilotherm is already working on this.
Since Jun 24, 2021.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
Now that Payara 5 is actually happening with the release of Dataverse 5 (thank you so much folks!!!), we should re-raise the topic (formerly #5187) of starting to use some of the goodies coming along with this.
As a system admin pushing to cloud, I would greatly benefit from having the possibility to get configuration inside my instance not via mangling with JVM options and database settings. Instead, I would like to see this being more flexible and combined with a hierarchy.
This will also benefit greatly any classic installation, as configuration will be easier than dealing with domain.xml and friends.
Introduce MicroProfile Config API and its support in Payara 5 for code variables and configuration variables, combining 1 & 2.
This will open up the following work items:
- Replace all the
System.getProperty(). - Look for the database settings and how to replace them
- Make all of this backward compatible
- Do solid configuration validation
- Look into replacing installers/container scripts configuration of JDBC, JMS, etc with annotations, which are then configured via Config API
Things going on:
- #7700 updating to Payara 5.2021.4 to enable MPCONFIG 2.0 support
- #7639
- #7457
- #7424
- #7418
- #6953 / #7695
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.