use of com.netflix.zuul.FilterFileManager.FilterFileManagerConfig in project zuul by Netflix.
the class ZuulFiltersModule method provideFilterFileManagerConfig.
@Provides
FilterFileManagerConfig provideFilterFileManagerConfig(AbstractConfiguration config, FilenameFilter filenameFilter) {
// Get filter directories.
String[] filterLocations = findFilterLocations(config);
String[] filterClassNames = findClassNames(config);
// Init the FilterStore.
FilterFileManagerConfig filterConfig = new FilterFileManagerConfig(filterLocations, filterClassNames, 5, filenameFilter);
return filterConfig;
}
Aggregations