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

@@ -1,20 +0,0 @@
/*
* Copyright 2012-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Auto-configuration for Spring MVC-based integration with Actuator's mappings support.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.mappings;

View File

@@ -1,20 +0,0 @@
/*
* Copyright 2012-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Actuator Spring MVC support.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.web;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.observation.autoconfigure;
package org.springframework.boot.webmvc.autoconfigure;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.config.MeterFilter;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.health;
package org.springframework.boot.webmvc.autoconfigure.actuate.endpoint.web;
import java.util.Collection;

View File

@@ -15,6 +15,6 @@
*/
/**
* Auto-configuration for actuator health concerns.
* Auto-configuration for Spring MVC actuator web endpoint support.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.health;
package org.springframework.boot.webmvc.autoconfigure.actuate.endpoint.web;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import java.util.ArrayList;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import java.util.ArrayList;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import java.util.ArrayList;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import java.util.Map;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import org.springframework.beans.factory.ListableBeanFactory;
import org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.endpoint.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import java.util.ArrayList;
import java.util.Arrays;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.mappings;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;
import org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnAvailableEndpoint;
import org.springframework.boot.actuate.web.mappings.MappingDescriptionProvider;

View File

@@ -17,4 +17,4 @@
/**
* Auto-configuration for Spring MVC-based actuator infrastructure.
*/
package org.springframework.boot.webmvc.actuate.autoconfigure.endpoint.web;
package org.springframework.boot.webmvc.autoconfigure.actuate.web;

View File

@@ -1,20 +0,0 @@
/*
* Copyright 2012-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Auto-configuration for Spring MVC observation support.
*/
package org.springframework.boot.webmvc.observation.autoconfigure;

View File

@@ -1,2 +1,2 @@
org.springframework.boot.webmvc.actuate.autoconfigure.endpoint.web.WebMvcEndpointManagementContextConfiguration
org.springframework.boot.webmvc.actuate.autoconfigure.web.WebMvcEndpointChildContextConfiguration
org.springframework.boot.webmvc.autoconfigure.actuate.web.WebMvcEndpointManagementContextConfiguration
org.springframework.boot.webmvc.autoconfigure.actuate.web.WebMvcEndpointChildContextConfiguration

View File

@@ -1,6 +1,6 @@
org.springframework.boot.webmvc.actuate.autoconfigure.health.WebMvcHealthEndpointExtensionAutoConfiguration
org.springframework.boot.webmvc.actuate.autoconfigure.mappings.WebMvcMappingsAutoConfiguration
org.springframework.boot.webmvc.autoconfigure.DispatcherServletAutoConfiguration
org.springframework.boot.webmvc.autoconfigure.WebMvcAutoConfiguration
org.springframework.boot.webmvc.autoconfigure.WebMvcObservationAutoConfiguration
org.springframework.boot.webmvc.autoconfigure.actuate.endpoint.web.WebMvcHealthEndpointExtensionAutoConfiguration
org.springframework.boot.webmvc.autoconfigure.actuate.web.WebMvcMappingsAutoConfiguration
org.springframework.boot.webmvc.autoconfigure.error.ErrorMvcAutoConfiguration
org.springframework.boot.webmvc.observation.autoconfigure.WebMvcObservationAutoConfiguration