From 695e3439686902d61220768fd092587ea7c96419 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 21 Dec 2022 14:52:49 +0800 Subject: [PATCH] build: redisson --- framework/eureka/pom.xml | 6 +++++- framework/eureka/src/main/resources/application.properties | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/framework/eureka/pom.xml b/framework/eureka/pom.xml index 9d64c39fa9..ce04c46c11 100644 --- a/framework/eureka/pom.xml +++ b/framework/eureka/pom.xml @@ -36,7 +36,11 @@ org.springframework.boot spring-boot-starter-data-redis - + + org.redisson + redisson-spring-boot-starter + ${redisson-starter.version} + diff --git a/framework/eureka/src/main/resources/application.properties b/framework/eureka/src/main/resources/application.properties index 5279377ea3..4668b728c5 100644 --- a/framework/eureka/src/main/resources/application.properties +++ b/framework/eureka/src/main/resources/application.properties @@ -9,4 +9,5 @@ eureka.dashboard.enabled=true # default eureka eureka.client.service-url.defaultZone=http://localhost:8761/eureka/ -logging.file.path=/opt/metersphere/logs/${spring.application.name} \ No newline at end of file +logging.file.path=/opt/metersphere/logs/${spring.application.name} +spring.redis.redisson.file=file:/opt/metersphere/conf/redisson.yml