mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 16:18:14 +08:00
Feature/merge configuration files (#316)
* #296 renamed configuration.json to ocelot.json in preparation * removed things we dont need for tests * another file we dont need * removed some async we dont need * refactoring to consolidate configuration code * removed another pointless abstraction * #296 started writing merge code * #296 coming up with ideas for this config merging * #296 still hacking this idea around * #296 will now do a crappy merge on the configuration * #296 change so tests pass on windows
This commit is contained in:
@ -12,7 +12,7 @@ In order to use the reques tid feature you have two options.
|
||||
|
||||
*Global*
|
||||
|
||||
In your configuration.json set the following in the GlobalConfiguration section. This will be used for all requests into Ocelot.
|
||||
In your ocelot.json set the following in the GlobalConfiguration section. This will be used for all requests into Ocelot.
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
@ -24,7 +24,7 @@ I reccomend using the GlobalConfiguration unless you really need it to be ReRout
|
||||
|
||||
*ReRoute*
|
||||
|
||||
If you want to override this for a specific ReRoute add the following to configuration.json for the specific ReRoute.
|
||||
If you want to override this for a specific ReRoute add the following to ocelot.json for the specific ReRoute.
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
|
Reference in New Issue
Block a user