Browse Source

dev.yml 去除数据库链接

lengfaqiang 2 years ago
parent
commit
144b4d12a1
1 changed files with 0 additions and 41 deletions
  1. 0 41
      slope-modules/slope-detection/src/main/resources/bootstrap-dev.yml

+ 0 - 41
slope-modules/slope-detection/src/main/resources/bootstrap-dev.yml

@@ -1,21 +1,4 @@
 spring:
 spring:
-  datasource:
-    dynamic:
-      # seata: true
-      primary: master #设置默认的数据源或者数据源组,默认值即为master
-      strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
-      datasource:
-        master:
-          url: jdbc:mysql://10.10.10.230:3306/sckw_slope?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
-          username: sckw_dev
-          password: Yy123...
-          driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
-        td:
-          url: jdbc:TAOS-RS://10.10.10.221:6041/devicesV2?charset=UTF-8&locale=en_US.UTF-8&timezone=UTC-8
-          username: root
-          password: taosdata
-          driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
-          pool-name: Data_trans_HikariCP
   cloud:
   cloud:
     nacos:
     nacos:
       discovery:
       discovery:
@@ -64,30 +47,6 @@ spring:
 #  # 要消费的topic配置
 #  # 要消费的topic配置
 #  receive:
 #  receive:
 #    topic: slopePush/slopePull/test/out,test,slope,sharjeck/ai/test/out
 #    topic: slopePush/slopePull/test/out,test,slope,sharjeck/ai/test/out
-#mqtt:
-#  send:
-#    #完成超时时间
-#    completionTimeout: 3000
-#    #通过mqtt发送消息验证所需用户名
-#    username: sckw
-#    #通过mqtt发送消息验证所需密码
-#    password: sckw123456
-#    #连接的mqtt地址
-#    url: tcp://47.108.205.7:1883
-#    #客户端id
-#    clientId: mqttx_12411c5cec1
-#    #推送主题  后面跟着#是监控下面所有的话题
-#    topic: slope#
-#    #topic: my-test
-#    # 会话心跳时间
-#    keepAliveInterval: 20
-#    # 设置连接超时时间
-#    connectionTimeout: 3000
-#    timeout: 10
-#    keepalive: 20
-#  # 要消费的topic配置
-#  receive:
-#    topic: slopePush/slopePull/test/out,test,slope,sharjeck/ai/test/out
 OkHttpClit:
 OkHttpClit:
   url: http://10.10.10.220:9501
   url: http://10.10.10.220:9501
 sms:
 sms: