From e1d608bdf69618e97f72a79f5352ad571eb29803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Mon, 14 Aug 2023 11:02:21 +0200 Subject: [PATCH] [SYNCOPE-1773] Excluding Spring Boot autoconf for ES --- .../apache/syncope/core/starter/SyncopeCoreApplication.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/starter/src/main/java/org/apache/syncope/core/starter/SyncopeCoreApplication.java b/core/starter/src/main/java/org/apache/syncope/core/starter/SyncopeCoreApplication.java index fa67fdfae8..1a72b59f3f 100644 --- a/core/starter/src/main/java/org/apache/syncope/core/starter/SyncopeCoreApplication.java +++ b/core/starter/src/main/java/org/apache/syncope/core/starter/SyncopeCoreApplication.java @@ -54,6 +54,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchClientAutoConfiguration; +import org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration; import org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration; @@ -81,7 +83,9 @@ DataSourceTransactionManagerAutoConfiguration.class, JdbcTemplateAutoConfiguration.class, QuartzAutoConfiguration.class, - TaskExecutionAutoConfiguration.class }, + TaskExecutionAutoConfiguration.class, + ElasticsearchRestClientAutoConfiguration.class, + ElasticsearchClientAutoConfiguration.class }, proxyBeanMethods = false) @EnableTransactionManagement public class SyncopeCoreApplication extends SpringBootServletInitializer {