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

@ -1,4 +1,26 @@
ReRoutes:
# the url we are forwarding the request to
- DownstreamTemplate: http://localhost:52876/
# the path we are listening on for this re route
UpstreamTemplate: /identityserverexample
# the method we are listening for on this re route
UpstreamHttpMethod: Get
# only support identity server at the moment
AuthenticationOptions:
Provider: IdentityServer
ProviderRootUrl: http://localhost:52888
ScopeName: api
AdditionalScopes:
- openid
- offline_access
#require if using reference tokens
ScopeSecret: secret
# WARNING - will overwrite any headers already in the request with these values
AddHeadersToRequest:
CustomerId: Claims[CustomerId] > value
LocationId: Claims[LocationId] > value
UserType: Claims[sub] > value[0] > |
UserId: Claims[sub] > value[1] > |
- DownstreamTemplate: http://www.bbc.co.uk
UpstreamTemplate: /
UpstreamHttpMethod: Get

View File

@ -39,7 +39,8 @@
"preserveCompilationContext": true,
"copyToOutput": {
"include": [
"middlewareConfiguration.yaml"
"middlewareConfiguration.yaml",
"configuration.yaml"
]
}
},
@ -57,7 +58,8 @@
"Areas/**/Views",
"appsettings.json",
"web.config",
"middlewareConfiguration.yaml"
"middlewareConfiguration.yaml",
"configuration.yaml"
]
},