| | |
| | | port: 12000 |
| | | servlet: |
| | | context-path: /web |
| | | tomcat: |
| | | uri-encoding: UTF-8 |
| | | ###log4j2的配置,需要哪个包下的文件开启某个等级,就直接xxxxx: yy这样方式 |
| | | logging: |
| | | config: "classpath:log4j2-spring-prod.xml" |
| | | level: |
| | | com.vci: debug |
| | | root: info |
| | | ###本项目的配置,注意spring家族读取配置时,大写字母需要转换为-的方式,而feign需要大小写完全相同 |
| | | #缓存 |
| | | spring: |
| | | # redis配置 |
| | | redis: ###### redis 配置 |
| | | enabled: true #true,启用redi,false不启用,默认false,配置文件没有这些默认不启用redis |
| | | host: localhost # ip地址 |
| | | database: 2 # redis数据库 0-15 |
| | | port: 6379 # 端口号 |
| | | password: foobared # 无密码不填 |
| | | timeout: 30000s # 连接超时时间 (默认1天) |
| | | lettuce: |
| | | shutdown-timeout: 100ms # 关闭超时时间 默认 100ms |
| | | pool: # lettuce 连接池 |
| | | max-active: 8 # 连接池最大连接数 默认 8(-1 :表示没有限制) |
| | | max-wait: 60000ms # 连接池最大阻塞等待时间 默认-1ms (-1 :表示没有限制) 这里设置1分钟 |
| | | max-idle: 8 # 最大空闲连接 默认 8 |
| | | min-idle: 0 # 最小空闲连接 默认 0 |
| | | resources: |
| | | chain: |
| | | cache: false |
| | | strategy: |
| | | content: |
| | | enabled: true |
| | | paths: /** |
| | | cache: |
| | | type: ehcache |
| | | servlet: |
| | | multipart: |
| | | enabled: true |
| | | ###单个文件大小:50M |
| | | max-file-size: 52428800 |
| | | ###总上传的文件大小:50M |
| | | max-request-size: 52428800 |
| | | mvc: |
| | | view: |
| | | suffix: .html |
| | | |
| | | #平台相关配置 |
| | | plt: |
| | | #人员信息录入时,是否需要密级字段 |
| | | export-secret-grade: false |
| | | |
| | | ###业务项目的配置,注意spring家族读取配置时,大写字母需要转换为-的方式,而feign需要大小写完全相同 |
| | | session: |
| | | session-info-storage-type: "database" |
| | | database-platform: oracle |
| | |
| | | sessionIdlTime: 30 |
| | | ###超时提醒时间,单位为分钟 |
| | | sessionRemind: 3 |
| | | ###兼容性,必须设置为这个 |
| | | user-table-compatibility: "platform1" |
| | | #缓存配置 |
| | | ###corba的配置 |
| | | jacorb: |
| | | client: |
| | | enabled: true |
| | | url: "corbaloc::localhost:30000/NameService" |
| | | instanceIdentity: "platform-sf" |
| | | #受2021版本的部分接口的影响,下面的内容需要配置, |
| | | vciPlatform: |
| | | objectServiceUrl: "2" |
| | | #缓存 |
| | | spring: |
| | | # redis配置 |
| | | redis: ###### redis 配置 |
| | | enabled: false #true,启用redi,false不启用,默认false,配置文件没有这些默认不启用redis |
| | | host: vciserver # ip地址 |
| | | database: 0 # redis数据库 0-15 |
| | | port: 6379 # 端口号 |
| | | password: vcitest # 无密码不填 |
| | | timeout: 30000s # 连接超时时间 (默认1天) |
| | | lettuce: |
| | | shutdown-timeout: 100ms # 关闭超时时间 默认 100ms |
| | | pool: # lettuce 连接池 |
| | | max-active: 8 # 连接池最大连接数 默认 8(-1 :表示没有限制) |
| | | max-wait: 60000ms # 连接池最大阻塞等待时间 默认-1ms (-1 :表示没有限制) 这里设置1分钟 |
| | | max-idle: 8 # 最大空闲连接 默认 8 |
| | | min-idle: 0 # 最小空闲连接 默认 0 |
| | | cache: |
| | | type: ehcache |
| | | config: |
| | | location: |
| | | mvc: |
| | | view: |
| | | suffix: ".html" |
| | | |
| | | ##web配置 |
| | | vciweb: |
| | | debug: true |
| | | cors: |
| | | |
| | | #文件预览配置 |
| | | file-preview: |
| | | enabled: true |
| | | preview-service-url: "http://dev.yunkeruida.top:28090/vciFilePreview/ajaxPreview.html" |
| | | preview-system-key: plt2020 |
| | | |
| | | #feign地址 |
| | | feign: |
| | | #扫描工具服务 |
| | | scanServiceUrl: "" |
| | | #平台服务 |
| | | pltServiceUrl: "" |
| | | #文件服务 |
| | | fileServiceUrl: "" |
| | | |
| | | #springmvc配置 |
| | | vcispringmvc: |
| | | enabled: true |
| | | #不校验安全的链接地址 |
| | | un-check-urls: |
| | | #不更新请求时间的链接地址 |
| | | un-storage-request-time-urls: |