Ajuste de rutas
This commit is contained in:
parent
98096604a6
commit
e3cb35225b
@ -328,6 +328,17 @@
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
|
@ -74,8 +74,8 @@
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsAudMedConcurrente",
|
||||
"UpstreamPathTemplate": "/InfoConsolMaestroAMC",
|
||||
"DownstreamPathTemplate": "/InfoConsolMaestroAMC",
|
||||
"UpstreamPathTemplate": "/InformesAMC",
|
||||
"DownstreamPathTemplate": "/InformesAMC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
@ -92,8 +92,8 @@
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsAudMedConcurrente",
|
||||
"UpstreamPathTemplate": "/InfoConsolMaestroAMC",
|
||||
"DownstreamPathTemplate": "/InfoConsolMaestroAMC",
|
||||
"UpstreamPathTemplate": "/InformesAMC",
|
||||
"DownstreamPathTemplate": "/InformesAMC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
@ -107,6 +107,24 @@
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsAudMedConcurrente",
|
||||
"UpstreamPathTemplate": "/InformesAMC",
|
||||
"DownstreamPathTemplate": "/InformesAMC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8163
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"PATCH"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -252,6 +252,42 @@
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsImagenologia",
|
||||
"UpstreamPathTemplate": "/ResultadoImg/Guardar",
|
||||
"DownstreamPathTemplate": "/ResultadoImg/Guardar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8158
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsImagenologia",
|
||||
"UpstreamPathTemplate": "/ResultadoImg/Finalizar",
|
||||
"DownstreamPathTemplate": "/ResultadoImg/Finalizar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8158
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsImagenologia",
|
||||
"UpstreamPathTemplate": "/ResultadoImg/FechaEntrega",
|
||||
|
@ -72,6 +72,78 @@
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsInformes",
|
||||
"UpstreamPathTemplate": "/Consultas/EjecutarArchivos",
|
||||
"DownstreamPathTemplate": "/Consultas/EjecutarArchivos",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8164
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsInformes",
|
||||
"UpstreamPathTemplate": "/Disenos",
|
||||
"DownstreamPathTemplate": "/Disenos",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8164
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsInformes",
|
||||
"UpstreamPathTemplate": "/Disenos",
|
||||
"DownstreamPathTemplate": "/Disenos",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8164
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsInformes",
|
||||
"UpstreamPathTemplate": "/Disenos",
|
||||
"DownstreamPathTemplate": "/Disenos",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8164
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"PATCH"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsInformes",
|
||||
"UpstreamPathTemplate": "/Tablas/ConsultarEstructura",
|
||||
|
400
ApiGateway/Routes/ocelot.mscomteccientifico.json
Normal file
400
ApiGateway/Routes/ocelot.mscomteccientifico.json
Normal file
@ -0,0 +1,400 @@
|
||||
{
|
||||
"Routes": [
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAut/Archivos",
|
||||
"DownstreamPathTemplate": "/SolicitudAut/Archivos",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAut/Archivos/Pendientes",
|
||||
"DownstreamPathTemplate": "/SolicitudAut/Archivos/Pendientes",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/CasosPorComite",
|
||||
"DownstreamPathTemplate": "/CasosPorComite",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/CasosPorComite",
|
||||
"DownstreamPathTemplate": "/CasosPorComite",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"PATCH"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/ComiteTC",
|
||||
"DownstreamPathTemplate": "/ComiteTC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/ComiteTC/Reservar",
|
||||
"DownstreamPathTemplate": "/ComiteTC/Reservar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/ComiteTC/Test",
|
||||
"DownstreamPathTemplate": "/ComiteTC/Test",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/ComiteTC/Guardar",
|
||||
"DownstreamPathTemplate": "/ComiteTC/Guardar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"PATCH"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/ComiteTC/Limpiar",
|
||||
"DownstreamPathTemplate": "/ComiteTC/Limpiar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"DELETE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC/Inactivar",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC/Inactivar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC/Activar",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC/Activar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC/Prorroga",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC/Prorroga",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC/Renovar",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC/Renovar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC/Reconsiderar",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC/Reconsiderar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/NovedadSCTC/DocumentosPendienes",
|
||||
"DownstreamPathTemplate": "/NovedadSCTC/DocumentosPendienes",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAutCTC",
|
||||
"DownstreamPathTemplate": "/SolicitudAutCTC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAutCTC",
|
||||
"DownstreamPathTemplate": "/SolicitudAutCTC",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"PATCH"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAutCTC/Reservar",
|
||||
"DownstreamPathTemplate": "/SolicitudAutCTC/Reservar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAutCTC/Rechazar",
|
||||
"DownstreamPathTemplate": "/SolicitudAutCTC/Rechazar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"PATCH"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAutCTC/Rechazos",
|
||||
"DownstreamPathTemplate": "/SolicitudAutCTC/Rechazos",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"SwaggerKey": "MsComTecCientifico",
|
||||
"UpstreamPathTemplate": "/SolicitudAutCTC/LimpiarTabla",
|
||||
"DownstreamPathTemplate": "/SolicitudAutCTC/LimpiarTabla",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8161
|
||||
}
|
||||
],
|
||||
"RouteClaimsRequirement": {
|
||||
"permisos": "any"
|
||||
},
|
||||
"UpstreamHttpMethod": [
|
||||
"DELETE"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user