seperate startups for tests...updated configuration.json for manual tests and tidied a few more things up

This commit is contained in:
Tom Pallister
2017-11-01 16:21:35 +00:00
parent f4e8dcbdab
commit 163150a1d7
7 changed files with 414 additions and 142 deletions

View File

@ -33,11 +33,18 @@ namespace Ocelot.ManualTest
{
x.WithMicrosoftLogging(log =>
{
//log.AddConsole(LogLevel.Debug);
log.AddConsole(LogLevel.Debug);
})
.WithDictionaryHandle();
};
services.AddAuthentication()
.AddJwtBearer("TestKey", x =>
{
x.Authority = "test";
x.Audience = "test";
});
services.AddOcelot(Configuration, settings);
}