From 893c1ef4c42b9e158d95c22172d332d328efd829 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 19 九月 2023 10:10:13 +0800 Subject: [PATCH] 增加三场数字化推送mqtt --- src/main/resources/application-dev.yml | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 7abba08..a77be36 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -36,6 +36,34 @@ # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: + master: + url: jdbc:postgresql://192.168.2.15:5432/ry-vue + username: postgres + password: postgres + driver-class-name: org.postgresql.Driver + druid: # 閰嶇疆multi-datasource1 鏁版嵁婧愯繛鎺ユ睜鍙傛暟 + # 杩炴帴姹犵殑閰嶇疆淇℃伅 + # 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶� + initial-size: 2 + min-idle: 2 + maxActive: 2 + # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� + maxWait: 600000 + # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 + timeBetweenEvictionRunsMillis: 60000 + # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 + minEvictableIdleTimeMillis: 300000 + validationQuery: SELECT 1 + testWhileIdle: true + testOnBorrow: false + testOnReturn: false + # 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏� + poolPreparedStatements: true + maxPoolPreparedStatementPerConnectionSize: 20 + # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰sql鏃犳硶缁熻锛�'wall'鐢ㄤ簬闃茬伀澧� + filters: stat,wall,slf4j + # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 + connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 oracle: url: jdbc:oracle:thin:@//112.98.126.2:21521/orcl username: c##ard_user @@ -64,34 +92,6 @@ filters: stat,wall,slf4j # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 - postgres: - url: jdbc:postgresql://192.168.1.55:5432/ry-vue - username: postgres - password: postgres - driver-class-name: org.postgresql.Driver - druid: # 閰嶇疆multi-datasource1 鏁版嵁婧愯繛鎺ユ睜鍙傛暟 - # 杩炴帴姹犵殑閰嶇疆淇℃伅 - # 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶� - initial-size: 2 - min-idle: 2 - maxActive: 2 - # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� - maxWait: 600000 - # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 - timeBetweenEvictionRunsMillis: 60000 - # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 - minEvictableIdleTimeMillis: 300000 - validationQuery: SELECT 1 - testWhileIdle: true - testOnBorrow: false - testOnReturn: false - # 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏� - poolPreparedStatements: true - maxPoolPreparedStatementPerConnectionSize: 20 - # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛屽幓鎺夊悗鐩戞帶鐣岄潰sql鏃犳硶缁熻锛�'wall'鐢ㄤ簬闃茬伀澧� - filters: stat,wall,slf4j - # 閫氳繃connectProperties灞炴�ф潵鎵撳紑mergeSql鍔熻兘锛涙參SQL璁板綍 - connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 # netty閰嶇疆 netty: @@ -102,10 +102,10 @@ enabled: false # mqtt閰嶇疆 mqtt: - host: tcp://192.168.1.55:1883 + host: tcp://192.168.2.15:1883 clientId: cc3 username: admin - password: xzx12345 + password: admin topic: tube timeout: 100 keepalive: 60 @@ -115,7 +115,7 @@ url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil # minio閰嶇疆 minio: - endpoint: http://192.168.1.15:9001 + endpoint: http://192.168.2.15:9001 accessKey: admin secretKey: xzx12345 # mybatis閰嶇疆 @@ -127,7 +127,7 @@ level: hikSdk: info mqtt: debug - netty: info + netty: debug external: info camera: info tube: info -- Gitblit v1.9.3