139 lines
3.2 KiB
JSON
139 lines
3.2 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"System.Net.Http": "Warning"
|
|
}
|
|
},
|
|
"OpenApi": {
|
|
"Endpoint": {
|
|
"Name": "Purchase BFF V1"
|
|
},
|
|
"Document": {
|
|
"Description": "Shopping Aggregator for Web Clients",
|
|
"Title": "Shopping Aggregator for Web Clients",
|
|
"Version": "v1"
|
|
},
|
|
"Auth": {
|
|
"ClientId": "webshoppingaggswaggerui",
|
|
"AppName": "Web Shopping BFF Swagger UI"
|
|
}
|
|
},
|
|
"Identity": {
|
|
"Url": "http://localhost:5223",
|
|
"Audience": "webshoppingagg",
|
|
"Scopes": {
|
|
"webshoppingagg": "Shopping Aggregator for Web Clients"
|
|
}
|
|
},
|
|
"ReverseProxy": {
|
|
"Routes": {
|
|
"c-short": {
|
|
"ClusterId": "catalog",
|
|
"Match": {
|
|
"Path": "c/{**catch-all}"
|
|
},
|
|
"Transforms": [
|
|
{ "PathRemovePrefix": "/c" }
|
|
]
|
|
},
|
|
"c-long": {
|
|
"ClusterId": "catalog",
|
|
"Match": {
|
|
"Path": "catalog-api/{**catch-all}"
|
|
},
|
|
"Transforms": [
|
|
{ "PathRemovePrefix": "/catalog-api" }
|
|
]
|
|
},
|
|
"b-short": {
|
|
"ClusterId": "basket",
|
|
"Match": {
|
|
"Path": "b/{**catch-all}"
|
|
},
|
|
"Transforms": [
|
|
{ "PathRemovePrefix": "/b" }
|
|
]
|
|
},
|
|
"b-long": {
|
|
"ClusterId": "basket",
|
|
"Match": {
|
|
"Path": "basket-api/{**catch-all}"
|
|
},
|
|
"Transforms": [
|
|
{ "PathRemovePrefix": "/basket-api" }
|
|
]
|
|
},
|
|
"o-short": {
|
|
"ClusterId": "orders",
|
|
"Match": {
|
|
"Path": "o/{**catch-all}"
|
|
},
|
|
"Transforms": [
|
|
{ "PathRemovePrefix": "/o" }
|
|
]
|
|
},
|
|
"o-long": {
|
|
"ClusterId": "orders",
|
|
"Match": {
|
|
"Path": "ordering-api/{**catch-all}"
|
|
},
|
|
"Transforms": [
|
|
{ "PathRemovePrefix": "/ordering-api" }
|
|
]
|
|
},
|
|
"h-long": {
|
|
"ClusterId": "signalr",
|
|
"Match": {
|
|
"Path": "hub/notificationhub/{**catch-all}"
|
|
}
|
|
}
|
|
},
|
|
"Clusters": {
|
|
"basket": {
|
|
"Destinations": {
|
|
"destination0": {
|
|
"Address": "http://localhost:5221"
|
|
}
|
|
}
|
|
},
|
|
"catalog": {
|
|
"Destinations": {
|
|
"destination0": {
|
|
"Address": "http://localhost:5222"
|
|
}
|
|
}
|
|
},
|
|
"orders": {
|
|
"Destinations": {
|
|
"destination0": {
|
|
"Address": "http://localhost:5224"
|
|
}
|
|
}
|
|
},
|
|
"signalr": {
|
|
"Destinations": {
|
|
"destination0": {
|
|
"Address": "http://localhost:5225"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Urls": {
|
|
"Basket": "http://localhost:5221",
|
|
"Catalog": "http://localhost:5222",
|
|
"Orders": "http://localhost:5224",
|
|
"Identity": "http://localhost:5223",
|
|
"Signalr": "http://localhost:5225",
|
|
"GrpcBasket": "http://localhost:6221",
|
|
"GrpcCatalog": "http://localhost:6222",
|
|
"GrpcOrdering": "http://localhost:6224"
|
|
},
|
|
"CatalogUrlHC": "http://localhost:5222/hc",
|
|
"OrderingUrlHC": "http://localhost:5224/hc",
|
|
"BasketUrlHC": "http://localhost:5221/hc",
|
|
"IdentityUrlHC": "http://localhost:5223/hc"
|
|
}
|