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:47 UTC
[camel-kamelets] 01/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 ae1d37452d506a6d079b58f1e6be4caab9697412
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Dec 21 10:37:51 2021 +0100
elasticsearch-index-sink kamelet should allow empty indexId
---
kamelets/elasticsearch-index-sink.kamelet.yaml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/kamelets/elasticsearch-index-sink.kamelet.yaml b/kamelets/elasticsearch-index-sink.kamelet.yaml
index 97b4d59..14cff85 100644
--- a/kamelets/elasticsearch-index-sink.kamelet.yaml
+++ b/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]}"