You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
druid:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://virtual-patient-mysql:37088/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
|
|
|
|
|
username: root
|
|
|
|
|
password: 'Yaxin0504'
|
|
|
|
|
redis:
|
|
|
|
|
host: virtual-patient-redis
|
|
|
|
|
port: 11379
|
|
|
|
|
password: #Yaxin0504
|
|
|
|
|
|
|
|
|
|
nebula:
|
|
|
|
|
ngbatis:
|
|
|
|
|
use-session-pool: true
|
|
|
|
|
# 127.0.0.1:9669, ip:port, ....
|
|
|
|
|
hosts: 192.168.10.137:9669
|
|
|
|
|
username: root
|
|
|
|
|
password: 123456
|
|
|
|
|
# 注意,新建使用的时候,必须有一个库
|
|
|
|
|
space: virtual_patient
|
|
|
|
|
# http客户端使用
|
|
|
|
|
minConnSize: 5
|
|
|
|
|
maxConnSize: 10
|
|
|
|
|
timeout: 300000
|
|
|
|
|
idleTime: 180000
|
|
|
|
|
# ngbatis使用连接池配置
|
|
|
|
|
pool-config:
|
|
|
|
|
# 连接池中最小空闲连接数
|
|
|
|
|
min-conns-size: 0
|
|
|
|
|
# 连接池中最大空闲连接数
|
|
|
|
|
max-conns-size: 10
|
|
|
|
|
# 客户端同服务端建立连接的超时时间设置,单位为 ms;超过设定时间未建立起连接,则报错
|
|
|
|
|
timeout: 0
|
|
|
|
|
# 连接空闲时间,为 0 表示连接永不删除,单位为 ms
|
|
|
|
|
idle-time: 0
|
|
|
|
|
# 连接池检测空闲连接的时间间隔,为 -1 表示不进行检测
|
|
|
|
|
interval-idle: -1
|
|
|
|
|
# 连接等候时间,超过则不再等候连接
|
|
|
|
|
wait-time: 0
|
|
|
|
|
# 集群允许最小的服务可用率,1.0 表示为所有机器 graphd 可用,0.25 表示集群中 1/4 机器可用即可
|
|
|
|
|
min-cluster-health-rate: 1.0
|
|
|
|
|
# 是否允许 SSL 连接,目前暂不支持
|
|
|
|
|
enable-ssl: false
|
|
|
|
|
cql:
|
|
|
|
|
parser:
|
|
|
|
|
# 更换开发者自定义的 xml 所在位置
|
|
|
|
|
mapper-locations: nebulaMapper/**/*.xml # 默认为 mapper/**/*.xml
|
|
|
|
|
# nebula上传文件使用
|
|
|
|
|
path:
|
|
|
|
|
uploadFilePath: /opt/project/java/graphFile
|
|
|
|
|
importerPath: /data1/opt
|