#296 coming up with ideas for this config merging

This commit is contained in:
Tom Pallister
2018-04-15 09:20:52 +01:00
parent 7ca828836a
commit 3ae2b286ab
2 changed files with 24 additions and 3 deletions

View File

@ -70,13 +70,13 @@ namespace Ocelot.UnitTests.DependencyInjection
};
var globalJson = JsonConvert.SerializeObject(globalConfig);
//File.WriteAllText("ocelot.global.json", globalJson);
File.WriteAllText("ocelot.global.json", globalJson);
var reRouteJson = JsonConvert.SerializeObject(reRoute);
//File.WriteAllText("ocelot.reRoute.json", reRouteJson);
File.WriteAllText("ocelot.reRoute.json", reRouteJson);
IConfigurationBuilder builder = new ConfigurationBuilder();
//builder.AddOcelot();
builder.AddOcelot();
}