diff --git a/ApiGateway/ApiGateway.csproj b/ApiGateway/ApiGateway.csproj
index 8978b8a..fd9cda9 100644
--- a/ApiGateway/ApiGateway.csproj
+++ b/ApiGateway/ApiGateway.csproj
@@ -58,6 +58,6 @@
-
+
diff --git a/ApiGateway/CustomLogic.cs b/ApiGateway/CustomLogic.cs
index 0936d20..ce78d8c 100644
--- a/ApiGateway/CustomLogic.cs
+++ b/ApiGateway/CustomLogic.cs
@@ -34,7 +34,9 @@ namespace ApiGateway
string calledUrl = ctx.Items.DownstreamRoute().UpstreamPathTemplate.OriginalValue;
// 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/CambiarClave") ||
String.Equals(calledUrl, "/Auth/TknCambioClave") ||
diff --git a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json
index 5bc48b9..c6fe730 100644
--- a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json
+++ b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json
@@ -295,6 +295,28 @@
"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"
+ }
+ ]
}
]
diff --git a/ApiGateway/Routes/ocelot.adminusuarios.json b/ApiGateway/Routes/ocelot.adminusuarios.json
index 6ebefd0..4b2ac7f 100644
--- a/ApiGateway/Routes/ocelot.adminusuarios.json
+++ b/ApiGateway/Routes/ocelot.adminusuarios.json
@@ -1,51 +1,8 @@
{
"Routes": [
-
- //CambiarClave
-
{
"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",
- "UpstreamHttpMethod": [ "POST" ],
-
"DownstreamPathTemplate": "/Auth/Login",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -54,18 +11,34 @@
"Port": 8151
}
],
-
"RouteClaimsRequirement": {
"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",
-
"UpstreamPathTemplate": "/Auth/Proveedor",
- "UpstreamHttpMethod": [ "POST" ],
-
"DownstreamPathTemplate": "/Auth/Proveedor",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -74,305 +47,16 @@
"Port": 8151
}
],
-
"RouteClaimsRequirement": {
"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",
"UpstreamPathTemplate": "/Auth/RenovarToken",
- "UpstreamHttpMethod": [ "PATCH" ],
-
"DownstreamPathTemplate": "/Auth/RenovarToken",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -381,20 +65,412 @@
"Port": 8151
}
],
-
"RouteClaimsRequirement": {
"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",
"UpstreamPathTemplate": "/Usuarios/Firma",
- "UpstreamHttpMethod": [ "GET" ],
-
"DownstreamPathTemplate": "/Usuarios/Firma",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -403,16 +479,16 @@
"Port": 8151
}
],
-
"RouteClaimsRequirement": {
"permisos": "any"
- }
+ },
+ "UpstreamHttpMethod": [
+ "PATCH"
+ ]
},
{
"SwaggerKey": "MsAdminUsuarios",
"UpstreamPathTemplate": "/Usuarios/Firma",
- "UpstreamHttpMethod": [ "PATCH" ],
-
"DownstreamPathTemplate": "/Usuarios/Firma",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -421,17 +497,12 @@
"Port": 8151
}
],
-
"RouteClaimsRequirement": {
"permisos": "any"
- }
+ },
+ "UpstreamHttpMethod": [
+ "GET"
+ ]
}
-
-
-
-
-
-
-
]
-}
+}
\ No newline at end of file
diff --git a/ApiGateway/Routes/ocelot.agendamedica.json b/ApiGateway/Routes/ocelot.agendamedica.json
index f5a8c41..b3e75e0 100644
--- a/ApiGateway/Routes/ocelot.agendamedica.json
+++ b/ApiGateway/Routes/ocelot.agendamedica.json
@@ -270,6 +270,42 @@
"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",
"UpstreamPathTemplate": "/InfoAfiliadosCitas",
diff --git a/ApiGateway/Routes/ocelot.autorizacioneshc.json b/ApiGateway/Routes/ocelot.autorizacioneshc.json
index 875bd69..f4409ba 100644
--- a/ApiGateway/Routes/ocelot.autorizacioneshc.json
+++ b/ApiGateway/Routes/ocelot.autorizacioneshc.json
@@ -233,6 +233,78 @@
"UpstreamHttpMethod": [
"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"
+ ]
}
]
}
\ No newline at end of file
diff --git a/ApiGateway/Routes/ocelot.calidad.json b/ApiGateway/Routes/ocelot.calidad.json
new file mode 100644
index 0000000..f38e307
--- /dev/null
+++ b/ApiGateway/Routes/ocelot.calidad.json
@@ -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"
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ApiGateway/Routes/ocelot.ldap.json b/ApiGateway/Routes/ocelot.ldap.json
new file mode 100644
index 0000000..0a9e7bd
--- /dev/null
+++ b/ApiGateway/Routes/ocelot.ldap.json
@@ -0,0 +1,23 @@
+{
+ "Routes": [
+
+ {
+ "SwaggerKey": "MsLdap",
+
+ "UpstreamPathTemplate": "/ldap/Conectar",
+ "UpstreamHttpMethod": [ "GET" ],
+
+ "DownstreamPathTemplate": "/Conectar",
+ "DownstreamScheme": "http",
+ "DownstreamHostAndPorts": [
+ {
+ "Host": "localhost",
+ "Port": 8173
+ }
+ ],
+ "RouteClaimsRequirement": {
+ "permisos": "any"
+ }
+ }
+ ]
+}
diff --git a/ApiGateway/Routes/ocelot.programacioncomite.json b/ApiGateway/Routes/ocelot.programacioncomite.json
index 20b28fc..b3883f4 100644
--- a/ApiGateway/Routes/ocelot.programacioncomite.json
+++ b/ApiGateway/Routes/ocelot.programacioncomite.json
@@ -2,8 +2,8 @@
"Routes": [
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/Comite",
- "DownstreamPathTemplate": "/MsProgramacionComite/Comite",
+ "UpstreamPathTemplate": "/Comite",
+ "DownstreamPathTemplate": "/Comite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -20,8 +20,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/Comite",
- "DownstreamPathTemplate": "/MsProgramacionComite/Comite",
+ "UpstreamPathTemplate": "/Comite",
+ "DownstreamPathTemplate": "/Comite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -38,8 +38,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/Comite",
- "DownstreamPathTemplate": "/MsProgramacionComite/Comite",
+ "UpstreamPathTemplate": "/Comite",
+ "DownstreamPathTemplate": "/Comite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -56,8 +56,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/Comite/Estado",
- "DownstreamPathTemplate": "/MsProgramacionComite/Comite/Estado",
+ "UpstreamPathTemplate": "/Comite/Estado",
+ "DownstreamPathTemplate": "/Comite/Estado",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -74,8 +74,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite",
+ "UpstreamPathTemplate": "/DesarrolloComite",
+ "DownstreamPathTemplate": "/DesarrolloComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -92,8 +92,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite",
+ "UpstreamPathTemplate": "/DesarrolloComite",
+ "DownstreamPathTemplate": "/DesarrolloComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -110,8 +110,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite",
+ "UpstreamPathTemplate": "/DesarrolloComite",
+ "DownstreamPathTemplate": "/DesarrolloComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -128,8 +128,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite",
+ "UpstreamPathTemplate": "/IntegranteComite",
+ "DownstreamPathTemplate": "/IntegranteComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -146,8 +146,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite",
+ "UpstreamPathTemplate": "/IntegranteComite",
+ "DownstreamPathTemplate": "/IntegranteComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -164,8 +164,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite",
+ "UpstreamPathTemplate": "/IntegranteComite",
+ "DownstreamPathTemplate": "/IntegranteComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -182,8 +182,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite",
+ "UpstreamPathTemplate": "/NovedadComite",
+ "DownstreamPathTemplate": "/NovedadComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -200,8 +200,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite",
+ "UpstreamPathTemplate": "/NovedadComite",
+ "DownstreamPathTemplate": "/NovedadComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -218,8 +218,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite",
+ "UpstreamPathTemplate": "/NovedadComite",
+ "DownstreamPathTemplate": "/NovedadComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -236,8 +236,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite",
+ "UpstreamPathTemplate": "/ReunionComite",
+ "DownstreamPathTemplate": "/ReunionComite",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
@@ -254,8 +254,44 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite",
+ "UpstreamPathTemplate": "/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",
"DownstreamHostAndPorts": [
{
@@ -272,8 +308,8 @@
},
{
"SwaggerKey": "MsProgramacionComite",
- "UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite",
- "DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite",
+ "UpstreamPathTemplate": "/ReunionComite/Cancelar",
+ "DownstreamPathTemplate": "/ReunionComite/Cancelar",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{