[jboss-jira] [JBoss JIRA] (WFLY-10852) smallrye-config: Consider logging a message when properties with same key and ordinal are present
Michal Jurc (Jira)
issues at jboss.org
Thu Jan 16 09:55:33 EST 2020
[ https://issues.redhat.com/browse/WFLY-10852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Jurc updated WFLY-10852:
-------------------------------
Tester: Jan Stourac
> smallrye-config: Consider logging a message when properties with same key and ordinal are present
> -------------------------------------------------------------------------------------------------
>
> Key: WFLY-10852
> URL: https://issues.redhat.com/browse/WFLY-10852
> Project: WildFly
> Issue Type: Enhancement
> Components: MP Config
> Reporter: Michal Jurc
> Assignee: Jeff Mesnil
> Priority: Major
>
> Consider a deployment with default {{microprofile-config.properties}}:
> {code}managementDefault=Default value from default microprofile-config.properties{code}
> Deployment is deployed on server with the following {{ConfigSource}} defined:
> {code}[standalone at localhost:9990 /] /subsystem=microprofile-config-smallrye/config-source=testdefault:read-resource
> {
> "outcome" => "success",
> "result" => {
> "class" => undefined,
> "dir" => undefined,
> "ordinal" => 100,
> "properties" => {"managementDefault" => "Value from WildFly microprofile-config-smallrye config-source"}
> }
> }
> {code}
> Property {{"managementDefault"}} is always resolved to {{"Value from WildFly microprofile-config-smallrye config-source"}} in deployment.
> It would be useful to log a {{WARN}} level message when there is conflict like this with a notification of {{ConfigSources}} to save detective work in real world scenarios.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list