Migracion DB Unisalud para MsUsuarios,
Nuevo MS: AutorizacionesHC, nuevas rutas, Agenda medica
This commit is contained in:
parent
125ef8b3ea
commit
9120977d00
@ -36,6 +36,11 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Update="Routes\ocelot.autorizacioneshc.json">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||||
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
|
</Content>
|
||||||
<Content Update="Routes\ocelot.refcontraref.json">
|
<Content Update="Routes\ocelot.refcontraref.json">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||||
|
@ -34,6 +34,17 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Key": "MsAutorizacionesHC",
|
||||||
|
"TransformByOcelotConfig": true,
|
||||||
|
"Config": [
|
||||||
|
{
|
||||||
|
"Name": "MsAutorizacionesHC",
|
||||||
|
"Version": "1.0",
|
||||||
|
"Url": "http://localhost:8147/swagger/v1/swagger.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Key": "MsAdminUsuarios",
|
"Key": "MsAdminUsuarios",
|
||||||
"TransformByOcelotConfig": true,
|
"TransformByOcelotConfig": true,
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
"Routes": [
|
"Routes": [
|
||||||
{
|
{
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas",
|
||||||
"RouteClaimsRequirement": {
|
|
||||||
"permisos": "any"
|
|
||||||
},
|
|
||||||
"DownstreamPathTemplate": "/CitasMedicas",
|
"DownstreamPathTemplate": "/CitasMedicas",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -14,15 +11,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/CitasMedicas",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas",
|
||||||
|
"DownstreamPathTemplate": "/CitasMedicas",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas",
|
||||||
|
"DownstreamPathTemplate": "/CitasMedicas",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas/CitasNovedad",
|
||||||
"DownstreamPathTemplate": "/CitasMedicas/CitasNovedad",
|
"DownstreamPathTemplate": "/CitasMedicas/CitasNovedad",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -31,15 +65,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/CitasMedicas/CitasNovedad",
|
|
||||||
"UpstreamHttpMethod": [ "Post" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas/Masivo",
|
||||||
"DownstreamPathTemplate": "/CitasMedicas/Masivo",
|
"DownstreamPathTemplate": "/CitasMedicas/Masivo",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -48,15 +83,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/CitasMedicas/Masivo",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas/CitasEstadoNovedad",
|
||||||
"DownstreamPathTemplate": "/CitasMedicas/CitasEstadoNovedad",
|
"DownstreamPathTemplate": "/CitasMedicas/CitasEstadoNovedad",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -65,15 +101,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/CitasMedicas/CitasEstadoNovedad",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CitasMedicas/Estado",
|
||||||
"DownstreamPathTemplate": "/CitasMedicas/Estado",
|
"DownstreamPathTemplate": "/CitasMedicas/Estado",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -82,15 +119,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/CitasMedicas/Estado",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Consultorios",
|
||||||
"DownstreamPathTemplate": "/Consultorios",
|
"DownstreamPathTemplate": "/Consultorios",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -99,15 +137,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Consultorios",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Consultorios",
|
||||||
|
"DownstreamPathTemplate": "/Consultorios",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Consultorios",
|
||||||
|
"DownstreamPathTemplate": "/Consultorios",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Consultorios/Estado",
|
||||||
"DownstreamPathTemplate": "/Consultorios/Estado",
|
"DownstreamPathTemplate": "/Consultorios/Estado",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -116,15 +191,88 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Consultorios/Estado",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CupsAM/Buscar",
|
||||||
|
"DownstreamPathTemplate": "/CupsAM/Buscar",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CupsAM",
|
||||||
|
"DownstreamPathTemplate": "/CupsAM",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CupsAM",
|
||||||
|
"DownstreamPathTemplate": "/CupsAM",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/CupsAM/RequierenCita",
|
||||||
|
"DownstreamPathTemplate": "/CupsAM/RequierenCita",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/InfoAfiliadosCitas",
|
||||||
"DownstreamPathTemplate": "/InfoAfiliadosCitas",
|
"DownstreamPathTemplate": "/InfoAfiliadosCitas",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -133,15 +281,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/InfoAfiliadosCitas",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/InfoAfiliadosCitas",
|
||||||
|
"DownstreamPathTemplate": "/InfoAfiliadosCitas",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/InfoAfiliadosCitas",
|
||||||
|
"DownstreamPathTemplate": "/InfoAfiliadosCitas",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos",
|
||||||
"DownstreamPathTemplate": "/Medicos",
|
"DownstreamPathTemplate": "/Medicos",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -150,15 +335,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Medicos",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos",
|
||||||
|
"DownstreamPathTemplate": "/Medicos",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos",
|
||||||
|
"DownstreamPathTemplate": "/Medicos",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos/Masivo",
|
||||||
"DownstreamPathTemplate": "/Medicos/Masivo",
|
"DownstreamPathTemplate": "/Medicos/Masivo",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -167,15 +389,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Medicos/Masivo",
|
|
||||||
"UpstreamHttpMethod": [ "Post" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos/Estado",
|
||||||
"DownstreamPathTemplate": "/Medicos/Estado",
|
"DownstreamPathTemplate": "/Medicos/Estado",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -184,15 +407,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Medicos/Estado",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos/AsignaFirma",
|
||||||
"DownstreamPathTemplate": "/Medicos/AsignaFirma",
|
"DownstreamPathTemplate": "/Medicos/AsignaFirma",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -201,15 +425,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Medicos/AsignaFirma",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Medicos/ConsultaFirma",
|
||||||
"DownstreamPathTemplate": "/Medicos/ConsultaFirma",
|
"DownstreamPathTemplate": "/Medicos/ConsultaFirma",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -218,15 +443,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Medicos/ConsultaFirma",
|
|
||||||
"UpstreamHttpMethod": [ "Get" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/NovedadesCita",
|
||||||
"DownstreamPathTemplate": "/NovedadesCita",
|
"DownstreamPathTemplate": "/NovedadesCita",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -235,15 +461,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/NovedadesCita",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/NovedadesCita",
|
||||||
|
"DownstreamPathTemplate": "/NovedadesCita",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/NovedadesCita",
|
||||||
|
"DownstreamPathTemplate": "/NovedadesCita",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/NovedadesCita/Estado",
|
||||||
"DownstreamPathTemplate": "/NovedadesCita/Estado",
|
"DownstreamPathTemplate": "/NovedadesCita/Estado",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -252,15 +515,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/NovedadesCita/Estado",
|
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/ParametrizadorCitas",
|
||||||
"DownstreamPathTemplate": "/ParametrizadorCitas",
|
"DownstreamPathTemplate": "/ParametrizadorCitas",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -269,15 +533,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/ParametrizadorCitas",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/ParametrizadorCitas",
|
||||||
|
"DownstreamPathTemplate": "/ParametrizadorCitas",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/ParametrizadorCitas",
|
||||||
|
"DownstreamPathTemplate": "/ParametrizadorCitas",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/ParametrizadorCitas/Masivo",
|
||||||
"DownstreamPathTemplate": "/ParametrizadorCitas/Masivo",
|
"DownstreamPathTemplate": "/ParametrizadorCitas/Masivo",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -286,15 +587,34 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/ParametrizadorCitas/Masivo",
|
|
||||||
"UpstreamHttpMethod": [ "Post" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/ParametrizadorCitas/Buscar",
|
||||||
|
"DownstreamPathTemplate": "/ParametrizadorCitas/Buscar",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/TablerosPendientes",
|
||||||
"DownstreamPathTemplate": "/TablerosPendientes",
|
"DownstreamPathTemplate": "/TablerosPendientes",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -303,15 +623,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/TablerosPendientes",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/TablerosPendientes",
|
||||||
|
"DownstreamPathTemplate": "/TablerosPendientes",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/TablerosPendientes",
|
||||||
|
"DownstreamPathTemplate": "/TablerosPendientes",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Turnos",
|
||||||
"DownstreamPathTemplate": "/Turnos",
|
"DownstreamPathTemplate": "/Turnos",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -320,15 +677,52 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Turnos",
|
|
||||||
"UpstreamHttpMethod": [ "Get", "Post", "Patch" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Turnos",
|
||||||
|
"DownstreamPathTemplate": "/Turnos",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Turnos",
|
||||||
|
"DownstreamPathTemplate": "/Turnos",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8155
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Turnos/Masivo",
|
||||||
"DownstreamPathTemplate": "/Turnos/Masivo",
|
"DownstreamPathTemplate": "/Turnos/Masivo",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -337,15 +731,16 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Turnos/Masivo",
|
|
||||||
"UpstreamHttpMethod": [ "Post" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"SwaggerKey": "MsAgendaMedica",
|
|
||||||
|
|
||||||
"RouteClaimsRequirement": {
|
"RouteClaimsRequirement": {
|
||||||
"permisos": "any"
|
"permisos": "any"
|
||||||
},
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAgendaMedica",
|
||||||
|
"UpstreamPathTemplate": "/Turnos/Estado",
|
||||||
"DownstreamPathTemplate": "/Turnos/Estado",
|
"DownstreamPathTemplate": "/Turnos/Estado",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@ -354,8 +749,12 @@
|
|||||||
"Port": 8155
|
"Port": 8155
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/Turnos/Estado",
|
"RouteClaimsRequirement": {
|
||||||
"UpstreamHttpMethod": [ "Patch" ]
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
238
ApiGateway/Routes/ocelot.autorizacioneshc.json
Normal file
238
ApiGateway/Routes/ocelot.autorizacioneshc.json
Normal file
@ -0,0 +1,238 @@
|
|||||||
|
{
|
||||||
|
"Routes": [
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/ArchivoAutorizacion",
|
||||||
|
"DownstreamPathTemplate": "/ArchivoAutorizacion",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/ArchivoAutorizacion",
|
||||||
|
"DownstreamPathTemplate": "/ArchivoAutorizacion",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones/Estado",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones/Estado",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones/SelloCopia",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones/SelloCopia",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones/Tranferencia",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones/Tranferencia",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/Autorizaciones/Ordenar",
|
||||||
|
"DownstreamPathTemplate": "/Autorizaciones/Ordenar",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"PATCH"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/AuxOptometria",
|
||||||
|
"DownstreamPathTemplate": "/AuxOptometria",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/AuxOptometria",
|
||||||
|
"DownstreamPathTemplate": "/AuxOptometria",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/InfoAfiliadoAutoriza",
|
||||||
|
"DownstreamPathTemplate": "/InfoAfiliadoAutoriza",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"SwaggerKey": "MsAutorizacionesHC",
|
||||||
|
"UpstreamPathTemplate": "/InfoAfiliadoAutoriza",
|
||||||
|
"DownstreamPathTemplate": "/InfoAfiliadoAutoriza",
|
||||||
|
"DownstreamScheme": "http",
|
||||||
|
"DownstreamHostAndPorts": [
|
||||||
|
{
|
||||||
|
"Host": "localhost",
|
||||||
|
"Port": 8147
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RouteClaimsRequirement": {
|
||||||
|
"permisos": "any"
|
||||||
|
},
|
||||||
|
"UpstreamHttpMethod": [
|
||||||
|
"POST"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -31,7 +31,8 @@ namespace MSAdminUsuarios.Context
|
|||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||||
{
|
{
|
||||||
modelBuilder.HasDefaultSchema("HIMSCAP");
|
//modelBuilder.HasDefaultSchema("HIMSCAP"); // => AFQ
|
||||||
|
modelBuilder.HasDefaultSchema("ADMIN");
|
||||||
|
|
||||||
modelBuilder.Entity<MICROSERVICIO>(entity =>
|
modelBuilder.Entity<MICROSERVICIO>(entity =>
|
||||||
{
|
{
|
||||||
|
@ -12,8 +12,9 @@ builder.Services.AddEndpointsApiExplorer();
|
|||||||
builder.Services.AddSwaggerGen();
|
builder.Services.AddSwaggerGen();
|
||||||
|
|
||||||
// Cadena de Conexion a Bases de Datos
|
// Cadena de Conexion a Bases de Datos
|
||||||
var connectionString = builder.Configuration.GetConnectionString("DBPrueba");
|
//var connectionString = builder.Configuration.GetConnectionString("DBPrueba");
|
||||||
// var connectionString = builder.Configuration.GetConnectionString("DBProd");
|
// var connectionString = builder.Configuration.GetConnectionString("DBProd");
|
||||||
|
var connectionString = builder.Configuration.GetConnectionString("DBUnisalud");
|
||||||
|
|
||||||
// Configuración del DbContext
|
// Configuración del DbContext
|
||||||
builder.Services.AddDbContext<ModelContext>(options =>
|
builder.Services.AddDbContext<ModelContext>(options =>
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"DBPrueba": "user id=HIMSCAP;password=ITTASA2017;data source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=181.129.245.90)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROYECTOS)))",
|
"DBPrueba": "user id=HIMSCAP;password=ITTASA2017;data source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=181.129.245.90)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROYECTOS)))",
|
||||||
"DBProd": "user id=HIMSCAP;password=ITTASA2017;data source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.194)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROYECTOS)))"
|
"DBProd": "user id=HIMSCAP;password=ITTASA2017;data source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.194)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROYECTOS)))",
|
||||||
|
"DBUnisalud": "user id=Admin;password=LWxZwRFgEpBHtnEHR233;data source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=unisalud.cc6itcnj1ux9.us-east-1.rds.amazonaws.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=UNISALUD)))"
|
||||||
},
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
|
Loading…
Reference in New Issue
Block a user