Adding Configuration to a Route
After creating a route in the structured editor, you can add filters, decorators, scripts, and other configuration to the route.
In Studio, select ROUTES, and then select a route with the icon.
Select one of the configuration options, and follow the on-screen hints to select configuration settings.
For routes to test with the examples in the Gateway Guide, see Example Routes Created With Structured Editor.
Use this procedure to add any filter type to the configuration.
In Studio, select ROUTES, and then select a route with the icon.
Select Other filters > New filter > Other filter.
In Create filter, select a filter type from the list, enter a name, and optionally enter a configuration for the filter.
Note
Studio checks that the JSON is valid, but doesn't check that the configuration of the filter is valid. If the filter configuration isn't valid, when you deploy the route the it fails to load.
When you save, the filter is added to the list of other filters but is not added to the configuration.
Enable the filter to add it to the configuration.
If you disable the filter again, it is removed from the route's chain but the configuration is saved. Simply enable the filter again to add it back in the chain.