1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- server:
- port: 8085
- spring:
- application:
- name: transport
- jpa:
- show-sql: false
- cache:
- type: SIMPLE
- datasource:
- driver-class-name: oracle.jdbc.OracleDriver
- url: jdbc:oracle:thin:@18.6.30.55:1521:gdnxfd
- username: nxfdprod
- password: gdnxfd123
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- max-active: 20
- initial-size: 1
- min-idle: 3
- max-wait: 60000
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- knife4j:
- redis:
- # 是否采用json序列化方式,若不采用jackson序列化
- jsonSerialType: 'Fastjson'
- host: 18.6.30.75
- password: 123456
- port: 6379
- databases: [0] # 要使用的库,会根据此处填写的库生成redisTemplate
- timeout: 60s
- lettuce: # lettuce基于netty,线程安全,支持并发
- pool:
- max-active: 50
- max-wait: -1ms
- max-idle: 8
- min-idle: 0
- cache:
- type: Simple
- timeseries:
- db-type: redis
- #taoscz场站数据 数据连接方式分为两种 JDBC-JNI和JDBC-RESTful
- #JDBC-JNI方式驱动为com.taosdata.jdbc.TSDBDriver 端口为6030
- #JDBC-RESTful方式驱动为com.taosdata.jdbc.rs.RestfulDriver 端口为6041
- taoscz:
- # server_ip: 192.168.1.252
- # server_port: 6030
- # db_name: hnj_fdc
- # user_name: root
- # password: taosdata
- # pool_size: 10
- # max_pool_size: 100
- # driver_type: com.taosdata.jdbc.TSDBDriver
- # server_ip: 123.60.219.66
- # server_port: 6041
- # db_name: hnj_fdc
- # user_name: root
- # password: taosdata
- # pool_size: 10
- # max_pool_size: 100
- # driver_type: com.taosdata.jdbc.rs.RestfulDriver
- server_ip: 192.168.1.67
- server_port: 6041
- db_name: gdnxxny
- user_name: root
- password: taosdata
- pool_size: 10
- max_pool_size: 100
- driver_type: com.taosdata.jdbc.rs.RestfulDriver
- #是否缓存所有风机测点
- isLoadAllTag: false
- redis:
- host: 18.6.30.75
- port: 6379
- password: 123456
|