You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/09/04 15:35:16 UTC

[camel-kamelets] 01/01: chore(docs): attempt to fix website failure

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

pcongiusti pushed a commit to branch squakez-patch-1
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit fc8e4c247061d461b1b0e34edfc31c99eb18d5fa
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Sep 4 17:35:10 2023 +0200

    chore(docs): attempt to fix website failure
    
    Ref error https://github.com/apache/camel-website/actions/runs/6073382492
    ```
    ➤ YN0000: [build:antora  ] [build:antora-perf] [12:56:31.445] WARN (asciidoctor): skipping reference to missing attribute: body
    ➤ YN0000: [build:antora  ] [build:antora-perf]     file: modules/ROOT/examples/yaml/simple-filter-action.kamelet.yaml
    ```
    This is not a final patch, as I think the library is regenerated automatically. However, it's an attempt to verify if the changes applied would fix the problem. If this solution works, we need eventually to include a replacements for all variables we find, probably in this place https://github.com/apache/camel-kamelets/blob/aaaa88092ba36d6d121e91d7c6ffb1f076c7b67c/docs/modules/ROOT/examples/template/kamelet-options.adoc?plain=1#L87
---
 .../src/main/resources/kamelets/simple-filter-action.kamelet.yaml       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/simple-filter-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/simple-filter-action.kamelet.yaml
index 7641ea65..90490d71 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/simple-filter-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/simple-filter-action.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
         title: Simple Expression
         description: A simple expression to apply on the exchange to filter out some exchange
         type: string
-        example: "${body} contains 'John'"
+        example: "$\{body} contains 'John'"
     type: object
   dependencies:
   - "camel:core"