gateway-service-test.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. hystrix:
  2. command:
  3. default:
  4. execution:
  5. isolation:
  6. thread:
  7. timeoutInMilliseconds: 20000
  8. ribbon:
  9. ReadTimeout: 20000
  10. ConnectTimeout: 20000
  11. spring:
  12. #mq
  13. rabbitmq:
  14. host: 192.168.2.241
  15. port: 5672
  16. username: lantone
  17. password: lantone
  18. publisher-confirms: true
  19. virtual-host: /
  20. cloud:
  21. gateway:
  22. default-filters:
  23. routes:
  24. - id: user-service
  25. uri: lb://user-service
  26. predicates:
  27. - Path=/api/user/**
  28. filters:
  29. - SwaggerHeaderFilter
  30. - StripPrefix=2
  31. - id: logger-service
  32. uri: lb://logger-service
  33. predicates:
  34. - Path=/api/log/**
  35. filters:
  36. - SwaggerHeaderFilter
  37. - StripPrefix=2
  38. - id: bi-service
  39. uri: lb://bi-service
  40. predicates:
  41. - Path=/api/bi/**
  42. filters:
  43. - SwaggerHeaderFilter
  44. - StripPrefix=2
  45. - id: diagbotman-service
  46. uri: lb://diagbotman-service
  47. predicates:
  48. - Path=/api/diagbotman/**
  49. filters:
  50. - SwaggerHeaderFilter
  51. - StripPrefix=2
  52. - id: feedback-service
  53. uri: lb://feedback-service
  54. predicates:
  55. - Path=/api/feedback/**
  56. filters:
  57. - SwaggerHeaderFilter
  58. - StripPrefix=2
  59. - id: knowledge-service
  60. uri: lb://knowledge-service
  61. predicates:
  62. - Path=/api/knowledge/**
  63. filters:
  64. - SwaggerHeaderFilter
  65. - StripPrefix=2
  66. - id: icss
  67. uri: http://192.168.2.224:9080
  68. predicates:
  69. - Path=/api/icss/**
  70. filters:
  71. - StripPrefix=2
  72. server:
  73. port: 5050
  74. lantone:
  75. product: icss,1;icsstry,2