[jboss-jira] [JBoss JIRA] (WFLY-11212) Do not register jdbc-driver's datasource-class-info as metric
Jeff Mesnil (Jira)
issues at jboss.org
Thu Oct 18 07:07:01 EDT 2018
Jeff Mesnil created WFLY-11212:
----------------------------------
Summary: Do not register jdbc-driver's datasource-class-info as metric
Key: WFLY-11212
URL: https://issues.jboss.org/browse/WFLY-11212
Project: WildFly
Issue Type: Bug
Affects Versions: 14.0.0.Final
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Fix For: 15.0.0.Alpha1
jdbc-driver resource registers 1 attribute as metric:
* datasource-class-info
{code}
/subsystem=datasources/jdbc-driver=h2:read-attribute(name=datasource-class-info)
{
"outcome" => "success",
"result" => [{"org.h2.jdbcx.JdbcDataSource" => {
"URL" => "java.lang.String",
"description" => "java.lang.String",
"loginTimeout" => "int",
"password" => "java.lang.String",
"url" => "java.lang.String",
"user" => "java.lang.String"
}}]
}
{code}
This attribute is not an actual metric (that may change due to server activity).
It should be registered as runtime read-only attributes instead.
This change only impacts metadata and does not require resource transformation.
Additionally, I've checked with HAL team that this change has no impact on HAL UI (that does not distinguish between read-only runtime attribute and metric).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list