1 Star 0 Fork 0

enrico / architecture-config-repo

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
application-dev.yml 2.78 KB
Copy Edit Raw Blame History
enrico authored 2019-03-13 13:13 . 更新 application-dev.yml
# 加解密根密码
jasypt:
encryptor:
password: scf #根密码
# redis 相关
spring:
redis:
host: localhost
rabbitmq:
host: 127.0.0.1
port: 5672
username: scf
password: scf
# 暴露监控端点
management:
endpoints:
web:
exposure:
include: '*'
# feign 配置
feign:
hystrix:
enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
client:
config:
feignName:
connectTimeout: 10000
readTimeout: 10000
compression:
request:
enabled: true
response:
enabled: true
# hystrix If you need to use ThreadLocal bound variables in your RequestInterceptor`s
# you will need to either set the thread isolation strategy for Hystrix to `SEMAPHORE or disable Hystrix in Feign.
hystrix:
command:
default:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 60000
shareSecurityContext: true
#请求处理的超时时间
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: false
# 逻辑删除字段
logic-delete-value: 1
logic-not-delete-value: 0
#自定义SQL注入器
sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
#swagger公共信息
swagger:
title: 'SCF Swagger API'
description: 'SCF微服务开发脚手架'
version: '1.4.0'
license: 'Powered By SCF'
# licenseUrl: 'https://gitee.com/'
# terms-of-service-url: 'https://gitee.com/'
exclude-path:
- /actuator/**
- /error
contact:
name: 'SCF'
email: 'xxx@cysoft.com'
url: 'https://gitee.com/'
authorization:
name: 'SCF OAuth'
auth-regex: '^.*$'
authorization-scope-list:
- scope: 'server'
description: 'server all'
token-url-list:
- ${security.auth.server}/token
## spring security 配置
security:
auth:
server: http://localhost:9999/auth/oauth
oauth2:
resource:
token-info-uri: ${security.auth.server}/check_token
scf:
jms:
message:
jndiFactory: weblogic.jndi.WLInitialContextFactory
url: t3://192.168.10.111:49163
username: weblogic
password: welcome1
1
https://gitee.com/plastone/architecture-config-repo.git
git@gitee.com:plastone/architecture-config-repo.git
plastone
architecture-config-repo
architecture-config-repo
master

Search