Repository: cxf Updated Branches: refs/heads/master 80ca23706 -> 213a0be05
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/213a0be0 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/213a0be0 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/213a0be0 Branch: refs/heads/master Commit: 213a0be05c8e86d75a3208b4abc14fa7b77a3f66 Parents: 80ca237 Author: Sergey Beryozkin <[email protected]> Authored: Wed Oct 19 10:14:52 2016 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Wed Oct 19 10:14:52 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/213a0be0/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/213a0be0/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;
