You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/ApiGatewayOcelot/gateway.json

115 lines
3.1 KiB

{
"ReRoutes": [
{
"DownstreamPathTemplate": "/UserCenter",
"UpstreamPathTemplate": "/UserCenter",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8010
}
]
},
{
"DownstreamPathTemplate": "/UserCenter{everything}",
"UpstreamPathTemplate": "/UserCenter{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8010
}
]
},
{
"DownstreamPathTemplate": "/IoTCenter",
"UpstreamPathTemplate": "/IoTCenter",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8011
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/IoTCenter{everything}",
"UpstreamPathTemplate": "/IoTCenter{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8011
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/StudyCenter",
"UpstreamPathTemplate": "/StudyCenter",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8012
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
},
{
"DownstreamPathTemplate": "/StudyCenter{everything}",
"UpstreamPathTemplate": "/StudyCenter{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8012
}
],
"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": "/",
"UpstreamPathTemplate": "/",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8020
}
],
"UpstreamHttpMethod": [ "Get", "Post", "Head", "Options", "Put", "Delete", "Patch", "Trace" ]
}
],
"GlobalConfiguration": {
"BaseUrl": "https://localhost"
}
}