Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
config-center
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
config-center
Commits
b8c57395
Commit
b8c57395
authored
Aug 06, 2018
by
zhangy@proudkids.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'delete'
parent
02b779fc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
343 additions
and
340 deletions
+343
-340
application-prd.yml
+72
-71
proudkids-auth-prd.yml
+27
-27
proudkids-gateway-prd.yml
+125
-125
proudkids-upms-service-prd.yml
+69
-68
proudkids-workflow-prd.yml
+50
-49
No files found.
application-prd.yml
View file @
b8c57395
#加密配置
#加密配置
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
proudkids
password
:
proudkids
spring
:
spring
:
redis
:
redis
:
remote
:
true
#cachecloud 获取
remote
:
true
#cachecloud 获取
host
:
172.17.229.79
host
:
172.17.229.79
port
:
6379
port
:
6379
password
:
password
:
http
:
http
:
multipart
:
multipart
:
max-file-size
:
1000MB
max-file-size
:
1000MB
max-request-size
:
1000MB
max-request-size
:
1000MB
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
time-zone
:
GMT+8
time-zone
:
GMT+8
cache
:
cache
:
redis
:
redis
:
expiration
:
3601
expiration
:
3601
ribbon
:
ribbon
:
Httpclient
:
Httpclient
:
enabled
:
false
enabled
:
false
OkHttp
:
OkHttp
:
enabled
:
true
enabled
:
true
ReadTimeout
:
30000
ReadTimeout
:
30000
ConnectTimeout
:
30000
ConnectTimeout
:
30000
feign
:
feign
:
hystrix
:
hystrix
:
enabled
:
true
enabled
:
true
okhttp
:
okhttp
:
enabled
:
true
enabled
:
true
httpclient
:
httpclient
:
enabled
:
false
enabled
:
false
client
:
client
:
config
:
config
:
feignName
:
feignName
:
connectTimeout
:
30000
connectTimeout
:
30000
readTimeout
:
30000
readTimeout
:
30000
hystrix
:
hystrix
:
command
:
command
:
default
:
default
:
execution
:
execution
:
isolation
:
isolation
:
thread
:
thread
:
timeoutInMilliseconds
:
60000
timeoutInMilliseconds
:
60000
#监控短点配置
#监控短点配置
management
:
management
:
security
:
security
:
enabled
:
false
enabled
:
false
endpoints
:
endpoints
:
actuator
:
actuator
:
enabled
:
true
enabled
:
true
shutdown
:
shutdown
:
enabled
:
false
enabled
:
false
proudkids
:
proudkids
:
oss-domain
:
http://files.proudkids.cn
oss-domain
:
http://files.proudkids.cn
ems-domain
:
http://ce.proudkids.cn
ems-domain
:
http://ce.proudkids.cn
ct-default-header
:
https://files.proudkids.cn/default/ct.png
ct-default-header
:
https://files.proudkids.cn/default/ct.png
ft-default-header
:
https://files.proudkids.cn/default/ft.png
ft-default-header
:
https://files.proudkids.cn/default/ft.png
eeo
:
eeo
:
sid
:
2734380
sid
:
2734380
secret
:
iHfKc5tw
secret
:
iHfKc5tw
folderId
:
4351499
folderId
:
4351499
\ No newline at end of file
proudkids-auth-prd.yml
View file @
b8c57395
server
:
server
:
port
:
3000
port
:
3000
# datasoure默认使用JDBC
# datasoure默认使用JDBC
spring
:
spring
:
datasource
:
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
username
:
proudkids
password
:
pds123!@#
password
:
pds123!@#
url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
proudkids
:
proudkids
:
auth
:
auth
:
clientId
:
ENC(rbxhyTerjSi2LATpOlQN0g==)
clientId
:
ENC(rbxhyTerjSi2LATpOlQN0g==)
clientSecret
:
ENC(rbxhyTerjSi2LATpOlQN0g==)
clientSecret
:
ENC(rbxhyTerjSi2LATpOlQN0g==)
scope
:
server
scope
:
server
urls
:
urls
:
anon
:
anon
:
-
/social
-
/social
-
/signin
-
/signin
-
/signup
-
/signup
-
/mobile/token
-
/mobile/token
logging
:
logging
:
config
:
classpath:logback.xml
config
:
classpath:logback.xml
proudkids-gateway-prd.yml
View file @
b8c57395
server
:
server
:
port
:
9999
port
:
9999
spring
:
spring
:
rabbitmq
:
rabbitmq
:
host
:
172.17.229.78
host
:
172.17.229.78
port
:
5672
port
:
5672
username
:
zzq223
username
:
zzq223
password
:
222222
password
:
222222
zipkin
:
zipkin
:
rabbitmq
:
rabbitmq
:
queue
:
zipkin
queue
:
zipkin
sleuth
:
sleuth
:
sampler
:
sampler
:
percentage
:
0.5
percentage
:
0.5
http
:
http
:
encoding
:
encoding
:
charset
:
UTF-8
charset
:
UTF-8
enabled
:
true
enabled
:
true
force
:
true
force
:
true
zuul
:
zuul
:
servlet-path
:
/zuul
servlet-path
:
/zuul
ignoredServices
:
'
*'
ignoredServices
:
'
*'
#ignoredPatterns: /, /**/swagger-ui.html/**
#ignoredPatterns: /, /**/swagger-ui.html/**
host
:
host
:
connect-timeout-millis
:
30000
connect-timeout-millis
:
30000
socket-timeout-millis
:
30000
socket-timeout-millis
:
30000
routes
:
routes
:
proudkids-auth
:
proudkids-auth
:
path
:
/auth/**
path
:
/auth/**
serviceId
:
proudkids-auth
serviceId
:
proudkids-auth
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-upms-service
:
proudkids-upms-service
:
path
:
/admin/**
path
:
/admin/**
serviceId
:
proudkids-upms-service
serviceId
:
proudkids-upms-service
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-sales
:
proudkids-sales
:
path
:
/sales/**
path
:
/sales/**
serviceId
:
proudkids-sales
serviceId
:
proudkids-sales
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-ruser
:
proudkids-ruser
:
path
:
/ruser/**
path
:
/ruser/**
serviceId
:
proudkids-ruser
serviceId
:
proudkids-ruser
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-aom
:
proudkids-aom
:
path
:
/aom/**
path
:
/aom/**
serviceId
:
proudkids-aom
serviceId
:
proudkids-aom
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-workflow
:
proudkids-workflow
:
path
:
/bills/**
path
:
/bills/**
serviceId
:
proudkids-workflow
serviceId
:
proudkids-workflow
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-pay
:
proudkids-pay
:
path
:
/pay/**
path
:
/pay/**
serviceId
:
proudkids-pay
serviceId
:
proudkids-pay
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
proudkids-mms
:
proudkids-mms
:
path
:
/mms/**
path
:
/mms/**
serviceId
:
proudkids-mms
serviceId
:
proudkids-mms
stripPrefix
:
true
stripPrefix
:
true
sensitiveHeaders
:
sensitiveHeaders
:
ratelimit
:
ratelimit
:
key-prefix
:
proudkids-ratelimite
key-prefix
:
proudkids-ratelimite
enabled
:
true
enabled
:
true
repository
:
REDIS
repository
:
REDIS
behind-proxy
:
true
behind-proxy
:
true
policies
:
policies
:
proudkids-upms-service
:
proudkids-upms-service
:
limit
:
100
limit
:
100
quota
:
100
quota
:
100
refresh-interval
:
3
refresh-interval
:
3
security
:
security
:
validate
:
validate
:
code
:
true
code
:
true
sessions
:
stateless
sessions
:
stateless
oauth2
:
oauth2
:
resource
:
resource
:
loadBalanced
:
true
loadBalanced
:
true
user-info-uri
:
http://proudkids-auth/user
user-info-uri
:
http://proudkids-auth/user
prefer-token-info
:
false
prefer-token-info
:
false
service-id
:
proudkids-gateway
service-id
:
proudkids-gateway
urls
:
urls
:
anon
:
anon
:
-
/mobile/**
-
/mobile/**
-
/admin/user/upload
-
/admin/user/upload
-
/admin/user/editInfo
-
/admin/user/editInfo
-
/auth/**
-
/auth/**
-
/admin/code/*
-
/admin/code/*
-
/admin/smsCode/*
-
/admin/smsCode/*
-
/admin/user/info
-
/admin/user/info
-
/admin/menu/userTree
-
/admin/menu/userTree
-
/swagger-resources/**
-
/swagger-resources/**
-
/swagger-ui.html
-
/swagger-ui.html
-
/*/v2/api-docs
-
/*/v2/api-docs
-
/swagger/api-docs
-
/swagger/api-docs
-
/webjars/**
-
/webjars/**
-
/aom/lesson/downloadZip/*
-
/aom/lesson/downloadZip/*
-
/aom/tutorUptime/classAssign/statistics/exportExcel*
-
/aom/tutorUptime/classAssign/statistics/exportExcel*
-
/aom/classLessonDetail/subscription
-
/aom/classLessonDetail/subscription
-
/ruser/**
-
/ruser/**
-
/ruser/v1/ruserChannel/installRuser/**
-
/ruser/v1/ruserChannel/installRuser/**
-
/pay/v1/payOrders*
-
/pay/v1/payOrders*
-
/pay/wechatPay/**
-
/pay/wechatPay/**
-
/pay/v1/payGoods*
-
/pay/v1/payGoods*
-
/ruser/ruser/v1/perviews
-
/ruser/ruser/v1/perviews
-
/ruser/ruser/previews/login
-
/ruser/ruser/previews/login
-
/ruser/ruser/v1/set/password
-
/ruser/ruser/v1/set/password
-
/ruser/lessonPreview/**
-
/ruser/lessonPreview/**
-
/ruser/lessonPreviewHistory/**
-
/ruser/lessonPreviewHistory/**
-
/aom/course/queryCourseList/Ruser/**
-
/aom/course/queryCourseList/Ruser/**
-
/aom/classRuserDetail/lessons/**
-
/aom/classRuserDetail/lessons/**
logging
:
logging
:
config
:
classpath:logback.xml
config
:
classpath:logback.xml
proudkids-upms-service-prd.yml
View file @
b8c57395
server
:
server
:
port
:
4000
port
:
4000
#Redis cache 过期时间设置
#Redis cache 过期时间设置
redis
:
redis
:
cache
:
cache
:
expiration
:
3600
expiration
:
3600
# datasoure默认使用JDBC
# datasoure默认使用JDBC
spring
:
spring
:
rabbitmq
:
rabbitmq
:
host
:
172.17.229.78
host
:
172.17.229.78
port
:
5672
port
:
5672
username
:
zzq223
username
:
zzq223
password
:
222222
password
:
222222
zipkin
:
zipkin
:
rabbitmq
:
rabbitmq
:
queue
:
zipkin
queue
:
zipkin
sleuth
:
sleuth
:
sampler
:
sampler
:
percentage
:
1.0
percentage
:
1.0
# 分库分表支持
# 分库分表支持
sharding
:
sharding
:
jdbc
:
jdbc
:
defaultDataSourceName
:
defaultDataSourceName
:
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
username
:
proudkids
password
:
pds123!@#
password
:
pds123!@#
jdbc-url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc-url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource
:
datasource
:
names
:
ds
names
:
ds
ds
:
ds
:
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
username
:
proudkids
password
:
pds123!@#
password
:
pds123!@#
jdbc-url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc-url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath:/mapper/*Mapper.xml
mapper-locations
:
classpath:/mapper/*Mapper.xml
typeAliasesPackage
:
com.proudkids.admin.model.entity
typeAliasesPackage
:
com.proudkids.admin.model.entity
global-config
:
global-config
:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type
:
0
id-type
:
0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy
:
1
field-strategy
:
1
#驼峰下划线转换
#驼峰下划线转换
db-column-underline
:
true
db-column-underline
:
true
#刷新mapper 调试神器
#刷新mapper 调试神器
refresh-mapper
:
true
refresh-mapper
:
true
#数据库大写下划线转换
#数据库大写下划线转换
#capital-mode: true
#capital-mode: true
configuration
:
configuration
:
map-underscore-to-camel-case
:
true
map-underscore-to-camel-case
:
true
cache-enabled
:
true
cache-enabled
:
true
fdfs
:
fdfs
:
file-host
:
http://123.206.94.20:9999/
file-host
:
http://123.206.94.20:9999/
tracker-list
:
tracker-list
:
-
123.206.94.20:22122
-
123.206.94.20:22122
qiniu
:
qiniu
:
accessKey
:
hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
accessKey
:
hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
secretKey
:
ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
secretKey
:
ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
bucket
:
proudkidscloud
bucket
:
proudkidscloud
qiniuHost
:
http://p0hpm86wj.bkt.clouddn.com/
qiniuHost
:
http://p0hpm86wj.bkt.clouddn.com/
logging
:
logging
:
config
:
classpath:logback.xml
config
:
classpath:logback.xml
\ No newline at end of file
proudkids-workflow-prd.yml
View file @
b8c57395
server
:
server
:
port
:
7313
port
:
7313
redis
:
redis
:
cache
:
cache
:
expiration
:
3600
expiration
:
3600
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
url
:
jdbc:mysql://172.17.229.78:3306/proudkids_ce?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
username
:
proudkids
password
:
pds123!@#
password
:
pds123!@#
rabbitmq
:
rabbitmq
:
host
:
172.17.229.78
host
:
172.17.229.78
port
:
5672
port
:
5672
username
:
zzq223
username
:
zzq223
password
:
222222
password
:
222222
zipkin
:
zipkin
:
rabbitmq
:
rabbitmq
:
queue
:
zipkin
queue
:
zipkin
sleuth
:
sleuth
:
sampler
:
sampler
:
percentage
:
1.0
percentage
:
1.0
activiti
:
activiti
:
database-schema-update
:
true
database-schema-update
:
true
check-process-definitions
:
true
check-process-definitions
:
true
process-definition-location-prefix
:
classpath:/processes/
process-definition-location-prefix
:
classpath:/processes/
history-level
:
full
history-level
:
full
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath:/mapper/*Mapper.xml
mapper-locations
:
classpath:/mapper/*Mapper.xml
typeAliasesPackage
:
com.proudkids.workflow.model.entity
typeAliasesPackage
:
com.proudkids.workflow.model.entity
global-config
:
global-config
:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type
:
0
id-type
:
0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy
:
1
field-strategy
:
1
#驼峰下划线转换
#驼峰下划线转换
db-column-underline
:
true
db-column-underline
:
true
#刷新mapper 调试神器
#刷新mapper 调试神器
refresh-mapper
:
true
refresh-mapper
:
true
#数据库大写下划线转换
#数据库大写下划线转换
#capital-mode: true
#capital-mode: true
configuration
:
configuration
:
map-underscore-to-camel-case
:
true
map-underscore-to-camel-case
:
true
cache-enabled
:
true
cache-enabled
:
true
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