diff --git a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json index c6fe730..2839a90 100644 --- a/ApiGateway/Routes/ocelot.SwaggerEndPoints.json +++ b/ApiGateway/Routes/ocelot.SwaggerEndPoints.json @@ -317,6 +317,17 @@ "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" + } + ] } ] diff --git a/ApiGateway/Routes/ocelot.afiliados.json b/ApiGateway/Routes/ocelot.afiliados.json index 4e0636f..c08267f 100644 --- a/ApiGateway/Routes/ocelot.afiliados.json +++ b/ApiGateway/Routes/ocelot.afiliados.json @@ -324,6 +324,24 @@ "GET" ] }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/DeclaratoriasPorAfiliado/Juramento", + "DownstreamPathTemplate": "/DeclaratoriasPorAfiliado/Juramento", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/DeclaratoriasPorAfiliado/DeclaratoriasUsuario", diff --git a/ApiGateway/Routes/ocelot.cuentasmedicas.json b/ApiGateway/Routes/ocelot.cuentasmedicas.json new file mode 100644 index 0000000..3754bfc --- /dev/null +++ b/ApiGateway/Routes/ocelot.cuentasmedicas.json @@ -0,0 +1,112 @@ +{ + "Routes": [ + { + "SwaggerKey": "MsCuentasMedicas", + "UpstreamPathTemplate": "/FacturasCM", + "DownstreamPathTemplate": "/FacturasCM", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8174 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsCuentasMedicas", + "UpstreamPathTemplate": "/FacturasCM", + "DownstreamPathTemplate": "/FacturasCM", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8174 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsCuentasMedicas", + "UpstreamPathTemplate": "/FacturasCM", + "DownstreamPathTemplate": "/FacturasCM", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8174 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsCuentasMedicas", + "UpstreamPathTemplate": "/RipsCuentasMed", + "DownstreamPathTemplate": "/RipsCuentasMed", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8174 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsCuentasMedicas", + "UpstreamPathTemplate": "/RipsCuentasMed", + "DownstreamPathTemplate": "/RipsCuentasMed", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8174 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsCuentasMedicas", + "UpstreamPathTemplate": "/RipsCuentasMed", + "DownstreamPathTemplate": "/RipsCuentasMed", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8174 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + } + ] +} \ No newline at end of file