application.properties 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. server.port=8088
  2. server.servlet.context-path=/xzzs
  3. #不限制文件上传大小
  4. spring.http.multipart.max-file-size=-1
  5. spring.http.multipart.max-request-size=-1
  6. #单个上传文件和总上传文件都现在为500
  7. singleFileSize = 500MB
  8. totalFileSize = 500MB
  9. mybatis.config.mysql=classpath:mybatis-config-mysql.xml
  10. mybatis.configuration.map-underscore-to-camel-case=true
  11. mybatis.config.neo4jmaster = mybatis-config-neo4jmaster.xml
  12. mybatis.config.neo4jslave = mybatis-config-neo4jslave.xml
  13. #数据源类型
  14. #spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  15. # 数据库配置
  16. spring.datasource.mysql.jdbc-url = jdbc:mysql://192.168.80.13:3306/xczg_developer?useAffectedRows=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL
  17. spring.datasource.mysql.username = root
  18. spring.datasource.mysql.password = xczgdeveloper
  19. spring.datasource.mysql.driver-class-name = com.mysql.cj.jdbc.Driver
  20. spring.datasource.mysql.min-pool-Size=3
  21. spring.datasource.mysql.max-pool-size=25
  22. spring.datasource.mysql.max-life-time=20000
  23. spring.datasource.mysql.borrow-connection-timeout=30
  24. spring.datasource.mysql.login-timeout=30
  25. spring.datasource.mysql.maintenance-interval=60
  26. spring.datasource.mysql.max-idle-time=60
  27. spring.datasource.mysql.pool-name = MysqlDataSource
  28. spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.13:7687/
  29. spring.datasource.neo4jmaster.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
  30. spring.datasource.neo4jmaster.username = neo4j
  31. spring.datasource.neo4jmaster.password = 123456
  32. spring.datasource.neo4jmaster.minimum-idle=5
  33. spring.datasource.neo4jmaster.maximum-pool-size=10
  34. spring.datasource.neo4jmaster.max-lifetime = 1800000
  35. spring.datasource.neo4jmaster.auto-commit=true
  36. spring.datasource.neo4jmaster.idle-timeout=180000
  37. spring.datasource.neo4jmaster.with-connection-timeout=180000
  38. spring.datasource.neo4jmaster.time-between-eviction-runs-millis=18800
  39. spring.datasource.neo4jmaster.connection-timeout=30000
  40. spring.datasource.neo4jmaster.pool-name=Neo4jMasterDataSource
  41. spring.datasource.neo4jmaster.connection-test-query=MATCH (n) RETURN n LIMIT 1
  42. #spring.datasource.neo4jmaster.unique-resource-name = Neo4jMasterDataSource
  43. #spring.datasource.neo4jmaster.max.connection.pool.size = 20
  44. #spring.datasource.neo4jmaster.max.connection.livenes.check.timeout = 20
  45. #spring.datasource.neo4jmaster.max.connection.lifetime = 60000
  46. #spring.datasource.neo4jmaster.max.transaction.retry.time = 5000
  47. #图数据库从节点配置
  48. #spring.datasource.neo4jslave.jdbc-url = jdbc:neo4j:bolt://192.168.80.13:7687/
  49. #spring.datasource.neo4jslave.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
  50. #spring.datasource.neo4jslave.username = neo4j
  51. #spring.datasource.neo4jslave.password = 123456
  52. #spring.datasource.neo4jslave.minimum-idle=5
  53. #spring.datasource.neo4jslave.maximum-pool-size=10
  54. #spring.datasource.neo4jslave.max-lifetime = 1800000
  55. #spring.datasource.neo4jslave.auto-commit=true
  56. #spring.datasource.neo4jslave.idle-timeout=180000
  57. #spring.datasource.neo4jslave.with-connection-timeout=180000
  58. #spring.datasource.neo4jslave.time-between-eviction-runs-millis=18800
  59. #spring.datasource.neo4jslave.connection-timeout=30000
  60. #spring.datasource.neo4jslave.pool-name=Neo4jSlaveDataSource
  61. #spring.datasource.neo4jslave.connection-test-query=MATCH (n) RETURN n LIMIT 1
  62. #spring.datasource.neo4jslave.unique-resource-name = Neo4jSlaveDataSource
  63. #es.config.common.url=http://222.128.14.106:10004
  64. es.config.common.url=http://192.168.80.13:9200
  65. es.config.common.maxConnection=80
  66. #使用静态页面模板的方式渲染
  67. render.engineName=static
  68. #关闭静态资源缓存
  69. static.resource.cacheable=false
  70. #是否启用devtools
  71. spring.devtools.restart.enabled=false
  72. #elasticsearch配置
  73. esAddress=192.168.80.13
  74. esPort=9300
  75. ## TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF ##
  76. logging.config = classpath:logback.xml
  77. logging.level.mapper = DEBUG
  78. logging.level.neo4jmapper = DEBUG
  79. logging.level.org.springframework.boot = OFF
  80. logging.level.com.xczg = DEBUG
  81. #hadoop:hdfs
  82. spring.hadoop.fsUri=hdfs://192.168.80.13:9000
  83. #NLP
  84. nlp.uri = http://39.105.7.116:9999/
  85. #实体和关系地址
  86. nlp.entity.and.relation = entity_and_relation
  87. #批量实体和关系地址
  88. entity.and.relation.multi = entity_and_relation_multi
  89. #实体识别
  90. nlp.entity.recognition = entity_recognition
  91. #实体属性
  92. nlp.entity.attribute = entity_attribute