Skip to content

Commit 76e77a7

Browse files
ckm007Khuddusshariff0022
authored andcommitted
Merge pull request #1052 from Khuddusshariff0022/release-1.3.x-MOSIP-41879
[MOSIP-41879] Adding password and version update Signed-off-by: khuddus shariff <[email protected]>
1 parent 941dcf9 commit 76e77a7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cache-provider-redis/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@
4040
<maven.compiler.version>3.8.0</maven.compiler.version>
4141
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
4242
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
43-
<spring-boot-starter-data-redis.version>3.2.3</spring-boot-starter-data-redis.version>
4443
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
4544
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
4645
<git-commit-id-plugin.version>3.0.1</git-commit-id-plugin.version>
4746
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
48-
<jedis.version>2.9.0</jedis.version>
4947
<maven-deploy-plugin.version>2.8.1</maven-deploy-plugin.version>
5048
<nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
5149
</properties>
@@ -87,12 +85,10 @@
8785
<dependency>
8886
<groupId>org.springframework.boot</groupId>
8987
<artifactId>spring-boot-starter-data-redis</artifactId>
90-
<version>${spring-boot-starter-data-redis.version}</version>
9188
</dependency>
9289
<dependency>
9390
<groupId>redis.clients</groupId>
9491
<artifactId>jedis</artifactId>
95-
<version>${jedis.version}</version>
9692
</dependency>
9793
</dependencies>
9894
<build>

cache-provider-redis/src/main/java/io/mosip/commons/packet/cache/provider/redis/config/RedisConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ public class RedisConfig {
1212
@Value("${redis.cache.hostname}")
1313
private String hostname;
1414

15+
@Value("${redis.cache.password}")
16+
private String password;
17+
1518
@Value("${redis.cache.port}")
1619
private int port;
1720

@@ -21,6 +24,7 @@ JedisConnectionFactory jedisConnectionFactory() {
2124
= new JedisConnectionFactory();
2225
jedisConFactory.setHostName(hostname);
2326
jedisConFactory.setPort(port);
27+
jedisConFactory.setPassword(password);
2428
return jedisConFactory;
2529
}
2630

0 commit comments

Comments
 (0)