helidon icon indicating copy to clipboard operation
helidon copied to clipboard

4.x: fix `getOrdinal` for system property and environment variable config sources

Open barchetta opened this issue 9 months ago • 0 comments

Description

ConfigSource.getOrdinal() was returning 100 for the system property and environment variable config sources when the special property config_ordinal was not set in the config source (instead of the correct value of 400 and 300).

This PR corrects that and adds tests.

See MP Config Spec: https://download.eclipse.org/microprofile/microprofile-config-3.0/microprofile-config-spec-3.0.html#default_configsources

Fixes #8737

Documentation

No impact

barchetta avatar May 10 '24 22:05 barchetta