-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcpcr-gateway.yml
84 lines (72 loc) · 1.46 KB
/
cpcr-gateway.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#spring:
# application:
# name: cloud-gateway
#server:
# port: 8762
#eureka:
# client:
# service-url:
# defaultZone: http://user:password123@localhost:8761/eureka/
# instance:
# prefer-ip-address: true
# instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
#zuul:
# routes:
# balance:
# path: /balance/**
# service-id: cpcs-balance
# boss:
# path: /boss/**
# service-id: cpcr-boss
#ribbon:
## eureka:
## enabled: false
# ReadTimeout: 60000
# ConnectTimeout: 60000
#
#cloud-client:
# ribbon:
# listOfServers: localhost:8050, localhost:8051
spring:
application:
name: cloud-gateway
cloud:
bus:
trace:
enable: true
rabbitmq:
host: 111.230.38.240
port: 5672
username: nova
password: Nova2017
server:
port: 8762
eureka:
instance:
prefer-ip-address: true
instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
zuul:
ignoredServices: '*'
host:
connect-timeout-millis: 60000
socket-timeout-millis: 60000
routes:
balance:
path: /balance/**
service-id: cpcr-balance
boss:
path: /boss/**
service-id: cpcr-boss
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 60000
ribbon:
ReadTimeout: 60000
ConnectTimeout: 60000
management:
security:
enabled: false