private void processData() {
            if (rawData.length() == 0) {
                log.warn("File loaded into registry was empty. No entities created.");
                dataProcessed = true;
                allRegistries.stream().forEach(this::checkSuccess);
                return;
            }
            try {
                JsonObject json = new JsonObject(rawData.toString("UTF-8").trim());
                log.trace("Processing JSON: {0}", json);
                clients = requireJsonArray("clients", json, Client.class);
                apis = requireJsonArray("apis", json, Api.class);
                dataProcessed = true;
                checkQueue();
            } catch (DecodeException e) {
                failAll(e);
            }
        }
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