added benchmarks back in, renamed data repository and a few other things

This commit is contained in:
TomPallister
2016-10-24 19:32:52 +01:00
parent d50f06fc3e
commit 9c771bf9e0
29 changed files with 153 additions and 125 deletions

View File

@ -8,8 +8,8 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Ocelot.Configuration.Yaml;
using Ocelot.Infrastructure.RequestData;
using Ocelot.Middleware;
using Ocelot.ScopedData;
using TestStack.BDDfy;
using Xunit;
@ -67,7 +67,7 @@ namespace Ocelot.AcceptanceTests
{
PreHttpRequesterMiddleware = async (ctx, next) =>
{
var service = ctx.RequestServices.GetService<IScopedRequestDataRepository>();
var service = ctx.RequestServices.GetService<IRequestScopedDataRepository>();
service.Add("Response", new HttpResponseMessage {Content = new StringContent("PreHttpRequesterMiddleware")});
}
};