mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 10:18:17 +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:
@ -145,9 +145,9 @@ Priority
|
||||
^^^^^^^^
|
||||
|
||||
In `Issue 270 <https://github.com/TomPallister/Ocelot/pull/270>`_ I finally decided to expose the ReRoute priority in
|
||||
configuration.json. This means you can decide in what order you want your ReRoutes to match the Upstream HttpRequest.
|
||||
ocelot.json. This means you can decide in what order you want your ReRoutes to match the Upstream HttpRequest.
|
||||
|
||||
In order to get this working add the following to a ReRoute in configuration.json, 0 is just an example value here but will explain below.
|
||||
In order to get this working add the following to a ReRoute in ocelot.json, 0 is just an example value here but will explain below.
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
|
Reference in New Issue
Block a user