Former-commit-id: ec5a75435a70f2304d494f7ab1c10e2a3f27d4fd
TangShanKaiPing
wanggang 6 years ago
parent 77c091dbe8
commit a027cc08e0

@ -32,7 +32,7 @@
"Port": 8011
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head","Options","Put","Delete","Patch","Trace" ]
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/IoTCenter{everything}",
@ -44,7 +44,7 @@
"Port": 8011
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head","Options","Put","Delete","Patch","Trace" ]
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/StudyCenter",
@ -56,7 +56,7 @@
"Port": 8012
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head","Options","Put","Delete","Patch","Trace" ]
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/StudyCenter{everything}",
@ -68,8 +68,33 @@
"Port": 8012
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head","Options","Put","Delete","Patch","Trace" ]
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/ManagementCenter",
"UpstreamPathTemplate": "/ManagementCenter",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8013
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/ManagementCenter{everything}",
"UpstreamPathTemplate": "/ManagementCenter{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8013
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"Priority": 0,
"DownstreamPathTemplate": "/",
@ -78,10 +103,10 @@
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8088
"Port": 8020
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head","Options","Put","Delete","Patch","Trace" ]
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
}
],
"GlobalConfiguration": {

@ -1,6 +1,6 @@
function IoTCenter_index() {
function IoTCenter_home() {
return Vue.component('IoTCenter_index', function (resolve, reject) {
axios.get("/IoTCenter/index.html").then(function (response) {
axios.get("/IoTCenter/home.html").then(function (response) {
resolve({
template: response.data,
data() {

@ -46,8 +46,20 @@ spring:
- Header=Upgrade,websocket
filters:
- StripPrefix=1
- id: StudyCenter
uri: http://localhost:8012/
predicates:
- Path=/StudyCenter/**
filters:
- StripPrefix=0
- id: ManagenmentCenter
uri: http://localhost:8013/
predicates:
- Path=/ManagenmentCenter/**
filters:
- StripPrefix=0
- id: WebUI
uri: http://localhost:8088/
uri: http://localhost:8020/
predicates:
- Path=/**
filters:

@ -34,9 +34,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IoT", "IoT", "{AE34E06D-C5C
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebUI", "WebUI\WebUI.csproj", "{B662B063-A311-4678-ADA4-83AD1A2F9C47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApiGateway", "ApiGateway\ApiGateway.csproj", "{85B06C97-E253-4ECE-8FAB-8823414BA4C9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiGateway", "ApiGateway\ApiGateway.csproj", "{85B06C97-E253-4ECE-8FAB-8823414BA4C9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagementCenter", "ManagementCenter\ManagementCenter.csproj", "{5F0FAEDB-C0F6-44F1-AA06-424AB759AF15}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManagementCenter", "ManagementCenter\ManagementCenter.csproj", "{5F0FAEDB-C0F6-44F1-AA06-424AB759AF15}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Loading…
Cancel
Save