forked from ThreeMammals/Ocelot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split DownstreamTemplate into DownstreamPathTemplate, DownstreamSchem…
…e, DownstreamHost and DownstreamPort in order to prepare for service discovery
- Loading branch information
1 parent
044b609
commit 0f71c04
Showing
53 changed files
with
767 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/Ocelot/Configuration/Validator/DownstreamPathTemplateAlreadyUsedError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Ocelot.Errors; | ||
|
||
namespace Ocelot.Configuration.Validator | ||
{ | ||
public class DownstreamPathTemplateAlreadyUsedError : Error | ||
{ | ||
public DownstreamPathTemplateAlreadyUsedError(string message) : base(message, OcelotErrorCode.DownstreampathTemplateAlreadyUsedError) | ||
{ | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/Ocelot/Configuration/Validator/DownstreamPathTemplateContainsSchemeError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Ocelot.Errors; | ||
|
||
namespace Ocelot.Configuration.Validator | ||
{ | ||
public class DownstreamPathTemplateContainsSchemeError : Error | ||
{ | ||
public DownstreamPathTemplateContainsSchemeError(string message) | ||
: base(message, OcelotErrorCode.DownstreamPathTemplateContainsSchemeError) | ||
{ | ||
} | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
src/Ocelot/Configuration/Validator/DownstreamTemplateAlreadyUsedError.cs
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/Ocelot/Configuration/Validator/DownstreamTemplateContainsHostError.cs
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/Ocelot/Configuration/Validator/DownstreamTemplateContainsSchemeError.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/Ocelot/DownstreamUrlCreator/DownstreamHostNullOrEmptyError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Ocelot.Errors; | ||
|
||
namespace Ocelot.DownstreamUrlCreator | ||
{ | ||
public class DownstreamHostNullOrEmptyError : Error | ||
{ | ||
public DownstreamHostNullOrEmptyError() | ||
: base("downstream host was null or empty", OcelotErrorCode.DownstreamHostNullOrEmptyError) | ||
{ | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/Ocelot/DownstreamUrlCreator/DownstreamPathNullOrEmptyError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Ocelot.Errors; | ||
|
||
namespace Ocelot.DownstreamUrlCreator | ||
{ | ||
public class DownstreamPathNullOrEmptyError : Error | ||
{ | ||
public DownstreamPathNullOrEmptyError() | ||
: base("downstream path was null or empty", OcelotErrorCode.DownstreamPathNullOrEmptyError) | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.