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,6 +73,9 @@ zuul: | ||
| 73 | training: | 73 | training: |
| 74 | path: /training-service/** | 74 | path: /training-service/** |
| 75 | serviceId: training-service | 75 | serviceId: training-service |
| 76 | + cloudProduct: | ||
| 77 | + path: /cloud-product/** | ||
| 78 | + serviceId: cloud-product-service | ||
| 76 | 79 | ||
| 77 | hystrix: | 80 | hystrix: |
| 78 | command: | 81 | command: |
| @@ -184,6 +187,9 @@ zuul: | @@ -184,6 +187,9 @@ zuul: | ||
| 184 | training: | 187 | training: |
| 185 | path: /training-service/** | 188 | path: /training-service/** |
| 186 | serviceId: training-service | 189 | serviceId: training-service |
| 190 | + cloudProduct: | ||
| 191 | + path: /cloud-product/** | ||
| 192 | + serviceId: cloud-product-service | ||
| 187 | hystrix: | 193 | hystrix: |
| 188 | command: | 194 | command: |
| 189 | default: | 195 | default: |
| @@ -296,6 +302,9 @@ zuul: | @@ -296,6 +302,9 @@ zuul: | ||
| 296 | training: | 302 | training: |
| 297 | path: /training-service/** | 303 | path: /training-service/** |
| 298 | serviceId: training-service | 304 | serviceId: training-service |
| 305 | + cloudProduct: | ||
| 306 | + path: /cloud-product/** | ||
| 307 | + serviceId: cloud-product-service | ||
| 299 | 308 | ||
| 300 | hystrix: | 309 | hystrix: |
| 301 | command: | 310 | command: |