Skip to content

CAMEL-23610: Normalize YAML DSL to canonical form#64

Merged
davsclaus merged 1 commit into
mainfrom
CAMEL-23610-normalize-yaml-dsl
May 26, 2026
Merged

CAMEL-23610: Normalize YAML DSL to canonical form#64
davsclaus merged 1 commit into
mainfrom
CAMEL-23610-normalize-yaml-dsl

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

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:

  • 30 shorthand log: → expanded with message: field
  • 20 inline simple: → wrapped with expression: structure
  • 6 URI query params → split into uri: + parameters: block
  • 1 shorthand to: → expanded with uri: field

Files 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

  • Examples are YAML-only route files — no build/test infrastructure to run
  • Spot-checked with camel validate yaml-dsl schema validation

Claude Code on behalf of Claus Ibsen

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

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>
@davsclaus davsclaus merged commit 246a1d6 into main May 26, 2026
1 check failed
@davsclaus davsclaus deleted the CAMEL-23610-normalize-yaml-dsl branch May 26, 2026 05:16
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.

1 participant