Class ElasticsearchClientContext
java.lang.Object
org.apache.syncope.ext.elasticsearch.client.ElasticsearchClientContext
@EnableConfigurationProperties(ElasticsearchProperties.class)
@Configuration(proxyBeanMethods=false)
public class ElasticsearchClientContext
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionelasticsearchIndexLoader
(ElasticsearchIndexManager indexManager) elasticsearchIndexManager
(ElasticsearchProperties props, co.elastic.clients.elasticsearch.ElasticsearchClient client, ElasticsearchUtils elasticsearchUtils) elasticsearchUtils
(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO) syncopeElasticsearchHealthContributor
(co.elastic.clients.elasticsearch.ElasticsearchClient client)
-
Constructor Details
-
ElasticsearchClientContext
public ElasticsearchClientContext()
-
-
Method Details
-
elasticsearchClientFactoryBean
@ConditionalOnMissingBean @Bean public ElasticsearchClientFactoryBean elasticsearchClientFactoryBean(ElasticsearchProperties props) -
elasticsearchUtils
@ConditionalOnMissingBean @Bean public ElasticsearchUtils elasticsearchUtils(@Lazy UserDAO userDAO, @Lazy GroupDAO groupDAO, @Lazy AnyObjectDAO anyObjectDAO) -
elasticsearchIndexManager
@ConditionalOnMissingBean @Bean public ElasticsearchIndexManager elasticsearchIndexManager(ElasticsearchProperties props, co.elastic.clients.elasticsearch.ElasticsearchClient client, ElasticsearchUtils elasticsearchUtils) -
elasticsearchIndexLoader
@ConditionalOnMissingBean @Bean public ElasticsearchIndexLoader elasticsearchIndexLoader(ElasticsearchIndexManager indexManager) -
syncopeElasticsearchHealthContributor
@ConditionalOnMissingBean(name="syncopeElasticsearchHealthContributor") @Bean(name={"syncopeElasticsearchHealthContributor","elasticsearchHealthIndicator","elasticsearchHealthContributor"}) public HealthContributor syncopeElasticsearchHealthContributor(co.elastic.clients.elasticsearch.ElasticsearchClient client)
-