Commit 970ad44da193615a815e67216f93678212fb9342
1 parent
b0bb34cf
feat: cloud product 接入gateway
Showing
1 changed file
with
9 additions
and
0 deletions
gateway.yml
| ... | ... | @@ -73,6 +73,9 @@ zuul: |
| 73 | 73 | training: |
| 74 | 74 | path: /training-service/** |
| 75 | 75 | serviceId: training-service |
| 76 | + cloudProduct: | |
| 77 | + path: /cloud-product/** | |
| 78 | + serviceId: cloud-product-service | |
| 76 | 79 | |
| 77 | 80 | hystrix: |
| 78 | 81 | command: |
| ... | ... | @@ -184,6 +187,9 @@ zuul: |
| 184 | 187 | training: |
| 185 | 188 | path: /training-service/** |
| 186 | 189 | serviceId: training-service |
| 190 | + cloudProduct: | |
| 191 | + path: /cloud-product/** | |
| 192 | + serviceId: cloud-product-service | |
| 187 | 193 | hystrix: |
| 188 | 194 | command: |
| 189 | 195 | default: |
| ... | ... | @@ -296,6 +302,9 @@ zuul: |
| 296 | 302 | training: |
| 297 | 303 | path: /training-service/** |
| 298 | 304 | serviceId: training-service |
| 305 | + cloudProduct: | |
| 306 | + path: /cloud-product/** | |
| 307 | + serviceId: cloud-product-service | |
| 299 | 308 | |
| 300 | 309 | hystrix: |
| 301 | 310 | command: | ... | ... |