This commit is contained in:
Dario F. Gomez Z 2023-03-09 12:16:19 -05:00
commit 7a4d6b1509
9 changed files with 718 additions and 398 deletions

View File

@ -58,6 +58,6 @@
</Content> </Content>
</ItemGroup> </ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties routes_4ocelot_1contratos_1json__JsonSchema="https://json.schemastore.org/ocelot.json" routes_4ocelot_1global_1json__JsonSchema="https://json.schemastore.org/ocelot.json" routes_4ocelot_1swaggerendpoints_1json__JsonSchema="https://json.schemastore.org/ocelot.json" /></VisualStudio></ProjectExtensions> <ProjectExtensions><VisualStudio><UserProperties routes_4ocelot_1adminusuarios_1json__JsonSchema="https://beaujs.com/schema.json" routes_4ocelot_1contratos_1json__JsonSchema="https://json.schemastore.org/ocelot.json" routes_4ocelot_1global_1json__JsonSchema="https://json.schemastore.org/ocelot.json" routes_4ocelot_1swaggerendpoints_1json__JsonSchema="https://json.schemastore.org/ocelot.json" /></VisualStudio></ProjectExtensions>
</Project> </Project>

View File

@ -34,7 +34,9 @@ namespace ApiGateway
string calledUrl = ctx.Items.DownstreamRoute().UpstreamPathTemplate.OriginalValue; string calledUrl = ctx.Items.DownstreamRoute().UpstreamPathTemplate.OriginalValue;
// Excepcion para login, no requiere token // Excepcion para login, no requiere token
if (String.Equals(calledUrl, "/Ext/Login") || if (
String.Equals(calledUrl, "/ldap/Conectar") ||
String.Equals(calledUrl, "/Ext/Login") ||
String.Equals(calledUrl, "/Auth/Login") || String.Equals(calledUrl, "/Auth/Login") ||
String.Equals(calledUrl, "/Auth/CambiarClave") || String.Equals(calledUrl, "/Auth/CambiarClave") ||
String.Equals(calledUrl, "/Auth/TknCambioClave") || String.Equals(calledUrl, "/Auth/TknCambioClave") ||

View File

@ -295,6 +295,28 @@
"Url": "http://localhost:8167/swagger/v1/swagger.json" "Url": "http://localhost:8167/swagger/v1/swagger.json"
} }
] ]
},
{
"Key": "MsCalidad",
"TransformByOcelotConfig": true,
"Config": [
{
"Name": "MsCalidad",
"Version": "1.0",
"Url": "http://localhost:8172/swagger/v1/swagger.json"
}
]
},
{
"Key": "MsLdap",
"TransformByOcelotConfig": true,
"Config": [
{
"Name": "MsLdap",
"Version": "1.0",
"Url": "http://localhost:8173/swagger/v1/swagger.json"
}
]
} }
] ]

View File

