File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
kayenta-core/src/main/java/com/netflix/kayenta/index/config Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 21
21
import com .netflix .kayenta .index .CanaryConfigIndexingAgent ;
22
22
import com .netflix .kayenta .security .AccountCredentialsRepository ;
23
23
import com .netflix .kayenta .storage .StorageServiceRepository ;
24
+ import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
24
25
import org .springframework .boot .context .properties .ConfigurationProperties ;
25
26
import org .springframework .context .annotation .Bean ;
26
27
import org .springframework .context .annotation .Configuration ;
27
28
import org .springframework .scheduling .concurrent .ThreadPoolTaskScheduler ;
28
29
import redis .clients .jedis .JedisPool ;
29
30
30
31
@ Configuration
32
+ @ ConditionalOnProperty (name = "kayenta.index.enabled" , havingValue = "true" , matchIfMissing = true )
31
33
public class IndexConfiguration {
32
34
33
35
@ Bean
You can’t perform that action at this time.
0 commit comments