CAMEL-23610: Normalize YAML DSL to canonical form#64
Merged
Conversation
Normalize 57 shorthand YAML DSL instances across 8 files: - Shorthand log/to expanded to canonical nested form - Inline simple expressions wrapped with expression wrapper - URI query params extracted to parameters block Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Normalizes 57 shorthand YAML DSL instances across 8 example files to canonical form, consistent with the canonical JSON schema introduced in CAMEL-22987.
Patterns normalized:
log:→ expanded withmessage:fieldsimple:→ wrapped withexpression:structureuri:+parameters:blockto:→ expanded withuri:fieldFiles changed:
pqc-document-signing/pqc-document-signing.yaml(43 instances)ibm/ibm-cos/ibm-cos-sink.kamelet.yaml(6)ibm/ibm-watson-language/text-analysis-api.camel.yaml(3)ibm/ibm-cos/kafka-to-ibm-cos.camel.yaml(1)ibm/ibm-cos/ibm-cos-source.kamelet.yaml(1)kubernetes/secrets/news-service.camel.yaml(1)kubernetes/service/news-service.camel.yaml(1)aws/aws-sqs/http-to-aws-sqs.camel.yaml(1)Related PRs in apache/camel: #23511 (EIP + user manual docs), #23512 (component docs)
Test plan
camel validate yaml-dslschema validationClaude Code on behalf of Claus Ibsen
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com