You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/09/22 10:53:56 UTC
[PR] CAMEL-24898: camel-jbang - camel_catalog_doc resolves the YAML names of data formats and says the YAML shape [camel]
davsclaus opened a new pull request, #26741:
URL: https://github.com/apache/camel/pull/26741
Fixes https://issues.apache.org/jira/browse/CAMEL-24898 (part of CAMEL-24886)
The YAML DSL names the JSON data format `json:` with `library: Jackson`; the catalog names it by artifact, `jackson`. `camel_catalog_doc json` answered "Data format not found: json" with the suggestions fastjson, fhirJson, groovyJson, gson, jackson, and `camel_catalog_doc jackson` showed the options without the YAML shape. In the camel-jbang-mcp stepwise benchmark (connect/stock-api) the local model looped six calls between `json`, `jackson` and `json-jackson` and ran out of its budget without writing the marshal step.
`CatalogDocs` now maps the YAML and everyday names to the artifact (`json`, `json-jackson` -> `jackson`; `yaml` -> `snakeYaml`; `xml` -> `jacksonXml`; `avro-jackson`, `protobuf-jackson`, and the gson/fastjson/jsonb spellings), and the answer for a data format whose YAML key differs from its artifact carries a `yaml` field with the shape: `marshal: {json: {library: Jackson}} or unmarshal: {...}`. The `name` parameter description says a data format is found by either name. Test in `CatalogDocsTest`; the prompt budget guard still passes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24898: camel-jbang - camel_catalog_doc resolves the YAML names of data formats and says the YAML shape [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #26741:
URL: https://github.com/apache/camel/pull/26741
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24898: camel-jbang - camel_catalog_doc resolves the YAML names of data formats and says the YAML shape [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26741:
URL: https://github.com/apache/camel/pull/26741#issuecomment-5775252151
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24898: camel-jbang - camel_catalog_doc resolves the YAML names of data formats and says the YAML shape [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26741:
URL: https://github.com/apache/camel/pull/26741#issuecomment-5775643329
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `dsl/camel-jbang/camel-jbang-core`
- `dsl/camel-jbang/camel-jbang-mcp`
---
<details><summary>:microscope: Scalpel shadow comparison — Scalpel: 6 of 692 tested, 8 compile-only — current: 6 all tested</summary>
[Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **15 affected modules** (current approach: 6).
**Skip-tests mode would test 6 modules** (2 direct + 5 downstream), **skip tests for 8** (generated code, meta-modules)
<details><summary>:warning: Modules only in Scalpel (9)</summary>
- `camel-jbang-core`
- `camel-jbang-it`
- `camel-jbang-main`
- `camel-jbang-plugin-edit`
- `camel-jbang-plugin-generate`
- `camel-jbang-plugin-kubernetes`
- `camel-jbang-plugin-test`
- `camel-launcher`
- `coverage`
</details>
<details><summary>Modules Scalpel would test (6)</summary>
- `camel-jbang-core` ← dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/AuthoringTools.java, dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocs.java, dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocsTest.java
- `camel-jbang-mcp` ← dsl/camel-jbang/camel-jbang-mcp/src/main/java/org/apache/camel/dsl/jbang/core/commands/mcp/AuthoringTools.java
- `camel-jbang-plugin-mcp` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-route-parser` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-tui` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-validate` ← downstream of org.apache.camel:camel-jbang-core
- `camel-launcher-container` ← downstream of org.apache.camel:camel-launcher
</details>
<details><summary>Modules with tests skipped (8)</summary>
- `camel-jbang-it`
- `camel-jbang-main`
- `camel-jbang-plugin-edit`
- `camel-jbang-plugin-generate`
- `camel-jbang-plugin-kubernetes`
- `camel-jbang-plugin-test`
- `camel-launcher`
- `coverage`
</details>
> :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
</details>
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `dsl/camel-jbang/camel-jbang-core`: 2 test(s) disabled on GitHub Actions
- `dsl/camel-jbang/camel-jbang-mcp`: 1 test(s) disabled on GitHub Actions
:bulb: **Manual integration tests recommended:**
> You modified `dsl/camel-jbang/camel-jbang-core`. The related integration tests in `dsl/camel-jbang/camel-jbang-it` are excluded from CI. Consider running them manually:
> ```
> mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
> ```
<details><summary>All tested modules (15 modules, 3m 5s total)</summary>
**Total reactor time:** 3m 5s
| Module | Duration | Status |
| --- | --- | --- |
| Camel :: Launcher | 56.8s | SUCCESS |
| Camel :: JBang :: MCP | 44.0s | SUCCESS |
| Camel :: JBang :: Plugin :: TUI | 37.6s | SUCCESS |
| Camel :: JBang :: Plugin :: Kubernetes | 17.3s | SUCCESS |
| Camel :: JBang :: Plugin :: Testing | 10.1s | SUCCESS |
| Camel :: JBang :: Plugin :: Validate | 6.3s | SUCCESS |
| Camel :: Coverage | 5.0s | SUCCESS |
| Camel :: JBang :: Plugin :: Edit | 1.6s | SUCCESS |
| Camel :: JBang :: Plugin :: Generate | 1.5s | SUCCESS |
| Camel :: JBang :: Plugin :: Route Parser | 1.2s | SUCCESS |
| Camel :: JBang :: Plugin :: MCP | 1.0s | SUCCESS |
| Camel :: JBang :: Integration tests | 0.9s | SUCCESS |
| Camel :: JBang :: Main | 0.9s | SUCCESS |
| Camel :: Launcher :: Container | 0.7s | SUCCESS |
| Camel :: JBang :: Core | n/a | |
**Top 20 slowest modules:**
- `Camel :: Launcher` (56.8s)
- `Camel :: JBang :: MCP` (44.0s)
- `Camel :: JBang :: Plugin :: TUI` (37.6s)
- `Camel :: JBang :: Plugin :: Kubernetes` (17.3s)
- `Camel :: JBang :: Plugin :: Testing` (10.1s)
- `Camel :: JBang :: Plugin :: Validate` (6.3s)
- `Camel :: Coverage` (5.0s)
- `Camel :: JBang :: Plugin :: Edit` (1.6s)
- `Camel :: JBang :: Plugin :: Generate` (1.5s)
- `Camel :: JBang :: Plugin :: Route Parser` (1.2s)
- `Camel :: JBang :: Plugin :: MCP` (1.0s)
- `Camel :: JBang :: Integration tests` (0.9s)
- `Camel :: JBang :: Main` (0.9s)
- `Camel :: Launcher :: Container` (0.7s)
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/35718480985)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org