bmp-gateway-dynamic 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [
  2. {
  3. "id":"bmpWebRoute",
  4. "uri":"lb://bmp-web",
  5. "order":0,
  6. "predicates":[{
  7. "name":"Path",
  8. "args":{"pattern":"/BMP-WEB/**"}
  9. }],
  10. "filters":[
  11. {
  12. "name":"StripPrefix",
  13. "args":{"_genkey_0":"1"}
  14. },
  15. {
  16. "name":"RewritePath",
  17. "args":{"_genkey_0":"/BMP-WEB/(?<path>.*)","_genkey_1":"/$\\{path}"}
  18. }
  19. ]
  20. },
  21. {
  22. "id":"bmpNettyRoute",
  23. "uri":"lb://bmp-netty",
  24. "order":0,
  25. "predicates":[{
  26. "name":"Path",
  27. "args":{"pattern":"/BMP-NETTY/**"}
  28. }],
  29. "filters":[
  30. {
  31. "name":"StripPrefix",
  32. "args":{"_genkey_0":"1"}
  33. },
  34. {
  35. "name":"RewritePath",
  36. "args":{"_genkey_0":"/BMP-NETTY/(?<path>.*)","_genkey_1":"/$\\{path}"}
  37. }
  38. ]
  39. },
  40. {
  41. "id":"bmpBirdRoute",
  42. "uri":"lb://bmp-bird",
  43. "order":0,
  44. "predicates":[{
  45. "name":"Path",
  46. "args":{"pattern":"/BMP-BIRD/**"}
  47. }],
  48. "filters":[
  49. {
  50. "name":"StripPrefix",
  51. "args":{"_genkey_0":"1"}
  52. },
  53. {
  54. "name":"RewritePath",
  55. "args":{"_genkey_0":"/BMP-BIRD/(?<path>.*)","_genkey_1":"/$\\{path}"}
  56. }
  57. ]
  58. },
  59. {
  60. "id":"bmpKcglRoute",
  61. "uri":"lb://bmp-kcgl",
  62. "order":0,
  63. "predicates":[{
  64. "name":"Path",
  65. "args":{"pattern":"/BMP-KCGL/**"}
  66. }],
  67. "filters":[
  68. {
  69. "name":"StripPrefix",
  70. "args":{"_genkey_0":"1"}
  71. },
  72. {
  73. "name":"RewritePath",
  74. "args":{"_genkey_0":"/BMP-KCGL/(?<path>.*)","_genkey_1":"/$\\{path}"}
  75. }
  76. ]
  77. },
  78. {
  79. "id":"bmpNginxflvRoute",
  80. "uri":"lb://bmp-nginxflv",
  81. "order":0,
  82. "predicates":[{
  83. "name":"Path",
  84. "args":{"pattern":"/BMP-NGINXFLV/**"}
  85. }],
  86. "filters":[
  87. {
  88. "name":"StripPrefix",
  89. "args":{"_genkey_0":"1"}
  90. },
  91. {
  92. "name":"RewritePath",
  93. "args":{"_genkey_0":"/BMP-NGINXFLV/(?<path>.*)","_genkey_1":"/$\\{path}"}
  94. }
  95. ]
  96. }
  97. ]