private void loadDataIntoRegistries() {
            URILoadingRegistry reg = null;
            while ((reg = awaiting.poll()) != null) {
                log.debug("Loading data into registry {0}:", reg);
                for (Api api : apis) {
                    reg.publishApiInternal(api, handleAnyFailure());
                    log.debug("Publishing: {0} ", api);
                }
                for (Client client : clients) {
                    reg.registerClientInternal(client, handleAnyFailure());
                    log.debug("Registering: {0} ", client);
                }
                checkSuccess(reg);
            }
            if (reloadHandler != null)
                reloadHandler.handle((Void) null);
        }
URI loading registry that pulls configuration from a specified JSON file.
<ul>
  <li>configUri: apiman policy config to load from JSON via file
  ({@link FileResourceFetcher}) or HTTP/S ({@link HttpResourceFetcher}).
  See the corresponding fetcher for additional options.</li>
</ul>

@author Marc Savy {@literal <marc@rhymewithgravy.com>}
@see FileResourceFetcher
@see HttpResourceFetcher
gateway/engine/vertx-polling/src/main/java/io/apiman/gateway/engine/vertx/polling/URILoadingRegistry.java