Remove actuate from restructured metrics package names
This commit is contained in:
committed by
Phillip Webb
parent
8938c809a5
commit
0464bf753f
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.UUID;
|
||||
import java.util.function.BiConsumer;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import io.micrometer.core.instrument.Tag;
|
||||
import io.micrometer.core.instrument.binder.MeterBinder;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import io.micrometer.core.instrument.Tag;
|
||||
import io.micrometer.core.instrument.binder.MeterBinder;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Objects;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import io.micrometer.core.instrument.Tag;
|
||||
import io.micrometer.core.instrument.binder.MeterBinder;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Method;
|
||||
@@ -27,7 +27,7 @@ import io.micrometer.core.instrument.binder.cache.HazelcastCacheMetrics;
|
||||
import org.springframework.aot.hint.ExecutableMode;
|
||||
import org.springframework.aot.hint.RuntimeHints;
|
||||
import org.springframework.aot.hint.RuntimeHintsRegistrar;
|
||||
import org.springframework.boot.cache.actuate.metrics.HazelcastCacheMeterBinderProvider.HazelcastCacheMeterBinderProviderRuntimeHints;
|
||||
import org.springframework.boot.cache.metrics.HazelcastCacheMeterBinderProvider.HazelcastCacheMeterBinderProviderRuntimeHints;
|
||||
import org.springframework.context.annotation.ImportRuntimeHints;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import io.micrometer.core.instrument.Tag;
|
||||
import io.micrometer.core.instrument.binder.MeterBinder;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import io.micrometer.core.instrument.Tag;
|
||||
import io.micrometer.core.instrument.binder.MeterBinder;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
|
||||
import com.hazelcast.core.Hazelcast;
|
||||
import com.hazelcast.spring.cache.HazelcastCache;
|
||||
@@ -24,12 +24,12 @@ import org.cache2k.extra.micrometer.Cache2kCacheMetrics;
|
||||
import org.cache2k.extra.spring.SpringCache2kCache;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.cache.actuate.metrics.Cache2kCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.actuate.metrics.CacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.actuate.metrics.CaffeineCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.actuate.metrics.HazelcastCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.actuate.metrics.JCacheCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.actuate.metrics.RedisCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.Cache2kCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.CacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.CaffeineCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.HazelcastCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.JCacheCacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.RedisCacheMeterBinderProvider;
|
||||
import org.springframework.cache.caffeine.CaffeineCache;
|
||||
import org.springframework.cache.jcache.JCacheCache;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
|
||||
import io.micrometer.core.instrument.MeterRegistry;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
@@ -25,8 +25,8 @@ import io.micrometer.core.instrument.Tag;
|
||||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
||||
import org.springframework.beans.factory.support.SimpleAutowireCandidateResolver;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.cache.actuate.metrics.CacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.actuate.metrics.CacheMetricsRegistrar;
|
||||
import org.springframework.boot.cache.metrics.CacheMeterBinderProvider;
|
||||
import org.springframework.boot.cache.metrics.CacheMetricsRegistrar;
|
||||
import org.springframework.cache.Cache;
|
||||
import org.springframework.cache.CacheManager;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -17,4 +17,4 @@
|
||||
/**
|
||||
* Auto-configuration for cache metrics.
|
||||
*/
|
||||
package org.springframework.boot.cache.actuate.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
@@ -17,4 +17,4 @@
|
||||
/**
|
||||
* Metrics for caches.
|
||||
*/
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
@@ -1,3 +1,3 @@
|
||||
org.springframework.boot.cache.actuate.endpoint.autoconfigure.CachesEndpointAutoConfiguration
|
||||
org.springframework.boot.cache.actuate.metrics.autoconfigure.CacheMetricsAutoConfiguration
|
||||
org.springframework.boot.cache.autoconfigure.CacheAutoConfiguration
|
||||
org.springframework.boot.cache.metrics.autoconfigure.CacheMetricsAutoConfiguration
|
||||
|
||||
@@ -25,8 +25,8 @@ import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.autoconfigure.AutoConfigurations;
|
||||
import org.springframework.boot.cache.actuate.metrics.autoconfigure.CacheMetricsAutoConfiguration;
|
||||
import org.springframework.boot.cache.autoconfigure.CacheAutoConfiguration;
|
||||
import org.springframework.boot.cache.metrics.autoconfigure.CacheMetricsAutoConfiguration;
|
||||
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
|
||||
import org.springframework.cache.CacheManager;
|
||||
import org.springframework.cache.annotation.CachingConfigurer;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.aot.hint.RuntimeHints;
|
||||
import org.springframework.aot.hint.predicate.RuntimeHintsPredicates;
|
||||
import org.springframework.boot.cache.actuate.metrics.HazelcastCacheMeterBinderProvider.HazelcastCacheMeterBinderProviderRuntimeHints;
|
||||
import org.springframework.boot.cache.metrics.HazelcastCacheMeterBinderProvider.HazelcastCacheMeterBinderProviderRuntimeHints;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.BDDMockito.given;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.metrics;
|
||||
package org.springframework.boot.cache.metrics;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
Reference in New Issue
Block a user