diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/ocelot.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/ocelot.json
deleted file mode 100644
index a436b432..00000000
--- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/ocelot.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "GlobalConfiguration": {
- "BaseUrl": "https://localhost:44373"
- },
- "Routes": [
- {
- "ServiceKey": "Account Service",
- "DownstreamPathTemplate": "/api/account/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44330
- }
- ],
- "UpstreamPathTemplate": "/api/account/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- },
- {
- "ServiceKey": "Administration Service",
- "DownstreamPathTemplate": "/api/abp/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44353
- }
- ],
- "UpstreamPathTemplate": "/api/abp/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ],
- "QoSOptions": {
- "ExceptionsAllowedBeforeBreaking": 3,
- "DurationOfBreak": 3000,
- "TimeoutValue": 2500
- }
- },
- {
- "ServiceKey": "Catalog Service",
- "DownstreamPathTemplate": "/api/catalog/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44354
- }
- ],
- "UpstreamPathTemplate": "/api/catalog/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ],
- "QoSOptions": {
- "ExceptionsAllowedBeforeBreaking": 3,
- "DurationOfBreak": 3000,
- "TimeoutValue": 2500
- }
- },
- {
- "ServiceKey": "Catalog Service",
- "DownstreamPathTemplate": "/product-images/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44354
- }
- ],
- "UpstreamPathTemplate": "/product-images/{everything}",
- "UpstreamHttpMethod": [ "Get" ]
- },
- {
- "ServiceKey": "Basket Service",
- "DownstreamPathTemplate": "/api/basket/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44355
- }
- ],
- "UpstreamPathTemplate": "/api/basket/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ],
- "QoSOptions": {
- "ExceptionsAllowedBeforeBreaking": 3,
- "DurationOfBreak": 3000,
- "TimeoutValue": 2500
- }
- },
- {
- "ServiceKey": "Ordering Service",
- "DownstreamPathTemplate": "/api/ordering/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44356
- }
- ],
- "UpstreamPathTemplate": "/api/ordering/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- },
- {
- "ServiceKey": "Payment Service",
- "DownstreamPathTemplate": "/api/payment/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44357
- }
- ],
- "UpstreamPathTemplate": "/api/payment/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- }
- ]
-}
\ No newline at end of file
diff --git a/gateways/web/src/EShopOnAbp.WebGateway/ocelot.json b/gateways/web/src/EShopOnAbp.WebGateway/ocelot.json
deleted file mode 100644
index affe35be..00000000
--- a/gateways/web/src/EShopOnAbp.WebGateway/ocelot.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "GlobalConfiguration": {
- "BaseUrl": "https://localhost:44372"
- },
- "Routes": [
- {
- "ServiceKey": "Identity Service",
- "DownstreamPathTemplate": "/api/identity/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44351
- }
- ],
- "UpstreamPathTemplate": "/api/identity/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- },
- {
- "ServiceKey": "Account Service",
- "DownstreamPathTemplate": "/api/account/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44330
- }
- ],
- "UpstreamPathTemplate": "/api/account/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- },
- {
- "ServiceKey": "Administration Service",
- "DownstreamPathTemplate": "/api/abp/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44353
- }
- ],
- "UpstreamPathTemplate": "/api/abp/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ],
- "QoSOptions": {
- "ExceptionsAllowedBeforeBreaking": 3,
- "DurationOfBreak": 5000,
- "TimeoutValue": 2500
- }
- },
- {
- "ServiceKey": "Administration Service",
- "DownstreamPathTemplate": "/api/feature-management/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44353
- }
- ],
- "UpstreamPathTemplate": "/api/feature-management/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- },
- {
- "ServiceKey": "Administration Service",
- "DownstreamPathTemplate": "/api/permission-management/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44353
- }
- ],
- "UpstreamPathTemplate": "/api/permission-management/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- },
- {
- "ServiceKey": "Administration Service",
- "DownstreamPathTemplate": "/api/setting-management/{everything}",
- "DownstreamScheme": "https",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 44353
- }
- ],
- "UpstreamPathTemplate": "/api/setting-management/{everything}",
- "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
- }
- ]
-}
\ No newline at end of file
diff --git a/shared/EShopOnAbp.Shared.Hosting.Gateways/EShopOnAbp.Shared.Hosting.Gateways.csproj b/shared/EShopOnAbp.Shared.Hosting.Gateways/EShopOnAbp.Shared.Hosting.Gateways.csproj
index 6f653505..c6e72cb3 100644
--- a/shared/EShopOnAbp.Shared.Hosting.Gateways/EShopOnAbp.Shared.Hosting.Gateways.csproj
+++ b/shared/EShopOnAbp.Shared.Hosting.Gateways/EShopOnAbp.Shared.Hosting.Gateways.csproj
@@ -5,15 +5,9 @@
-
-
-
-
-
-
diff --git a/shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs b/shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs
deleted file mode 100644
index 288b697e..00000000
--- a/shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System.Collections.Generic;
-
-namespace EShopOnAbp.Shared.Hosting.Gateways
-{
- public class OcelotConfiguration
- {
- public string ServiceKey { get; set; }
- public string DownstreamPathTemplate { get; set; }
- public string DownstreamScheme { get; set; }
- public string UpstreamPathTemplate { get; set; }
- public List UpstreamHttpMethod { get; set; }
- public List DownstreamHostAndPorts { get; set; }
- }
-
- public class HostAndPort
- {
- public string Host { get; set; }
- public int Port { get; set; }
- }
-}
\ No newline at end of file