Skip to content

chore: Add Citrus to 4.10.1#92

Merged
lordrip merged 1 commit into
KaotoIO:mainfrom
christophd:chore/citrus-4.10.1
May 8, 2026
Merged

chore: Add Citrus to 4.10.1#92
lordrip merged 1 commit into
KaotoIO:mainfrom
christophd:chore/citrus-4.10.1

Conversation

@christophd
Copy link
Copy Markdown
Contributor

@christophd christophd commented May 6, 2026

  • Includes updated field schema descriptions for Citrus custom fields (such as EndpointField)

Summary by CodeRabbit

  • New Features
    • Added Citrus 4.10.1 framework support with comprehensive catalogs for agent configuration, test functions, test containers, and validation matchers.
    • Added support for Red Hat Camel Spring Boot 4.4.0.redhat-00039.

- Includes updated field schema descriptions for Citrus custom fields (such as EndpointField)
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

📝 Walkthrough

Walkthrough

This PR adds a new Citrus 4.10.1 catalog version with comprehensive JSON schemas defining agent configuration, test functions, test containers, and validation matchers. The new version is registered in catalog index files.

Changes

Citrus 4.10.1 Catalog Registration

Layer / File(s) Summary
Catalog Schema Definitions
catalog/citrus/4.10.1/citrus-agent-configuration.json, catalog/citrus/4.10.1/citrus-catalog-aggregate-functions.json, catalog/citrus/4.10.1/citrus-catalog-aggregate-test-containers.json, catalog/citrus/4.10.1/citrus-catalog-aggregate-validation-matcher.json
New JSON schema files define Citrus 4.10.1 configurations, including agent setup, test functions (e.g., average, sum, randomString), test containers (assert, async, iterate, parallel, etc.), and validation matchers (isUUIDv4, dateRange, hasLength, etc.) with properties, types, and constraints.
Catalog Index & Registration
catalog/citrus/4.10.1/index.json, catalog/index.json, index.js
Citrus 4.10.1 catalog is registered with metadata, file references, and version entries. SpringBoot catalog is also updated with version 4.4.0.redhat-00039.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • lordrip

Poem

🐰 A whisker of magic, four schemas strong,
Citrus 4.10.1 hops along,
Functions and containers, validators too,
Registered neat in the catalog's zoo!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: Add Citrus to 4.10.1' directly matches the main change in the pull request, which adds Citrus catalog support for version 4.10.1 across multiple JSON configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@catalog/citrus/4.10.1/citrus-agent-configuration.json`:
- Around line 61-66: The JSON Schema defaults for several properties are strings
instead of matching their declared types; update each property's "default" to
the correct JSON type (e.g., change "default": "true"/"false" to true/false for
properties with "type": "boolean", and change numeric-string defaults to numbers
for "type": "integer"). Specifically fix the "offline" property and the other
schema entries flagged in the comment so their "default" values are actual
booleans or integers rather than quoted strings, preserving existing semantics
but using the correct JSON types.

In `@catalog/citrus/4.10.1/citrus-catalog-aggregate-functions.json`:
- Line 1055: Update the user-facing description strings in
citrus-catalog-aggregate-functions.json that currently read "When enabled the
read file content is converted into bas64." to use the correct spelling "base64"
instead; locate the affected "description" properties (the ones describing
read-file content conversion) and replace "bas64" with "base64" in both
occurrences so generated docs/forms show the correct term.

In `@catalog/citrus/4.10.1/citrus-catalog-aggregate-test-containers.json`:
- Around line 248-255: Several schema properties declared as "integer" or
"boolean" currently have string defaults; update their "default" values to the
correct JSON types: change iterate.startsWith and iterate.step defaults from "1"
to the number 1, change repeat.startsWith and repeatOnError.startsWith defaults
from "1" to 1, change timer.interval default from "1000" to the number 1000, and
change timer.autoStop and timer.fork defaults from "true"/"false" to the
booleans true/false respectively; locate these properties by their names
(iterate.startsWith, iterate.step, repeat.startsWith, repeatOnError.startsWith,
timer.interval, timer.autoStop, timer.fork) and replace the quoted string
defaults with unquoted numeric or boolean literals so the defaults match the
declared "integer" or "boolean" types.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6b9f9982-0355-4091-9815-ec438031072a

📥 Commits

Reviewing files that changed from the base of the PR and between f53eb99 and 54f87ac.

📒 Files selected for processing (11)
  • catalog/citrus/4.10.1/citrus-agent-configuration.json
  • catalog/citrus/4.10.1/citrus-catalog-aggregate-endpoints.json
  • catalog/citrus/4.10.1/citrus-catalog-aggregate-functions.json
  • catalog/citrus/4.10.1/citrus-catalog-aggregate-test-actions.json
  • catalog/citrus/4.10.1/citrus-catalog-aggregate-test-containers.json
  • catalog/citrus/4.10.1/citrus-catalog-aggregate-validation-matcher.json
  • catalog/citrus/4.10.1/citrus-testcase.json
  • catalog/citrus/4.10.1/citrus-testcase.xsd
  • catalog/citrus/4.10.1/index.json
  • catalog/index.json
  • index.js

Comment thread catalog/citrus/4.10.1/citrus-agent-configuration.json
Comment thread catalog/citrus/4.10.1/citrus-catalog-aggregate-functions.json
Comment thread catalog/citrus/4.10.1/citrus-catalog-aggregate-test-containers.json
@lordrip lordrip merged commit 18c48b3 into KaotoIO:main May 8, 2026
2 checks passed
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.

2 participants