Feature/adding some re route specific validation tests (#590)

* started refactoring json config validation stack because ive made it crap

* inject validators from DI rather than instanciating, next step mock them

* added some unit tests for specific validators on the train yey
This commit is contained in:
Tom Pallister
2018-09-04 22:27:54 +01:00
committed by GitHub
parent ef6db657b7
commit a5c1839ed7
15 changed files with 693 additions and 124 deletions

View File

@ -62,7 +62,8 @@ The secret is the client secret that Ocelot's internal IdentityServer will use t
}
In order for the administration API to work, Ocelot / IdentityServer must be able to call itself for validation. This means that you need to add the base url of Ocelot
to global configuration if it is not default (http://localhost:5000). This can be done as follows..
to global configuration if it is not default (http://localhost:5000). Please note if you are using something like docker to host Ocelot it might not be able to
call back to localhost etc and you need to know what you are doing with docker networking in this scenario. Anyway this can be done as follows..
If you want to run on a different host and port locally..