class NewApimlRouteLocator extends DiscoveryClientRouteLocator {

    @Override
    @VisibleForTesting
    protected LinkedHashMap<String, ZuulProperties.ZuulRoute> locateRoutes() {
        log.debug("Locating routes from Discovery client");
        LinkedHashMap<String, ZuulProperties.ZuulRoute> routesMap = new LinkedHashMap<>();

        discoveryClient.getServices().forEach( serviceId ->
             routesMap.putAll(createServiceRoutes(serviceId))
        );

        routedServicesNotifier.notifyAndFlush();
        return routesMap;
    }

    public  NewApimlRouteLocator(String servletPath, ZuulProperties properties, DiscoveryClient discoveryClient, RoutedServicesNotifier notifier);

}