Compare commits
8 Commits
feat/work-
...
90a0751d09
| Author | SHA1 | Date | |
|---|---|---|---|
| 90a0751d09 | |||
| d2793f476a | |||
| a6140cab92 | |||
|
|
97a20fdb8f | ||
|
|
4da1bc7617 | ||
|
|
78a58568fc | ||
|
|
9844cd16e8 | ||
|
|
896eee35bd |
@@ -4,9 +4,9 @@
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>1.0.0</Version>
|
||||
<AssemblyVersion>1.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0</FileVersion>
|
||||
<Version>1.1.0</Version>
|
||||
<AssemblyVersion>1.1.0</AssemblyVersion>
|
||||
<FileVersion>1.1.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>false</ExcludeApp_Data>
|
||||
<ProjectGuid>329f45bf-4c79-4a7b-9086-d6205617aa42</ProjectGuid>
|
||||
<DesktopBuildPackageLocation>P:\Install .Net\0 DD - Smart UP\Gateway\WorkFlow\$(Version)\$(Version).zip</DesktopBuildPackageLocation>
|
||||
<DesktopBuildPackageLocation>P:\Install .Net\0 DD - Smart UP\Gateway\UserManager\$(Version)\$(Version).zip</DesktopBuildPackageLocation>
|
||||
<PackageAsSingleFile>true</PackageAsSingleFile>
|
||||
<DeployIisAppPath>Gateway</DeployIisAppPath>
|
||||
<_TargetId>IISWebDeployPackage</_TargetId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7120
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/{route}",
|
||||
@@ -15,7 +15,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/swagger/{route}",
|
||||
"DownstreamPathTemplate": "/swagger/auth/{route}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
@@ -29,7 +29,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false",
|
||||
"DownstreamPathTemplate": "/api/Auth/user-manager?cookie=true",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"Port": 7192
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth",
|
||||
"UpstreamPathTemplate": "/api/Auth/login",
|
||||
"UpstreamhttpsMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
@@ -46,10 +46,22 @@
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7120
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/check",
|
||||
"UpstreamhttpsMethod": [ "Get" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/logout",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/logout",
|
||||
"UpstreamhttpsMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
@@ -58,7 +70,7 @@
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7120
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route}",
|
||||
@@ -70,22 +82,91 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}/{id}",
|
||||
"DownstreamPathTemplate": "/api/{route1}/{route2}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7120
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route}{id}",
|
||||
"UpstreamPathTemplate": "/api/{route1}/{route2}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route1}/{route2}/{route3}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route1}/{route2}/{route3}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 4200
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 4200
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/{route}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/{route1}/{route2}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 4200
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/{route1}/{route2}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
}
|
||||
],
|
||||
"GlobalConfiguration": {
|
||||
"BaseUrl": "https://localhost:7052"
|
||||
}
|
||||
}
|
||||
129
ocelot.json
129
ocelot.json
@@ -2,67 +2,79 @@
|
||||
"Routes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/swagger/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/{route}",
|
||||
"UpstreamHttpMethod": [
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/swagger/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamPathTemplate": "/swagger/auth/{route}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 9090
|
||||
"Port": 7192
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/auth/{route}",
|
||||
"UpstreamHttpMethod": [
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamPathTemplate": "/api/Auth/user-manager?cookie=true",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 9090
|
||||
"Port": 7192
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth",
|
||||
"UpstreamHttpMethod": [ "Post" ]
|
||||
"UpstreamPathTemplate": "/api/Auth/login",
|
||||
"UpstreamhttpsMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/check",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/check",
|
||||
"UpstreamHttpMethod": [ "Post" ]
|
||||
"UpstreamhttpsMethod": [ "Get" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamPathTemplate": "/api/Auth/logout",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/logout",
|
||||
"UpstreamhttpsMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route}",
|
||||
"UpstreamHttpMethod": [
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
@@ -70,22 +82,91 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}/{id}",
|
||||
"DownstreamPathTemplate": "/api/{route1}/{route2}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route1}/{route2}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route1}/{route2}/{route3}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7103
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route1}/{route2}/{route3}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 4200
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route}{id}",
|
||||
"UpstreamHttpMethod": [
|
||||
"UpstreamPathTemplate": "/",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 4200
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/{route}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/{route1}/{route2}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 4200
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/{route1}/{route2}",
|
||||
"UpstreamhttpsMethod": [
|
||||
"Get",
|
||||
"Post",
|
||||
"Put",
|
||||
"Delete"
|
||||
]
|
||||
}
|
||||
],
|
||||
"GlobalConfiguration": {
|
||||
"BaseUrl": "https://localhost:8443"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user