You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/10/09 07:31:50 UTC
(camel-quarkus) 17/23: Remove Capability capability from catalog
This is an automated email from the ASF dual-hosted git repository.
jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit ec6b1b4959b1cede95ba8f66fae03892521ea480
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Thu Oct 3 11:48:18 2024 +0200
Remove Capability capability from catalog
---
.../camel/catalog/quarkus/QuarkusRuntimeProvider.java | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java b/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
index 034c970659..c575f93b5c 100644
--- a/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
+++ b/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
@@ -20,9 +20,6 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-import java.util.TreeMap;
import org.apache.camel.catalog.CamelCatalog;
import org.apache.camel.catalog.RuntimeProvider;
@@ -42,7 +39,6 @@ public class QuarkusRuntimeProvider implements RuntimeProvider {
private static final String TRANSFORMER_DIR = "org/apache/camel/catalog/quarkus/transformers";
private static final String OTHER_DIR = "org/apache/camel/catalog/quarkus/others";
private static final String BEANS_DIR = "org/apache/camel/catalog/quarkus/beans";
- private static final String CAPABILITIES_CATALOG = "org/apache/camel/catalog/quarkus/capabilities.properties";
private static final String COMPONENTS_CATALOG = "org/apache/camel/catalog/quarkus/components.properties";
private static final String DEV_CONSOLE_CATALOG = "org/apache/camel/catalog/quarkus/dev-consoles.properties";
private static final String DATA_FORMATS_CATALOG = "org/apache/camel/catalog/quarkus/dataformats.properties";
@@ -210,16 +206,4 @@ public class QuarkusRuntimeProvider implements RuntimeProvider {
}
return names;
}
-
- @SuppressWarnings({ "unchecked", "rawtypes" })
- @Override
- public Map<String, String> findCapabilities() {
- final Properties properties = new Properties();
- try (InputStream is = getCamelCatalog().getVersionManager().getResourceAsStream(CAPABILITIES_CATALOG)) {
- properties.load(is);
- } catch (IOException e) {
- // ignore
- }
- return new TreeMap<>((Map<String, String>) (Map) properties);
- }
}