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
c5d07c6f
Commit
c5d07c6f
authored
Nov 17, 2022
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-gateway-saier.yml
parent
c7f9af0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
techhero-gateway-saier.yml
+9
-9
No files found.
techhero-gateway-saier.yml
View file @
c5d07c6f
...
@@ -2,11 +2,11 @@ zuul:
...
@@ -2,11 +2,11 @@ zuul:
ribbon
:
ribbon
:
eager-load
:
eager-load
:
enabled
:
true
enabled
:
true
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
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,techhero-base-datagovern,techhero-project-verification,techhero-front-server
ignoredServices
:
'
*'
ignoredServices
:
'
*'
host
:
host
:
connect-timeout-millis
:
6
0000
connect-timeout-millis
:
200
0000
socket-timeout-millis
:
6
0000
socket-timeout-millis
:
200
0000
hystrix
:
hystrix
:
command
:
command
:
...
@@ -14,16 +14,16 @@ hystrix:
...
@@ -14,16 +14,16 @@ hystrix:
execution
:
execution
:
isolation
:
isolation
:
thread
:
thread
:
timeoutInMilliseconds
:
20
0000
#设置API网关中路由转发请求的HystrixCommand执行超时时间
timeoutInMilliseconds
:
6
0000
#设置API网关中路由转发请求的HystrixCommand执行超时时间
ribbon
:
ribbon
:
ReadTimeout
:
6
0000
ReadTimeout
:
30
0000
ConnectTimeout
:
6
0000
ConnectTimeout
:
30
0000
MaxAutoRetries
:
1
MaxAutoRetries
:
1
MaxAutoRetriesNextServer
:
1
MaxAutoRetriesNextServer
:
1
host
:
host
:
connect-timeout-millis
:
6
0000
connect-timeout-millis
:
2
0000
socket-timeout-millis
:
6
0000
socket-timeout-millis
:
2
0000
security
:
security
:
encode
:
encode
:
...
@@ -38,7 +38,7 @@ security:
...
@@ -38,7 +38,7 @@ security:
client-secret
:
techhero
client-secret
:
techhero
resource
:
resource
:
jwt
:
jwt
:
key-uri
:
http://
127.0.0.1
:15802/oauth/token_key
#解析jwt令牌所需要密钥的地址
key-uri
:
http://
authServer
:15802/oauth/token_key
#解析jwt令牌所需要密钥的地址
authorization
:
authorization
:
check-token-access
:
http://techhero-auth/oauth/check_token
check-token-access
:
http://techhero-auth/oauth/check_token
...
...
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