1 Star 0 Fork 0

刘宏/config-repo2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
zkjitsm-default.properties 7.40 KB
一键复制 编辑 原始数据 按行查看 历史
刘宏 提交于 2021-09-23 07:40 . update zkjitsm-default.properties.
{
"name": "zkjitsm",
"profiles": ["default"],
"label": null,
"version": null,
"state": null,
"propertySources": [{
"name": "https://gitee.com/gavinflyer/config-repo-dev/blob/master/zkjitsm.yml",
"source": {
"server.tomcat.uri-encoding": "UTF-8",
"server.tomcat.max-threads": 1000,
"server.tomcat.min-spare-threads": 30,
"server.port": "${tomcat.port:${SERVER_PORT:${PORT:8080}}}",
"server.connection-timeout": 5000,
"server.context-path": "/",
"management.context-path": "/management",
"app.api.base-packages": "com.msxf.devops.nitsm.api",
"app.api.servlet-path": "/api/*",
"app.service.base-packages": "com.msxf.devops.nitsm.web",
"app.service.servlet-path": "/service/*",
"security.ignored[0]": "/css/**",
"security.ignored[1]": "/js/**",
"security.ignored[2]": "/images/**",
"security.ignored[3]": "/webjars/**",
"security.ignored[4]": "/**/favicon.ico",
"security.ignored[5]": "/swagger-ui.html",
"security.ignored[6]": "/swagger-resources/**",
"security.ignored[7]": "/v2/api-docs",
"security.ignored[8]": "/**.css",
"security.ignored[9]": "/**.js",
"security.ignored[10]": "/**.json",
"security.ignored[11]": "/icons/**",
"security.ignored[12]": "/index.html",
"security.ignored[13]": "/",
"spring.jackson.time-zone": "GMT+8",
"spring.jackson.date-format": "yyyy-MM-dd HH:mm:ss",
"spring.http.multipart.max-file-size": "500MB",
"spring.http.multipart.max-request-size": "500MB",
"spring.http.multipart.enabled": true,
"spring.session.store-type": "HASH_MAP",
"spring.redis.database": 0,
"spring.redis.password": "${redis.password}",
"spring.redis.pool.max-active": 8,
"spring.redis.pool.max-idle": 8,
"spring.redis.cluster.nodes": "${redis.nodes}",
"spring.redis.cluster.max-redirects": 6,
"spring.mvc.favicon.enabled": false,
"spring.datasource.type": "com.alibaba.druid.pool.DruidDataSource",
"spring.datasource.driver-class-name": "com.mysql.jdbc.Driver",
"spring.datasource.url": "jdbc:mysql://${db.host}:${db.port}/${db.database}?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false",
"spring.datasource.username": "${db.user}",
"spring.datasource.password": "${db.password}",
"spring.datasource.druid.initial-size": 10,
"spring.datasource.druid.max-active": 100,
"spring.datasource.druid.min-idle": 10,
"spring.datasource.druid.max-wait": 60000,
"spring.datasource.druid.pool-prepared-statements": false,
"spring.datasource.druid.max-pool-prepared-statement-per-connection-size": -1,
"spring.datasource.druid.time-between-eviction-runs-millis": 60000,
"spring.datasource.druid.min-evictable-idle-time-millis": 300000,
"spring.datasource.druid.validation-query": "SELECT 1 FROM DUAL",
"spring.datasource.druid.test-while-idle": true,
"spring.datasource.druid.test-on-borrow": false,
"spring.datasource.druid.test-on-return": false,
"spring.datasource.druid.keepAlive": true,
"spring.datasource.druid.stat-view-servlet.enabled": true,
"spring.datasource.druid.stat-view-servlet.url-pattern": "/druid/*",
"spring.datasource.druid.filter.stat.enabled": "${druid.stat.enabled:false}",
"spring.datasource.druid.filter.stat.log-slow-sql": true,
"spring.datasource.druid.filter.stat.slow-sql-millis": 1000,
"spring.datasource.druid.filter.stat.merge-sql": true,
"spring.datasource.druid.filter.wall.enabled": "${druid.wall.enabled:false}",
"spring.datasource.druid.filter.wall.config.multi-statement-allow": true,
"jwt.audience": "msxf",
"jwt.issuer": "msxf-cloud",
"jwt.secret": "bXN4ZmNsb3Vk",
"jwt.ttl": 480,
"logging.config": "classpath:logback-nitsm.xml",
"logging.path": "logs",
"logging.level.root": "WARN",
"logging.level.com.msxf.devops.nitsm": "WARN",
"mybatis.type-aliases-package": "com.msxf.devops.nitsm.dal.model",
"mybatis.mapper-locations": "classpath:mapper/*.xml",
"mybatis.configuration.map-underscore-to-camel-case": true,
"mybatis.configuration.call-setters-on-nulls": true,
"mapper.mappers[0]": "com.msxf.devops.nitsm.dal.mapper.base.BaseMapper",
"mapper.not-empty": false,
"mapper.order": "BEFORE",
"pagehelper.helperDialect": "mysql",
"pagehelper.reasonable": true,
"pagehelper.supportMethodsArguments": true,
"pagehelper.params": "count=countSql"
}
}, {
"name": "https://gitee.com/gavinflyer/config-repo-dev/blob/master/application.properties",
"source": {
"eureka.client.serviceUrl.defaultZone": "${eureka_url:${EUREKA_URL:http://eurekaserver-cvar1.msxfcloud.test/eureka/}}",
"eureka.instance.leaseExpirationDurationInSeconds": "15",
"spring.cloud.bus.rabbitmq.host": "${rabbitmq_host:${RABBITMQ_HOST:10.193.245.185}}",
"spring.cloud.bus.rabbitmq.addresses": "${rabbitmq_addresses:${RABBITMQ_ADDRESSES:}}",
"spring.cloud.bus.rabbitmq.password": "${rabbitmq_pwd:${RABBITMQ_PWD:cloud}}",
"eureka.client.healthcheck.enabled": "true",
"eureka.client.registryFetchIntervalSeconds": "5",
"spring.cloud.bus.rabbitmq.virtualHost": "${rabbitmq_vhost:${RABBITMQ_VHOST:cloud}}",
"eureka.instance.leaseRenewalIntervalInSeconds": "5",
"spring.cloud.bus.rabbitmq.username": "${rabbitmq_user:${RABBITMQ_USER:cloud}}",
"eureka.instance.instanceId": "${spring.application.name}-${spring.cloud.client.ipAddress}-${server.port}",
"eureka.instance.prefer-ip-address": "true"
}
}, {
"name": "https://gitee.com/gavinflyer/config-repo-dev/blob/master/application.yml",
"source": {
"server.tomcat.max-threads": 1000,
"server.tomcat.min-spare-threads": 200,
"server.connection-timeout": 15000,
"endpoints.shutdown.enabled": false,
"endpoints.heapdump.enabled": false,
"endpoints.refresh.enabled": false,
"endpoints.pause.enabled": false,
"endpoints.resume.enabled": false,
"endpoints.restart.enabled": false,
"endpoints.env.enabled": false,
"management.contextPath": "/opsmonitor",
"management.security.enabled": true,
"management.health.cassandra.enabled": false,
"management.health.couchbase.enabled": false,
"management.health.elasticsearch.enabled": false,
"management.health.jms.enabled": false,
"management.health.ldap.enabled": false,
"management.health.mail.enabled": false,
"management.health.mongo.enabled": false,
"management.health.redis.enabled": false,
"management.health.rabbit.enabled": false,
"management.health.solr.enabled": false,
"management.health.hystrix.enabled": false,
"management.health.refresh.enabled": false,
"msxf.idc.zookeeper.serverLists": "10.97.198.37:2181",
"security.user.name": "${opsmonitor.username:${OPSMONITOR.USERNAME:opsmonitor}}",
"security.user.password": "${opsmonitor.password:${OPSMONITOR.PASSWORD:opsmonitor}}",
"spring.cloud.netflix.metrics.enabled": false,
"health.config.enabled": false,
"ribbon.NFLoadBalancerRuleClassName": "com.msxf.eyas.common.netflix.loadbalancer.CuttingFlowMetadataRule",
"eureka.instance.statusPageUrlPath": "/opsmonitor/info",
"eureka.instance.healthCheckUrlPath": "/opsmonitor/health",
"eureka.client.registerWithEureka": true,
"eureka.client.fetchRegistry": true,
"logging.pattern.file": "%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:-%5p} ${PID:- } --- [%t] %-40.40logger{39} : [TxId : %X{PtxId} , SpanId : %X{PspanId}] %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}",
"logging.level.com.netflix.discovery": "OFF",
"logging.level.com.msxf": "INFO",
"logging.path": "/home/finance/Logs/${spring.application.name}",
"test.prop": "xxxxxx"
}
}]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gavinflyer/config-repo2.git
git@gitee.com:gavinflyer/config-repo2.git
gavinflyer
config-repo2
config-repo2
master

搜索帮助