application.properties 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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.27:3308/xzzs_developer?useAffectedRows=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL
  17. #spring.datasource.mysql.jdbc-url = jdbc:mysql://192.168.70.77:3306/xczgnet_developer?useAffectedRows=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL
  18. spring.datasource.mysql.username = root
  19. spring.datasource.mysql.password = xczgdeveloper
  20. spring.datasource.mysql.driver-class-name = com.mysql.cj.jdbc.Driver
  21. spring.datasource.mysql.min-pool-Size=3
  22. spring.datasource.mysql.max-pool-size=25
  23. spring.datasource.mysql.max-life-time=20000
  24. spring.datasource.mysql.borrow-connection-timeout=30
  25. spring.datasource.mysql.login-timeout=30
  26. spring.datasource.mysql.maintenance-interval=60
  27. spring.datasource.mysql.max-idle-time=60
  28. spring.datasource.mysql.pool-name = MysqlDataSource
  29. ##http://192.168.80.29:7474/browser/ 719知识图谱 账号:neo4j 密码:123456
  30. ##jdbc:neo4j:bolt://192.168.70.77:7688/情报知识图谱 账号:neo4j 密码:123456
  31. ##测试
  32. spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.27:7687
  33. #spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.59.128:7687
  34. ##719
  35. #spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.29:7687/
  36. #spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.252:7687/
  37. spring.datasource.neo4jmaster.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
  38. spring.datasource.neo4jmaster.username = neo4j
  39. spring.datasource.neo4jmaster.password = 123456
  40. spring.datasource.neo4jmaster.minimum-idle=5
  41. spring.datasource.neo4jmaster.maximum-pool-size=10
  42. spring.datasource.neo4jmaster.max-lifetime = 1800000
  43. spring.datasource.neo4jmaster.auto-commit=true
  44. spring.datasource.neo4jmaster.idle-timeout=180000
  45. spring.datasource.neo4jmaster.with-connection-timeout=180000
  46. spring.datasource.neo4jmaster.time-between-eviction-runs-millis=18800
  47. spring.datasource.neo4jmaster.connection-timeout=30000
  48. spring.datasource.neo4jmaster.pool-name=Neo4jMasterDataSource
  49. spring.datasource.neo4jmaster.connection-test-query=MATCH (n) RETURN n LIMIT 1
  50. #spring.datasource.neo4jmaster.unique-resource-name = Neo4jMasterDataSource
  51. #spring.datasource.neo4jmaster.max.connection.pool.size = 20
  52. #spring.datasource.neo4jmaster.max.connection.livenes.check.timeout = 20
  53. #spring.datasource.neo4jmaster.max.connection.lifetime = 60000
  54. #spring.datasource.neo4jmaster.max.transaction.retry.time = 5000
  55. #图数据库从节点配置
  56. #spring.datasource.neo4jslave.jdbc-url = jdbc:neo4j:bolt://192.168.70.88:7687/
  57. #spring.datasource.neo4jslave.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
  58. #spring.datasource.neo4jslave.username = neo4j
  59. #spring.datasource.neo4jslave.password = 123456
  60. #spring.datasource.neo4jslave.minimum-idle=5
  61. #spring.datasource.neo4jslave.maximum-pool-size=10
  62. #spring.datasource.neo4jslave.max-lifetime = 1800000
  63. #spring.datasource.neo4jslave.auto-commit=true
  64. #spring.datasource.neo4jslave.idle-timeout=180000
  65. #spring.datasource.neo4jslave.with-connection-timeout=180000
  66. #spring.datasource.neo4jslave.time-between-eviction-runs-millis=18800
  67. #spring.datasource.neo4jslave.connection-timeout=30000
  68. #spring.datasource.neo4jslave.pool-name=Neo4jSlaveDataSource
  69. #spring.datasource.neo4jslave.connection-test-query=MATCH (n) RETURN n LIMIT 1
  70. #spring.datasource.neo4jslave.unique-resource-name = Neo4jSlaveDataSource
  71. #es.config.common.url=http://222.128.14.106:10004
  72. es.config.common.url=http://192.168.80.28:9200
  73. es.config.common.maxConnection=80
  74. #使用静态页面模板的方式渲染
  75. render.engineName=static
  76. #关闭静态资源缓存
  77. static.resource.cacheable=false
  78. #是否启用devtools
  79. spring.devtools.restart.enabled=false
  80. #elasticsearch配置
  81. esAddress=192.168.80.28
  82. esPort=9300
  83. ## ALL TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF ##
  84. logging.config = classpath:logback.xml
  85. logging.level.mapper = DEBUG
  86. logging.level.neo4jmapper = DEBUG
  87. logging.level.org.springframework.boot = OFF
  88. logging.level.com.xczg = DEBUG
  89. #hadoop:hdfs
  90. spring.hadoop.fsUri=hdfs://192.168.80.27:9000
  91. #NLP
  92. nlp.uri = http://39.105.7.116:9999/
  93. #实体和关系地址
  94. nlp.entity.and.relation = entity_and_relation
  95. #批量实体和关系地址
  96. entity.and.relation.multi = entity_and_relation_multi
  97. #实体识别
  98. nlp.entity.recognition = entity_recognition
  99. #实体属性
  100. nlp.entity.attribute = entity_attribute
  101. #使用的elasticsearch的索引
  102. elasticsearch.indexName=document_zh
  103. ##CAS单点配置
  104. ##CAS服务地址
  105. cas.casServerUrlPrefix = http://192.168.80.27:8081/cas
  106. ##cas 登录页面的地址##
  107. cas.casLoginUrl = ${cas.casServerUrlPrefix}/login
  108. ##cas 登出页面地址##
  109. cas.casLogoutUrl = ${cas.casServerUrlPrefix}/logout
  110. ##对外提供的服务地址##
  111. cas.shiroServerUrlPrefix = http://localhost:8088/xzzs
  112. ##casFilter cas 拦截的地址##
  113. cas.casFilterUrlPattern = /cas
  114. ##登录成功的地址##
  115. cas.loginSuccessUrl = /index
  116. ##登录的地址##
  117. cas.loginUrl = ${cas.casLoginUrl}?service=${cas.shiroServerUrlPrefix}${cas.casFilterUrlPattern}
  118. ##退出的地址##
  119. cas.logoutUrl =${cas.casLogoutUrl}?service=${cas.shiroServerUrlPrefix}${cas.casFilterUrlPattern}
  120. ##失败的地址##
  121. cas.unauthorizedUrl = /errors/403