docs: private void getAllServices() {
          try {
              List<ModelServiceInstance> instances = new DirectoryServiceRestfulClient().getAllInstances();
              for (ModelServiceInstance instance :instances){
                  printServiceInstance(ServiceInstanceUtils.toServiceInstance(instance));
              }
          } catch (ServiceException e) {
              e.printStackTrace();
              fail(e.getServiceDirectoryError().getErrorMessage());
          }
      }