private static long generationFromContainerState(JsonNode state) {
        return state.get("config").get("generation").asLong(-1);
    }
Get service generation of service at given URL
configserver/src/main/java/com/yahoo/vespa/config/server/application/ConfigConvergenceChecker.java