Apigateway/ApiGateway/Routes/ocelot.contratos.json
2022-11-02 11:31:23 -05:00

46 lines
1.2 KiB
JSON

{
"Routes": [
{
"SwaggerKey": "MsContratos",
//Incoming
"UpstreamPathTemplate": "/Contratos",
"UpstreamHttpMethod": [ "GET", "POST" ],
//Routed
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 5102
}
],
"DownstreamPathTemplate": "/api/Contratos"
//"AuthenticationOptions": {
// //"AuthenticationProviderKey": "Bearer",
// "AllowedScopes": [ "0kmmpshnyd.execute-api.us-east-2.amazonaws.com/" ] // Ejemplo: "api.portfolio.manager.v1"
//}
},
{
"SwaggerKey": "MsContratos",
//Incoming
"UpstreamPathTemplate": "/Contratos/asdasd/potato",
"UpstreamHttpMethod": [ "GET", "POST" ],
//Routed
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 5102
}
],
"DownstreamPathTemplate": "/api/Contratos"
//"AuthenticationOptions": {
// //"AuthenticationProviderKey": "Bearer",
// "AllowedScopes": [ "0kmmpshnyd.execute-api.us-east-2.amazonaws.com/" ] // Ejemplo: "api.portfolio.manager.v1"
//}
}
]
}