File tree Expand file tree Collapse file tree 5 files changed +2
-110
lines changed
common/src/main/java/org/apache/atlas/service Expand file tree Collapse file tree 5 files changed +2
-110
lines changed Original file line number Diff line number Diff line change 31
31
- tagscanarymerge
32
32
- fixlabels
33
33
- interceptapis
34
- - mlh-1240-custom-metadata-consistency
34
+ - fix-redis-wiring
35
35
36
36
jobs :
37
37
build :
Original file line number Diff line number Diff line change 1
1
package org .apache .atlas .service ;
2
2
3
- import org .apache .atlas .service .redis .NoRedisServiceImpl ;
4
3
import org .apache .atlas .service .redis .RedisService ;
5
4
import org .apache .commons .lang .StringUtils ;
6
5
import org .springframework .beans .BeansException ;
@@ -106,10 +105,6 @@ public void initialize() throws InterruptedException {
106
105
private void validateDependencies () {
107
106
LOG .info ("Validating FeatureFlagStore dependencies..." );
108
107
try {
109
- if (redisService instanceof NoRedisServiceImpl ) {
110
- return ;
111
- }
112
-
113
108
// Test Redis connectivity with a simple operation
114
109
String testKey = "ff:_health_check" ;
115
110
redisService .putValue (testKey , "test" );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
package org .apache .atlas .service .redis ;
2
2
3
3
import org .apache .atlas .AtlasException ;
4
- import org .apache .atlas .annotation .ConditionalOnAtlasProperty ;
5
4
import org .apache .atlas .service .metrics .MetricUtils ;
6
5
import org .redisson .Redisson ;
7
6
import org .slf4j .Logger ;
13
12
import javax .annotation .PostConstruct ;
14
13
15
14
@ Component
16
- @ ConditionalOnAtlasProperty (property = "atlas.redis.service.impl" )
17
15
@ Order (Ordered .HIGHEST_PRECEDENCE )
18
- public class RedisServiceImpl extends AbstractRedisService {
16
+ public class RedisServiceImpl extends AbstractRedisService {
19
17
20
18
private static final Logger LOG = LoggerFactory .getLogger (RedisServiceImpl .class );
21
19
private static final long RETRY_DELAY_MS = 1000L ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments