46 lines
1.2 KiB
JSON
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"
|
|
//}
|
|
}
|
|
]
|
|
|
|
}
|