This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 8ac040476 Fix #2868: Use folded scalars for input property in Citrus
test files
8ac040476 is described below
commit 8ac0404762027c9a1525fb4481a8497986cf5567
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jun 22 11:49:44 2026 +0200
Fix #2868: Use folded scalars for input property in Citrus test files
Change literal block scalar (|) to folded scalar (>-) for the input
system property in 6 test files. The trailing newline from | breaks
system property resolution in JBang integrations, causing all affected
tests to time out.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
.../src/test/resources/header/insert-header-action-pipe.citrus.it.yaml | 2 +-
.../src/test/resources/http/http-sink-pipe.citrus.it.yaml | 2 +-
.../test/resources/transformation/drop-field-action-pipe.citrus.it.yaml | 2 +-
.../resources/transformation/hoist-field-action-pipe.citrus.it.yaml | 2 +-
.../test/resources/transformation/mask-field-action-pipe.citrus.it.yaml | 2 +-
.../resources/transformation/replace-field-action-pipe.citrus.it.yaml | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/tests/camel-kamelets-itest/src/test/resources/header/insert-header-action-pipe.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/header/insert-header-action-pipe.citrus.it.yaml
index 3fb8096c4..1cdbeaec8 100644
---
a/tests/camel-kamelets-itest/src/test/resources/header/insert-header-action-pipe.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/header/insert-header-action-pipe.citrus.it.yaml
@@ -44,7 +44,7 @@ actions:
- name: "header.value"
value: "${header.value}"
- name: "input"
- value: |
+ value: >-
{ \"id\": \"${id}\" }
# Verify Http request with the inserted header
diff --git
a/tests/camel-kamelets-itest/src/test/resources/http/http-sink-pipe.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/http/http-sink-pipe.citrus.it.yaml
index 50a7ef16b..34c019db7 100644
---
a/tests/camel-kamelets-itest/src/test/resources/http/http-sink-pipe.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/http/http-sink-pipe.citrus.it.yaml
@@ -36,7 +36,7 @@ actions:
- name: "http.sink.url"
value: "${http.server.url}"
- name: "input"
- value: |
+ value: >-
{ \"id\": \"${id}\", \"message\": \"Hello from http-sink\"
}
# Verify Http request received by the mock server
diff --git
a/tests/camel-kamelets-itest/src/test/resources/transformation/drop-field-action-pipe.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/transformation/drop-field-action-pipe.citrus.it.yaml
index 699f0521a..0561808f6 100644
---
a/tests/camel-kamelets-itest/src/test/resources/transformation/drop-field-action-pipe.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/transformation/drop-field-action-pipe.citrus.it.yaml
@@ -40,7 +40,7 @@ actions:
- name: "field.name"
value: "${field.name}"
- name: "input"
- value: |
+ value: >-
{ \"id\": \"${id}\", \"${field.name}\": \"Camel rocks!\" }
# Verify Http request
diff --git
a/tests/camel-kamelets-itest/src/test/resources/transformation/hoist-field-action-pipe.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/transformation/hoist-field-action-pipe.citrus.it.yaml
index 675e9fbdf..db8c1da10 100644
---
a/tests/camel-kamelets-itest/src/test/resources/transformation/hoist-field-action-pipe.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/transformation/hoist-field-action-pipe.citrus.it.yaml
@@ -40,7 +40,7 @@ actions:
- name: "hoist.field"
value: "${hoist.field}"
- name: "input"
- value: |
+ value: >-
{ \"id\": \"${id}\" }
# Verify Http request
diff --git
a/tests/camel-kamelets-itest/src/test/resources/transformation/mask-field-action-pipe.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/transformation/mask-field-action-pipe.citrus.it.yaml
index f8608ac2e..0152846a3 100644
---
a/tests/camel-kamelets-itest/src/test/resources/transformation/mask-field-action-pipe.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/transformation/mask-field-action-pipe.citrus.it.yaml
@@ -44,7 +44,7 @@ actions:
- name: "mask.replacement"
value: "${mask.replacement}"
- name: "input"
- value: |
+ value: >-
{ \"id\": \"${id}\", \"password\": \"secret123\" }
# Verify Http request
diff --git
a/tests/camel-kamelets-itest/src/test/resources/transformation/replace-field-action-pipe.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/transformation/replace-field-action-pipe.citrus.it.yaml
index 1ac084660..0b225ec79 100644
---
a/tests/camel-kamelets-itest/src/test/resources/transformation/replace-field-action-pipe.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/transformation/replace-field-action-pipe.citrus.it.yaml
@@ -38,7 +38,7 @@ actions:
- name: "renames"
value: "oldName:newName"
- name: "input"
- value: |
+ value: >-
{ \"oldName\": \"${field.value}\" }
# Verify Http request