mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 12:38:15 +08:00
Dockerfile build (#727)
* Added Dockerfile run configuration and fixed manual test project to run appropriately * Finished updates for Docker build and management of project through docker commands. Any of the dotnet CLI commands accessible through 'builder' container and default run is manual test project * Added a docker-compose.yaml files to support commands: docker-compose run tests, docker-compose run benchmarks, docker-compose run manual-test
This commit is contained in:

committed by
Brian Delgado

parent
3c4808a1eb
commit
ac211886f1
@ -1,4 +1,7 @@
|
||||
namespace Ocelot.ManualTest
|
||||
using System.Reflection.Metadata.Ecma335;
|
||||
using Ocelot.Requester;
|
||||
|
||||
namespace Ocelot.ManualTest
|
||||
{
|
||||
using System.IO;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
@ -36,7 +39,8 @@
|
||||
x.Audience = "test";
|
||||
});
|
||||
|
||||
s.AddOcelot()
|
||||
s.AddSingleton<QosDelegatingHandlerDelegate>((x, t) => new FakeHandler());
|
||||
s.AddOcelot()
|
||||
.AddDelegatingHandler<FakeHandler>(true);
|
||||
// .AddCacheManager(x =>
|
||||
// {
|
||||
|
Reference in New Issue
Block a user