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/06/10 05:30:48 UTC

[camel-kamelets] 01/03: Space in property "name" of insert-header-action cause IllegalArgumentException

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

acosentino pushed a commit to branch 346
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit d564d5824a08b02e3c82b0e97db79d37d48ea7e9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jun 10 07:29:35 2021 +0200

    Space in property "name" of insert-header-action cause IllegalArgumentException
---
 docs/modules/ROOT/pages/insert-header-action.adoc | 2 +-
 insert-header-action.kamelet.yaml                 | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/insert-header-action.adoc b/docs/modules/ROOT/pages/insert-header-action.adoc
index 22d864e..19934df 100644
--- a/docs/modules/ROOT/pages/insert-header-action.adoc
+++ b/docs/modules/ROOT/pages/insert-header-action.adoc
@@ -48,7 +48,7 @@ spec:
       apiVersion: camel.apache.org/v1alpha1
       name: insert-header-action
     properties:
-      name: "TheName"
+      name: "The Name"
       value: "The Value"
   sink:
     ref:
diff --git a/insert-header-action.kamelet.yaml b/insert-header-action.kamelet.yaml
index 21f3f7f..3e8fff6 100644
--- a/insert-header-action.kamelet.yaml
+++ b/insert-header-action.kamelet.yaml
@@ -22,6 +22,7 @@ spec:
         title: Name
         description: The name of the header to be added
         type: string
+        example: headername
       value:
         title: Value
         description: The value of the header