From 191b3e7b8f9184d0100bd52d1ca147988f31b799 Mon Sep 17 00:00:00 2001 From: Luis Martinez Date: Tue, 14 Feb 2023 14:08:45 -0500 Subject: [PATCH] Nuevas rutas --- .../Routes/ocelot.SwaggerEndPoints.json | 116 ++- ApiGateway/Routes/ocelot.auditarhc.json | 40 ++ ApiGateway/Routes/ocelot.auditoria.json | 94 +++ ApiGateway/Routes/ocelot.auditoriahc.json | 274 +++++++ ApiGateway/Routes/ocelot.comitetc.json | 26 +- ApiGateway/Routes/ocelot.datosmaestros.json | 8 +- ApiGateway/Routes/ocelot.email.json | 2 +- ApiGateway/Routes/ocelot.externo.json | 4 +- .../Routes/ocelot.habilitacionservicios.json | 76 ++ ApiGateway/Routes/ocelot.imagenologia.json | 220 ++++++ ApiGateway/Routes/ocelot.informes.json | 62 +- .../Routes/ocelot.laboratorioclinico.json | 670 ++++++++++++++++++ .../Routes/ocelot.programacioncomite.json | 292 ++++++++ ApiGateway/Routes/ocelot.rias.json | 94 +++ .../MsUsuarios/Properties/launchSettings.json | 4 +- 15 files changed, 1936 insertions(+), 46 deletions(-) create mode 100644 ApiGateway/Routes/ocelot.auditarhc.json create mode 100644 ApiGateway/Routes/ocelot.auditoria.json create mode 100644 ApiGateway/Routes/ocelot.auditoriahc.json create mode 100644 ApiGateway/Routes/ocelot.habilitacionservicios.json create mode 100644 ApiGateway/Routes/ocelot.imagenologia.json create mode 100644 ApiGateway/Routes/ocelot.laboratorioclinico.json create mode 100644 ApiGateway/Routes/ocelot.programacioncomite.json create mode 100644 ApiGateway/Routes/ocelot.rias.json diff --git a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json index 5bda9b0..5bc48b9 100644 --- a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json +++ b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json @@ -24,11 +24,11 @@ }, { - "Key": "DatosMaestros", + "Key": "MsDatosMaestros", "TransformByOcelotConfig": true, "Config": [ { - "Name": "DatosMaestros", + "Name": "MsDatosMaestros", "Version": "1.0", "Url": "http://localhost:8146/swagger/v1/swagger.json" } @@ -69,22 +69,22 @@ ] }, { - "Key": "Externo", + "Key": "MsExterno", "TransformByOcelotConfig": true, "Config": [ { - "Name": "Externo", + "Name": "MsExterno", "Version": "1.0", "Url": "http://localhost:8199/swagger/v1/swagger.json" } ] }, { - "Key": "Email", + "Key": "MsEmail", "TransformByOcelotConfig": true, "Config": [ { - "Name": "Email", + "Name": "MsEmail", "Version": "1.0", "Url": "http://localhost:8170/swagger/v1/swagger.json" } @@ -162,11 +162,11 @@ }, { - "Key": "ComiteTC", + "Key": "MsComiteTC", "TransformByOcelotConfig": true, "Config": [ { - "Name": "ComiteTC", + "Name": "MsComiteTC", "Version": "1.0", "Url": "http://localhost:8166/swagger/v1/swagger.json" } @@ -207,19 +207,95 @@ "Url": "http://localhost:8154/swagger/v1/swagger.json" } ] + }, + { + "Key": "MsAuditarHC", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAuditarHC", + "Version": "1.0", + "Url": "http://localhost:8168/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsHabilitacionServicios", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsHabilitacionServicios", + "Version": "1.0", + "Url": "http://localhost:8171/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsImagenologia", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsImagenologia", + "Version": "1.0", + "Url": "http://localhost:8158/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsLaboratorioClinico", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsLaboratorioClinico", + "Version": "1.0", + "Url": "http://localhost:8162/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsProgramacionComite", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsProgramacionComite", + "Version": "1.0", + "Url": "http://localhost:8156/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsRIAS", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsRIAS", + "Version": "1.0", + "Url": "http://localhost:8169/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAuditoriaHC", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAuditoriaHC", + "Version": "1.0", + "Url": "http://localhost:8157/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAuditoria", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAuditoria", + "Version": "1.0", + "Url": "http://localhost:8167/swagger/v1/swagger.json" + } + ] } - //{ - // "Key": "apitest",MsAudMedConcurrente - // "TransformByOcelotConfig": true, - // "Config": [ - // { - // "Name": "ApiTest", - // "Version": "1.0", - // "Url": "http://localhost:5041/swagger/v1/swagger.json" - // } - // ] - - ] } diff --git a/ApiGateway/Routes/ocelot.auditarhc.json b/ApiGateway/Routes/ocelot.auditarhc.json new file mode 100644 index 0000000..b93b623 --- /dev/null +++ b/ApiGateway/Routes/ocelot.auditarhc.json @@ -0,0 +1,40 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsAuditarHC", + "UpstreamPathTemplate": "/AuditarHC", + "DownstreamPathTemplate": "/AuditarHC", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8168 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditarHC", + "UpstreamPathTemplate": "/AuditarHC", + "DownstreamPathTemplate": "/AuditarHC", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8168 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.auditoria.json b/ApiGateway/Routes/ocelot.auditoria.json new file mode 100644 index 0000000..1069b6b --- /dev/null +++ b/ApiGateway/Routes/ocelot.auditoria.json @@ -0,0 +1,94 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsAuditoria", + "UpstreamPathTemplate": "/Auditoria", + "DownstreamPathTemplate": "/Auditoria", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8167 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoria", + "UpstreamPathTemplate": "/Auditoria", + "DownstreamPathTemplate": "/Auditoria", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8167 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAuditoria", + "UpstreamPathTemplate": "/Acciones", + "DownstreamPathTemplate": "/Acciones", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8167 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoria", + "UpstreamPathTemplate": "/Acciones", + "DownstreamPathTemplate": "/Acciones", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8167 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAuditoria", + "UpstreamPathTemplate": "/Auditoria/Acciones", + "DownstreamPathTemplate": "/Auditoria/Acciones", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8167 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.auditoriahc.json b/ApiGateway/Routes/ocelot.auditoriahc.json new file mode 100644 index 0000000..6eb8136 --- /dev/null +++ b/ApiGateway/Routes/ocelot.auditoriahc.json @@ -0,0 +1,274 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/AuditoriaCalidadHC", + "DownstreamPathTemplate": "/AuditoriaCalidadHC", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/AuditoriaCalidadHC", + "DownstreamPathTemplate": "/AuditoriaCalidadHC", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/CriterioFormatoCalidad", + "DownstreamPathTemplate": "/CriterioFormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/CriterioFormatoCalidad", + "DownstreamPathTemplate": "/CriterioFormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/CriterioFormatoCalidad", + "DownstreamPathTemplate": "/CriterioFormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/FormatoCalidad", + "DownstreamPathTemplate": "/FormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/FormatoCalidad", + "DownstreamPathTemplate": "/FormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/FormatoCalidad", + "DownstreamPathTemplate": "/FormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/FormatoCalidad/Estado", + "DownstreamPathTemplate": "/FormatoCalidad/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/FormatoXCriterioCalidad", + "DownstreamPathTemplate": "/FormatoXCriterioCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/FormatoXCriterioCalidad", + "DownstreamPathTemplate": "/FormatoXCriterioCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/TipoFormatoCalidad", + "DownstreamPathTemplate": "/TipoFormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/TipoFormatoCalidad", + "DownstreamPathTemplate": "/TipoFormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/TipoFormatoCalidad", + "DownstreamPathTemplate": "/TipoFormatoCalidad", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAuditoriaHC", + "UpstreamPathTemplate": "/TipoFormatoCalidad/Estado", + "DownstreamPathTemplate": "/TipoFormatoCalidad/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8157 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.comitetc.json b/ApiGateway/Routes/ocelot.comitetc.json index 7542155..4db7740 100644 --- a/ApiGateway/Routes/ocelot.comitetc.json +++ b/ApiGateway/Routes/ocelot.comitetc.json @@ -1,7 +1,7 @@ { "Routes": [ { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/SolicitudAut/Archivos", "DownstreamPathTemplate": "/SolicitudAut/Archivos", "DownstreamScheme": "http", @@ -19,7 +19,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/CasosPorComite", "DownstreamPathTemplate": "/CasosPorComite", "DownstreamScheme": "http", @@ -37,7 +37,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/CasosPorComite", "DownstreamPathTemplate": "/CasosPorComite", "DownstreamScheme": "http", @@ -55,7 +55,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/ComiteTC", "DownstreamPathTemplate": "/ComiteTC", "DownstreamScheme": "http", @@ -73,7 +73,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/ComiteTC/Reservar", "DownstreamPathTemplate": "/ComiteTC/Reservar", "DownstreamScheme": "http", @@ -91,7 +91,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/ComiteTC/Test", "DownstreamPathTemplate": "/ComiteTC/Test", "DownstreamScheme": "http", @@ -109,7 +109,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/ComiteTC/Guardar", "DownstreamPathTemplate": "/ComiteTC/Guardar", "DownstreamScheme": "http", @@ -127,7 +127,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/ComiteTC/Limpiar", "DownstreamPathTemplate": "/ComiteTC/Limpiar", "DownstreamScheme": "http", @@ -145,7 +145,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/SolicitudAutCTC", "DownstreamPathTemplate": "/SolicitudAutCTC", "DownstreamScheme": "http", @@ -163,7 +163,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/SolicitudAutCTC", "DownstreamPathTemplate": "/SolicitudAutCTC", "DownstreamScheme": "http", @@ -181,7 +181,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/SolicitudAutCTC/Reservar", "DownstreamPathTemplate": "/SolicitudAutCTC/Reservar", "DownstreamScheme": "http", @@ -199,7 +199,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/SolicitudAutCTC/Rechazar", "DownstreamPathTemplate": "/SolicitudAutCTC/Rechazar", "DownstreamScheme": "http", @@ -217,7 +217,7 @@ ] }, { - "SwaggerKey": "ComiteTC", + "SwaggerKey": "MsComiteTC", "UpstreamPathTemplate": "/SolicitudAutCTC/LimpiarTabla", "DownstreamPathTemplate": "/SolicitudAutCTC/LimpiarTabla", "DownstreamScheme": "http", diff --git a/ApiGateway/Routes/ocelot.datosmaestros.json b/ApiGateway/Routes/ocelot.datosmaestros.json index 0149256..349c1df 100644 --- a/ApiGateway/Routes/ocelot.datosmaestros.json +++ b/ApiGateway/Routes/ocelot.datosmaestros.json @@ -1,7 +1,7 @@ { "Routes": [ { - "SwaggerKey": "DatosMaestros", + "SwaggerKey": "MsDatosMaestros", "UpstreamPathTemplate": "/DatosMaestros", "DownstreamPathTemplate": "/DatosMaestros", "DownstreamScheme": "http", @@ -19,7 +19,7 @@ ] }, { - "SwaggerKey": "DatosMaestros", + "SwaggerKey": "MsDatosMaestros", "UpstreamPathTemplate": "/DatosMaestros", "DownstreamPathTemplate": "/DatosMaestros", "DownstreamScheme": "http", @@ -37,7 +37,7 @@ ] }, { - "SwaggerKey": "DatosMaestros", + "SwaggerKey": "MsDatosMaestros", "UpstreamPathTemplate": "/DatosMaestros/Dato", "DownstreamPathTemplate": "/DatosMaestros/Dato", "DownstreamScheme": "http", @@ -55,7 +55,7 @@ ] }, { - "SwaggerKey": "DatosMaestros", + "SwaggerKey": "MsDatosMaestros", "UpstreamPathTemplate": "/DatosMaestros/Relacion", "DownstreamPathTemplate": "/DatosMaestros/Relacion", "DownstreamScheme": "http", diff --git a/ApiGateway/Routes/ocelot.email.json b/ApiGateway/Routes/ocelot.email.json index 2f43874..efb416c 100644 --- a/ApiGateway/Routes/ocelot.email.json +++ b/ApiGateway/Routes/ocelot.email.json @@ -2,7 +2,7 @@ "Routes": [ { - "SwaggerKey": "Email", + "SwaggerKey": "MsEmail", "UpstreamPathTemplate": "/Email", "UpstreamHttpMethod": [ "POST" ], diff --git a/ApiGateway/Routes/ocelot.externo.json b/ApiGateway/Routes/ocelot.externo.json index 9115eb8..6bae2af 100644 --- a/ApiGateway/Routes/ocelot.externo.json +++ b/ApiGateway/Routes/ocelot.externo.json @@ -2,7 +2,7 @@ "Routes": [ { - "SwaggerKey": "Externo", + "SwaggerKey": "MsExterno", "UpstreamPathTemplate": "/Ext/Login", "UpstreamHttpMethod": [ "POST" ], @@ -18,7 +18,7 @@ { - "SwaggerKey": "Externo", + "SwaggerKey": "MsExterno", "UpstreamPathTemplate": "/UPC", "UpstreamHttpMethod": [ "Get" ], diff --git a/ApiGateway/Routes/ocelot.habilitacionservicios.json b/ApiGateway/Routes/ocelot.habilitacionservicios.json new file mode 100644 index 0000000..85d18d6 --- /dev/null +++ b/ApiGateway/Routes/ocelot.habilitacionservicios.json @@ -0,0 +1,76 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsHabilitacionServicios", + "UpstreamPathTemplate": "/AutoevaluacionServicioHabilitado", + "DownstreamPathTemplate": "/AutoevaluacionServicioHabilitado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8171 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsHabilitacionServicios", + "UpstreamPathTemplate": "/AutoevaluacionServicioHabilitado", + "DownstreamPathTemplate": "/AutoevaluacionServicioHabilitado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8171 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsHabilitacionServicios", + "UpstreamPathTemplate": "/CondicionesHabilitacion", + "DownstreamPathTemplate": "/CondicionesHabilitacion", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8171 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsHabilitacionServicios", + "UpstreamPathTemplate": "/CondicionesHabilitacion", + "DownstreamPathTemplate": "/CondicionesHabilitacion", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8171 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.imagenologia.json b/ApiGateway/Routes/ocelot.imagenologia.json new file mode 100644 index 0000000..0cd2ae5 --- /dev/null +++ b/ApiGateway/Routes/ocelot.imagenologia.json @@ -0,0 +1,220 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/InfoAfiliadoImg", + "DownstreamPathTemplate": "/InfoAfiliadoImg", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/InfoAfiliadoImg", + "DownstreamPathTemplate": "/InfoAfiliadoImg", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg", + "DownstreamPathTemplate": "/OrdenImg", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg", + "DownstreamPathTemplate": "/OrdenImg", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg/Ordenados", + "DownstreamPathTemplate": "/OrdenImg/Ordenados", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg/OrdenResultados", + "DownstreamPathTemplate": "/OrdenImg/OrdenResultados", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg/OrdenEntregaResultado", + "DownstreamPathTemplate": "/OrdenImg/OrdenEntregaResultado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg/SelloCopia", + "DownstreamPathTemplate": "/OrdenImg/SelloCopia", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/OrdenImg/NotaAclaratoria", + "DownstreamPathTemplate": "/OrdenImg/NotaAclaratoria", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/ResultadoImg", + "DownstreamPathTemplate": "/ResultadoImg", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/ResultadoImg", + "DownstreamPathTemplate": "/ResultadoImg", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsImagenologia", + "UpstreamPathTemplate": "/ResultadoImg/FechaEntrega", + "DownstreamPathTemplate": "/ResultadoImg/FechaEntrega", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8158 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.informes.json b/ApiGateway/Routes/ocelot.informes.json index 90027f0..9d098b9 100644 --- a/ApiGateway/Routes/ocelot.informes.json +++ b/ApiGateway/Routes/ocelot.informes.json @@ -2,8 +2,26 @@ "Routes": [ { "SwaggerKey": "MsInformes", - "UpstreamPathTemplate": "/Informes/ConsultaEstructuraTabla", - "DownstreamPathTemplate": "/Informes/ConsultaEstructuraTabla", + "UpstreamPathTemplate": "/Consultas", + "DownstreamPathTemplate": "/Consultas", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8164 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsInformes", + "UpstreamPathTemplate": "/Consultas/Validar", + "DownstreamPathTemplate": "/Consultas/Validar", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -20,8 +38,44 @@ }, { "SwaggerKey": "MsInformes", - "UpstreamPathTemplate": "/Informes/Consulta", - "DownstreamPathTemplate": "/Informes/Consulta", + "UpstreamPathTemplate": "/Consultas/Guardar", + "DownstreamPathTemplate": "/Consultas/Guardar", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8164 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsInformes", + "UpstreamPathTemplate": "/Consultas/Ejecutar", + "DownstreamPathTemplate": "/Consultas/Ejecutar", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8164 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsInformes", + "UpstreamPathTemplate": "/Tablas/ConsultarEstructura", + "DownstreamPathTemplate": "/Tablas/ConsultarEstructura", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { diff --git a/ApiGateway/Routes/ocelot.laboratorioclinico.json b/ApiGateway/Routes/ocelot.laboratorioclinico.json new file mode 100644 index 0000000..af4ca3f --- /dev/null +++ b/ApiGateway/Routes/ocelot.laboratorioclinico.json @@ -0,0 +1,670 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/AreasLabClinico", + "DownstreamPathTemplate": "/AreasLabClinico", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/AreasLabClinico", + "DownstreamPathTemplate": "/AreasLabClinico", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/AreasLabClinico", + "DownstreamPathTemplate": "/AreasLabClinico", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/AreasLabClinico/Estado", + "DownstreamPathTemplate": "/AreasLabClinico/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/CupsItems", + "DownstreamPathTemplate": "/CupsItems", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/CupsItems", + "DownstreamPathTemplate": "/CupsItems", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/CupsLab", + "DownstreamPathTemplate": "/CupsLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/CupsLab", + "DownstreamPathTemplate": "/CupsLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/CupsLab", + "DownstreamPathTemplate": "/CupsLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ExamenPorSeccion", + "DownstreamPathTemplate": "/ExamenPorSeccion", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ExamenPorSeccion", + "DownstreamPathTemplate": "/ExamenPorSeccion", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ExamenPorSeccion/Estado", + "DownstreamPathTemplate": "/ExamenPorSeccion/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/GruposEtareosLab", + "DownstreamPathTemplate": "/GruposEtareosLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/GruposEtareosLab", + "DownstreamPathTemplate": "/GruposEtareosLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/GruposEtareosLab", + "DownstreamPathTemplate": "/GruposEtareosLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/InfoAfiliadoLabClinic", + "DownstreamPathTemplate": "/InfoAfiliadoLabClinic", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/InfoAfiliadoLabClinic", + "DownstreamPathTemplate": "/InfoAfiliadoLabClinic", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ItemsLab", + "DownstreamPathTemplate": "/ItemsLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ItemsLab", + "DownstreamPathTemplate": "/ItemsLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes", + "DownstreamPathTemplate": "/RecepcionExamenes", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes", + "DownstreamPathTemplate": "/RecepcionExamenes", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes", + "DownstreamPathTemplate": "/RecepcionExamenes", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes/Masivo", + "DownstreamPathTemplate": "/RecepcionExamenes/Masivo", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes/RecepcionesAfiliado", + "DownstreamPathTemplate": "/RecepcionExamenes/RecepcionesAfiliado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes/Estado", + "DownstreamPathTemplate": "/RecepcionExamenes/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RecepcionExamenes/CambioEstadoEntrega", + "DownstreamPathTemplate": "/RecepcionExamenes/CambioEstadoEntrega", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RefExmClnItms", + "DownstreamPathTemplate": "/RefExmClnItms", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RefExmClnItms", + "DownstreamPathTemplate": "/RefExmClnItms", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/RefExmClnItms", + "DownstreamPathTemplate": "/RefExmClnItms", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ResultadosExamenes", + "DownstreamPathTemplate": "/ResultadosExamenes", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ResultadosExamenes", + "DownstreamPathTemplate": "/ResultadosExamenes", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ResultadosExamenes", + "DownstreamPathTemplate": "/ResultadosExamenes", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/ResultadosExamenes/APIWinsisLab", + "DownstreamPathTemplate": "/ResultadosExamenes/APIWinsisLab", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/SeccionesLabClinico", + "DownstreamPathTemplate": "/SeccionesLabClinico", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/SeccionesLabClinico", + "DownstreamPathTemplate": "/SeccionesLabClinico", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/SeccionesLabClinico", + "DownstreamPathTemplate": "/SeccionesLabClinico", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsLaboratorioClinico", + "UpstreamPathTemplate": "/SeccionesLabClinico/Estado", + "DownstreamPathTemplate": "/SeccionesLabClinico/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8162 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.programacioncomite.json b/ApiGateway/Routes/ocelot.programacioncomite.json new file mode 100644 index 0000000..20b28fc --- /dev/null +++ b/ApiGateway/Routes/ocelot.programacioncomite.json @@ -0,0 +1,292 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/Comite", + "DownstreamPathTemplate": "/MsProgramacionComite/Comite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/Comite", + "DownstreamPathTemplate": "/MsProgramacionComite/Comite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/Comite", + "DownstreamPathTemplate": "/MsProgramacionComite/Comite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/Comite/Estado", + "DownstreamPathTemplate": "/MsProgramacionComite/Comite/Estado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", + "DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", + "DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", + "DownstreamPathTemplate": "/MsProgramacionComite/DesarrolloComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", + "DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", + "DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", + "DownstreamPathTemplate": "/MsProgramacionComite/IntegranteComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite", + "DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite", + "DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/NovedadComite", + "DownstreamPathTemplate": "/MsProgramacionComite/NovedadComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite", + "DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite", + "DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsProgramacionComite", + "UpstreamPathTemplate": "/MsProgramacionComite/ReunionComite", + "DownstreamPathTemplate": "/MsProgramacionComite/ReunionComite", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8156 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + } + ] +} \ No newline at end of file diff --git a/ApiGateway/Routes/ocelot.rias.json b/ApiGateway/Routes/ocelot.rias.json new file mode 100644 index 0000000..e80c743 --- /dev/null +++ b/ApiGateway/Routes/ocelot.rias.json @@ -0,0 +1,94 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsRIAS", + "UpstreamPathTemplate": "/MsRias/GpEtarioGpRiesgo", + "DownstreamPathTemplate": "/GpEtarioGpRiesgo", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8169 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsRIAS", + "UpstreamPathTemplate": "/MsRias/GpEtarioGpRiesgo", + "DownstreamPathTemplate": "/GpEtarioGpRiesgo", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8169 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsRIAS", + "UpstreamPathTemplate": "/MsRias/GpEtarioGpRiesgo", + "DownstreamPathTemplate": "/GpEtarioGpRiesgo", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8169 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsRIAS", + "UpstreamPathTemplate": "/MsRias/Rias", + "DownstreamPathTemplate": "/Rias", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8169 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsRIAS", + "UpstreamPathTemplate": "/MsRias/Rias", + "DownstreamPathTemplate": "/Rias", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8169 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + } + ] +} \ No newline at end of file diff --git a/Microservicios/MsUsuarios/Properties/launchSettings.json b/Microservicios/MsUsuarios/Properties/launchSettings.json index f25688b..cff0e95 100644 --- a/Microservicios/MsUsuarios/Properties/launchSettings.json +++ b/Microservicios/MsUsuarios/Properties/launchSettings.json @@ -12,7 +12,7 @@ "MicroservicioAdminUsuarios": { "commandName": "Project", "dotnetRunMessages": true, - "launchBrowser": true, + "launchBrowser": false, "launchUrl": "swagger", "applicationUrl": "https://localhost:7292;http://localhost:5292", "environmentVariables": { @@ -22,7 +22,7 @@ }, "IIS Express": { "commandName": "IISExpress", - "launchBrowser": true, + "launchBrowser": false, "launchUrl": "swagger", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development"