From cdfdb4b0ce79295aceb50bbe8352b81dff64eaf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E9=B9=8F=E9=A3=9E?= Date: Wed, 10 Apr 2024 15:04:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=AF=B9dev=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=9A=84=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/bootstrap-dev.properties | 12 +++++++++++- .../src/main/resources/bootstrap.properties | 2 +- .../nflg-bom-new/src/main/resources/logback-sit.xml | 2 +- .../src/main/resources/bootstrap.properties | 8 +++----- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap-dev.properties b/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap-dev.properties index e6acef83..79e58e6d 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap-dev.properties +++ b/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap-dev.properties @@ -1,4 +1,14 @@ #nacos.server-addr=114.132.64.230:8123 nacos.server-addr=192.168.0.194:8848 - +spring.cache.type=redis +spring.redis.database=1 +spring.redis.host=192.168.0.194 +spring.redis.password= +spring.redis.port=6379 +spring.redis.timeout=0 +spring.redis.ssl=false +spring.redis.lettuce.pool.max-wait=-1ms +spring.redis.lettuce.pool.max-active=8 +spring.redis.lettuce.pool.max-idle=8 +spring.redis.lettuce.pool.min-idle=0 logging.config=classpath:logback-sit.xml \ No newline at end of file diff --git a/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap.properties b/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap.properties index 82bcabbb..7b3858e8 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap.properties +++ b/nflg_project_dev/nflg-bom-new/src/main/resources/bootstrap.properties @@ -1,5 +1,5 @@ spring.application.name=bom-new -spring.profiles.active=sit +spring.profiles.active=dev spring.jackson.date-format=yyyy-MM-dd HH:mm:ss diff --git a/nflg_project_dev/nflg-bom-new/src/main/resources/logback-sit.xml b/nflg_project_dev/nflg-bom-new/src/main/resources/logback-sit.xml index 9127e28e..1dad47bf 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/resources/logback-sit.xml +++ b/nflg_project_dev/nflg-bom-new/src/main/resources/logback-sit.xml @@ -39,7 +39,7 @@ - + diff --git a/nflg_project_dev/nflg-cloud-gateway/src/main/resources/bootstrap.properties b/nflg_project_dev/nflg-cloud-gateway/src/main/resources/bootstrap.properties index 26dd8a3d..97e1f0f9 100644 --- a/nflg_project_dev/nflg-cloud-gateway/src/main/resources/bootstrap.properties +++ b/nflg_project_dev/nflg-cloud-gateway/src/main/resources/bootstrap.properties @@ -3,12 +3,10 @@ spring.application.name=gateway spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8 server.port=89 - -spring.cloud.nacos.config.namespace=nflg_dev -spring.cloud.nacos.discovery.namespace=nflg_dev +spring.cloud.nacos.config.namespace=nflg +spring.cloud.nacos.discovery.namespace=nflg spring.cloud.nacos.config.file-extension=properties - -nacos.plugin.namespace=nflg_dev +nacos.plugin.namespace=nflg #configuration