123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- server.port=8088
- server.servlet.context-path=/xzzs
- #不限制文件上传大小
- spring.http.multipart.max-file-size=-1
- spring.http.multipart.max-request-size=-1
- #单个上传文件和总上传文件都现在为500
- singleFileSize = 500MB
- totalFileSize = 500MB
- mybatis.config.mysql=classpath:mybatis-config-mysql.xml
- mybatis.configuration.map-underscore-to-camel-case=true
- mybatis.config.neo4jmaster = mybatis-config-neo4jmaster.xml
- mybatis.config.neo4jslave = mybatis-config-neo4jslave.xml
- #数据源类型
- #spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
- # 数据库配置
- 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
- spring.datasource.mysql.username = root
- spring.datasource.mysql.password = xczgdeveloper
- spring.datasource.mysql.driver-class-name = com.mysql.cj.jdbc.Driver
- spring.datasource.mysql.min-pool-Size=3
- spring.datasource.mysql.max-pool-size=25
- spring.datasource.mysql.max-life-time=20000
- spring.datasource.mysql.borrow-connection-timeout=30
- spring.datasource.mysql.login-timeout=30
- spring.datasource.mysql.maintenance-interval=60
- spring.datasource.mysql.max-idle-time=60
- spring.datasource.mysql.pool-name = MysqlDataSource
- spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.13:7687/
- spring.datasource.neo4jmaster.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
- spring.datasource.neo4jmaster.username = neo4j
- spring.datasource.neo4jmaster.password = 123456
- spring.datasource.neo4jmaster.minimum-idle=5
- spring.datasource.neo4jmaster.maximum-pool-size=10
- spring.datasource.neo4jmaster.max-lifetime = 1800000
- spring.datasource.neo4jmaster.auto-commit=true
- spring.datasource.neo4jmaster.idle-timeout=180000
- spring.datasource.neo4jmaster.with-connection-timeout=180000
- spring.datasource.neo4jmaster.time-between-eviction-runs-millis=18800
- spring.datasource.neo4jmaster.connection-timeout=30000
- spring.datasource.neo4jmaster.pool-name=Neo4jMasterDataSource
- spring.datasource.neo4jmaster.connection-test-query=MATCH (n) RETURN n LIMIT 1
- #spring.datasource.neo4jmaster.unique-resource-name = Neo4jMasterDataSource
- #spring.datasource.neo4jmaster.max.connection.pool.size = 20
- #spring.datasource.neo4jmaster.max.connection.livenes.check.timeout = 20
- #spring.datasource.neo4jmaster.max.connection.lifetime = 60000
- #spring.datasource.neo4jmaster.max.transaction.retry.time = 5000
- #图数据库从节点配置
- #spring.datasource.neo4jslave.jdbc-url = jdbc:neo4j:bolt://192.168.80.13:7687/
- #spring.datasource.neo4jslave.driver-class-name = org.neo4j.jdbc.bolt.BoltDriver
- #spring.datasource.neo4jslave.username = neo4j
- #spring.datasource.neo4jslave.password = 123456
- #spring.datasource.neo4jslave.minimum-idle=5
- #spring.datasource.neo4jslave.maximum-pool-size=10
- #spring.datasource.neo4jslave.max-lifetime = 1800000
- #spring.datasource.neo4jslave.auto-commit=true
- #spring.datasource.neo4jslave.idle-timeout=180000
- #spring.datasource.neo4jslave.with-connection-timeout=180000
- #spring.datasource.neo4jslave.time-between-eviction-runs-millis=18800
- #spring.datasource.neo4jslave.connection-timeout=30000
- #spring.datasource.neo4jslave.pool-name=Neo4jSlaveDataSource
- #spring.datasource.neo4jslave.connection-test-query=MATCH (n) RETURN n LIMIT 1
- #spring.datasource.neo4jslave.unique-resource-name = Neo4jSlaveDataSource
- #es.config.common.url=http://222.128.14.106:10004
- es.config.common.url=http://192.168.80.13:9200
- es.config.common.maxConnection=80
- #使用静态页面模板的方式渲染
- render.engineName=static
- #关闭静态资源缓存
- static.resource.cacheable=false
- #是否启用devtools
- spring.devtools.restart.enabled=false
- #elasticsearch配置
- esAddress=192.168.80.13
- esPort=9300
- ## TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF ##
- logging.config = classpath:logback.xml
- logging.level.mapper = DEBUG
- logging.level.neo4jmapper = DEBUG
- logging.level.org.springframework.boot = OFF
- logging.level.com.xczg = DEBUG
- #hadoop:hdfs
- spring.hadoop.fsUri=hdfs://192.168.80.13:9000
- #NLP
- nlp.uri = http://39.105.7.116:9999/
- #实体和关系地址
- nlp.entity.and.relation = entity_and_relation
- #批量实体和关系地址
- entity.and.relation.multi = entity_and_relation_multi
- #实体识别
- nlp.entity.recognition = entity_recognition
- #实体属性
- nlp.entity.attribute = entity_attribute
|