@Test public void testFindOtherNames() throws Exception { List<String> names = catalog.findOtherNames(); assertNotNull(names); assertFalse(names.isEmpty()); assertTrue(names.contains("core-cloud")); assertTrue(names.contains("reactive-executor-vertx")); assertFalse(names.contains("blueprint")); }
@Override public List<String> findOtherNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(OTHER_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findOtherNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(OTHER_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; } }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findOtherNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(OTHER_CATALOG); if (is != null) { try { CatalogHelper.loadLines(is, names); } catch (IOException e) { } } return names; }  }
QuarkusRuntimeProvider implements RuntimeProvider { @Override public List<String> findOtherNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(OTHER_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> findOtherNames() { List<String> names = new ArrayList<>(); InputStream is = camelCatalog.getVersionManager().getResourceAsStream(OTHER_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();  }