{
|
|
"ReRoutes": [
|
|
{
|
|
"DownstreamPathTemplate": "/api/{version}/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "catalog",
|
|
"Port": 5000
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/api/{version}/c/{everything}",
|
|
"UpstreamHttpMethod": [ "GET" ]
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/api/{version}/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "catalog",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/grpc/{version}/c/{everything}",
|
|
"UpstreamHttpMethod": [ "GET" ]
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/api/{version}/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "basket",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/api/{version}/b/{everything}",
|
|
"UpstreamHttpMethod": [],
|
|
"AuthenticationOptions": {
|
|
"AuthenticationProviderKey": "IdentityApiKey",
|
|
"AllowedScopes": []
|
|
}
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/api/{version}/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "ordering",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/api/{version}/o/{everything}",
|
|
"UpstreamHttpMethod": [],
|
|
"AuthenticationOptions": {
|
|
"AuthenticationProviderKey": "IdentityApiKey",
|
|
"AllowedScopes": []
|
|
}
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "webshoppingagg",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/{everything}",
|
|
"UpstreamHttpMethod": [ "POST", "PUT", "GET" ],
|
|
"AuthenticationOptions": {
|
|
"AuthenticationProviderKey": "IdentityApiKey",
|
|
"AllowedScopes": []
|
|
}
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "ordering",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/orders-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "ordering-signalrhub",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/hub/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "basket",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/basket-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "catalog",
|
|
"Port": 5000
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/catalog-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "marketing",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/marketing-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "payment",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/payment-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
},
|
|
{
|
|
"DownstreamPathTemplate": "/{everything}",
|
|
"DownstreamScheme": "http",
|
|
"DownstreamHostAndPorts": [
|
|
{
|
|
"Host": "locations.api",
|
|
"Port": 80
|
|
}
|
|
],
|
|
"UpstreamPathTemplate": "/location-api/{everything}",
|
|
"UpstreamHttpMethod": []
|
|
}
|
|
|
|
],
|
|
"GlobalConfiguration": {
|
|
"RequestIdKey": "OcRequestId",
|
|
"AdministrationPath": "/administration"
|
|
}
|
|
}
|
|
|