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.
Merge pull request ThreeMammals#18 from TomPallister/split-downstream…
…-template-into-parts Split downstream template into parts
- Loading branch information
Showing
58 changed files
with
1,041 additions
and
218 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
echo Running Ocelot.AcceptanceTests | ||
cd test/Ocelot.AcceptanceTests/ | ||
dotnet restore | ||
dotnet test | ||
cd ../../ | ||
|
||
echo Restoring Ocelot.ManualTest | ||
dotnet restore test/Ocelot.ManualTest/ |
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 |
---|---|---|
@@ -1,17 +1,2 @@ | ||
echo ------------------------- | ||
|
||
echo Restoring Ocelot | ||
dotnet restore src/Ocelot | ||
|
||
echo Restoring Ocelot.ManualTest | ||
dotnet restore test/Ocelot.ManualTest/ | ||
|
||
echo Running Ocelot.UnitTests | ||
dotnet restore test/Ocelot.UnitTests/ | ||
dotnet test test/Ocelot.UnitTests/ | ||
|
||
echo Running Ocelot.AcceptanceTests | ||
cd test/Ocelot.AcceptanceTests/ | ||
dotnet restore | ||
dotnet test | ||
cd ../../ | ||
./run-unit-tests.bat | ||
./run-acceptance-tests.bat |
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,8 @@ | ||
echo ------------------------- | ||
|
||
echo Restoring Ocelot | ||
dotnet restore src/Ocelot | ||
|
||
echo Running Ocelot.UnitTests | ||
dotnet restore test/Ocelot.UnitTests/ | ||
dotnet test test/Ocelot.UnitTests/ |
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
8 changes: 8 additions & 0 deletions
8
src/Ocelot/Configuration/File/FileServiceDiscoveryProvider.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,8 @@ | ||
namespace Ocelot.Configuration.File | ||
{ | ||
public class FileServiceDiscoveryProvider | ||
{ | ||
public string Provider {get;set;} | ||
public string Address {get;set;} | ||
} | ||
} |
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.
Oops, something went wrong.