diff --git a/ApiGateway/Routes/ocelot.afiliados.json b/ApiGateway/Routes/ocelot.afiliados.json index 74352ee..4e0636f 100644 --- a/ApiGateway/Routes/ocelot.afiliados.json +++ b/ApiGateway/Routes/ocelot.afiliados.json @@ -3,8 +3,6 @@ { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados", - "UpstreamHttpMethod": [ "Get" ], - "DownstreamPathTemplate": "/Afiliados", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -15,15 +13,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados", - "UpstreamHttpMethod": [ "Post" ], - "DownstreamPathTemplate": "/Afiliados", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -34,15 +31,32 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/Afiliados", + "DownstreamPathTemplate": "/Afiliados", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/Documento", - "UpstreamHttpMethod": [ "Get" ], - "DownstreamPathTemplate": "/Afiliados/Documento", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -53,15 +67,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/Aceptar", - "UpstreamHttpMethod": [ "Post" ], - "DownstreamPathTemplate": "/Afiliados/Aceptar", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -72,15 +85,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/SubirSoporte", - "UpstreamHttpMethod": [ "Post" ], - "DownstreamPathTemplate": "/Afiliados/SubirSoporte", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -91,15 +103,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/CheckDocumento", - "UpstreamHttpMethod": [ "Get" ], - "DownstreamPathTemplate": "/Afiliados/CheckDocumento", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -110,15 +121,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/Rechazar", - "UpstreamHttpMethod": [ "Post" ], - "DownstreamPathTemplate": "/Afiliados/Rechazar", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -129,15 +139,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/Aprobar", - "UpstreamHttpMethod": [ "Post" ], - "DownstreamPathTemplate": "/Afiliados/Aprobar", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -148,15 +157,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/Generar", - "UpstreamHttpMethod": [ "Patch" ], - "DownstreamPathTemplate": "/Afiliados/Generar", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -167,52 +175,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "PATCH" + ] }, - - { "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/Afiliados/Retirar", - "UpstreamHttpMethod": [ "Post" ], - - "DownstreamPathTemplate": "/Afiliados/Retirar", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/Afiliados", - "UpstreamHttpMethod": [ "Patch" ], - - "DownstreamPathTemplate": "/Afiliados", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/Afiliados/GrupoFamiliar", - "UpstreamHttpMethod": [ "Get" ], - + "UpstreamPathTemplate": "/Afiliados/AfiliadosUsuario", "DownstreamPathTemplate": "/Afiliados/AfiliadosUsuario", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -223,14 +193,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Afiliados/Contacto", - "UpstreamHttpMethod": [ "PATCH" ], - "DownstreamPathTemplate": "/Afiliados/Contacto", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -241,15 +211,32 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/Afiliados/Retirar", + "DownstreamPathTemplate": "/Afiliados/Retirar", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Archivos", - "UpstreamHttpMethod": [ "Get" ], - "DownstreamPathTemplate": "/Archivos", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -260,15 +247,68 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/Archivos/Afiliado", + "DownstreamPathTemplate": "/Archivos/Afiliado", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/BitacoraAfil", + "DownstreamPathTemplate": "/BitacoraAfil", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/BitacoraAfil/Masivo", + "DownstreamPathTemplate": "/BitacoraAfil/Masivo", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/DeclaratoriasPorAfiliado", - "UpstreamHttpMethod": [ "Get" ], - "DownstreamPathTemplate": "/DeclaratoriasPorAfiliado", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -279,110 +319,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - - { "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/PreguntasDeclaratorias", - "UpstreamHttpMethod": [ "Get" ], - - "DownstreamPathTemplate": "/PreguntasDeclaratorias", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/UPCAdicional", - "UpstreamHttpMethod": [ "Get" ], - - "DownstreamPathTemplate": "/UPCAdicional", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/UPCAdicional", - "UpstreamHttpMethod": [ "Post" ], - - "DownstreamPathTemplate": "/UPCAdicional", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/UPCAdicional", - "UpstreamHttpMethod": [ "Patch" ], - - "DownstreamPathTemplate": "/UPCAdicional", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/Archivos/Afiliado", - "UpstreamHttpMethod": [ "GET" ], - - "DownstreamPathTemplate": "/Archivos/GrupoFamiliar", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "localhost", - "Port": 8145 - } - ], - "RouteClaimsRequirement": { - "permisos": "any" - } - }, - - { - "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/Declaratorias/Afiliado", - "UpstreamHttpMethod": [ "GET" ], - + "UpstreamPathTemplate": "/DeclaratoriasPorAfiliado/DeclaratoriasUsuario", "DownstreamPathTemplate": "/DeclaratoriasPorAfiliado/DeclaratoriasUsuario", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -393,15 +337,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/MotivosNovedades", - "UpstreamHttpMethod": [ "Get" ], - "DownstreamPathTemplate": "/MotivosNovedades", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -412,13 +355,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/MotivosNovedades", - "UpstreamHttpMethod": [ "POST" ], - "DownstreamPathTemplate": "/MotivosNovedades", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -429,16 +373,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Novedades", - "UpstreamHttpMethod": [ "GET" ], - "DownstreamPathTemplate": "/Novedades", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -449,14 +391,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Novedades", - "UpstreamHttpMethod": [ "POST" ], - "DownstreamPathTemplate": "/Novedades", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -467,13 +409,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] }, { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Novedades", - "UpstreamHttpMethod": [ "PATCH" ], - "DownstreamPathTemplate": "/Novedades", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -484,13 +427,14 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "PATCH" + ] }, { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/Novedades/EditarLeido", - "UpstreamHttpMethod": [ "PATCH" ], - "DownstreamPathTemplate": "/Novedades/EditarLeido", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -501,15 +445,68 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "PATCH" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/PreguntasDeclaratorias", + "DownstreamPathTemplate": "/PreguntasDeclaratorias", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/TiposMotivos", + "DownstreamPathTemplate": "/TiposMotivos", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "GET" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/TiposMotivos", + "DownstreamPathTemplate": "/TiposMotivos", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "POST" + ] }, - - { "SwaggerKey": "MsAfiliados", "UpstreamPathTemplate": "/TiposNovedades", - "UpstreamHttpMethod": [ "GET" ], - "DownstreamPathTemplate": "/TiposNovedades", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ @@ -520,15 +517,15 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, - { "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/TiposMotivos", - "UpstreamHttpMethod": [ "GET" ], - - "DownstreamPathTemplate": "/TiposMotivos", + "UpstreamPathTemplate": "/UPCAdicional", + "DownstreamPathTemplate": "/UPCAdicional", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -538,14 +535,15 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "GET" + ] }, { "SwaggerKey": "MsAfiliados", - "UpstreamPathTemplate": "/TiposMotivos", - "UpstreamHttpMethod": [ "Post" ], - - "DownstreamPathTemplate": "/TiposMotivos", + "UpstreamPathTemplate": "/UPCAdicional", + "DownstreamPathTemplate": "/UPCAdicional", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -555,9 +553,28 @@ ], "RouteClaimsRequirement": { "permisos": "any" - } + }, + "UpstreamHttpMethod": [ + "POST" + ] + }, + { + "SwaggerKey": "MsAfiliados", + "UpstreamPathTemplate": "/UPCAdicional", + "DownstreamPathTemplate": "/UPCAdicional", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 8145 + } + ], + "RouteClaimsRequirement": { + "permisos": "any" + }, + "UpstreamHttpMethod": [ + "PATCH" + ] } - - ] -} +} \ No newline at end of file