修改多数据源为单数据源。将动态航班信息存储到redis

This commit is contained in:
zhouxiunai
2018-12-03 15:27:53 +08:00
parent 34226a0065
commit f214d7a964
36 changed files with 73 additions and 244 deletions
+8 -19
View File
@@ -1,24 +1,13 @@
spring:
datasource:
primary:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
secondary:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
kafka:
producer:
retries: 0