Repository: cxf Updated Branches: refs/heads/3.1.x-fixes 5942fb3f7 -> ae6fbfb0e
Minor updates to the spring boot scan readme and MetricsFeature Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/975a7033 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/975a7033 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/975a7033 Branch: refs/heads/3.1.x-fixes Commit: 975a7033b80912649f0f56e74ae36169873f74d4 Parents: 5942fb3 Author: Sergey Beryozkin <[email protected]> Authored: Wed Oct 19 10:14:52 2016 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Wed Oct 19 10:31:40 2016 +0100 ---------------------------------------------------------------------- .../release/samples/jax_rs/spring_boot_scan/application/README | 5 ----- .../src/main/java/org/apache/cxf/metrics/MetricsFeature.java | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/975a7033/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README index 5b71425..f858f03 100644 --- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README +++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/README @@ -49,10 +49,5 @@ http://localhost:8080/system/metrics will expose all registered Spring Actuator metrics -http://localhost:8080/system/health - -will expose all registered Spring Actuator health checks - - Check client/README on how to run a command line client. http://git-wip-us.apache.org/repos/asf/cxf/blob/975a7033/rt/features/metrics/src/main/java/org/apache/cxf/metrics/MetricsFeature.java ---------------------------------------------------------------------- diff --git a/rt/features/metrics/src/main/java/org/apache/cxf/metrics/MetricsFeature.java b/rt/features/metrics/src/main/java/org/apache/cxf/metrics/MetricsFeature.java index e8800b2..1d0b57d 100644 --- a/rt/features/metrics/src/main/java/org/apache/cxf/metrics/MetricsFeature.java +++ b/rt/features/metrics/src/main/java/org/apache/cxf/metrics/MetricsFeature.java @@ -21,7 +21,6 @@ package org.apache.cxf.metrics; import org.apache.cxf.Bus; import org.apache.cxf.annotations.Provider; -import org.apache.cxf.annotations.Provider.Scope; import org.apache.cxf.annotations.Provider.Type; import org.apache.cxf.common.injection.NoJSR250Annotations; import org.apache.cxf.endpoint.Client; @@ -41,7 +40,7 @@ import org.apache.cxf.metrics.interceptors.MetricsMessageOutInterceptor; * */ @NoJSR250Annotations -@Provider(value = Type.Feature, scope = Scope.Server) +@Provider(value = Type.Feature) public class MetricsFeature extends AbstractFeature { final MetricsProvider[] providers;
