Feature/#246 (#252)

* failing test

* failing test but needs real butterfly server running..need to fix that...also worked out ive broken tracing...yey

* brought in butterfly source code so i can work out how to write acceptance tests for this...

* fixed the bug but still need to fix tracing

* tracing working again across services but need to make tracing hook into new Ocelot middleware as it still uses asp.net middleware

* removed butterfly libs brought in for testing
This commit is contained in:
Tom Pallister
2018-03-01 12:58:36 +00:00
committed by GitHub
parent 18c34aa998
commit 9f1fb002c1
24 changed files with 449 additions and 100 deletions

View File

@ -63,7 +63,7 @@ If you want to authenticate using JWT tokens maybe from a provider like Auth0 yo
x.Audience = "test";
});
services.AddOcelot(Configuration);
services.AddOcelot();
}
Then map the authentication provider key to a ReRoute in your configuration e.g.
@ -111,7 +111,7 @@ In order to use IdentityServer bearer tokens register your IdentityServer servic
services.AddAuthentication()
.AddIdentityServerAuthentication(authenticationProviderKey, options);
services.AddOcelot(Configuration);
services.AddOcelot();
}
Then map the authentication provider key to a ReRoute in your configuration e.g.