private static URI createApiUri(URI serviceUrl) {
        try {
            return new URIBuilder(serviceUrl)
                    .setPath("/state/v1/config")
                    .build();
        } catch (URISyntaxException e) {
            throw new IllegalArgumentException(e);
        }
    }
Get service generation of service at given URL
configserver/src/main/java/com/yahoo/vespa/config/server/application/ConfigConvergenceChecker.java