CAMEL-23864: fix edi-x12-as2 and openapi/server examples after YAML normalization#69
Merged
Merged
Conversation
…ormalization The YAML canonical-form normalization in 60a70d8 introduced two test regressions, both verified against Camel 4.18.2 / Citrus 4.10.1: - edi-x12-as2: onException was moved out of the as2Error routeConfiguration into the route steps, causing "Route receivePurchaseOrder has no output processors" at startup. Restored onException (with the AS2 disposition FAILED script handler) into the routeConfiguration. Also fixed an invalid ediMessageCharset value (charset=US-ASCII -> US-ASCII) that triggered IllegalCharsetNameException once the route started correctly. - openapi/server: the restConfiguration with apiContextPath: openapi was deleted, so the spec was no longer served at /openapi and the test got HTTP 404. Restored the restConfiguration block. Also moves the ftp example runtime dependencies from jbang.properties (run.deps) to camel.jbang.dependencies in application.properties. All 8 workflow test suites pass. Related to CAMEL-23863. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ammachado
marked this pull request as ready for review
July 1, 2026 03:40
davsclaus
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two
camel-jbang-examplesintegration tests that fail after the YAML canonical-form normalization in60a70d8. Verified locally against Camel 4.18.2 / Citrus 4.10.1; all 8 workflow suites now pass.JIRA: CAMEL-23864 (related to CAMEL-23863)
Changes
edi-x12-as2/camel/edi-x12-as2.camel.yamlonExceptioninto theas2ErrorrouteConfiguration(with the AS2 disposition-FAILED script handler). Normalization had moved it into the routesteps, causingRoute receivePurchaseOrder has no output processorsat startup.ediMessageCharset: charset=US-ASCII→US-ASCII(invalid charset name,IllegalCharsetNameException). Latent since the example was added; only surfaced once the route started correctly.openapi/server/petstore.camel.yamlrestConfigurationblock withclientRequestValidation: trueandapiContextPath: openapi. It had been deleted, so the spec was no longer served at/openapiand the test received HTTP 404.ftpexample (maintenance)jbang.properties(run.deps) tocamel.jbang.dependenciesinapplication.properties(natively supported comma-separated list).Testing
Ran the full
build.ymlworkflow locally:🤖 Generated with Claude Code