@Test public void testFindComponentNames() throws Exception { List<String> names = catalog.findComponentNames(); assertNotNull(names); assertFalse(names.isEmpty()); assertTrue(names.contains("aws-eks")); assertTrue(names.contains("bean")); assertTrue(names.contains("direct")); assertTrue(names.contains("imap")); assertTrue(names.contains("imaps")); assertTrue(names.contains("jdbc")); assertTrue(names.contains("log")); assertTrue(names.contains("servlet")); assertTrue(names.contains("twitter-search")); assertFalse(names.contains("paxlogging")); }
@Override public List<String> findComponentNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(COMPONENTS_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findComponentNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(COMPONENTS_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; } }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findComponentNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(COMPONENTS_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; }  }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findComponentNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(COMPONENTS_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; }  @Override CamelCatalog getCamelCatalog(); @Override void setCamelCatalog(CamelCatalog camelCatalog); @Override String getProviderName(); @Override String getProviderGroupId(); @Override String getProviderArtifactId(); @Override String getComponentJSonSchemaDirectory(); @Override String getDataFormatJSonSchemaDirectory(); @Override String getLanguageJSonSchemaDirectory(); @Override String getOtherJSonSchemaDirectory(); @Override List<String> findComponentNames(); @Override List<String> findDataFormatNames(); @Override List<String> findLanguageNames(); @Override List<String> findOtherNames(); }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findComponentNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(COMPONENTS_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; }  @Override CamelCatalog getCamelCatalog(); @Override void setCamelCatalog(CamelCatalog camelCatalog); @Override String getProviderName(); @Override String getProviderGroupId(); @Override String getProviderArtifactId(); @Override String getComponentJSonSchemaDirectory(); @Override String getDataFormatJSonSchemaDirectory(); @Override String getLanguageJSonSchemaDirectory(); @Override String getOtherJSonSchemaDirectory(); @Override List<String> findComponentNames(); @Override List<String> findDataFormatNames(); @Override List<String> findLanguageNames(); @Override List<String> findOtherNames();  }