From 59406e0d0101c79ce4a5163a0c3fefdd10b9415b Mon Sep 17 00:00:00 2001 From: Andrea Ceccanti Date: Mon, 1 Nov 2021 16:45:23 +0100 Subject: [PATCH] Drop DevToolsDataSourceAutoConfiguration Which breaks h2 tests. --- .../src/main/java/it/infn/mw/iam/IamLoginService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iam-login-service/src/main/java/it/infn/mw/iam/IamLoginService.java b/iam-login-service/src/main/java/it/infn/mw/iam/IamLoginService.java index aeccb48d3..d982c587b 100644 --- a/iam-login-service/src/main/java/it/infn/mw/iam/IamLoginService.java +++ b/iam-login-service/src/main/java/it/infn/mw/iam/IamLoginService.java @@ -27,6 +27,7 @@ import org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration; import org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration; import org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration; +import org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.FilterType; @@ -75,7 +76,7 @@ // @formatter:on @EnableAutoConfiguration(exclude = {SecurityAutoConfiguration.class, OAuth2AutoConfiguration.class, - H2ConsoleAutoConfiguration.class}) + H2ConsoleAutoConfiguration.class, DevToolsDataSourceAutoConfiguration.class}) public class IamLoginService { public static void main(final String[] args) {