From e0a6e1d028d04908a7751da7b166853c5baddf85 Mon Sep 17 00:00:00 2001 From: xusd <hugeinfo123> Date: Tue, 17 Sep 2024 19:44:12 +0800 Subject: [PATCH] 测试环境端口调整 --- dyh-service/dyh-sync/src/main/resources/config/application-test.yml | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/dyh-service/dyh-sync/src/main/resources/config/application-test.yml b/dyh-service/dyh-sync/src/main/resources/config/application-test.yml index 49750e6..a917395 100644 --- a/dyh-service/dyh-sync/src/main/resources/config/application-test.yml +++ b/dyh-service/dyh-sync/src/main/resources/config/application-test.yml @@ -10,21 +10,26 @@ name: dyh-sync #数据源配置 datasource: - url: jdbc:mysql://120.79.193.119:3306/bydyh2.0_v101_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true - username: root - password: hugeinfo123 - driver-class-name: com.mysql.jdbc.Driver + url: jdbc:dm://192.168.234.57:9016?schema=gzdyh_test + username: SYSDBA + password: SYSDBA + driver-class-name: dm.jdbc.driver.DmDriver type: com.alibaba.druid.pool.DruidDataSource druid: stat-view-servlet: + # 关闭 Druid 的统计视图 enabled: false + # 定期检查空闲连接的有效性 + test-while-idle: true + # 用来验证数据库连接是否仍然可用的 SQL 查询 + validation-query: SELECT 1 #注册中心配置 eureka: client: service-url: #注册中心单机 - defaultZone: http://localhost:9001/eureka + defaultZone: http://localhost:9011/eureka #注册中心集群 #defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka #是否注册到注册中心 -- Gitblit v1.8.0