diff --git a/shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs b/shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs new file mode 100644 index 00000000..12b69886 --- /dev/null +++ b/shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; + +namespace EShopOnAbp.Shared.Hosting.Gateways +{ + public class OcelotConfiguration + { + public string ServiceName { 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