@ -1,51 +1,8 @@
{ {
"Routes": [ "Routes": [
//CambiarClave
{ {
"SwaggerKey": "MsAdminUsuarios", "SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/CambiarClave",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Auth/CambiarClave",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/TknCambioClave",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Auth/TknCambioClave",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/Login", "UpstreamPathTemplate": "/Auth/Login",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Auth/Login", "DownstreamPathTemplate": "/Auth/Login",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
@ -54,18 +11,34 @@
"Port": 8151 "Port": 8151
} }
], ],
"RouteClaimsRequirement": { "RouteClaimsRequirement": {
"permisos": "any" "permisos": "any"
}
}, },
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/CambiarClave",
"DownstreamPathTemplate": "/Auth/CambiarClave",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{ {
"SwaggerKey": "MsAdminUsuarios", "SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/Proveedor", "UpstreamPathTemplate": "/Auth/Proveedor",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Auth/Proveedor", "DownstreamPathTemplate": "/Auth/Proveedor",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
@ -74,305 +47,16 @@
"Port": 8151 "Port": 8151
} }
], ],
"RouteClaimsRequirement": { "RouteClaimsRequirement": {
"permisos": "any" "permisos": "any"
}
}, },
"UpstreamHttpMethod": [
"POST"
]
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Microservicios",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Microservicios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
}, },
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Microservicios",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Microservicios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Perfiles",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Perfiles",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Perfiles",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Perfiles",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Perfiles",
"UpstreamHttpMethod": [ "PATCH" ],
"DownstreamPathTemplate": "/Perfiles",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Permisos",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Permisos",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Permisos",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Permisos",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/PerfilesPorUsuario",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/PerfilesPorUsuario",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/PerfilesPorUsuario",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/PerfilesPorUsuario",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/Iniciales",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Usuarios/Iniciales",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Usuarios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios",
"UpstreamHttpMethod": [ "POST" ],
"DownstreamPathTemplate": "/Usuarios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios",
"UpstreamHttpMethod": [ "PATCH" ],
"DownstreamPathTemplate": "/Usuarios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/NumeroDocumento",
"UpstreamHttpMethod": [ "PATCH" ],
"DownstreamPathTemplate": "/Usuarios/NumeroDocumento",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
},
{ {
"SwaggerKey": "MsAdminUsuarios", "SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/RenovarToken", "UpstreamPathTemplate": "/Auth/RenovarToken",
"UpstreamHttpMethod": [ "PATCH" ],
"DownstreamPathTemplate": "/Auth/RenovarToken", "DownstreamPathTemplate": "/Auth/RenovarToken",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
@ -381,20 +65,412 @@
"Port": 8151 "Port": 8151
} }
], ],
"RouteClaimsRequirement": { "RouteClaimsRequirement": {
"permisos": "any" "permisos": "any"
}
}, },
"UpstreamHttpMethod": [
"PATCH"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/Encriptar",
"DownstreamPathTemplate": "/Auth/Encriptar",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/Desencriptar",
"DownstreamPathTemplate": "/Auth/Desencriptar",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Auth/TknCambioClave",
"DownstreamPathTemplate": "/Auth/TknCambioClave",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/CorreosArea",
"DownstreamPathTemplate": "/CorreosArea",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/CorreosArea",
"DownstreamPathTemplate": "/CorreosArea",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/CorreosArea",
"DownstreamPathTemplate": "/CorreosArea",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Microservicios",
"DownstreamPathTemplate": "/Microservicios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Microservicios",
"DownstreamPathTemplate": "/Microservicios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Perfiles",
"DownstreamPathTemplate": "/Perfiles",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Perfiles",
"DownstreamPathTemplate": "/Perfiles",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Perfiles",
"DownstreamPathTemplate": "/Perfiles",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/PerfilesPorUsuario",
"DownstreamPathTemplate": "/PerfilesPorUsuario",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/PerfilesPorUsuario",
"DownstreamPathTemplate": "/PerfilesPorUsuario",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Permisos",
"DownstreamPathTemplate": "/Permisos",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Permisos",
"DownstreamPathTemplate": "/Permisos",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/UserBene",
"DownstreamPathTemplate": "/Usuarios/UserBene",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/Iniciales",
"DownstreamPathTemplate": "/Usuarios/Iniciales",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios",
"DownstreamPathTemplate": "/Usuarios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios",
"DownstreamPathTemplate": "/Usuarios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios",
"DownstreamPathTemplate": "/Usuarios",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/NumeroDocumento",
"DownstreamPathTemplate": "/Usuarios/NumeroDocumento",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/Perfil_usu",
"DownstreamPathTemplate": "/Usuarios/Perfil_usu",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8151
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
},
{ {
"SwaggerKey": "MsAdminUsuarios", "SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/Firma", "UpstreamPathTemplate": "/Usuarios/Firma",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Usuarios/Firma", "DownstreamPathTemplate": "/Usuarios/Firma",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
@ -403,16 +479,16 @@
"Port": 8151 "Port": 8151
} }
], ],
"RouteClaimsRequirement": { "RouteClaimsRequirement": {
"permisos": "any" "permisos": "any"
} },
"UpstreamHttpMethod": [
"PATCH"
]
}, },
{ {
"SwaggerKey": "MsAdminUsuarios", "SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/Firma", "UpstreamPathTemplate": "/Usuarios/Firma",
"UpstreamHttpMethod": [ "PATCH" ],
"DownstreamPathTemplate": "/Usuarios/Firma", "DownstreamPathTemplate": "/Usuarios/Firma",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
@ -421,17 +497,12 @@
"Port": 8151 "Port": 8151
} }
], ],
"RouteClaimsRequirement": { "RouteClaimsRequirement": {
"permisos": "any" "permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
} }
}
] ]
} }

View File

@ -270,6 +270,42 @@
"GET" "GET"
] ]
}, },
{
"SwaggerKey": "MsAgendaMedica",
"UpstreamPathTemplate": "/Demandas",
"DownstreamPathTemplate": "/Demandas",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8155
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAgendaMedica",
"UpstreamPathTemplate": "/Demandas",
"DownstreamPathTemplate": "/Demandas",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8155
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{ {
"SwaggerKey": "MsAgendaMedica", "SwaggerKey": "MsAgendaMedica",
"UpstreamPathTemplate": "/InfoAfiliadosCitas", "UpstreamPathTemplate": "/InfoAfiliadosCitas",

View File

@ -233,6 +233,78 @@
"UpstreamHttpMethod": [ "UpstreamHttpMethod": [
"POST" "POST"
] ]
},
{
"SwaggerKey": "MsAutorizacionesHC",
"UpstreamPathTemplate": "/NovedadAutHC",
"DownstreamPathTemplate": "/NovedadAutHC",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8147
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsAutorizacionesHC",
"UpstreamPathTemplate": "/NovedadAutHC/Anular",
"DownstreamPathTemplate": "/NovedadAutHC/Anular",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8147
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAutorizacionesHC",
"UpstreamPathTemplate": "/NovedadAutHC/Rechazar",
"DownstreamPathTemplate": "/NovedadAutHC/Rechazar",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8147
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsAutorizacionesHC",
"UpstreamPathTemplate": "/NovedadAutHC/SelloCopia",
"DownstreamPathTemplate": "/NovedadAutHC/SelloCopia",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8147
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
} }
] ]
} }

