Update so that it can be natively compiled by Spring Native 0.11

This commit is contained in:
Glenn Renfro
2021-09-24 16:21:34 -04:00
parent 62ee3d6511
commit 3102aa0265
33 changed files with 36 additions and 37 deletions

View File

@@ -30,7 +30,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
* @author Michael Minella
* @author Glenn Renfro
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@Profile("embedded")
public class EmbeddedDataSourceConfiguration {

View File

@@ -33,7 +33,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
* Creates two data sources that use external databases.
* @author Glenn Renfro
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@Profile("external")
public class ExternalDataSourceConfiguration {

View File

@@ -87,7 +87,7 @@ public class MultiDataSourcesExternalApplicationTests {
.as("Unable to find update task message: " + output).isTrue();
}
@Configuration
@Configuration(proxyBeanMethods = false)
public static class TaskLauncherConfiguration {
private static Server defaultServer;