You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2022/12/02 08:42:38 UTC

[camel-karaf] branch main updated: CAMEL-18787: Add the camel-elasticsearch Karaf feature (#219)

This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d9294b5 CAMEL-18787: Add the camel-elasticsearch Karaf feature (#219)
5d9294b5 is described below

commit 5d9294b57f6dd66c875fa49d09874d0953c9ceb1
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Fri Dec 2 09:42:33 2022 +0100

    CAMEL-18787: Add the camel-elasticsearch Karaf feature (#219)
    
    ## Motivation
    
    The new component `camel-elasticsearch` has been added to Camel 3.19 and needs to be added to Camel Karaf too.
    
    ## Modifications:
    
    * Add the feature `camel-elasticsearch` to the existing ones
---
 .../karaf/features/src/main/resources/features.xml      | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index 9cd82aae..4baa07cf 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -809,6 +809,23 @@
     <bundle dependency="true">mvn:org.ehcache/ehcache/${ehcache3-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-ehcache/${project.version}</bundle>
   </feature>
+  <feature name='camel-elasticsearch' version='${project.version}' start-level='50'>
+    <feature version="${project.version}">camel-core</feature>
+    <feature prerequisite='true'>wrap</feature>
+    <bundle dependency='true'>wrap:mvn:co.elastic.clients/elasticsearch-java/${elasticsearch-java-client-version}</bundle>
+    <bundle dependency='true'>wrap:mvn:org.elasticsearch.client/elasticsearch-rest-client/${elasticsearch-java-client-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-core/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-databind/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson2-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient4-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpasyncclient-osgi/${httpasyncclient-version}</bundle>
+    <bundle dependency='true'>wrap:mvn:org.elasticsearch.client/elasticsearch-rest-client-sniffer/${elasticsearch-java-client-sniffer-version}</bundle>
+    <bundle dependency='true'>mvn:jakarta.json/jakarta.json-api/2.0.1</bundle>
+    <bundle dependency='true'>mvn:org.eclipse.parsson/parsson/1.0.0</bundle>
+    <bundle dependency='true'>mvn:org.glassfish/jakarta.json/2.0.1</bundle>
+    <bundle>mvn:org.apache.camel/camel-elasticsearch/${project.version}</bundle>
+  </feature>
   <feature name='camel-elasticsearch-rest' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <feature>http</feature>