Apigateway/ApiGateway/Routes/ocelot.ldap.json
2024-03-13 16:35:24 -05:00

58 lines
1.3 KiB
JSON

{
"Routes": [
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/Ldap/users/by-id/{userID}",
"DownstreamPathTemplate": "/Ldap/users/by-id/{userID}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8173
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/Ldap/users/by-username/{username}",
"DownstreamPathTemplate": "/Ldap/users/by-username/{username}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8173
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/Ldap/users/by-mail/{mail}",
"DownstreamPathTemplate": "/Ldap/users/by-mail/{mail}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8173
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
}
]
}