|
@@ -0,0 +1,49 @@
|
|
|
+spring:
|
|
|
+ datasource:
|
|
|
+ name: druidDataSource
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+ druid:
|
|
|
+ lantone:
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ url: jdbc:mysql://192.168.2.236:3306/qc?useUnicode=true&characterEncoding=utf8&useSSL=false
|
|
|
+ username: root
|
|
|
+ password: lantone
|
|
|
+ initial-size: 8
|
|
|
+ min-idle: 1
|
|
|
+ max-active: 20
|
|
|
+ max-wait: 60000
|
|
|
+ time-between-eviction-runsMillis: 60000
|
|
|
+ min-evictable-idle-timeMillis: 300000
|
|
|
+ validation-query: select 'x' FROM DUAL
|
|
|
+ test-while-idle: true
|
|
|
+ test-on-borrow: false
|
|
|
+ test-on-return: false
|
|
|
+ pool-prepared-statements: true
|
|
|
+ max-open-prepared-statements: 20
|
|
|
+ max-pool-prepared-statement-per-connection-size: 20
|
|
|
+ filters: stat
|
|
|
+ connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
|
|
+ use-global-data-source-stat: true
|
|
|
+ redis:
|
|
|
+ database: 10
|
|
|
+ host: 192.168.2.236
|
|
|
+ port: 6379
|
|
|
+ password: lantone
|
|
|
+ timeout: 2000
|
|
|
+ lettuce:
|
|
|
+ pool:
|
|
|
+ max-active: 8
|
|
|
+ min-idle: 0
|
|
|
+ max-wait: -1ms
|
|
|
+ max-idle: 8
|
|
|
+
|
|
|
+xml-is-encryped: true
|
|
|
+
|
|
|
+CRF:
|
|
|
+ url: http://192.168.2.234:3456/api/mr_info_ex/entity_predict
|
|
|
+
|
|
|
+Similarity:
|
|
|
+ url: http://192.168.2.234:3456/api/mr_info_ex/similarity
|
|
|
+
|
|
|
+ChiefPresentSimilarity:
|
|
|
+ url: http://192.168.2.234:3456/api/mr_info_ex/chief_present_similarity
|