Skip to content

chore: the Citrus tests write camel: cli: instead of the deprecated camel: jbang: - #133

Merged
davsclaus merged 1 commit into
mainfrom
citrus-camel-cli
Nov 4, 2026
Merged

davsclaus merged 1 commit into
mainfrom
citrus-camel-cli

Conversation

@davsclaus

Copy link
Copy Markdown
Contributor

Closes #132

Since Citrus 5.0.0, the jbang group of the Camel test actions is deprecated ("Connect with Camel JBang to run commands. Deprecated, please use Camel CLI instead."). cli takes the same keys (run, verify, stop, ...): in Citrus, setJbang only calls setCli. Citrus 5.0.2, which the CI's Camel 4.23.0 uses, has both.

  • All 42 Citrus tests: camel: jbang: is now camel: cli: (127 lines). Only a jbang: key directly under camel: changed, nothing else in the files.
  • All 42 tests were checked against the test schema of the Citrus catalog 5.1.0. The only two findings are older ones: status: 200 written as a number in the two kubernetes examples, which Citrus converts.
  • camel test run passes for quick-start/timer-log, quick-start/routes and quick-start/rest-api with the local CLI. The CI runs every test.

The Camel CLI bundles the tests of these examples as samples for AI agents. They follow with the next sync of the examples.

🤖 Generated with Claude Code

https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF

…amel: jbang:

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF
@davsclaus
davsclaus merged commit f62c2ea into main Nov 4, 2026
38 checks passed
@davsclaus
davsclaus deleted the citrus-camel-cli branch November 4, 2026 13:12
davsclaus added a commit to apache/camel that referenced this pull request Nov 4, 2026
…e deprecated camel: jbang: (#29172)

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.
camel-jbang-examples changed its tests in apache/camel-jbang-examples#133.

- The bundled example tests, synced with the sync-example-catalog
  profile (27 files; nothing else in the examples changed since the last
  sync).
- The Citrus test fixtures of the AI tool tests, and the test inputs of
  AuthoringToolsCitrusTest.
- The Citrus test sample on the Testing Plugin page.


Claude-Session: https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
davsclaus added a commit to apache/camel-performance-tests that referenced this pull request Nov 5, 2026
… jbang: is deprecated since Citrus 5.0.0

The same change as apache/camel-jbang-examples#133 and apache/camel#29172.
The reference pass of test-citrus-orders passes 3 of 3 with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Citrus tests: write camel: cli: instead of the deprecated camel: jbang:

1 participant