diff --git a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json index 6d4c791..a54f97b 100644 --- a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json +++ b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json @@ -1,16 +1,5 @@ { "SwaggerEndPoints": [ - { - "Key": "MsPing", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsPing", - "Version": "1.0", - "Url": "http://localhost:8198/swagger/v1/swagger.json" - } - ] - }, { "Key": "ApiGetway", "TransformByOcelotConfig": false, @@ -22,15 +11,80 @@ } ] }, - { - "Key": "MsDatosMaestros", + "Key": "MsAdminUsuarios", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsDatosMaestros", + "Name": "MsAdminUsuarios", "Version": "1.0", - "Url": "http://localhost:8146/swagger/v1/swagger.json" + "Url": "http://localhost:8151/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAfiliados", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAfiliados", + "Version": "1.0", + "Url": "http://localhost:8145/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAgendaMedica", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAgendaMedica", + "Version": "1.0", + "Url": "http://localhost:8155/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAudMedConcurrente", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAudMedConcurrente", + "Version": "1.0", + "Url": "http://localhost:8163/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAuditarHC", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAuditarHC", + "Version": "1.0", + "Url": "http://localhost:8168/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAuditoria", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAuditoria", + "Version": "1.0", + "Url": "http://localhost:8167/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsAuditoriaHC", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsAuditoriaHC", + "Version": "1.0", + "Url": "http://localhost:8157/swagger/v1/swagger.json" } ] }, @@ -46,51 +100,38 @@ ] }, { - "Key": "MsAdminUsuarios", + "Key": "MsCajaFacturacion", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsAdminUsuarios", + "Name": "MsCajaFacturacion", "Version": "1.0", - "Url": "http://localhost:8151/swagger/v1/swagger.json" - } - ] - }, - - { - "Key": "MsAfiliados", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsAfiliados", - "Version": "1.0", - "Url": "http://localhost:8145/swagger/v1/swagger.json" + "Url": "http://localhost:8150/swagger/v1/swagger.json" } ] }, { - "Key": "MsExterno", + "Key": "MsCalidad", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsExterno", + "Name": "MsCalidad", "Version": "1.0", - "Url": "http://localhost:8199/swagger/v1/swagger.json" + "Url": "http://localhost:8172/swagger/v1/swagger.json" } ] }, { - "Key": "MsEmail", + "Key": "MsComTecCientifico", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsEmail", + "Name": "MsComTecCientifico", "Version": "1.0", - "Url": "http://localhost:8170/swagger/v1/swagger.json" + "Url": "http://localhost:8161/swagger/v1/swagger.json" } ] }, - { "Key": "MsContratos", "TransformByOcelotConfig": true, @@ -124,96 +165,47 @@ } ] }, - { - "Key": "MsAgendaMedica", + "Key": "MsCuentasMedicas", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsAgendaMedica", + "Name": "MsCuentasMedicas", "Version": "1.0", - "Url": "http://localhost:8155/swagger/v1/swagger.json" - } - ] - }, - - { - "Key": "MsCajaFacturacion", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsCajaFacturacion", - "Version": "1.0", - "Url": "http://localhost:8150/swagger/v1/swagger.json" - } - ] - }, - - { - "Key": "MsReferencia", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsReferencia", - "Version": "1.0", - "Url": "http://localhost:8160/swagger/v1/swagger.json" - } - ] - }, - //{ - // "Key": "MsComiteTC", - // "TransformByOcelotConfig": true, - // "Config": [ - // { - // "Name": "MsComiteTC", - // "Version": "1.0", - // "Url": "http://localhost:8166/swagger/v1/swagger.json" - // } - // ] - //}, - { - "Key": "MsInformes", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsInformes", - "Version": "1.0", - "Url": "http://localhost:8164/swagger/v1/swagger.json" - } - ] - }, - - { - "Key": "MsAudMedConcurrente", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsAudMedConcurrente", - "Version": "1.0", - "Url": "http://localhost:8163/swagger/v1/swagger.json" - } - ] - }, - - { - "Key": "MsHistoriaClinica", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsHistoriaClinica", - "Version": "1.0", - "Url": "http://localhost:8154/swagger/v1/swagger.json" + "Url": "http://localhost:8174/swagger/v1/swagger.json" } ] }, { - "Key": "MsAuditarHC", + "Key": "MsDatosMaestros", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsAuditarHC", + "Name": "MsDatosMaestros", "Version": "1.0", - "Url": "http://localhost:8168/swagger/v1/swagger.json" + "Url": "http://localhost:8146/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsEmail", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsEmail", + "Version": "1.0", + "Url": "http://localhost:8170/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsExterno", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsExterno", + "Version": "1.0", + "Url": "http://localhost:8199/swagger/v1/swagger.json" } ] }, @@ -228,6 +220,17 @@ } ] }, + { + "Key": "MsHistoriaClinica", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsHistoriaClinica", + "Version": "1.0", + "Url": "http://localhost:8154/swagger/v1/swagger.json" + } + ] + }, { "Key": "MsImagenologia", "TransformByOcelotConfig": true, @@ -239,6 +242,28 @@ } ] }, + { + "Key": "MsIncapacidadesLicencias", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsIncapacidadesLicencias", + "Version": "1.0", + "Url": "http://localhost:8177/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsInformes", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsInformes", + "Version": "1.0", + "Url": "http://localhost:8164/swagger/v1/swagger.json" + } + ] + }, { "Key": "MsLaboratorioClinico", "TransformByOcelotConfig": true, @@ -250,6 +275,39 @@ } ] }, + { + "Key": "MsLdap", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsLdap", + "Version": "1.0", + "Url": "http://localhost:8173/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsPing", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsPing", + "Version": "1.0", + "Url": "http://localhost:8198/swagger/v1/swagger.json" + } + ] + }, + { + "Key": "MsProcesosEstrategicos", + "TransformByOcelotConfig": true, + "Config": [ + { + "Name": "MsProcesosEstrategicos", + "Version": "1.0", + "Url": "http://localhost:8175/swagger/v1/swagger.json" + } + ] + }, { "Key": "MsProgramacionComite", "TransformByOcelotConfig": true, @@ -273,79 +331,13 @@ ] }, { - "Key": "MsAuditoriaHC", + "Key": "MsReferencia", "TransformByOcelotConfig": true, "Config": [ { - "Name": "MsAuditoriaHC", + "Name": "MsReferencia", "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": "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" - } - ] - }, - { - "Key": "MsCuentasMedicas", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsCuentasMedicas", - "Version": "1.0", - "Url": "http://localhost:8174/swagger/v1/swagger.json" - } - ] - }, - { - "Key": "MsComTecCientifico", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsComTecCientifico", - "Version": "1.0", - "Url": "http://localhost:8161/swagger/v1/swagger.json" - } - ] - }, - { - "Key": "MsProcesosEstrategicos", - "TransformByOcelotConfig": true, - "Config": [ - { - "Name": "MsProcesosEstrategicos", - "Version": "1.0", - "Url": "http://localhost:8175/swagger/v1/swagger.json" + "Url": "http://localhost:8160/swagger/v1/swagger.json" } ] }, @@ -360,6 +352,19 @@ } ] } - ] } + + + + //{ + // "Key": "MsComiteTC", + // "TransformByOcelotConfig": true, + // "Config": [ + // { + // "Name": "MsComiteTC", + // "Version": "1.0", + // "Url": "http://localhost:8166/swagger/v1/swagger.json" + // } + // ] + //}, diff --git a/ApiGateway/Routes/ocelot.incapacidadeslicencias.json b/ApiGateway/Routes/ocelot.incapacidadeslicencias.json new file mode 100644 index 0000000..15030da --- /dev/null +++ b/ApiGateway/Routes/ocelot.incapacidadeslicencias.json @@ -0,0 +1,76 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsIncapacidadesLicencias", + "UpstreamPathTemplate": "/LicenciasInc", + "DownstreamPathTemplate": "/LicenciasInc", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8177 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsIncapacidadesLicencias", + "UpstreamPathTemplate": "/LicenciasInc", + "DownstreamPathTemplate": "/LicenciasInc", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8177 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsIncapacidadesLicencias", + "UpstreamPathTemplate": "/LicenciasInc", + "DownstreamPathTemplate": "/LicenciasInc", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8177 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsIncapacidadesLicencias", + "UpstreamPathTemplate": "/LicenciasInc/Masivo", + "DownstreamPathTemplate": "/LicenciasInc/Masivo", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8177 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + } + ] +} \ No newline at end of file