application-test.yml
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
eureka:
client:
serviceUrl:
defaultZone: http://admin:nafmiipwd@127.0.0.1:20000/eureka
healthcheck:
enabled: true
instance:
lease-expiration-duration-in-seconds: 30 #租期到期时间(默认90秒)
lease-renewal-interval-in-seconds: 10 #租期更新时间间隔(默认30秒)
instance-id: ${spring.cloud.client.ip-address}:${server.port}
prefer-ip-address: true
statusPageUrl: http://127.0.0.1:${server.port}/swagger-ui.html
spring:
datasource:
driver-class-name: oracle.jdbc.driver.OracleDriver
password: nafmiiwindows
username: nafmiiwindows
url: jdbc:oracle:thin:@10.10.82.1:1521:devdb00
type: com.zaxxer.hikari.HikariDataSource
hikari:
maximum-pool-size: 50
minimum-idle: 10
idle-timeout: 60000
auto-commit: true
connection-timeout: 3000
pool-name: NFMII_HikariCP
connection-test-query: SELECT 1 from dual
jackson:
default-property-inclusion: ALWAYS
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
dynamic:
#其他数据源
datasource:
dm:
#dm数据源 在相应的方法上使用 @DataSource("dm")
password: nafmiiwindows
url: jdbc:oracle:thin:@10.10.82.1:1521:devdb00
username: nafmiiwindows
driver-class-name: oracle.jdbc.driver.OracleDriver
logging:
config: classpath:logback-spring.xml
nafmii:
log-path: D:/NAFMII
dao-uri: org.nafmii.quartz