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.flyway.actuate.endpoint.autoconfigure;
|
||||
package org.springframework.boot.flyway.autoconfigure.endpoint;
|
||||
|
||||
import org.flywaydb.core.Flyway;
|
||||
|
||||
@@ -24,8 +24,8 @@ import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.flyway.actuate.endpoint.FlywayEndpoint;
|
||||
import org.springframework.boot.flyway.autoconfigure.FlywayAutoConfiguration;
|
||||
import org.springframework.boot.flyway.endpoint.FlywayEndpoint;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Auto-configuration for Flyway actuator endpoint.
|
||||
* Auto-configuration for Flyway endpoint.
|
||||
*/
|
||||
package org.springframework.boot.flyway.actuate.endpoint.autoconfigure;
|
||||
package org.springframework.boot.flyway.autoconfigure.endpoint;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.flyway.actuate.endpoint;
|
||||
package org.springframework.boot.flyway.endpoint;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.Date;
|
||||
@@ -17,4 +17,4 @@
|
||||
/**
|
||||
* Actuator endpoint for Flyway.
|
||||
*/
|
||||
package org.springframework.boot.flyway.actuate.endpoint;
|
||||
package org.springframework.boot.flyway.endpoint;
|
||||
@@ -1,2 +1,2 @@
|
||||
org.springframework.boot.flyway.actuate.endpoint.autoconfigure.FlywayEndpointAutoConfiguration
|
||||
org.springframework.boot.flyway.autoconfigure.FlywayAutoConfiguration
|
||||
org.springframework.boot.flyway.autoconfigure.endpoint.FlywayEndpointAutoConfiguration
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.flyway.actuate.endpoint.autoconfigure;
|
||||
package org.springframework.boot.flyway.autoconfigure.endpoint;
|
||||
|
||||
import org.flywaydb.core.Flyway;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.autoconfigure.AutoConfigurations;
|
||||
import org.springframework.boot.flyway.actuate.endpoint.FlywayEndpoint;
|
||||
import org.springframework.boot.flyway.endpoint.FlywayEndpoint;
|
||||
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
@@ -14,16 +14,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.flyway.actuate.endpoint;
|
||||
package org.springframework.boot.flyway.endpoint;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.autoconfigure.AutoConfigurations;
|
||||
import org.springframework.boot.flyway.actuate.endpoint.FlywayEndpoint.FlywayDescriptor;
|
||||
import org.springframework.boot.flyway.autoconfigure.FlywayAutoConfiguration;
|
||||
import org.springframework.boot.flyway.autoconfigure.FlywayMigrationStrategy;
|
||||
import org.springframework.boot.flyway.endpoint.FlywayEndpoint.FlywayDescriptor;
|
||||
import org.springframework.boot.jdbc.autoconfigure.EmbeddedDataSourceConfiguration;
|
||||
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
|
||||
import org.springframework.boot.testsupport.classpath.resources.WithResource;
|
||||
Reference in New Issue
Block a user