server: port: 8080 servlet: context-path: / #web上下文 spring: application: name: sd-prod-baseFrame cache: type: JCACHE # 缓存类型,目前支持 REDIS JCACHE jcache: # ehcache 配置 type=JCACHE时生效 provider: org.ehcache.jsr107.EhcacheCachingProvider config: classpath:ehcache-spring.xml data: redis: # redis 配置 caches: auth-1800,login-300,dict,public,flowEng,rfEng ,modlCalculateModel,modlControlModel#缓存列表,逗号分隔,横线前为缓存名称,之后为多少秒不使用则清除,缺省为0代表永不清除 host: 192.168.1.132 port: 6379 timeout: 30s jedis: pool: min-idle: 5 max-idle: 20 max-wait: -1ms max-active: 200 #datasource: # jdbcUrl: jdbc:oracle:thin:@192.168.1.40:1521/orcl # username: testdb # password: testdb datasource: jdbcUrl: jdbc:mysql://192.168.1.69:3306/rwa username: test password: test encrypted: false # 是否使用加密后的数据库密码 #hikari 链接池配置 #hikari: # pool-name: HikariCP999 #链接池名称 # minimum-idle: 10 #最小空闲连接数量 # idle-timeout: 600000 #单位毫秒,空闲连接存活最大时间,默认600000毫秒(10分钟) # maximum-pool-size: 10 #连接池最大连接数,默认是10 # max-lifetime: 1800000 #单位毫秒,此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000毫秒即30分钟 # connection-timeout: 30000 #单位毫秒,数据库连接超时时间,默认30秒,即30000 # 数据库密码加密使用说明 # 1、以数据库密码作为参数,执行com.sundata.datasource.EncryptString,记录密码加密结果 # 2、修改上面的配置信息:encrypted改为true;password的值改为上一步记录的加密结果;删除hikari,他的下级属性升级为datasource的下级属性 http: encoding: # 指定HTTP请求编码,等价于web.xml中的CharacterEncodingFilter enabled: true force: true charset: UTF-8 resources: static-locations: - classpath:/js/ - classpath:/styles/ servlet: multipart: max-file-size: 100MB # 最大可上传文件大小 resolve-lazily: true thymeleaf: # pageOffice 需要 cache: false mode: HTML5 prefix: classpath:/ suffix: .html #mybatis: 改为在DefaultDataSourceConfig中指定 # config-location: classpath:mybatis-config.xml # mapper-locations: classpath*:com/sundata/**/mybatis/*.xml springdoc.packagesToScan: com.sundata.admin.usermanage # 指定openAPI扫描路径 flink: server: # flink服务器配置 ip: #192.168.1.223 # 未指定则不启用flink port: 8082 libPath: D:/WorkSpace/eclipseP3S2/sd-prod-rfEngine/flinklib # flink运算时需要的jar包的存放路径,使用前必须将路径下的jar包更新到与项目一致的版本 datasource: # 接口数据的数据源 driverClassName: org.apache.derby.jdbc.ClientDriver jdbcUrl: jdbc:derby://192.168.1.223:1527/basedb3 username: basedb3 password: basedb3 # 运行期间不需要查看修改的系统级参数 #parameter{MD5,SM3} default MD5 logic.PasswordEncryption: SM3 #Project deployment pattern (Note: The default is clustering mode, and the dictionary 'nodeips' needs to be added. parameter:{cluster,standalone}) pattern.model: standalone #parameter{SM4} default SM4 PwdConvertEncryption: SM4 #Whether to open multi org. parameter:{YES,NO} multi.org: NO #parameter{db2,oracle,mysql} default No value dbType: mysql # 登录校验图片参数 validate: image: width: 65 height: 23 codeCount: 5 # 调整日志级别 logging: level: com: sundata: authMng: debug #pageoffice的简易印章平台的初始密码,如果使用则强烈建议修改 popassword: 111111 #存放pageoffice的服务器资源目录, 存放license.lic poseal.db文件,为空则不启用pageOffice posyspath: #以下4种都可以单独配置,空值表示不启用 #host(ip1:port,ip2:port,www.xxx.com)。添加上只准许配置的ip地址和端口访问后台系统。 #requestMethod(OPTIONS,PUT)必须为大写,禁止括号内的请求方法。request请求方法禁用配置。 #XFrameOptions(DENY,SAMEORIGIN) 过。设置X-Frame-Options增加安全性。 #referer(ip1,ip2,www.xxx.com,xxx[.do](URI,结尾匹配,大小写敏感)), 使用时必须将本系统IP或域名配置上,与前端config.ts请求路径一样。。允许的请求ip、方法路径,默认全部允许。 com.sundata.common.interceptor.hosts: com.sundata.common.interceptor.requestMethods: com.sundata.common.interceptor.referer: com.sundata.common.interceptor.XFrameOptions: #后台XSS拦截,为避免影响效率,空值表示不启用,常用配置script,alert,<,>,onerror,src,img com.sundata.common.interceptor.blacklist: com.sundata.product.commEng.service.commCode: #SQL语法兼容参数,配置后按配置的数据库语法执行SQL,比如某国产数据库语法兼容oracle,此处配置oracle,改动后需重启 #如果使用的是db2,oracle,mysql,dm数据库,不用配置此参数 #parameter{db2,oracle,mysql} default No value com.sundata.common.util.sqlCompatType: mysql