/** @return true if there are data services */
  private boolean hasDataService() {
    try {
      List<Service> services =
          coordinator.locateAllServices(DataServiceName, DataServiceVersion, null, null);

      if (services.isEmpty()) {
        return false;
      }
    } catch (Exception e) {
      return false;
    }

    return true;
  }
  private List<Service> getServiceInfoListInternal() {
    LOG.debug("Retrieving " + SA_SVC_NAME + " service info from coordinator service");
    try {
      List<Service> services =
          coordinator.locateAllServices(SA_SVC_NAME, SA_SVC_VERSION, null, null);

      if (services.isEmpty()) {
        throw new RuntimeException("No endpoint found for " + SA_SVC_NAME, null);
      }

      return services;
    } catch (Exception e) {
      throw new RuntimeException("Error whilst fetch " + SA_SVC_NAME + " information", e);
    }
  }