@Override
    public boolean isReady(ApiVersionBean api) {
        boolean ready = true;
        if (api.getEndpoint() == null || api.getEndpoint().trim().length() == 0) {
            ready = false;
        }
        if (api.getEndpointType() == null) {
            ready = false;
        }
        if (!api.isPublicAPI() && (api.getPlans() == null || api.getPlans().isEmpty())) {
            ready = false;
        }
        if (api.getGateways() == null || api.getGateways().isEmpty()) {
            ready = false;
        }
        return ready;
    }
@see io.apiman.manager.api.core.IApiValidator#isReady(io.apiman.manager.api.beans.apis.ApiVersionBean)
manager/api/core/src/main/java/io/apiman/manager/api/core/util/EntityValidator.java