25 changed files with 724 additions and 36 deletions
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 5 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 5 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 4 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 4 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 3 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 3 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 1 |
||||
@ -0,0 +1,82 @@ |
|||||
|
server: |
||||
|
port: 8173 |
||||
|
servlet: |
||||
|
context-path: /cars-api |
||||
|
#context-path: / |
||||
|
|
||||
|
spring: |
||||
|
datasource: |
||||
|
dynamic: |
||||
|
primary: db1 |
||||
|
strict: false |
||||
|
datasource: |
||||
|
db1: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
db2: |
||||
|
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
|
type: com.zaxxer.hikari.HikariDataSource |
||||
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false |
||||
|
username: root |
||||
|
password: 5ea47c0bdd7146ebbd53020eca@672307 |
||||
|
#Hikari连接池配置 |
||||
|
hikari: |
||||
|
#池中维护的最小空闲连接数 |
||||
|
minimum-idle: 5 |
||||
|
#池中最大连接数,包括闲置和使用中的连接 |
||||
|
maximum-pool-size: 15 |
||||
|
#自动提交从池中返回的连接 |
||||
|
auto-commit: true |
||||
|
#连接允许在池中闲置的最长时间 |
||||
|
idle-timeout: 30000 |
||||
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置 |
||||
|
pool-name: DatebookHikariCP |
||||
|
#池中连接最长生命周期 |
||||
|
max-lifetime: 18000000 |
||||
|
#等待来自池的连接的最大毫秒数 |
||||
|
connection-timeout: 30000 |
||||
|
#验证该连接是否是有效的查询语句 |
||||
|
connection-test-query: select 1 from dual |
||||
|
cloud: |
||||
|
inetutils: |
||||
|
timeout-seconds: 1000 |
||||
|
config: |
||||
|
enabled: false |
||||
|
# redis 相关 |
||||
|
redis: |
||||
|
host: ${REDIS_URL:localhost} |
||||
|
port: ${REDIS_PORT:6379} |
||||
|
password: ${REDIS_PWD:111111} |
||||
|
timeout: 10000 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 1000 |
||||
|
max-wait: -1ms |
||||
|
max-idle: 10 |
||||
|
min-idle: 5 |
||||
|
swagger: |
||||
|
show: true |
||||
|
analysis: |
||||
|
url: http://192.168.1.123:9000/vi/syncrec |
||||
|
|
||||
|
upload: |
||||
|
img: |
||||
|
url: http://192.168.1.83:18081/file/img/zs/ |
||||
|
path: D:\\service\\fileService\\img\\zs\\ |
||||
|
python: |
||||
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe |
||||
|
modelPath: D:\\smartGrid\\smartGrid\\models |
||||
|
eureka: |
||||
|
instance: |
||||
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
||||
|
prefer-ip-address: true |
||||
|
client: |
||||
|
healthcheck: |
||||
|
enabled: true |
||||
|
service-url: |
||||
|
defaultZone: http://localhost:8084/eureka |
||||
|
station: |
||||
|
id: 1 |
||||
Loading…
Reference in new issue