Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kiss-config-server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
proudkids-pub
kiss-config-server
Commits
2e007161
Commit
2e007161
authored
Sep 02, 2019
by
张宗强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e00033c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
79 deletions
+55
-79
kiss-gateway-prd.yml
+55
-79
No files found.
kiss-gateway-prd.yml
View file @
2e007161
server
:
server
:
port
:
9999
port
:
4006
#Redis cache 过期时间设置
redis
:
cache
:
expiration
:
3600
# datasoure默认使用JDBC
spring
:
spring
:
rabbitmq
:
rabbitmq
:
host
:
172.17.229.83
host
:
172.17.229.83
...
@@ -12,84 +17,54 @@ spring:
...
@@ -12,84 +17,54 @@ spring:
queue
:
zipkin
queue
:
zipkin
sleuth
:
sleuth
:
sampler
:
sampler
:
percentage
:
0.5
percentage
:
1.0
http
:
multipart
:
enabled
:
true
file-size-threshold
:
100MB
max-file-size
:
1000MB
max-request-size
:
1000MB
encoding
:
charset
:
UTF-8
enabled
:
true
force
:
true
zuul
:
servlet-path
:
/zuul
# 分库分表支持
ignoredServices
:
'
*'
sharding
:
host
:
jdbc
:
connect-timeout-millis
:
1800000
defaultDataSourceName
:
socket-timeout-millis
:
1800000
type
:
com.zaxxer.hikari.HikariDataSource
routes
:
driver-class-name
:
com.mysql.jdbc.Driver
kiss-auth
:
username
:
kiss
path
:
/auth/**
password
:
kiss123!@#
serviceId
:
kiss-auth
jdbc-url
:
jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
stripPrefix
:
true
datasource
:
sensitiveHeaders
:
names
:
ds
kiss-upms-service
:
ds
:
path
:
/admin/**
type
:
com.zaxxer.hikari.HikariDataSource
serviceId
:
kiss-upms-service
driver-class-name
:
com.mysql.jdbc.Driver
stripPrefix
:
true
username
:
kiss
sensitiveHeaders
:
password
:
kiss123!@#
kiss-business
:
jdbc-url
:
jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
path
:
/business/**
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
serviceId
:
kiss-business
mybatis-plus
:
stripPrefix
:
true
mapper-locations
:
classpath:/mapper/*Mapper.xml
sensitiveHeaders
:
typeAliasesPackage
:
com.proudkids.admin.model.entity
kiss-apps
:
global-config
:
path
:
/apps/**
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
serviceId
:
kiss-apps
id-type
:
0
stripPrefix
:
true
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
sensitiveHeaders
:
field-strategy
:
1
ratelimit
:
#驼峰下划线转换
key-prefix
:
kiss-ratelimite
db-column-underline
:
true
enabled
:
true
#刷新mapper 调试神器
repository
:
REDIS
refresh-mapper
:
true
behind-proxy
:
true
#数据库大写下划线转换
policies
:
#capital-mode: true
kiss-upms-service
:
configuration
:
limit
:
100
map-underscore-to-camel-case
:
true
quota
:
100
cache-enabled
:
true
refresh-interval
:
3
wechat
:
security
:
open
:
validate
:
componentAppId
:
"
wx0a693ececf7775d7"
code
:
true
componentSecret
:
"
591faf379dd974942cc79c9093c43c68"
sessions
:
stateless
componentToken
:
"
Proudkids"
oauth2
:
componentAesKey
:
"
DJvsl2MBMqqGRVYaAHAMQTDJvsl2MBMqqGRVYaAHAMQ"
resource
:
api
:
loadBalanced
:
true
authCallbackUrl
:
"
http://www.xiaoxiangce.proudkids.com/#/business/authWxCallback/success"
user-info-uri
:
http://kiss-auth/user
menu
:
prefer-token-info
:
false
name
:
"
小象册"
service-id
:
kiss-gateway
url
:
"
http://www.xiaoxiangce.proudkids.com"
urls
:
anon
:
-
/admin/user/upload
-
/admin/user/editInfo
-
/auth/**
-
/admin/code/*
-
/admin/user/info
-
/admin/menu/userTree
-
/admin/generate/**
-
/swagger-resources/**
-
/apps/h5/**
-
/apps/share/card/**
-
/apps/h5/album/detail/student/**
-
/swagger-ui.html
-
/*/v2/api-docs
-
/swagger/api-docs
-
/webjars/**
-
/business/notify/**
-
/business/api/**
-
/business/authWxCallback/success
logging
:
logging
:
config
:
classpath:logback.xml
config
:
classpath:logback.xml
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment