[ https://issues.apache.org/jira/browse/TOMEE-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roberto Cortez updated TOMEE-2445: ---------------------------------- Fix Version/s: (was: 8.0.0-M2) 8.0.0-M3 > Metrics 1.0.1 Implementation is duplicating the metrics endpoints > ----------------------------------------------------------------- > > Key: TOMEE-2445 > URL: https://issues.apache.org/jira/browse/TOMEE-2445 > Project: TomEE > Issue Type: Sub-task > Components: TomEE Core Server > Affects Versions: 8.0.0-M2 > Reporter: Roberto Cortez > Priority: Major > Fix For: 8.0.0-M3 > > > The Geronimo Metrics implementation is shipping with > org.apache.geronimo.microprofile.metrics.common.jaxrs.MetricsEndpoints and > org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints > > CDIMetricsEndpoints extends MetricsEndpoints and both have a @Path > annotation. TomEE is deploying both: > > {code:java} > 04-Jan-2019 11:07:12.266 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints Service URI: > http://localhost:49695/test/metrics -> Pojo > org.apache.geronimo.microprofile.metrics.common.jaxrs.MetricsEndpoints > 04-Jan-2019 11:07:12.267 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics -> Object getJson(SecurityContext, > UriInfo) > 04-Jan-2019 11:07:12.267 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics -> String getText(SecurityContext, > UriInfo) > 04-Jan-2019 11:07:12.267 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry} -> Object getJson(String, > SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.267 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry} -> String getText(String, > SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.267 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry}/{metric} -> Object > getJson(String, String, SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.268 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry}/{metric} -> String > getText(String, String, SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.268 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints OPTIONS > http://localhost:49695/test/metrics/{registry} -> Object getMetadata(String, > SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.268 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints OPTIONS > http://localhost:49695/test/metrics/{registry}/{metric} -> Object > getMetadata(String, String, SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.268 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints Service URI: > http://localhost:49695/test/metrics -> Pojo > org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints > 04-Jan-2019 11:07:12.269 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics -> Object getJson(SecurityContext, > UriInfo) > 04-Jan-2019 11:07:12.269 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics -> String getText(SecurityContext, > UriInfo) > 04-Jan-2019 11:07:12.269 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry} -> Object getJson(String, > SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.269 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry} -> String getText(String, > SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.269 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry}/{metric} -> Object > getJson(String, String, SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.270 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints GET > http://localhost:49695/test/metrics/{registry}/{metric} -> String > getText(String, String, SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.270 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints OPTIONS > http://localhost:49695/test/metrics/{registry} -> Object getMetadata(String, > SecurityContext, UriInfo) > 04-Jan-2019 11:07:12.270 INFO [http-nio-49695-exec-3] > org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints OPTIONS > http://localhost:49695/test/metrics/{registry}/{metric} -> Object > getMetadata(String, String, SecurityContext, UriInfo){code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)