facerec-gateway-dynamic 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. [
  2. {
  3. "id":"facerecSystemRoute",
  4. "uri":"lb://facerec-system",
  5. "order":0,
  6. "predicates":[{
  7. "name":"Path",
  8. "args":{"pattern":"/FACEREC-SYSTEM/**"}
  9. }],
  10. "filters":[
  11. {
  12. "name":"StripPrefix",
  13. "args":{"_genkey_0":"1"}
  14. },
  15. {
  16. "name":"RewritePath",
  17. "args":{"_genkey_0":"/FACEREC-SYSTEM/(?<path>.*)","_genkey_1":"/$\\{path}"}
  18. }
  19. ]
  20. },
  21. {
  22. "id":"facerecDeviceRoute",
  23. "uri":"lb://facerec-device",
  24. "order":0,
  25. "predicates":[{
  26. "name":"Path",
  27. "args":{"pattern":"/FACEREC-DEVICE/**"}
  28. }],
  29. "filters":[
  30. {
  31. "name":"StripPrefix",
  32. "args":{"_genkey_0":"1"}
  33. },
  34. {
  35. "name":"RewritePath",
  36. "args":{"_genkey_0":"/FACEREC-DEVICE/(?<path>.*)","_genkey_1":"/$\\{path}"}
  37. }
  38. ]
  39. },
  40. {
  41. "id":"facerecNginxflvRoute",
  42. "uri":"lb://facerec-nginxflv",
  43. "order":0,
  44. "predicates":[{
  45. "name":"Path",
  46. "args":{"pattern":"/FACEREC-NGINXFLV/**"}
  47. }],
  48. "filters":[
  49. {
  50. "name":"StripPrefix",
  51. "args":{"_genkey_0":"1"}
  52. },
  53. {
  54. "name":"RewritePath",
  55. "args":{"_genkey_0":"/FACEREC-NGINXFLV/(?<path>.*)","_genkey_1":"/$\\{path}"}
  56. }
  57. ]
  58. },
  59. {
  60. "id":"facerecStationDeviceRoute",
  61. "uri":"lb://facerec-station-device",
  62. "order":0,
  63. "predicates":[{
  64. "name":"Path",
  65. "args":{"pattern":"/FACEREC-STATION-DEVICE/**"}
  66. }],
  67. "filters":[
  68. {
  69. "name":"StripPrefix",
  70. "args":{"_genkey_0":"1"}
  71. },
  72. {
  73. "name":"RewritePath",
  74. "args":{"_genkey_0":"/FACEREC-STATION-DEVICE/(?<path>.*)","_genkey_1":"/$\\{path}"}
  75. }
  76. ]
  77. }
  78. ]