123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- 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.27:3308/xzzs_developer?useAffectedRows=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL
- #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
- 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
- ##http://192.168.80.29:7474/browser/ 719知识图谱 账号:neo4j 密码:123456
- ##jdbc:neo4j:bolt://192.168.70.77:7688/情报知识图谱 账号:neo4j 密码:123456
- ##测试
- spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.27:7687
- #spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.59.128:7687
- ##719
- #spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.29:7687/
- #spring.datasource.neo4jmaster.jdbc-url = jdbc:neo4j:bolt://192.168.80.252: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.70.88: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.28:9200
- es.config.common.maxConnection=80
- #使用静态页面模板的方式渲染
- render.engineName=static
- #关闭静态资源缓存
- static.resource.cacheable=false
- #是否启用devtools
- spring.devtools.restart.enabled=false
- #elasticsearch配置
- esAddress=192.168.80.28
- esPort=9300
- ## ALL 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.27: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
- #使用的elasticsearch的索引
- elasticsearch.indexName=document_zh
- ##CAS单点配置
- ##CAS服务地址
- cas.casServerUrlPrefix = http://192.168.80.27:8081/cas
- ##cas 登录页面的地址##
- cas.casLoginUrl = ${cas.casServerUrlPrefix}/login
- ##cas 登出页面地址##
- cas.casLogoutUrl = ${cas.casServerUrlPrefix}/logout
- ##对外提供的服务地址##
- cas.shiroServerUrlPrefix = http://localhost:8088/xzzs
- ##casFilter cas 拦截的地址##
- cas.casFilterUrlPattern = /cas
- ##登录成功的地址##
- cas.loginSuccessUrl = /index
- ##登录的地址##
- cas.loginUrl = ${cas.casLoginUrl}?service=${cas.shiroServerUrlPrefix}${cas.casFilterUrlPattern}
- ##退出的地址##
- cas.logoutUrl =${cas.casLogoutUrl}?service=${cas.shiroServerUrlPrefix}${cas.casFilterUrlPattern}
- ##失败的地址##
- cas.unauthorizedUrl = /errors/403
|