Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-config
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
1
Merge Requests
1
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
Administrator
techhero-config
Commits
b8ad08a2
Commit
b8ad08a2
authored
Mar 02, 2022
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-gateway-prd.yml
parent
30a56561
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
92 additions
and
124 deletions
+92
-124
techhero-gateway-prd.yml
+92
-124
No files found.
techhero-gateway-prd.yml
View file @
b8ad08a2
#加密配置
jasypt
:
encryptor
:
password
:
techhero
spring
:
redis
:
remote
:
false
#cachecloud 获取
host
:
192.168.255.134
hostName
:
192.168.255.134
port
:
6382
password
:
tZf^0B0W
timeout
:
0
pool
:
max-active
:
8
max-wait
:
-1
max-idle
:
8
min-idle
:
0
rabbitmq
:
host
:
119.96.87.17
port
:
5672
username
:
rabbit
password
:
rabbit-techhero
virtual-host
:
/prd
listener
:
simple
:
acknowledge-mode
:
auto
retry
:
enabled
:
true
max-attempts
:
5
#消息确认配置项
#确认消息已发送到交换机(Exchange)
publisher-confirms
:
true
#确认消息已发送到队列(Queue)
publisher-returns
:
true
http
:
multipart
:
enabled
:
true
file-size-threshold
:
1000Mb
max-file-size
:
2048Mb
max-request-size
:
2048Mb
boot
:
admin
:
auto-registration
:
true
#url: http://119.96.87.17:10422
url
:
http://127.0.0.1:10422
api-path
:
instances
cache
:
redis
:
expires
:
entity:30;account:30;
ribbon
:
eureka
:
enabled
:
true
eager-load
:
enabled
:
true
clients
:
techhero-auth,techhero-base-system,techhero-base-exam,techhero-base-transdata,techhero-project-theme,techhero-project-emergencycommand,techhero-project-track,techhero-project-visualization,techhero-preventioncheat,techhero-component-task,techhero-component-oss,techhero-component-websocket,techhero-component-message,techhero-component-workflow,techhero-project-inspection
Httpclient
:
enabled
:
false
OkHttp
:
enabled
:
true
ReadTimeout
:
10000
ConnectTimeout
:
10000
feign
:
hystrix
:
enabled
:
true
okhttp
:
enabled
:
true
httpclient
:
enabled
:
false
client
:
config
:
feignName
:
connectTimeout
:
10000
readTimeout
:
10000
compression
:
request
:
enabled
:
true
response
:
zuul
:
ribbon
:
eager-load
:
enabled
:
true
clients
:
techhero-auth,techhero-base-exam,techhero-base-system,techhero-project-theme,techhero-project-emergencycommand,techhero-project-visualization,techhero-preventioncheat,techhero-component-message,techhero-component-task,techhero-component-websocket,techhero-component-oss,techhero-project-track,techhero-project-inspection
ignoredServices
:
'
*'
host
:
connect-timeout-millis
:
2000000
socket-timeout-millis
:
2000000
hystrix
:
threadpool
:
default
:
coreSize
:
10
maxQueueSize
:
1000
queueSizeRejectionThreshold
:
800
circuitBreaker
:
requestVolumeThreshold
:
100
#熔断失败个数 超过既发生短路 默认20个
command
:
default
:
execution
:
isolation
:
thread
:
timeoutInMilliseconds
:
40000
fallback
:
isolation
:
semaphore
:
maxConcurrentRequests
:
50
#回退线程数量
tomcat
:
max-connections
:
500
max-threads
:
30
min-spare-threads
:
3
accept-count
:
10
timeoutInMilliseconds
:
60000
#设置API网关中路由转发请求的HystrixCommand执行超时时间
# 关闭安全管理
management
:
security
:
enabled
:
false
# endpoints:
# web:
# exposure:
# include: '*'
# endpoint:
# health:
# show-details: ALWAYS
host
:
connect-timeout-millis
:
20000
socket-timeout-millis
:
20000
rabbitmq
:
czlsLog
:
exchange
:
topicCzlsLogExchangeTest
queue
:
topic.czlsLog.test
incidentReporting
:
exchange
:
topic-test-incident-reporting-exchange
queue
:
topic.test.incidentReporting.queue
alarmMessage
:
exchange
:
alarm-message-test
queue
:
Alarm-Event-Msg-test
security
:
encode
:
key
:
'
1234567887654321'
#必须16位
validate
:
code
:
true
preview
:
false
sessions
:
stateless
oauth2
:
client
:
client-id
:
techhero
client-secret
:
techhero
resource
:
jwt
:
key-uri
:
http://192.168.255.134:10420/oauth/token_key
#解析jwt令牌所需要密钥的地址
authorization
:
check-token-access
:
http://techhero-auth/oauth/check_token
distInfo
:
#行政区划码信息
provinceCode
:
420000
#省份行政区划码
provinceName
:
湖北省
#行政区划码名称
provincePreCode
:
42
#省份行政区划码前缀
universityPreCode
:
99
#大学代码前缀
ignore
:
urls
:
-
/oss/**
-
/system/open/server/permission/getSession**
-
/system/fileForward/**
-
/system/login/resetPassword
-
/message/esms/sendVerifCode/**
#首页忘记密码获取短信验证码接口
-
/system/login/updatePwdForClient
-
/auth/**
-
/swagger/api-docs
-
/swagger-resources/**
-
/swagger-ui.html
-
/*/v2/api-docs
-
/webjars/**
-
/emerycommand/open/terminal/**
-
/emerycommand/open/zh/meeting/**
-
/emerycommand/open/zh/esms/sendVerifCode/**
-
/emerycommand/open/zh/file/getFileVersion
-
/emerycommand/open/zh/msg
-
/emerycommand/open/zh/qr/checkIn/*
-
/emerycommand/open/zh/queue/sendAlarmQueueMsg
-
/socket/**
-
/visualization/open/**
-
/visualization/open/switchUrl/overview**
-
/zuul/emerycommand/demo/**
-
/emerycommand/demo/**
-
/exam/open/**
#基础数据开放接口规则以open开头
-
/basicdata/zh/rest/**/exportExecl
#导出表数据
-
/basicdata/dc/rest/**/exportExecl
-
/basicdata/dc/rest/**/downloadTemplate
#下载表格模板
-
/basicdata/zh/rest/**/downloadTemplate
-
/basicdata/dc/rest/**/uploadExcel
#Excel导入数据
-
/basicdata/zh/rest/**/uploadExcel
-
/preventioncheat/zbfk/ksjh/record/export
#作弊防控导出相关
-
/preventioncheat/zbfk/ksjh/eaxmPlan/export
-
/preventioncheat/zbfk/sbgl/device/export
-
/preventioncheat/zbfk/xyxh/cheat/export
-
/platform/vc/**
#验证码
-
/system/vc/**
#验证码
-
/message/**
#msg测试使用
-
/emerycommand/wjdc/rest/djrxx/getDjrxxData/*
-
/basicdata/dc/rest/dcKsjhb/queryAll
#考试计划列表
-
/exam/dc/rest/dcKsjhb/queryAll
#考试计划列表
-
/exam/dc/rest/dcKsjhb/getExamPlan
#登录页考试计划, 按时间排序
-
/emerycommand/wjdc/rest/wjmb/uploadFile
-
/system/parent/register
# 家长注册
-
/system/parent/login
# 家长登录
-
/system/parent/setNewPwdByUserName
# 家长忘记密码
-
/exam/zh/rest/**/exportExcel
#导出表数据
-
/exam/dc/rest/**/exportExcel
-
/exam/dc/rest/**/downloadTemplate
#下载表格模板
-
/exam/zh/rest/**/downloadTemplate
-
/exam/dc/rest/**/uploadExcel
#Excel导入数据
-
/exam/zh/rest/**/uploadExcel
-
/exam/currentExamClass/importBindingExcel
#导入考场编排
-
/exam/currentExamClass/downloadTemplate/**/**
#下载考场编排模板
-
/exam/currentExamClass/exportExcel
#导出考场编排excel
-
/exam/zh/rest/zhSssbxxb/downloadTemplate/**
-
/exam/GetSfrzUserInfo/**
#认证用户查询信息
-
/system/login/checkAccount/**
#校验用户名
-
/exam/wechat/**
#微信小程序调用接口
-
/system/login/clientCheckPassword/**
#客户端校验是否为初始密码
\ 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