Commit 1f34ccb6 by Administrator

Update techhero-gateway-dev_hwh.yml

parent 0931db3c
...@@ -2,7 +2,7 @@ zuul: ...@@ -2,7 +2,7 @@ zuul:
ribbon: ribbon:
eager-load: eager-load:
enabled: true 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 clients: techhero-auth,techhero-base-exam,techhero-component-workflow,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,techhero-base-datagovern,techhero-project-verification,techhero-front-server
ignoredServices: '*' ignoredServices: '*'
host: host:
connect-timeout-millis: 2000000 connect-timeout-millis: 2000000
...@@ -15,7 +15,11 @@ hystrix: ...@@ -15,7 +15,11 @@ hystrix:
isolation: isolation:
thread: thread:
timeoutInMilliseconds: 60000 #设置API网关中路由转发请求的HystrixCommand执行超时时间 timeoutInMilliseconds: 60000 #设置API网关中路由转发请求的HystrixCommand执行超时时间
ribbon:
ReadTimeout: 300000
ConnectTimeout: 300000
MaxAutoRetries: 1
MaxAutoRetriesNextServer: 1
host: host:
connect-timeout-millis: 20000 connect-timeout-millis: 20000
...@@ -34,16 +38,24 @@ security: ...@@ -34,16 +38,24 @@ security:
client-secret: techhero client-secret: techhero
resource: resource:
jwt: jwt:
key-uri: http://192.168.255.134:10420/oauth/token_key #解析jwt令牌所需要密钥的地址 key-uri: http://192.168.0.151:10006/oauth/token_key #解析jwt令牌所需要密钥的地址
authorization: authorization:
check-token-access: http://techhero-auth/oauth/check_token check-token-access: http://techhero-auth/oauth/check_token
gateway:
allowed:
origins:
- "*"
- http://119.96.87.17:18098
ignore: ignore:
urls: urls:
- /insp/rest/record/receivedMessage
- /oss/** - /oss/**
- /system/open/server/permission/getSession** - /system/open/server/permission/getSession**
- /system/fileForward/** - /system/fileForward/**
- /system/login/resetPassword - /system/login/resetPassword
- /login/updatePassWord
- /message/esms/sendVerifCode/** #首页忘记密码获取短信验证码接口 - /message/esms/sendVerifCode/** #首页忘记密码获取短信验证码接口
- /system/login/updatePwdForClient - /system/login/updatePwdForClient
- /auth/** - /auth/**
...@@ -59,6 +71,15 @@ ignore: ...@@ -59,6 +71,15 @@ ignore:
- /emerycommand/open/zh/msg - /emerycommand/open/zh/msg
- /emerycommand/open/zh/qr/checkIn/* - /emerycommand/open/zh/qr/checkIn/*
- /emerycommand/open/zh/queue/sendAlarmQueueMsg - /emerycommand/open/zh/queue/sendAlarmQueueMsg
- /emerycommand/appCommandTask/uploadTaskFile/**
- /emerycommand/commandTask/saveReportData/**
- /emerycommand/commandTask/selectReportData/**
- /emerycommand/commandTask/save/registration/**
- /emerycommand/commandTask/save/application/**
- /emerycommand/commandTask/save/review/**
- /emerycommand/commandTask/save/refund/**
- /emerycommand/onlinefill/rest/**
- /template/addr
- /socket/** - /socket/**
- /visualization/open/** - /visualization/open/**
- /visualization/open/switchUrl/overview** - /visualization/open/switchUrl/overview**
...@@ -78,7 +99,7 @@ ignore: ...@@ -78,7 +99,7 @@ ignore:
- /platform/vc/** #验证码 - /platform/vc/** #验证码
- /system/vc/** #验证码 - /system/vc/** #验证码
- /message/** #msg测试使用 - /message/** #msg测试使用
- /emerycommand/wjdc/rest/djrxx/getDjrxxData/* # - /emerycommand/wjdc/rest/djrxx/getDjrxxData/*
- /basicdata/dc/rest/dcKsjhb/queryAll #考试计划列表 - /basicdata/dc/rest/dcKsjhb/queryAll #考试计划列表
- /exam/dc/rest/dcKsjhb/queryAll #考试计划列表 - /exam/dc/rest/dcKsjhb/queryAll #考试计划列表
- /exam/dc/rest/dcKsjhb/getExamPlan #登录页考试计划, 按时间排序 - /exam/dc/rest/dcKsjhb/getExamPlan #登录页考试计划, 按时间排序
...@@ -100,3 +121,13 @@ ignore: ...@@ -100,3 +121,13 @@ ignore:
- /system/login/checkAccount/** #校验用户名 - /system/login/checkAccount/** #校验用户名
- /exam/wechat/** #微信小程序调用接口 - /exam/wechat/** #微信小程序调用接口
- /system/login/clientCheckPassword/** #客户端校验是否为初始密码 - /system/login/clientCheckPassword/** #客户端校验是否为初始密码
- /track/open/tag/bind/** #电子标签与吊牌绑定
- /track/open/down/package/** #离线数据包下载
- /track/transportTask/packageReport #app出入库任务上报
- /track/open/session/** #设备状态考试场次接口
- /track/transportTask/packageStatus #试卷包状态查询
- /track/transportTask/testInsert #手动测试上报
- /track/open/warn/** #预警相关
- /verification/api/Login/** # 身份认证获取token
- /insp/open/**
- /insp/rest/meetingUser/isPost #巡查用户岗位查询
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment