You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
3.8 KiB

  1. {
  2. "ReRoutes": [
  3. {
  4. "DownstreamPathTemplate": "/api/{version}/{everything}",
  5. "DownstreamScheme": "http",
  6. "DownstreamHostAndPorts": [
  7. {
  8. "Host": "catalog",
  9. "Port": 80
  10. }
  11. ],
  12. "UpstreamPathTemplate": "/api/{version}/c/{everything}",
  13. "UpstreamHttpMethod": [ "GET" ]
  14. },
  15. {
  16. "DownstreamPathTemplate": "/api/{version}/{everything}",
  17. "DownstreamScheme": "http",
  18. "DownstreamHostAndPorts": [
  19. {
  20. "Host": "basket",
  21. "Port": 80
  22. }
  23. ],
  24. "UpstreamPathTemplate": "/api/{version}/b/{everything}",
  25. "UpstreamHttpMethod": [],
  26. "AuthenticationOptions": {
  27. "AuthenticationProviderKey": "IdentityApiKey",
  28. "AllowedScopes": []
  29. }
  30. },
  31. {
  32. "DownstreamPathTemplate": "/api/{version}/{everything}",
  33. "DownstreamScheme": "http",
  34. "DownstreamHostAndPorts": [
  35. {
  36. "Host": "ordering",
  37. "Port": 80
  38. }
  39. ],
  40. "UpstreamPathTemplate": "/api/{version}/o/{everything}",
  41. "UpstreamHttpMethod": [],
  42. "AuthenticationOptions": {
  43. "AuthenticationProviderKey": "IdentityApiKey",
  44. "AllowedScopes": []
  45. }
  46. },
  47. {
  48. "DownstreamPathTemplate": "/{everything}",
  49. "DownstreamScheme": "http",
  50. "DownstreamHostAndPorts": [
  51. {
  52. "Host": "mobileshoppingagg",
  53. "Port": 80
  54. }
  55. ],
  56. "UpstreamPathTemplate": "/{everything}",
  57. "UpstreamHttpMethod": [ "POST", "PUT", "GET" ],
  58. "AuthenticationOptions": {
  59. "AuthenticationProviderKey": "IdentityApiKey",
  60. "AllowedScopes": []
  61. }
  62. },
  63. {
  64. "DownstreamPathTemplate": "/{everything}",
  65. "DownstreamScheme": "http",
  66. "DownstreamHostAndPorts": [
  67. {
  68. "Host": "ordering",
  69. "Port": 80
  70. }
  71. ],
  72. "UpstreamPathTemplate": "/orders-api/{everything}",
  73. "UpstreamHttpMethod": []
  74. },
  75. {
  76. "DownstreamPathTemplate": "/{everything}",
  77. "DownstreamScheme": "http",
  78. "DownstreamHostAndPorts": [
  79. {
  80. "Host": "basket",
  81. "Port": 80
  82. }
  83. ],
  84. "UpstreamPathTemplate": "/basket-api/{everything}",
  85. "UpstreamHttpMethod": []
  86. },
  87. {
  88. "DownstreamPathTemplate": "/{everything}",
  89. "DownstreamScheme": "http",
  90. "DownstreamHostAndPorts": [
  91. {
  92. "Host": "catalog",
  93. "Port": 80
  94. }
  95. ],
  96. "UpstreamPathTemplate": "/catalog-api/{everything}",
  97. "UpstreamHttpMethod": []
  98. },
  99. {
  100. "DownstreamPathTemplate": "/{everything}",
  101. "DownstreamScheme": "http",
  102. "DownstreamHostAndPorts": [
  103. {
  104. "Host": "marketing",
  105. "Port": 80
  106. }
  107. ],
  108. "UpstreamPathTemplate": "/marketing-api/{everything}",
  109. "UpstreamHttpMethod": []
  110. },
  111. {
  112. "DownstreamPathTemplate": "/{everything}",
  113. "DownstreamScheme": "http",
  114. "DownstreamHostAndPorts": [
  115. {
  116. "Host": "payment",
  117. "Port": 80
  118. }
  119. ],
  120. "UpstreamPathTemplate": "/payment-api/{everything}",
  121. "UpstreamHttpMethod": []
  122. },
  123. {
  124. "DownstreamPathTemplate": "/{everything}",
  125. "DownstreamScheme": "http",
  126. "DownstreamHostAndPorts": [
  127. {
  128. "Host": "locations.api",
  129. "Port": 80
  130. }
  131. ],
  132. "UpstreamPathTemplate": "/location-api/{everything}",
  133. "UpstreamHttpMethod": []
  134. }
  135. ],
  136. "GlobalConfiguration": {
  137. "RequestIdKey": "OcRequestId",
  138. "AdministrationPath": "/administration"
  139. }
  140. }