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.

165 lines
4.4 KiB

  1. {
  2. "ReRoutes": [
  3. {
  4. "DownstreamPathTemplate": "/api/{version}/{everything}",
  5. "DownstreamScheme": "http",
  6. "DownstreamHostAndPorts": [
  7. {
  8. "Host": "catalog",
  9. "Port": 5000
  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": "catalog",
  21. "Port": 80
  22. }
  23. ],
  24. "UpstreamPathTemplate": "/grpc/{version}/c/{everything}",
  25. "UpstreamHttpMethod": [ "GET" ]
  26. },
  27. {
  28. "DownstreamPathTemplate": "/api/{version}/{everything}",
  29. "DownstreamScheme": "http",
  30. "DownstreamHostAndPorts": [
  31. {
  32. "Host": "basket",
  33. "Port": 80
  34. }
  35. ],
  36. "UpstreamPathTemplate": "/api/{version}/b/{everything}",
  37. "UpstreamHttpMethod": [],
  38. "AuthenticationOptions": {
  39. "AuthenticationProviderKey": "IdentityApiKey",
  40. "AllowedScopes": []
  41. }
  42. },
  43. {
  44. "DownstreamPathTemplate": "/api/{version}/{everything}",
  45. "DownstreamScheme": "http",
  46. "DownstreamHostAndPorts": [
  47. {
  48. "Host": "ordering",
  49. "Port": 80
  50. }
  51. ],
  52. "UpstreamPathTemplate": "/api/{version}/o/{everything}",
  53. "UpstreamHttpMethod": [],
  54. "AuthenticationOptions": {
  55. "AuthenticationProviderKey": "IdentityApiKey",
  56. "AllowedScopes": []
  57. }
  58. },
  59. {
  60. "DownstreamPathTemplate": "/{everything}",
  61. "DownstreamScheme": "http",
  62. "DownstreamHostAndPorts": [
  63. {
  64. "Host": "webshoppingagg",
  65. "Port": 80
  66. }
  67. ],
  68. "UpstreamPathTemplate": "/{everything}",
  69. "UpstreamHttpMethod": [ "POST", "PUT", "GET" ],
  70. "AuthenticationOptions": {
  71. "AuthenticationProviderKey": "IdentityApiKey",
  72. "AllowedScopes": []
  73. }
  74. },
  75. {
  76. "DownstreamPathTemplate": "/{everything}",
  77. "DownstreamScheme": "http",
  78. "DownstreamHostAndPorts": [
  79. {
  80. "Host": "ordering",
  81. "Port": 80
  82. }
  83. ],
  84. "UpstreamPathTemplate": "/orders-api/{everything}",
  85. "UpstreamHttpMethod": []
  86. },
  87. {
  88. "DownstreamPathTemplate": "/{everything}",
  89. "DownstreamScheme": "http",
  90. "DownstreamHostAndPorts": [
  91. {
  92. "Host": "ordering-signalrhub",
  93. "Port": 80
  94. }
  95. ],
  96. "UpstreamPathTemplate": "/hub/{everything}",
  97. "UpstreamHttpMethod": []
  98. },
  99. {
  100. "DownstreamPathTemplate": "/{everything}",
  101. "DownstreamScheme": "http",
  102. "DownstreamHostAndPorts": [
  103. {
  104. "Host": "basket",
  105. "Port": 80
  106. }
  107. ],
  108. "UpstreamPathTemplate": "/basket-api/{everything}",
  109. "UpstreamHttpMethod": []
  110. },
  111. {
  112. "DownstreamPathTemplate": "/{everything}",
  113. "DownstreamScheme": "http",
  114. "DownstreamHostAndPorts": [
  115. {
  116. "Host": "catalog",
  117. "Port": 5000
  118. }
  119. ],
  120. "UpstreamPathTemplate": "/catalog-api/{everything}",
  121. "UpstreamHttpMethod": []
  122. },
  123. {
  124. "DownstreamPathTemplate": "/{everything}",
  125. "DownstreamScheme": "http",
  126. "DownstreamHostAndPorts": [
  127. {
  128. "Host": "marketing",
  129. "Port": 80
  130. }
  131. ],
  132. "UpstreamPathTemplate": "/marketing-api/{everything}",
  133. "UpstreamHttpMethod": []
  134. },
  135. {
  136. "DownstreamPathTemplate": "/{everything}",
  137. "DownstreamScheme": "http",
  138. "DownstreamHostAndPorts": [
  139. {
  140. "Host": "payment",
  141. "Port": 80
  142. }
  143. ],
  144. "UpstreamPathTemplate": "/payment-api/{everything}",
  145. "UpstreamHttpMethod": []
  146. },
  147. {
  148. "DownstreamPathTemplate": "/{everything}",
  149. "DownstreamScheme": "http",
  150. "DownstreamHostAndPorts": [
  151. {
  152. "Host": "locations.api",
  153. "Port": 80
  154. }
  155. ],
  156. "UpstreamPathTemplate": "/location-api/{everything}",
  157. "UpstreamHttpMethod": []
  158. }
  159. ],
  160. "GlobalConfiguration": {
  161. "RequestIdKey": "OcRequestId",
  162. "AdministrationPath": "/administration"
  163. }
  164. }