@Test public void testDatacenters() throws ExecutionException, InterruptedException { final Set<String> dcs = ConsulAPI.getCatalog().datacenters().get(); Assert.assertNotNull(dcs); Assert.assertTrue(1 <= dcs.size()); }
public static ConsulCatalog getCatalog() { return ConsulCatalogHolder.INSTANCE; }
ConsulAPI { public static ConsulCatalog getCatalog() { return ConsulCatalogHolder.INSTANCE; } }
ConsulAPI { public static ConsulCatalog getCatalog() { return ConsulCatalogHolder.INSTANCE; }  }
ConsulAPI { public static ConsulCatalog getCatalog() { return ConsulCatalogHolder.INSTANCE; }  static ConsulServiceRegistry getServiceRegistry(); static ConsulServiceRegistry getServiceRegistryV1(); static ConsulCatalog getCatalog(); static ConsulHealth getHealth(); }
ConsulAPI { public static ConsulCatalog getCatalog() { return ConsulCatalogHolder.INSTANCE; }  static ConsulServiceRegistry getServiceRegistry(); static ConsulServiceRegistry getServiceRegistryV1(); static ConsulCatalog getCatalog(); static ConsulHealth getHealth();  }