IQSS / IQSS/dataverse

As a sysadmin I want to use MicroProfile Config API to configure my installation

Open
#7,000 2 comments 1 reaction 1 assignee View on GitHub

@poikilotherm is already working on this.

Since Jun 24, 2021.

Component: Code Infrastructure Feature: Admin Guide Type: Feature User Role: Sysadmin
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.