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-jbang-examples.git
The following commit(s) were added to refs/heads/main by this push:
new f62c2ea chore: the Citrus tests write camel: cli: instead of the
deprecated camel: jbang: (#133)
f62c2ea is described below
commit f62c2eaf6b597bbd3bb94e636b091f08e3dbb5ed
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Nov 4 14:12:14 2026 +0100
chore: the Citrus tests write camel: cli: instead of the deprecated camel:
jbang: (#133)
Since Citrus 5.0.0 the jbang group of the Camel test actions is
deprecated ("please use Camel CLI instead"). cli takes the same keys: in
Citrus, setJbang only calls setCli. Citrus 5.0.2, which Camel 4.23.0
uses, has both.
All 42 Citrus tests used camel: jbang: (127 lines). Only a jbang: key
directly under camel: changes.
Closes #132
Claude-Session: https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
ai/langchain4j-chat/test/langchain4j-chat.citrus.it.yaml | 4 ++--
ai/mcp-server/test/mcp-server.citrus.it.yaml | 4 ++--
ai/ticket-classifier/test/ticket-classifier.citrus.it.yaml | 6 +++---
cloud/aws-sqs/test/aws-sqs.citrus.it.yaml | 6 +++---
cloud/kubernetes-secrets/test/news-service.citrus.it.yaml | 4 ++--
cloud/kubernetes-service/test/news-service.citrus.it.yaml | 4 ++--
connect-service/artemis/test/artemis.citrus.it.yaml | 6 +++---
.../camel-1-tribute/test/camel-1-tribute.citrus.it.yaml | 6 +++---
connect-service/ftp/test/ftp.citrus.it.yaml | 6 +++---
.../jms-request-reply/test/jms-request-reply.citrus.it.yaml | 10 +++++-----
connect-service/kafka-orders/test/kafka-orders.citrus.it.yaml | 8 ++++----
connect-service/mqtt/test/mqtt.citrus.it.yaml | 6 +++---
connect-service/sql/test/sql.citrus.it.yaml | 8 ++++----
connect/file-processing/test/file-processing.citrus.it.yaml | 8 ++++----
connect/http-client/test/http-client.citrus.it.yaml | 6 +++---
connect/stock-api/test/stock-api.citrus.it.yaml | 4 ++--
contracts/openapi-client/test/openapi-client.citrus.it.yaml | 10 +++++-----
contracts/openapi-server/test/openapi-server.citrus.it.yaml | 4 ++--
contracts/rest-code-first/test/rest-code-first.citrus.it.yaml | 4 ++--
fail-well/circuit-breaker/test/circuit-breaker.citrus.it.yaml | 8 ++++----
fail-well/error-handling/test/error-handling.citrus.it.yaml | 10 +++++-----
quick-start/rest-api/test/rest-api.citrus.it.yaml | 4 ++--
quick-start/routes/test/routes.citrus.it.yaml | 4 ++--
quick-start/splitter/test/splitter.citrus.it.yaml | 6 +++---
quick-start/timer-log/test/timer-log.citrus.it.yaml | 4 ++--
route/aggregator/test/aggregator.citrus.it.yaml | 6 +++---
.../test/content-based-router.citrus.it.yaml | 8 ++++----
route/dynamic-routing/test/dynamic-routing.citrus.it.yaml | 10 +++++-----
route/enrich-and-dedupe/test/enrich-and-dedupe.citrus.it.yaml | 8 ++++----
.../test/filter-and-multicast.citrus.it.yaml | 8 ++++----
route/order-lines/test/order-lines.citrus.it.yaml | 6 +++---
run/nightly-report/test/nightly-report.citrus.it.yaml | 4 ++--
run/order-generator/test/order-generator.citrus.it.yaml | 6 +++---
.../test/properties-and-profiles.citrus.it.yaml | 4 ++--
.../first-iteration/test/first-iteration.citrus.it.yaml | 6 +++---
transform/csv-to-json/test/csv-to-json.citrus.it.yaml | 6 +++---
transform/data-mapping/test/data-mapping.citrus.it.yaml | 6 +++---
transform/groovy/test/groovy.citrus.it.yaml | 6 +++---
transform/json-transform/test/json-transform.citrus.it.yaml | 6 +++---
transform/xml-to-json/test/xml-to-json.citrus.it.yaml | 4 ++--
transform/xslt/test/xslt.citrus.it.yaml | 6 +++---
transformation/edi-x12-as2/test/edi-x12-as2.citrus.it.yaml | 4 ++--
42 files changed, 127 insertions(+), 127 deletions(-)
diff --git a/ai/langchain4j-chat/test/langchain4j-chat.citrus.it.yaml
b/ai/langchain4j-chat/test/langchain4j-chat.citrus.it.yaml
index 4bcfa09..afffe4f 100644
--- a/ai/langchain4j-chat/test/langchain4j-chat.citrus.it.yaml
+++ b/ai/langchain4j-chat/test/langchain4j-chat.citrus.it.yaml
@@ -28,7 +28,7 @@ actions:
- expression: "$.models[?(@.name=='granite4:3b')].name"
value: "granite4:3b"
- camel:
- jbang:
+ cli:
run:
integration:
name: "langchain4j-chat"
@@ -45,7 +45,7 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "langchain4j-chat"
logMessage: "Notification for ORD-1001"
diff --git a/ai/mcp-server/test/mcp-server.citrus.it.yaml
b/ai/mcp-server/test/mcp-server.citrus.it.yaml
index ede3ee4..a2b3aea 100644
--- a/ai/mcp-server/test/mcp-server.citrus.it.yaml
+++ b/ai/mcp-server/test/mcp-server.citrus.it.yaml
@@ -2,7 +2,7 @@ name: mcp-server-test
description: The shop tools answer over MCP
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "mcp-server"
@@ -15,7 +15,7 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "mcp-server"
logMessage: "MCP server 'webshop' serving tools"
diff --git a/ai/ticket-classifier/test/ticket-classifier.citrus.it.yaml
b/ai/ticket-classifier/test/ticket-classifier.citrus.it.yaml
index 24c0562..8584333 100644
--- a/ai/ticket-classifier/test/ticket-classifier.citrus.it.yaml
+++ b/ai/ticket-classifier/test/ticket-classifier.citrus.it.yaml
@@ -28,7 +28,7 @@ actions:
- expression: "$.models[?(@.name=='granite4:3b')].name"
value: "granite4:3b"
- camel:
- jbang:
+ cli:
run:
integration:
name: "ticket-classifier"
@@ -48,12 +48,12 @@ actions:
- "tickets/T-3.json"
# the model's answer varies: the test checks that every ticket is filed, not
the category
- camel:
- jbang:
+ cli:
verify:
integration: "ticket-classifier"
logMessage: "Ticket T-1 is "
- camel:
- jbang:
+ cli:
verify:
integration: "ticket-classifier"
logMessage: "Ticket T-3 is "
diff --git a/cloud/aws-sqs/test/aws-sqs.citrus.it.yaml
b/cloud/aws-sqs/test/aws-sqs.citrus.it.yaml
index 84f49d0..6347f30 100644
--- a/cloud/aws-sqs/test/aws-sqs.citrus.it.yaml
+++ b/cloud/aws-sqs/test/aws-sqs.citrus.it.yaml
@@ -10,7 +10,7 @@ actions:
services:
- "SQS"
- camel:
- jbang:
+ cli:
run:
integration:
name: "aws-sqs"
@@ -34,12 +34,12 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "aws-sqs"
logMessage: "Order ORD-1003 handed over on the shipments queue"
- camel:
- jbang:
+ cli:
verify:
integration: "aws-sqs"
logMessage: "Courier picked up ORD-1003 for US: 3 line(s)"
diff --git a/cloud/kubernetes-secrets/test/news-service.citrus.it.yaml
b/cloud/kubernetes-secrets/test/news-service.citrus.it.yaml
index 77a0b5f..8bd1bc1 100644
--- a/cloud/kubernetes-secrets/test/news-service.citrus.it.yaml
+++ b/cloud/kubernetes-secrets/test/news-service.citrus.it.yaml
@@ -9,7 +9,7 @@ actions:
name: "news-secret"
file: "news-secret.properties"
- camel:
- jbang:
+ cli:
kubernetes:
run:
autoRemove: true
@@ -20,7 +20,7 @@ actions:
- "--config"
- "secret:news-secret@/etc/camel/secrets/"
- camel:
- jbang:
+ cli:
kubernetes:
verify:
integration: news-service
diff --git a/cloud/kubernetes-service/test/news-service.citrus.it.yaml
b/cloud/kubernetes-service/test/news-service.citrus.it.yaml
index 0f61f8d..428a18e 100644
--- a/cloud/kubernetes-service/test/news-service.citrus.it.yaml
+++ b/cloud/kubernetes-service/test/news-service.citrus.it.yaml
@@ -2,7 +2,7 @@ name: news-service-test
description: Sample test in YAML
actions:
- camel:
- jbang:
+ cli:
kubernetes:
run:
autoRemove: true
@@ -10,7 +10,7 @@ actions:
integration:
file: "../news-service.camel.yaml"
- camel:
- jbang:
+ cli:
kubernetes:
verify:
integration: news-service
diff --git a/connect-service/artemis/test/artemis.citrus.it.yaml
b/connect-service/artemis/test/artemis.citrus.it.yaml
index 1d3abaa..940a13c 100644
--- a/connect-service/artemis/test/artemis.citrus.it.yaml
+++ b/connect-service/artemis/test/artemis.citrus.it.yaml
@@ -7,7 +7,7 @@ actions:
service: artemis
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "artemis"
@@ -19,12 +19,12 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "artemis"
logMessage: "Order ORD-1001 put on the queue"
- camel:
- jbang:
+ cli:
verify:
integration: "artemis"
logMessage: "Took ORD-1003 off the queue: 3 line(s) for customer
C-134 in US"
diff --git
a/connect-service/camel-1-tribute/test/camel-1-tribute.citrus.it.yaml
b/connect-service/camel-1-tribute/test/camel-1-tribute.citrus.it.yaml
index bb1d9e4..6d8797c 100644
--- a/connect-service/camel-1-tribute/test/camel-1-tribute.citrus.it.yaml
+++ b/connect-service/camel-1-tribute/test/camel-1-tribute.citrus.it.yaml
@@ -7,7 +7,7 @@ actions:
service: artemis
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "camel-1-tribute"
@@ -15,12 +15,12 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "camel-1-tribute"
logMessage: "Sending: Test Message: 10"
- camel:
- jbang:
+ cli:
verify:
integration: "camel-1-tribute"
logMessage: "Received: Test Message: 10"
diff --git a/connect-service/ftp/test/ftp.citrus.it.yaml
b/connect-service/ftp/test/ftp.citrus.it.yaml
index 2a6e8df..6559a8b 100644
--- a/connect-service/ftp/test/ftp.citrus.it.yaml
+++ b/connect-service/ftp/test/ftp.citrus.it.yaml
@@ -12,7 +12,7 @@ actions:
service: ftp
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "ftp"
@@ -24,12 +24,12 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "ftp"
logMessage: "Shipment ORD-1001 uploaded to the courier as
courier/shipment-ORD-1001.json"
- camel:
- jbang:
+ cli:
verify:
integration: "ftp"
logMessage: "Shipment ORD-1003 uploaded to the courier"
diff --git
a/connect-service/jms-request-reply/test/jms-request-reply.citrus.it.yaml
b/connect-service/jms-request-reply/test/jms-request-reply.citrus.it.yaml
index c1312ba..bf982a7 100644
--- a/connect-service/jms-request-reply/test/jms-request-reply.citrus.it.yaml
+++ b/connect-service/jms-request-reply/test/jms-request-reply.citrus.it.yaml
@@ -7,7 +7,7 @@ actions:
service: artemis
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "jms-request-reply"
@@ -20,22 +20,22 @@ actions:
- "orders/order-1003.json"
- "stock.json"
- camel:
- jbang:
+ cli:
verify:
integration: "jms-request-reply"
logMessage: "Stock service answered for ORD-1001: reserved"
- camel:
- jbang:
+ cli:
verify:
integration: "jms-request-reply"
logMessage: "Invoicing ORD-1002"
- camel:
- jbang:
+ cli:
verify:
integration: "jms-request-reply"
logMessage: "Stock service answered for ORD-1003: not enough
CAMEL-CAP"
- camel:
- jbang:
+ cli:
verify:
integration: "jms-request-reply"
logMessage: "Dead order ORD-1003"
diff --git a/connect-service/kafka-orders/test/kafka-orders.citrus.it.yaml
b/connect-service/kafka-orders/test/kafka-orders.citrus.it.yaml
index 19e920b..38e8acb 100644
--- a/connect-service/kafka-orders/test/kafka-orders.citrus.it.yaml
+++ b/connect-service/kafka-orders/test/kafka-orders.citrus.it.yaml
@@ -7,7 +7,7 @@ actions:
service: kafka
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "kafka-orders"
@@ -19,17 +19,17 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "kafka-orders"
logMessage: "Order ORD-1003 is pending, not published"
- camel:
- jbang:
+ cli:
verify:
integration: "kafka-orders"
logMessage: "Fulfilment: 2 line(s) of ORD-1001 to the warehouse"
- camel:
- jbang:
+ cli:
verify:
integration: "kafka-orders"
logMessage: "Notification: email to customer C-207 about ORD-1002"
diff --git a/connect-service/mqtt/test/mqtt.citrus.it.yaml
b/connect-service/mqtt/test/mqtt.citrus.it.yaml
index e5b6f31..5b29e1a 100644
--- a/connect-service/mqtt/test/mqtt.citrus.it.yaml
+++ b/connect-service/mqtt/test/mqtt.citrus.it.yaml
@@ -7,7 +7,7 @@ actions:
service: mosquitto
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "mqtt"
@@ -15,7 +15,7 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "mqtt"
logMessage: "°C, ok"
@@ -27,7 +27,7 @@ actions:
body:
data: '{"sensor": "cold-room-9", "value": 14}'
- camel:
- jbang:
+ cli:
verify:
integration: "mqtt"
logMessage: "cold-room-9: 14 °C, too warm, alert the warehouse"
diff --git a/connect-service/sql/test/sql.citrus.it.yaml
b/connect-service/sql/test/sql.citrus.it.yaml
index 2c94491..08ef1b5 100644
--- a/connect-service/sql/test/sql.citrus.it.yaml
+++ b/connect-service/sql/test/sql.citrus.it.yaml
@@ -7,7 +7,7 @@ actions:
service: postgres
fixedPort: true
- camel:
- jbang:
+ cli:
run:
integration:
name: "sql"
@@ -19,17 +19,17 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "sql"
logMessage: "Customer C-482 from DK registered with order ORD-1001"
- camel:
- jbang:
+ cli:
verify:
integration: "sql"
logMessage: "3 customer(s) in the table"
- camel:
- jbang:
+ cli:
verify:
integration: "sql"
logMessage: "C-207 (DE): 1 order(s)"
diff --git a/connect/file-processing/test/file-processing.citrus.it.yaml
b/connect/file-processing/test/file-processing.citrus.it.yaml
index 00f2285..5a3a7b0 100644
--- a/connect/file-processing/test/file-processing.citrus.it.yaml
+++ b/connect/file-processing/test/file-processing.citrus.it.yaml
@@ -2,7 +2,7 @@ name: file-processing-test
description: The file-processing example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "file-processing"
@@ -10,17 +10,17 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "file-processing"
logMessage: "Invoice INV-2001 for ORD-1001: 49.4 EUR"
- camel:
- jbang:
+ cli:
verify:
integration: "file-processing"
logMessage: "Invoice invoice-2003.json rejected"
- camel:
- jbang:
+ cli:
verify:
integration: "file-processing"
logMessage: "Invoice INV-2004 for ORD-1003: 53.45 EUR"
diff --git a/connect/http-client/test/http-client.citrus.it.yaml
b/connect/http-client/test/http-client.citrus.it.yaml
index 1d40c02..214db46 100644
--- a/connect/http-client/test/http-client.citrus.it.yaml
+++ b/connect/http-client/test/http-client.citrus.it.yaml
@@ -2,7 +2,7 @@ name: http-client-test
description: The http-client example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "http-client"
@@ -10,12 +10,12 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "http-client"
logMessage: "ORD-1001: CAMEL-TSHIRT x 2, 120 in stock, ok"
- camel:
- jbang:
+ cli:
verify:
integration: "http-client"
logMessage: "ORD-1003: CAMEL-CAP x 1, only 0 in stock, back-order"
diff --git a/connect/stock-api/test/stock-api.citrus.it.yaml
b/connect/stock-api/test/stock-api.citrus.it.yaml
index 7d653d2..4aba710 100644
--- a/connect/stock-api/test/stock-api.citrus.it.yaml
+++ b/connect/stock-api/test/stock-api.citrus.it.yaml
@@ -2,7 +2,7 @@ name: stock-api-test
description: The stock API answers one SKU as JSON and 404 for an unknown one
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "stock-api"
@@ -12,7 +12,7 @@ actions:
resources:
- "stock.json"
- camel:
- jbang:
+ cli:
verify:
integration: "stock-api"
logMessage: "(stock-api) started"
diff --git a/contracts/openapi-client/test/openapi-client.citrus.it.yaml
b/contracts/openapi-client/test/openapi-client.citrus.it.yaml
index 69fdb64..14a6d6c 100644
--- a/contracts/openapi-client/test/openapi-client.citrus.it.yaml
+++ b/contracts/openapi-client/test/openapi-client.citrus.it.yaml
@@ -2,7 +2,7 @@ name: openapi-client-test
description: The client reserves stock by contract against the openapi-server
example
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "openapi-server"
@@ -10,12 +10,12 @@ actions:
systemProperties:
file: "../../openapi-server/application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "openapi-server"
logMessage: "(openapi-server) started"
- camel:
- jbang:
+ cli:
run:
integration:
name: "openapi-client"
@@ -28,12 +28,12 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "openapi-client"
logMessage: "ORD-1002: reserved 3 x CAMEL-MUG, 42 left on the shelf"
- camel:
- jbang:
+ cli:
verify:
integration: "openapi-client"
logMessage: "ORD-1003: CAMEL-CAP not reserved, the stock API
answered 409"
diff --git a/contracts/openapi-server/test/openapi-server.citrus.it.yaml
b/contracts/openapi-server/test/openapi-server.citrus.it.yaml
index 6c3449e..1611dd1 100644
--- a/contracts/openapi-server/test/openapi-server.citrus.it.yaml
+++ b/contracts/openapi-server/test/openapi-server.citrus.it.yaml
@@ -2,7 +2,7 @@ name: openapi-server-test
description: The stock API answers by contract
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "openapi-server"
@@ -13,7 +13,7 @@ actions:
- "stock-api.json"
- "stock.json"
- camel:
- jbang:
+ cli:
verify:
integration: "openapi-server"
logMessage: "(openapi-server) started"
diff --git a/contracts/rest-code-first/test/rest-code-first.citrus.it.yaml
b/contracts/rest-code-first/test/rest-code-first.citrus.it.yaml
index b1d7cb2..db0be1e 100644
--- a/contracts/rest-code-first/test/rest-code-first.citrus.it.yaml
+++ b/contracts/rest-code-first/test/rest-code-first.citrus.it.yaml
@@ -2,7 +2,7 @@ name: rest-code-first-test
description: The order API answers as the README shows
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "rest-code-first"
@@ -13,7 +13,7 @@ actions:
- "Order.java"
- "orders.json"
- camel:
- jbang:
+ cli:
verify:
integration: "rest-code-first"
logMessage: "(rest-code-first) started"
diff --git a/fail-well/circuit-breaker/test/circuit-breaker.citrus.it.yaml
b/fail-well/circuit-breaker/test/circuit-breaker.citrus.it.yaml
index 068b417..716ba11 100644
--- a/fail-well/circuit-breaker/test/circuit-breaker.citrus.it.yaml
+++ b/fail-well/circuit-breaker/test/circuit-breaker.citrus.it.yaml
@@ -2,7 +2,7 @@ name: circuit-breaker-test
description: The circuit-breaker example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "circuit-breaker"
@@ -10,17 +10,17 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "circuit-breaker"
logMessage: "(breaker OPEN): supplier failed, using last known stock"
- camel:
- jbang:
+ cli:
verify:
integration: "circuit-breaker"
logMessage: "(breaker OPEN): breaker open, supplier not called,
using last known stock"
- camel:
- jbang:
+ cli:
verify:
integration: "circuit-breaker"
logMessage: "Stock check 18 (breaker CLOSED): CAMEL-MUG"
diff --git a/fail-well/error-handling/test/error-handling.citrus.it.yaml
b/fail-well/error-handling/test/error-handling.citrus.it.yaml
index f6ab5fe..d701ff6 100644
--- a/fail-well/error-handling/test/error-handling.citrus.it.yaml
+++ b/fail-well/error-handling/test/error-handling.citrus.it.yaml
@@ -2,7 +2,7 @@ name: error-handling-test
description: The error-handling example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "error-handling"
@@ -15,22 +15,22 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "error-handling"
logMessage: "Payment for ORD-1001 charged"
- camel:
- jbang:
+ cli:
verify:
integration: "error-handling"
logMessage: "Payment for ORD-1002 charged"
- camel:
- jbang:
+ cli:
verify:
integration: "error-handling"
logMessage: "Payment for ORD-1003 declined: card declined"
- camel:
- jbang:
+ cli:
verify:
integration: "error-handling"
logMessage: "Order ORD-1003 parked for manual review"
diff --git a/quick-start/rest-api/test/rest-api.citrus.it.yaml
b/quick-start/rest-api/test/rest-api.citrus.it.yaml
index 160d16f..a56056f 100644
--- a/quick-start/rest-api/test/rest-api.citrus.it.yaml
+++ b/quick-start/rest-api/test/rest-api.citrus.it.yaml
@@ -2,7 +2,7 @@ name: rest-api-test
description: The REST API answers the greeting, with and without a name
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "rest-api"
@@ -10,7 +10,7 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "rest-api"
logMessage: "(rest-api) started"
diff --git a/quick-start/routes/test/routes.citrus.it.yaml
b/quick-start/routes/test/routes.citrus.it.yaml
index b2f129e..12170bf 100644
--- a/quick-start/routes/test/routes.citrus.it.yaml
+++ b/quick-start/routes/test/routes.citrus.it.yaml
@@ -2,7 +2,7 @@ name: routes-test
description: The route logs the greeting the Greeter bean built
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "routes"
@@ -13,7 +13,7 @@ actions:
- "beans.yaml"
- "Greeter.java"
- camel:
- jbang:
+ cli:
verify:
integration: "routes"
logMessage: "Hello, Camel!"
diff --git a/quick-start/splitter/test/splitter.citrus.it.yaml
b/quick-start/splitter/test/splitter.citrus.it.yaml
index d3ebde9..c424f0c 100644
--- a/quick-start/splitter/test/splitter.citrus.it.yaml
+++ b/quick-start/splitter/test/splitter.citrus.it.yaml
@@ -2,18 +2,18 @@ name: splitter-test
description: The splitter logs the batch and then one line per item
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "splitter"
file: "../splitter.camel.yaml"
- camel:
- jbang:
+ cli:
verify:
integration: "splitter"
logMessage: "Received batch: Laptop,Phone,Tablet,Monitor,Keyboard"
- camel:
- jbang:
+ cli:
verify:
integration: "splitter"
logMessage: "Processing item 4: Keyboard"
diff --git a/quick-start/timer-log/test/timer-log.citrus.it.yaml
b/quick-start/timer-log/test/timer-log.citrus.it.yaml
index d2b2ebe..739aa2e 100644
--- a/quick-start/timer-log/test/timer-log.citrus.it.yaml
+++ b/quick-start/timer-log/test/timer-log.citrus.it.yaml
@@ -2,7 +2,7 @@ name: timer-log-test
description: The timer route logs the greeting from application.properties
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "timer-log"
@@ -10,7 +10,7 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "timer-log"
logMessage: "Hello Camel!"
diff --git a/route/aggregator/test/aggregator.citrus.it.yaml
b/route/aggregator/test/aggregator.citrus.it.yaml
index 9d7e783..702ebc8 100644
--- a/route/aggregator/test/aggregator.citrus.it.yaml
+++ b/route/aggregator/test/aggregator.citrus.it.yaml
@@ -2,7 +2,7 @@ name: aggregator-test
description: The aggregator example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "aggregator"
@@ -14,12 +14,12 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "aggregator"
logMessage: "Shipment for ORD-1001 complete"
- camel:
- jbang:
+ cli:
verify:
integration: "aggregator"
logMessage: "Shipment for ORD-1003 complete"
diff --git
a/route/content-based-router/test/content-based-router.citrus.it.yaml
b/route/content-based-router/test/content-based-router.citrus.it.yaml
index 508c901..1a2fd6b 100644
--- a/route/content-based-router/test/content-based-router.citrus.it.yaml
+++ b/route/content-based-router/test/content-based-router.citrus.it.yaml
@@ -2,7 +2,7 @@ name: content-based-router-test
description: The content-based-router example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "content-based-router"
@@ -14,17 +14,17 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "content-based-router"
logMessage: "ORD-1001 from DK: local delivery"
- camel:
- jbang:
+ cli:
verify:
integration: "content-based-router"
logMessage: "ORD-1002 from DE: EU shipping"
- camel:
- jbang:
+ cli:
verify:
integration: "content-based-router"
logMessage: "ORD-1003 from US: export"
diff --git a/route/dynamic-routing/test/dynamic-routing.citrus.it.yaml
b/route/dynamic-routing/test/dynamic-routing.citrus.it.yaml
index 4794852..4fe699a 100644
--- a/route/dynamic-routing/test/dynamic-routing.citrus.it.yaml
+++ b/route/dynamic-routing/test/dynamic-routing.citrus.it.yaml
@@ -2,7 +2,7 @@ name: dynamic-routing-test
description: The dynamic-routing example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "dynamic-routing"
@@ -14,22 +14,22 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "dynamic-routing"
logMessage: "Warehouse DK picks ORD-1001"
- camel:
- jbang:
+ cli:
verify:
integration: "dynamic-routing"
logMessage: "Invoice for ORD-1001 via the backup service"
- camel:
- jbang:
+ cli:
verify:
integration: "dynamic-routing"
logMessage: "Warehouse US picks ORD-1003"
- camel:
- jbang:
+ cli:
verify:
integration: "dynamic-routing"
logMessage: "No invoice for ORD-1003 until it is paid"
diff --git a/route/enrich-and-dedupe/test/enrich-and-dedupe.citrus.it.yaml
b/route/enrich-and-dedupe/test/enrich-and-dedupe.citrus.it.yaml
index b331d2b..1040a22 100644
--- a/route/enrich-and-dedupe/test/enrich-and-dedupe.citrus.it.yaml
+++ b/route/enrich-and-dedupe/test/enrich-and-dedupe.citrus.it.yaml
@@ -2,7 +2,7 @@ name: enrich-and-dedupe-test
description: The enrich-and-dedupe example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "enrich-and-dedupe"
@@ -18,17 +18,17 @@ actions:
- "customers/C-207.json"
- "customers/C-134.json"
- camel:
- jbang:
+ cli:
verify:
integration: "enrich-and-dedupe"
logMessage: "Order ORD-1001 for Anna Jensen (gold)"
- camel:
- jbang:
+ cli:
verify:
integration: "enrich-and-dedupe"
logMessage: "Order ORD-1001 is a duplicate, skipped"
- camel:
- jbang:
+ cli:
verify:
integration: "enrich-and-dedupe"
logMessage: "Audited ORD-1003.json"
diff --git
a/route/filter-and-multicast/test/filter-and-multicast.citrus.it.yaml
b/route/filter-and-multicast/test/filter-and-multicast.citrus.it.yaml
index dae997f..8814f3f 100644
--- a/route/filter-and-multicast/test/filter-and-multicast.citrus.it.yaml
+++ b/route/filter-and-multicast/test/filter-and-multicast.citrus.it.yaml
@@ -2,7 +2,7 @@ name: filter-and-multicast-test
description: The filter-and-multicast example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "filter-and-multicast"
@@ -14,17 +14,17 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "filter-and-multicast"
logMessage: "Warehouse: pick 2 line(s) for ORD-1001"
- camel:
- jbang:
+ cli:
verify:
integration: "filter-and-multicast"
logMessage: "Invoicing: bill customer C-207 for ORD-1002"
- camel:
- jbang:
+ cli:
verify:
integration: "filter-and-multicast"
logMessage: "Order ORD-1003 received, status pending"
diff --git a/route/order-lines/test/order-lines.citrus.it.yaml
b/route/order-lines/test/order-lines.citrus.it.yaml
index 6bbfb54..88a78c7 100644
--- a/route/order-lines/test/order-lines.citrus.it.yaml
+++ b/route/order-lines/test/order-lines.citrus.it.yaml
@@ -2,7 +2,7 @@ name: order-lines-test
description: The order-lines example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "order-lines"
@@ -14,12 +14,12 @@ actions:
- "orders/order-1002.json"
- "orders/order-1003.json"
- camel:
- jbang:
+ cli:
verify:
integration: "order-lines"
logMessage: "pick 2 x CAMEL-TSHIRT for ORD-1001"
- camel:
- jbang:
+ cli:
verify:
integration: "order-lines"
logMessage: "Order ORD-1003: all 3 line(s) sent to picking"
diff --git a/run/nightly-report/test/nightly-report.citrus.it.yaml
b/run/nightly-report/test/nightly-report.citrus.it.yaml
index f49d866..b278c79 100644
--- a/run/nightly-report/test/nightly-report.citrus.it.yaml
+++ b/run/nightly-report/test/nightly-report.citrus.it.yaml
@@ -2,7 +2,7 @@ name: nightly-report-test
description: The scheduled report logs the stock counts
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "nightly-report"
@@ -10,7 +10,7 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "nightly-report"
logMessage: "120 T-shirts and 45 mugs in stock"
diff --git a/run/order-generator/test/order-generator.citrus.it.yaml
b/run/order-generator/test/order-generator.citrus.it.yaml
index 5ffe782..aa565b0 100644
--- a/run/order-generator/test/order-generator.citrus.it.yaml
+++ b/run/order-generator/test/order-generator.citrus.it.yaml
@@ -2,7 +2,7 @@ name: order-generator-test
description: The order generator logs a new order with a number and a JSON body
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "order-generator"
@@ -13,12 +13,12 @@ actions:
- "beans.yaml"
- "OrderNumber.java"
- camel:
- jbang:
+ cli:
verify:
integration: "order-generator"
logMessage: "New order ORD-1001"
- camel:
- jbang:
+ cli:
verify:
integration: "order-generator"
logMessage: "\"sku\": \"CAMEL-TSHIRT\""
diff --git
a/run/properties-and-profiles/test/properties-and-profiles.citrus.it.yaml
b/run/properties-and-profiles/test/properties-and-profiles.citrus.it.yaml
index 7744604..b0dbe3a 100644
--- a/run/properties-and-profiles/test/properties-and-profiles.citrus.it.yaml
+++ b/run/properties-and-profiles/test/properties-and-profiles.citrus.it.yaml
@@ -2,7 +2,7 @@ name: properties-and-profiles-test
description: The route greets with the values of application.properties
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "properties-and-profiles"
@@ -10,7 +10,7 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "properties-and-profiles"
logMessage: "Welcome to Camel Shop (development), prices in EUR"
diff --git
a/showcase/smart-log-analyzer/first-iteration/test/first-iteration.citrus.it.yaml
b/showcase/smart-log-analyzer/first-iteration/test/first-iteration.citrus.it.yaml
index 07e50c9..12454a7 100644
---
a/showcase/smart-log-analyzer/first-iteration/test/first-iteration.citrus.it.yaml
+++
b/showcase/smart-log-analyzer/first-iteration/test/first-iteration.citrus.it.yaml
@@ -13,7 +13,7 @@ actions:
fixedPort: true
port: 9092
- camel:
- jbang:
+ cli:
run:
stub:
- "openai:*"
@@ -37,12 +37,12 @@ actions:
resource:
file: "payload-error.json"
- camel:
- jbang:
+ cli:
verify:
integration: "log-analyzer"
logMessage: "Aggregation completed for traceId"
- camel:
- jbang:
+ cli:
verify:
integration: "log-analyzer"
logMessage: "LLM Analysis for traceId test-12345"
diff --git a/transform/csv-to-json/test/csv-to-json.citrus.it.yaml
b/transform/csv-to-json/test/csv-to-json.citrus.it.yaml
index 87a05fc..83dd939 100644
--- a/transform/csv-to-json/test/csv-to-json.citrus.it.yaml
+++ b/transform/csv-to-json/test/csv-to-json.citrus.it.yaml
@@ -2,7 +2,7 @@ name: csv-to-json-test
description: The csv-to-json example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "csv-to-json"
@@ -10,12 +10,12 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "csv-to-json"
logMessage: "Invoice INV-2001"
- camel:
- jbang:
+ cli:
verify:
integration: "csv-to-json"
logMessage: "Invoice INV-2003"
diff --git a/transform/data-mapping/test/data-mapping.citrus.it.yaml
b/transform/data-mapping/test/data-mapping.citrus.it.yaml
index 7a9eb37..3678659 100644
--- a/transform/data-mapping/test/data-mapping.citrus.it.yaml
+++ b/transform/data-mapping/test/data-mapping.citrus.it.yaml
@@ -2,7 +2,7 @@ name: data-mapping-test
description: The data-mapping example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "data-mapping"
@@ -13,12 +13,12 @@ actions:
- "order.json"
- "shipment-mapping.groovy"
- camel:
- jbang:
+ cli:
verify:
integration: "data-mapping"
logMessage: "\"shipmentRef\":\"SHIP-1001\""
- camel:
- jbang:
+ cli:
verify:
integration: "data-mapping"
logMessage: "\"totalPieces\":3"
diff --git a/transform/groovy/test/groovy.citrus.it.yaml
b/transform/groovy/test/groovy.citrus.it.yaml
index f4148cb..0af6d23 100644
--- a/transform/groovy/test/groovy.citrus.it.yaml
+++ b/transform/groovy/test/groovy.citrus.it.yaml
@@ -2,7 +2,7 @@ name: groovy-test
description: The groovy example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "groovy"
@@ -13,12 +13,12 @@ actions:
- "order.json"
- "order-bad-email.json"
- camel:
- jbang:
+ cli:
verify:
integration: "groovy"
logMessage: "Order ORD-1001 accepted"
- camel:
- jbang:
+ cli:
verify:
integration: "groovy"
logMessage: "Order ORD-1002 rejected"
diff --git a/transform/json-transform/test/json-transform.citrus.it.yaml
b/transform/json-transform/test/json-transform.citrus.it.yaml
index 906e206..4c75e26 100644
--- a/transform/json-transform/test/json-transform.citrus.it.yaml
+++ b/transform/json-transform/test/json-transform.citrus.it.yaml
@@ -2,7 +2,7 @@ name: json-transform-test
description: The json-transform example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "json-transform"
@@ -12,12 +12,12 @@ actions:
resources:
- "order.json"
- camel:
- jbang:
+ cli:
verify:
integration: "json-transform"
logMessage: "\"order\" : \"ORD-1001\""
- camel:
- jbang:
+ cli:
verify:
integration: "json-transform"
logMessage: "\"sku\" : \"CAMEL-TSHIRT\""
diff --git a/transform/xml-to-json/test/xml-to-json.citrus.it.yaml
b/transform/xml-to-json/test/xml-to-json.citrus.it.yaml
index f46df6a..2db5235 100644
--- a/transform/xml-to-json/test/xml-to-json.citrus.it.yaml
+++ b/transform/xml-to-json/test/xml-to-json.citrus.it.yaml
@@ -2,7 +2,7 @@ name: xml-to-json-test
description: The xml-to-json example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "xml-to-json"
@@ -10,7 +10,7 @@ actions:
systemProperties:
file: "../application.properties"
- camel:
- jbang:
+ cli:
verify:
integration: "xml-to-json"
logMessage: "The same order as JSON: {\"id\":\"ORD-1001\""
diff --git a/transform/xslt/test/xslt.citrus.it.yaml
b/transform/xslt/test/xslt.citrus.it.yaml
index b1078a0..7dfdbc1 100644
--- a/transform/xslt/test/xslt.citrus.it.yaml
+++ b/transform/xslt/test/xslt.citrus.it.yaml
@@ -2,7 +2,7 @@ name: xslt-test
description: The xslt example logs what its README promises
actions:
- camel:
- jbang:
+ cli:
run:
integration:
name: "xslt"
@@ -12,12 +12,12 @@ actions:
resources:
- "packing-slip.xsl"
- camel:
- jbang:
+ cli:
verify:
integration: "xslt"
logMessage: "<packingSlip order=\"ORD-1001\""
- camel:
- jbang:
+ cli:
verify:
integration: "xslt"
logMessage: "<pieces>3</pieces>"
diff --git a/transformation/edi-x12-as2/test/edi-x12-as2.citrus.it.yaml
b/transformation/edi-x12-as2/test/edi-x12-as2.citrus.it.yaml
index 8b04119..d208627 100644
--- a/transformation/edi-x12-as2/test/edi-x12-as2.citrus.it.yaml
+++ b/transformation/edi-x12-as2/test/edi-x12-as2.citrus.it.yaml
@@ -17,7 +17,7 @@ actions:
up:
file: "compose.yaml"
- camel:
- jbang:
+ cli:
run:
resources:
- "App.java"
@@ -39,7 +39,7 @@ actions:
resource:
file: "payload.edi"
- camel:
- jbang:
+ cli:
verify:
maxAttempts: 20
integration: "edi-x12-as2-camel"