kind: ConfigMap apiVersion: v1 metadata: name: cloud-yysj-gateway-protal data: application.yaml: |- url: #处理路径 stateHandlingUrl: - "/authentication/**" #忽略鉴权路径 ignoreUrl: - "/authentication/login/**" hystrix: command: myusers-service: execution: isolation: thread: timeoutInMilliseconds: 20000 ribbon: ReadTimeout: 60000 ConnectTimeout: 10000 SocketTimeout: 30000 zuul: host: connect-timeout-millis: 10000 socket-timeout-millis: 30000 max-per-route-connections: 100 routes: #登录鉴权接口 login-authentication-service: path: /authentication/** url: http://cloud-yysj-login.cloud-yysj:8080 #首页及统计分析相关接口 analysis-info-service: path: /analysisQuery/** url: http://cloud-yysj-analysis-info.cloud-yysj:8080 #车辆查询相关接口 car-query-service: path: /carQuery/** url: http://cloud-yysj-car-query.cloud-yysj:8080 #费用管理相关接口 cost-query-service: path: /costQuery/** url: http://cloud-yysj-cost-query.cloud-yysj:8080 #运单查询相关接口 waybill-query-service: path: /waybillQuery/** url: http://cloud-yysj-waybill-query.cloud-yysj:8080 #司机查询相关接口 driver-info-service: path: /driverQuery/** url: http://cloud-yysj-driver-info.cloud-yysj:8080 #产品配置相关接口 product-info-service: path: /productConfig/** url: http://cloud-yysj-product-info.cloud-yysj:8080 #订单查询相关接口 order-query-service: path: /orderQuery/** url: http://cloud-yysj-order-query.cloud-yysj:8080 # zuul: # routes: # #登录鉴权接口 # login-authentication-service: # path: /authentication/** # serviceId: CLOUD-YYSJ-LOGIN-AUTHENTICATION # #首页及统计分析相关接口 # analysis-info-service: # path: /analysisQuery/** # serviceId: CLOUD-YYSJ-ANALYSIS-INFO # #车辆查询相关接口 # car-query-service: # path: /carQuery/** # serviceId: CLOUD-YYSJ-CAR-QUERY # #费用管理相关接口 # cost-query-service: # path: /costQuery/** # serviceId: CLOUD-YYSJ-COST-QUERY # #运单查询相关接口 # waybill-query-service: # path: /waybillQuery/** # serviceId: CLOUD-YYSJ-WAYBILL-QUERY # #司机查询相关接口 # driver-info-service: # path: /driverQuery/** # serviceId: CLOUD-YYSJ-DRIVER-INFO # #产品配置相关接口 # product-info-service: # path: /productConfig/** # serviceId: CLOUD-YYSJ-PRODUCT-INFO # #订单查询相关接口 # order-query-service: # path: /orderQuery/** # serviceId: CLOUD-YYSJ-ORDER-QUERY