* Add metadata requestParam to /refresh specific routes
* Added requestParam that will be included in the event as a map of key:value pairs
* ScopedRefreshRoutesEvent: RefreshRoutesEvent was extended hierarchically to add metadata for filtering
* Modify CachingRouteLocator to filter in case the incoming event is ScopedRefreshRoutesEvent
* Change refresh by group for covering deletion
When all the routes in a group were deleted, the refresh were not done
---------
Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
* Add a new endpoint POST /routes
A list of RouteDefinition can be sent to /routes using POST method to persist multiple routes by a single request.
Validation is done before persisting any RouteDefinition
The sections "Fluent Java Routes API" and "The `DiscoveryClient` Route Definition Locator" are hierarchically defined under "Http timeouts configuration" but they are unrelated topics. These sections should be raised one level up and thus should appear as standalone sections with proper numbering.
Fixes gh-2891
Adds flag to know if cache has been processed by the route filter.
Add global cache as fallback in case there's no configuration per route and cache is enabled.
Fixes gh-2848