View File

@ -0,0 +1,58 @@
{
"Routes": [
{
"SwaggerKey": "MsCalidad",
"UpstreamPathTemplate": "/CondHabilitacion",
"DownstreamPathTemplate": "/CondHabilitacion",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8172
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsCalidad",
"UpstreamPathTemplate": "/CondHabilitacion",
"DownstreamPathTemplate": "/CondHabilitacion",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8172
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"POST"
]
},
{
"SwaggerKey": "MsCalidad",
"UpstreamPathTemplate": "/CondHabilitacion",
"DownstreamPathTemplate": "/CondHabilitacion",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8172
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
}
]
}

View File

@ -0,0 +1,23 @@
{
"Routes": [
{
"SwaggerKey": "MsLdap",
"UpstreamPathTemplate": "/ldap/Conectar",
"UpstreamHttpMethod": [ "GET" ],
"DownstreamPathTemplate": "/Conectar",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8173
}
],
"RouteClaimsRequirement": {
"permisos": "any"
}
}
]
}

View File

@ -2,8 +2,8 @@
"Routes": [ "Routes": [
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/Comite", "UpstreamPathTemplate": "/Comite",
"DownstreamPathTemplate": "/MsProgramacionComite/Comite", "DownstreamPathTemplate": "/Comite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -20,8 +20,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/Comite", "UpstreamPathTemplate": "/Comite",
"DownstreamPathTemplate": "/MsProgramacionComite/Comite", "DownstreamPathTemplate": "/Comite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -38,8 +38,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/Comite", "UpstreamPathTemplate": "/Comite",
"DownstreamPathTemplate": "/MsProgramacionComite/Comite", "DownstreamPathTemplate": "/Comite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -56,8 +56,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/Comite/Estado", "UpstreamPathTemplate": "/Comite/Estado",
"DownstreamPathTemplate": "/MsProgramacionComite/Comite/Estado", "DownstreamPathTemplate": "/Comite/Estado",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -74,8 +74,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", "UpstreamPathTemplate": "/DesarrolloComite",
"DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", "DownstreamPathTemplate": "/DesarrolloComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -92,8 +92,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", "UpstreamPathTemplate": "/DesarrolloComite",
"DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", "DownstreamPathTemplate": "/DesarrolloComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -110,8 +110,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", "UpstreamPathTemplate": "/DesarrolloComite",
"DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", "DownstreamPathTemplate": "/DesarrolloComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -128,8 +128,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", "UpstreamPathTemplate": "/IntegranteComite",
"DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", "DownstreamPathTemplate": "/IntegranteComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -146,8 +146,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", "UpstreamPathTemplate": "/IntegranteComite",
"DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", "DownstreamPathTemplate": "/IntegranteComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -164,8 +164,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", "UpstreamPathTemplate": "/IntegranteComite",
"DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", "DownstreamPathTemplate": "/IntegranteComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -182,8 +182,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite", "UpstreamPathTemplate": "/NovedadComite",
"DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite", "DownstreamPathTemplate": "/NovedadComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -200,8 +200,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite", "UpstreamPathTemplate": "/NovedadComite",
"DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite", "DownstreamPathTemplate": "/NovedadComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -218,8 +218,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite", "UpstreamPathTemplate": "/NovedadComite",
"DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite", "DownstreamPathTemplate": "/NovedadComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -236,8 +236,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite", "UpstreamPathTemplate": "/ReunionComite",
"DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite", "DownstreamPathTemplate": "/ReunionComite",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -254,8 +254,44 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite", "UpstreamPathTemplate": "/ReunionComite",
"DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite", "DownstreamPathTemplate": "/ReunionComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8156
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"PATCH"
]
},
{
"SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/ReunionComite/CTC",
"DownstreamPathTemplate": "/ReunionComite/CTC",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8156
}
],
"RouteClaimsRequirement": {
"permisos": "any"
},
"UpstreamHttpMethod": [
"GET"
]
},
{
"SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/ReunionComite/Reservar",
"DownstreamPathTemplate": "/ReunionComite/Reservar",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
@ -272,8 +308,8 @@
}, },
{ {
"SwaggerKey": "MsProgramacionComite", "SwaggerKey": "MsProgramacionComite",
"UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite", "UpstreamPathTemplate": "/ReunionComite/Cancelar",
"DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite", "DownstreamPathTemplate": "/ReunionComite/Cancelar",
"DownstreamScheme": "http", "DownstreamScheme": "http",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {