File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/io/mosip/commons/packet/cache/provider/redis/config Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments