You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/23 14:11:59 UTC
[camel-kamelets] branch elasticsearch-search-source created (now feeaec6)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch elasticsearch-search-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.
at feeaec6 Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
This branch includes the following new commits:
new ea522ad Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
new ef3517d Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
new feeaec6 Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel-kamelets] 01/03: Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch elasticsearch-search-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ea522ad6139b6e30ac7161ca492d37c4cfe339a7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Nov 23 15:09:32 2021 +0100
Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
---
elasticsearch-search-source.kamelet.yaml | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/elasticsearch-search-source.kamelet.yaml b/elasticsearch-search-source.kamelet.yaml
index 1cb7856..34b5431 100644
--- a/elasticsearch-search-source.kamelet.yaml
+++ b/elasticsearch-search-source.kamelet.yaml
@@ -11,15 +11,6 @@ metadata:
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1NTAgMjUwIiB2aWV3Qm94PSI3Nyw4Myw0MTAsOTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8cGF0aCBkPSJtMTc4IDEwMi41aDMxM3Y0MWgtMzEzeiIgZmlsbD0ibm9uZSIvPgogPGcgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyI+CiAgPHBhdGggZD0ibTE5My4zIDEzOS40Yy00IDAtNy4yLTEuMi05LjUtMy41cy0zLjQtNS42LTMuNC05LjdjMC00LjIgMS4xLTcuNiAzLjItMTBzNS0zLjYgOC43LTMuNmMzLjQgMCA2Lj [...]
spec:
- sources:
- - content: |-
- public class ESWorkaround extends org.apache.camel.builder.RouteBuilder {
- @Override
- public void configure() throws Exception {
- getContext().setAutowiredEnabled(false);
- }
- }
- name: ESWorkaround.java
definition:
title: "ElasticSearch Index Source"
description: |-
@@ -80,10 +71,12 @@ spec:
- "camel:core"
- "camel:kamelet"
- "camel:timer"
- - "mvn:org.apache.camel.k:camel-k-kamelet-reify"
- "camel:elasticsearch-rest"
- "camel:gson"
flow:
+ beans:
+ - name: local-es
+ type: "#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent"
from:
uri: timer:tick
parameters:
@@ -95,7 +88,7 @@ spec:
name: "Content-Type"
constant: "text/plain"
- to:
- uri: "kamelet-reify:elasticsearch-rest:{{clusterName}}"
+ uri: "{{local-es}}:{{clusterName}}"
parameters:
operation: "SEARCH"
indexName: "{{indexName}}"
[camel-kamelets] 02/03: Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch elasticsearch-search-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ef3517dee20b72504dac223d8b74a238d410b501
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Nov 23 15:10:37 2021 +0100
Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
---
.../kamelets/elasticsearch-search-source.kamelet.yaml | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
index 1cb7856..34b5431 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
@@ -11,15 +11,6 @@ metadata:
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1NTAgMjUwIiB2aWV3Qm94PSI3Nyw4Myw0MTAsOTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8cGF0aCBkPSJtMTc4IDEwMi41aDMxM3Y0MWgtMzEzeiIgZmlsbD0ibm9uZSIvPgogPGcgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyI+CiAgPHBhdGggZD0ibTE5My4zIDEzOS40Yy00IDAtNy4yLTEuMi05LjUtMy41cy0zLjQtNS42LTMuNC05LjdjMC00LjIgMS4xLTcuNiAzLjItMTBzNS0zLjYgOC43LTMuNmMzLjQgMCA2Lj [...]
spec:
- sources:
- - content: |-
- public class ESWorkaround extends org.apache.camel.builder.RouteBuilder {
- @Override
- public void configure() throws Exception {
- getContext().setAutowiredEnabled(false);
- }
- }
- name: ESWorkaround.java
definition:
title: "ElasticSearch Index Source"
description: |-
@@ -80,10 +71,12 @@ spec:
- "camel:core"
- "camel:kamelet"
- "camel:timer"
- - "mvn:org.apache.camel.k:camel-k-kamelet-reify"
- "camel:elasticsearch-rest"
- "camel:gson"
flow:
+ beans:
+ - name: local-es
+ type: "#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent"
from:
uri: timer:tick
parameters:
@@ -95,7 +88,7 @@ spec:
name: "Content-Type"
constant: "text/plain"
- to:
- uri: "kamelet-reify:elasticsearch-rest:{{clusterName}}"
+ uri: "{{local-es}}:{{clusterName}}"
parameters:
operation: "SEARCH"
indexName: "{{indexName}}"
[camel-kamelets] 03/03: Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch elasticsearch-search-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit feeaec61b51f021f465f1154725265177f552d6e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Nov 23 15:11:26 2021 +0100
Do not use kamelet-reify anymore - Elasticsearch Search Source Kamelet
---
docs/modules/ROOT/pages/elasticsearch-search-source.adoc | 1 -
1 file changed, 1 deletion(-)
diff --git a/docs/modules/ROOT/pages/elasticsearch-search-source.adoc b/docs/modules/ROOT/pages/elasticsearch-search-source.adoc
index f30777b..638ce40 100644
--- a/docs/modules/ROOT/pages/elasticsearch-search-source.adoc
+++ b/docs/modules/ROOT/pages/elasticsearch-search-source.adoc
@@ -34,7 +34,6 @@ At runtime, the `elasticsearch-search-source` Kamelet relies upon the presence o
- camel:core
- camel:kamelet
- camel:timer
-- mvn:org.apache.camel.k:camel-k-kamelet-reify
- camel:elasticsearch-rest
- camel:gson