mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-09-19 02:32:42 +08:00
Add ability to specify scheme of ServiceProviderConfiguration
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Host = "localhost",
|
||||
Type = "ServiceFabric",
|
||||
Port = 8500
|
||||
@@ -90,6 +91,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Host = "localhost",
|
||||
Type = "FakeServiceDiscoveryProvider",
|
||||
Port = 8500
|
||||
@@ -113,6 +115,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Host = "localhost",
|
||||
Type = "FakeServiceDiscoveryProvider",
|
||||
Port = 8500
|
||||
@@ -147,6 +150,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Host = "localhost",
|
||||
Type = "FakeServiceDiscoveryProvider",
|
||||
Port = 8500
|
||||
@@ -171,6 +175,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Host = "localhost",
|
||||
Type = "FakeServiceDiscoveryProvider",
|
||||
Port = 8500
|
||||
@@ -206,6 +211,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Host = "localhost",
|
||||
Type = "consul",
|
||||
Port = 8500
|
||||
@@ -1197,6 +1203,7 @@
|
||||
{
|
||||
ServiceDiscoveryProvider = new FileServiceDiscoveryProvider
|
||||
{
|
||||
Scheme = "https",
|
||||
Type = "servicefabric",
|
||||
Host = "localhost",
|
||||
Port = 1234
|
||||
|
Reference in New Issue
Block a user