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/12/21 09:39:48 UTC
[camel-kamelets] 02/02: elasticsearch-index-sink kamelet should allow empty indexId
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch es-index-imp
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 0f688d8a3147117ea8abf48b893cedd146057207
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Dec 21 10:39:02 2021 +0100
elasticsearch-index-sink kamelet should allow empty indexId
---
.../main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
index 97b4d59..14cff85 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
@@ -112,12 +112,6 @@ spec:
- set-header:
name: "indexId"
simple: "${header[ce-indexid]}"
- otherwise:
- steps:
- - set-header:
- name: "indexId"
- expression:
- simple: ${bean:org.apache.camel.support.ShortUuidGenerator?method=generateUuid}
- choice:
when:
- simple: "${header[indexName]}"