Skip to content

Commit

Permalink
Revert "local dev setup"
Browse files Browse the repository at this point in the history
This reverts commit 37921da.
  • Loading branch information
rmovaliya committed May 30, 2024
1 parent 9c802c1 commit 1cda39e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
import org.apache.atlas.service.redis.RedisService;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;import javax.inject.Inject;
import org.springframework.stereotype.Component;

@Component
public class FeatureFlagStore {
private static RedisService redisService = null;

@Inject
public FeatureFlagStore(RedisService redisService) {
public FeatureFlagStore(@Qualifier("redisServiceImpl") RedisService redisService) {
FeatureFlagStore.redisService = redisService;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;import javax.inject.Inject;
import org.springframework.stereotype.Component;
@Component
public class SearchContextCache {
private static final Logger LOG = LoggerFactory.getLogger(SearchContextCache.class);
private static RedisService redisService = null;

public static final String INVALID_SEQUENCE = "invalid_sequence";

@Inject
public SearchContextCache(RedisService redisService) {

public SearchContextCache(@Qualifier("redisServiceImpl") RedisService redisService) {
SearchContextCache.redisService = redisService;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public <T> void send(NotificationType type, List<T> messages, MessageSource sour
createNotificationMessages(messages.get(index), strMessages, source);
}

// sendInternal(type, strMessages);
sendInternal(type, strMessages);
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@
<httpcomponents-httpcore.version>4.4.13</httpcomponents-httpcore.version>
<jackson.databind.version>2.12.4</jackson.databind.version>
<jackson.version>2.12.4</jackson.version>
<janusgraph.version>0.6.04</janusgraph.version>
<janusgraph.version>0.6.03</janusgraph.version>
<janusgraph.cassandra.version>0.5.3</janusgraph.cassandra.version>
<javax-inject.version>1</javax-inject.version>
<javax.servlet.version>3.1.0</javax.servlet.version>
Expand Down

0 comments on commit 1cda39e

Please sign in to comment.