90 lines
2.7 KiB
JSON
90 lines
2.7 KiB
JSON
{
|
|
"ReRoutes": [
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "catalog.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/purchase-bff/catalog/{everything}",
|
|
"UpstreamHttpMethod": [ "GET" ]
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "basket.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/purchase-bff/basket/{everything}",
|
|
"UpstreamHttpMethod": [ "GET" ],
|
|
"AuthenticationOptions": {
|
|
"AuthenticationProviderKey": "IdentityApiKey",
|
|
"AllowedScopes": []
|
|
}
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "purchasebff",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/purchase-bff/{everything}",
|
|
"UpstreamHttpMethod": [ "POST", "PUT" ],
|
|
"AuthenticationOptions": {
|
|
"AuthenticationProviderKey": "IdentityApiKey",
|
|
"AllowedScopes": []
|
|
}
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "ordering.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/orders-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "basket.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/basket-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "catalog.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/catalog-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "marketing.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/marketing-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "payment.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/payment-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHost": "locations.api",
|
|
"DownstreamPort": 80,
|
|
"UpstreamPathTemplate": "/location-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
}
|
|
|
|
],
|
|
"GlobalConfiguration": {
|
|
"RequestIdKey": "OcRequestId",
|
|
"AdministrationPath": "/administration"
|
|
}
|
|
}
|
|
|