Restructure autoconfigure packages
Restructure modules packages so that all auto-configuration is organized under single top-level autoconfigure package.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.endpoint.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.endpoint;
|
||||
|
||||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
||||
import org.springframework.beans.factory.support.SimpleAutowireCandidateResolver;
|
||||
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Auto-configuration for actuator cache concerns.
|
||||
* Auto-configuration for the cache abstraction endpoints.
|
||||
*/
|
||||
package org.springframework.boot.cache.actuate.endpoint.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.endpoint;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.metrics;
|
||||
|
||||
import com.hazelcast.core.Hazelcast;
|
||||
import com.hazelcast.spring.cache.HazelcastCache;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.metrics;
|
||||
|
||||
import io.micrometer.core.instrument.MeterRegistry;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.metrics;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Auto-configuration for cache metrics.
|
||||
* Auto-configuration for the cache abstraction metrics.
|
||||
*/
|
||||
package org.springframework.boot.cache.metrics.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.metrics;
|
||||
@@ -1,3 +1,3 @@
|
||||
org.springframework.boot.cache.actuate.endpoint.autoconfigure.CachesEndpointAutoConfiguration
|
||||
org.springframework.boot.cache.autoconfigure.CacheAutoConfiguration
|
||||
org.springframework.boot.cache.metrics.autoconfigure.CacheMetricsAutoConfiguration
|
||||
org.springframework.boot.cache.autoconfigure.endpoint.CachesEndpointAutoConfiguration
|
||||
org.springframework.boot.cache.autoconfigure.metrics.CacheMetricsAutoConfiguration
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.cache.actuate.endpoint.autoconfigure;
|
||||
package org.springframework.boot.cache.autoconfigure.endpoint;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.actuate.autoconfigure.metrics.cache;
|
||||
package org.springframework.boot.cache.autoconfigure.metrics;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
@@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.autoconfigure.AutoConfigurations;
|
||||
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;
|
||||
Reference in New Issue
Block a user