diff --git a/pom.xml b/pom.xml index c7ab514..daaeebc 100644 --- a/pom.xml +++ b/pom.xml @@ -75,11 +75,11 @@ 1.6.14 - + com.oracle.database.jdbc diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7d936d9..859c747 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -2,15 +2,27 @@ spring: application: name: HTEY datasource: - url: jdbc:oracle:thin:@172.16.36.140:1521:orcl - username: kdhtey + url: jdbc:oscar://172.16.36.140:2003/OSRDB + username: tykd password: 123456 - driver-class-name: oracle.jdbc.OracleDriver -# secondary: -# url: jdbc:oscar://172.16.36.232:2003/OSRDB -# username: tykd -# password: 123456 -# driver-class-name: com.oscar.Driver + driver-class-name: com.oscar.Driver +# url: jdbc:oracle:thin:@172.16.36.140:1521:orcl +# username: kdhtey +# password: 123456 +# driver-class-name: oracle.jdbc.OracleDriver + hikari: + max-lifetime: 1800000 + idle-timeout: 600000 + connection-timeout: 30000 + maximum-pool-size: 10 + minimum-idle: 5 +# hertzbeat暴露指标接口 +management: + endpoints: + web: + exposure: + include: '*' + enabled-by-default: on #mybatis日志打印 mybatis: configuration: