| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {
- "GlobalConfiguration": {
- "BaseUrl": "http://127.0.0.1:5001"
- },
- "Routes": [
- // API:登录(不验证)
- {
- "DownstreamPathTemplate": "/api/login/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5002"
- }
- ],
- "UpstreamPathTemplate": "/api/login/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ]
- },
- // API:授权信息
- {
- "DownstreamPathTemplate": "/api/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5002"
- }
- ],
- "UpstreamPathTemplate": "/api/auth/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ],
- "AuthenticationOptions": {
- "AuthenticationProviderKey": "YZT",
- "AllowedScopes": []
- }
- },
- // API:一张图应用
- {
- "DownstreamPathTemplate": "/api/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5003"
- }
- ],
- "UpstreamPathTemplate": "/api/yzt/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ],
- "AuthenticationOptions": {
- "AuthenticationProviderKey": "YZT",
- "AllowedScopes": []
- }
- },
- // API:成果管理
- {
- "DownstreamPathTemplate": "/api/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5004"
- }
- ],
- "UpstreamPathTemplate": "/api/cggl/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ],
- "LoadBalancer": "RoundRobin",
- "AuthenticationOptions": {
- "AuthenticationProviderKey": "YZT",
- "AllowedScopes": []
- }
- },
- // API:规划实施
- {
- "DownstreamPathTemplate": "/api/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5005"
- }
- ],
- "UpstreamPathTemplate": "/api/ghss/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ],
- "AuthenticationOptions": {
- "AuthenticationProviderKey": "YZT",
- "AllowedScopes": []
- }
- },
- // API:分析评价
- {
- "DownstreamPathTemplate": "/api/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5006"
- }
- ],
- "UpstreamPathTemplate": "/api/fxpj/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ],
- "AuthenticationOptions": {
- "AuthenticationProviderKey": "YZT",
- "AllowedScopes": []
- }
- },
- // API:文件
- {
- "DownstreamPathTemplate": "/files/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5004"
- }
- ],
- "UpstreamPathTemplate": "/files/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ]
- },
- // API:后台管理
- {
- "DownstreamPathTemplate": "/api/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "127.0.0.1",
- "Port": "5007"
- }
- ],
- "UpstreamPathTemplate": "/api/mgr/{url}",
- "UpstreamHttpMethod": [ "Get", "Post" ],
- "AuthenticationOptions": {
- "AuthenticationProviderKey": "YZT",
- "AllowedScopes": []
- }
- }
- ]
- }
|