mirror of
https://gitee.com/dromara/easy-es.git
synced 2025-12-06 17:18:57 +08:00
v2.0.0-beta5
细节优化
This commit is contained in:
parent
da96ba5708
commit
68bd13b3ad
@ -36,7 +36,6 @@ import static org.dromara.easyes.common.utils.RestHighLevelClientUtils.DEFAULT_D
|
||||
@Configuration
|
||||
@ConditionalOnClass(RestHighLevelClient.class)
|
||||
@EnableConfigurationProperties(value = {DynamicEsProperties.class, EasyEsConfigProperties.class})
|
||||
//@ConditionalOnExpression("'${easy-es.address:x}'!='x'")
|
||||
@ConditionalOnProperty(prefix = "easy-es", name = {"enable"}, havingValue = "true", matchIfMissing = true)
|
||||
public class EsAutoConfiguration {
|
||||
@Autowired
|
||||
@ -44,8 +43,6 @@ public class EsAutoConfiguration {
|
||||
@Autowired
|
||||
private DynamicEsProperties dynamicEsProperties;
|
||||
|
||||
private final CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
|
||||
|
||||
/**
|
||||
* 装配RestHighLevelClient
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user