#info.description=Fiberhome Cloud Platform #info.url=https://www.fcae.com banner.charset=UTF-8 #Banner file location. banner.location=classpath:smartms.txt server.port=${app.port:8080} spring.jmx.enabled=false #ribbon.IsSecure=true #retry #该参数用来开启重试机制 spring.cloud.loadbalancer.retry.enabled=true ribbon.okhttp.enabled=true ribbon.httpclient.enabled=false feign.okhttp.enabled=true feign.httpclient.enabled=false #开启熔断 hystrix.threadpool.default.coreSize=50 #feign.hystrix.enabled=true feign.compression.request.enabled=true feign.compression.response.enabled=true #spring.aop.proxy-target-class=true fcae-domain=fcae.com # 是否开启安全校验 fae.ms.server.security.enabled=true #服务注册的命名空间 fae.ms.namespace=BMS #mq spring.rabbitmq.addresses=111.47.11.70:5672 spring.rabbitmq.username=whlg_mq spring.rabbitmq.password=fhyq_whlg@mq3692 #消息发送到交换机确认机制,是否确认回调 spring.rabbitmq.publisher-confirms=true spring.rabbitmq.listener.simple.acknowledge-mode=manual #consul spring.cloud.consul.host=111.47.11.70 spring.cloud.consul.port=8500 spring.cloud.consul.discovery.prefer-ip-address=true spring.cloud.consul.discovery.instance-id=${spring.application.name}:${spring.cloud.client.ipAddress}:${server.port} spring.cloud.consul.discovery.instanceGroup=bms spring.cloud.consul.discovery.tags=v-1.0.0,namespace=fae spring.cloud.consul.discovery.acl-token=86ad95d5-c273-4213-a9c0-6e454e3778f0 spring.cloud.consul.discovery.registerHealthCheck=true spring.cloud.consul.discovery.healthCheckTimeout=10s spring.cloud.consul.discovery.healthCheckCriticalTimeout=30m # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) #当创建连接池时,没法创建指定最小连接数量是否抛异常 spring.datasource.hikari.initialization-fail-fast=true #数据库连接错误时是否继续启动应用 spring.datasource.continue-on-error=false #指定初始化数据源,是否用data.sql来初始化,默认: true spring.datasource.initialize=false #是否开启jmx监控 spring.datasource.jmx-enabled=false #spring.datasource.jndi-name= #连接池最大连接数 spring.datasource.hikari.maximumPoolSize=100 #连接池最小连接数 根据实际情况调整 期望是完全覆盖常用场景并略微富余 设置过大占用资源和连接 过小会频繁的新建或销毁连接 spring.datasource.hikari.minimumIdle=10 #是否允许中断 spring.datasource.hikari.allow-pool-suspension=false spring.datasource.hikari.connection-test-query=select 1 ##驱动类 spring.datasource.hikari.driver-class-name=com.mysql.jdbc.Driver #指定连接多久没被使用时,被标记为空闲 spring.datasource.hikari.idle-timeout=600000 #连接最大生命周期 spring.datasource.hikari.max-lifetime=1800000 #连接超时 spring.datasource.hikari.connection-timeout=30000 #登陆超时时间 spring.datasource.hikari.login-timeout=5000 #校验的超时时间 spring.datasource.hikari.validation-timeout=5000 ##url #spring.datasource.hikari.jdbc-url=jdbc:mysql://10.128.151.4:3306/youqu_test?useUnicode=true&characterEncoding=UTF8&allowMultiQueries=true&jdbcCompliantTruncation=false&zeroDateTimeBehavior=convertToNull spring.datasource.hikari.jdbc-url=jdbc:mysql://111.47.11.70:3306/youqu_whlg?useUnicode=true&characterEncoding=UTF8&allowMultiQueries=true&jdbcCompliantTruncation=false&zeroDateTimeBehavior=convertToNull #用户名 spring.datasource.hikari.username=root #密码 spring.datasource.hikari.password=4wdc79GQEV spring.datasource.type=com.zaxxer.hikari.HikariDataSource #名称 spring.datasource.hikari.pool-name=${spring.application.name}_dataSourcePool #spring.datasource.url=jdbc:mysql://10.128.151.4:3306/6_test?useUnicode=true&characterEncoding=UTF8&allowMultiQueries=true #spring.datasource.username=6_test #spring.datasource.password=6_test@123 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver ######################################################## ### REDIS (RedisProperties) ######################################################## # Maximum number of redirects to follow when executing commands across the cluster. #spring.redis.cluster.max-redirects= # Comma-separated list of "host:port" pairs to bootstrap from. #spring.redis.cluster.nodes= # Database index used by the connection factory. #spring.redis.database=14 # Redis server host. #spring.redis.host=10.128.151.107 spring.redis.cluster.nodes=111.47.11.70:6180,111.47.11.70:6181,111.47.11.70:6179 # Login password of the redis server. spring.redis.password=fiberhome_cict # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit. spring.redis.pool.max-active=500 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections. spring.redis.pool.max-idle=20 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely. spring.redis.pool.max-wait=-1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive. spring.redis.pool.min-idle=0 # Redis server port. #spring.redis.port=6379 # Name of Redis server. #spring.redis.sentinel.master= # Comma-separated list of host:port pairs. #spring.redis.sentinel.nodes= # Connection timeout in milliseconds. spring.redis.timeout=10000 #WEB App.Version=2.1.0-dev # Redis下的cache,session顶级命名空间用App.Name配置 App.Name=SmartMs App.HomePage=web/smartas/demo/Dashboard.html App.Theme=light # app.cache=[none,redis] App.Cache=${app.cache:redis} spring.mvc.resource.enabled=false spring.resources.add-mappings=false spring.freemarker.template-loader-path=classpath:/ftl/ spring.freemarker.cache=true fae.ms.session.cookieName=JSESSIONID fae.ms.session.useSecureCookie=false fae.ms.session.useHttpOnlyCookie=true fae.ms.session.cookiePath=/ #session.domainName=smartas.com #针对IP地址访问的情况,可以不设置。 fae.ms.session.domainName= fae.ms.session.cookieMaxAge=-1 #配置domain模式匹配,属于高级控制,并且和session.domainName不可同时设置值 fae.ms.session.domainNamePattern= #有效期(秒) fae.ms.session.maxInactiveIntervalInSeconds=3600 fae.resource.css=\ web/common/fontawesome/css/font-awesome.min,\ web/common/scrollbar/jquery.mCustomScrollbar.min,\ web/ui/antd2x/antd.min,\ web/common/plupload/plupload,\ web/ui/css/smart,\ web/ui/css/main,\ web/ui/theme/smart-icons,\ web/theme/index,\ web/theme/theme fae.resource.commonJs=\ web/common/jquery/jquery-1.11.3.min,\ web/common/util-all.min,\ web/config/log4js.config,\ web/common/jquery.ba-hashchange.min,\ web/common/react/react-all.min,\ web/common/react-draggable.min,\ web/common/plupload/plupload.full.min,\ web/common/scrollbar/jquery.mCustomScrollbar.concat.min fae.resource.coreJs=web/core/main.min fae.resource.uiJs=web/ui/antd2x/antd.min,web/ui/SmartUI,web/ui/wegits/main.min,web/theme/index ##weedfs服务器路径 masterUrl=http://10.110.200.62:9333 #配置springboot上传文件大小 #spring.servlet.multipart.enabled=true #spring.servlet.multipart.max-file-size=30Mb #spring.servlet.multipart.max-request-size=30Mb spring.http.multipart.enabled=true spring.http.multipart.maxFileSize=30MB spring.http.multipart.maxRequestSize=30MB #sleuth spring.sleuth.enabled=true spring.sleuth.log.slf4j.enabled=false #spring.zipkin.base-url=http://10.110.200.29:8911/ spring.sleuth.sampler.percentage=1.0 spring.sleuth.scheduled.skipPattern=org.springframework.* #关闭敏感信息 endpoints.health.sensitive=false #关闭权限校验 management.security.enabled=false #去掉重复的metrics spring.metrics.servo.enabled=false #工作流 workflow.mail.server.host=smtp.fiberhome.com workflow.mail.server.port=25 workflow.mail.send.user= workflow.mail.send.password= workflow.mail.send.protocol=smtp workflow.mail.auth=true workflow.mail.timeout=25000 #个推 测试版 #ios GETUI_AppStore_AppID = 8S69qrlfgq6iBvYeNoopb8 GETUI_AppStore_AppKey = UDQdh7Grsn8A9U8CePle73 GETUI_AppStore_MASTERSECRET = oBXZ7SRLYPA1wr5FAo4Wu1 #安卓 GETUI_AppID = gtMr3X9FBV9VWSSJfJXIs8 GETUI_AppKey = uUMfaIie0y9HGxzNlM9GP2 GETUI_MASTERSECRET = uMxfT2lxuz5NCt05B5qcb2 #个推 武船版 #ios #GETUI_AppStore_AppID = epQkfnqd7VA01C2ZfMa366 #GETUI_AppStore_AppKey = cUZ1lASR5O9HmLMWlOGdN7 #GETUI_AppStore_MASTERSECRET = W0wNr8Qi3M62mT4N6wcVO3 #安卓 #GETUI_AppID = epQkfnqd7VA01C2ZfMa366 #GETUI_AppKey = cUZ1lASR5O9HmLMWlOGdN7 #GETUI_MASTERSECRET = W0wNr8Qi3M62mT4N6wcVO3 #推送地址 PUBLISH_PRE = http://111.47.11.70:10443/services #环信 测试版 #org_name = 1123181126181414 #app_name = youqu-test #client_id = YXA6P2m8MPFNEeiUAXk5epTZeg #client_secret = YXA603xYVprQGe4f_XArEt-FmZI8sAM #环信 正式版 #org_name = 1123181126181414 #app_name = youqu #client_id = YXA62URxcPFMEeieqeGf0ChCVg #client_secret = YXA6ED1nRBahrHnEpxFiTNoZ8P5D7PI #楚天云图片服务器 #S3_ENDPOINT = ctyoss.chutianyun.gov.cn:8060 #S3_BUCKETNAME = yq_fiberhome_test #S3_AKEY = DXTFPBAO5FMM95JJJZGY #S3_SKEY = ZOWDWKKbDVdMaJLZE83YVGxwcC10Vvufq0XBQ7RQ #杂志文章静态文件相关配置 ICON_PREFIX = http://ctyoss.chutianyun.gov.cn:8060/yq_fiberhome_test/ ATTACH_UPLOAD_PATH = /usr/local/tomcat/youqu_server/webapps/ROOT/ #阿里云图片服务器 正式版 #OSS_KEY = LTAIOotI1FpxgnXZ #OSS_SECRET = 1EBqjE4MOTGnMH434LE85sFle5Nz9N #OSS_ENDPOINT = http://oss-cn-hangzhou.aliyuncs.com #OSS_BUCKETNAME = yq-fiberhome-prod #党费同步地址 #DATA_SYNC = http://10.110.200.190:8080/youqu_dataSync/data/service.do?text=%s #党员活跃率定时插入时间 INIT_ACTIVERATE_SCHEDULE_TIME=0 0/40 * * * ? #掌上党校定时插入时间 INIT_PARTYCLASS_SCHEDULE_TIME=0 20/8 * * * ? #测试配置 cron = 1 2 3 #管理后台登录地址 server.loginURL=http://111.47.11.70:10443/services/web/security/login server.userName=17700000000 server.password=123456 #mail相关配置 spring.mail.host=smtp.fiberhome.com spring.mail.protocol=smtps spring.mail.test-connection=false spring.mail.port=465 #账号密码 spring.mail.username=youqu@fiberhome.com spring.mail.password=0430asdf spring.mail.default-encoding=UTF-8 #ssl登录相关配置 spring.mail.properties.mail.transport.protocol=smtps spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.starttls.required=true spring.mail.properties.mail.smtp.ssl.enabled=true spring.mail.properties.mail.smtp.ssl.socketFactory.port=465 spring.mail.properties.mail.smtp.ssl.socketFactory.fallback=false spring.mail.properties.mail.smtp.ssl.socketFactory.class=javax.net.ssl.SSLSocketFactory #关闭邮件健康检查 因为烽火邮箱客户端 management.health.mail.enabled=false dtx.enabled=true tx-lcn.client.manager-address=111.47.11.70:8070 tx-lcn.logger.enabled=false tx-lcn.logger.driver-class-name=com.mysql.jdbc.Driver tx-lcn.logger.jdbc-url=jdbc:mysql://111.47.11.70:3306/tx_manager_whlg?useUnicode=true&characterEncoding=UTF8&allowMultiQueries=true&jdbcCompliantTruncation=false&zeroDateTimeBehavior=convertToNull tx-lcn.logger.username=root tx-lcn.logger.password=4wdc79GQEV tx-lcn.springcloud.loadbalance.enabled=true #tx-lcn自身的重试机制因为版本冲突并不生效 这是重写的开关配置 tx-lcn.ribbon.loadbalancer.dtx.fiberhome.enabled=true tx-lcn.client.resource-order=2 # 压测最新最热接口 (测试) server.tomcat.max-connections=10000 server.tomcat.max-threads=500 fiberhome.elasticsearch.username=elastic fiberhome.elasticsearch.password=123456 fiberhome.elasticsearch.nodes[0].hostname=10.128.151.4 fiberhome.elasticsearch.nodes[0].port=9200 fiberhome.elasticsearch.nodes[0].protocol=http