Restructure autoconfigure packages

Restructure modules packages so that all auto-configuration is
organized under single top-level autoconfigure package.
This commit is contained in:
Phillip Webb
2025-06-11 16:29:17 -07:00
parent e60af6a8c7
commit 3de1e27b64
499 changed files with 1133 additions and 1464 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -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;

View File

@@ -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;