davsclaus opened a new pull request, #23512:
URL: https://github.com/apache/camel/pull/23512

   ## Summary
   
   Follow-up to #23511 (EIP + user manual docs). Normalizes YAML DSL code 
blocks in 19 component documentation files from classic shorthand form to 
canonical (normalized) form, consistent with the canonical JSON schema 
introduced in CAMEL-22987.
   
   **Four shorthand patterns were normalized:**
   
   1. **Shorthand `to:`** — `- to: "direct:foo"` → expanded with nested `uri:` 
field (67 instances)
   2. **Shorthand `log:`** — `- log: "${body}"` → expanded with nested 
`message:` field (125 instances)
   3. **Inline `simple:` expression** — wrapped with canonical `expression:` / 
`simple:` / `expression:` structure (110 instances)
   4. **URI with inline query params** — split into `uri:` + `parameters:` 
block (73 instances)
   5. **Bare `from:` without `route:` wrapper** — wrapped with `- route:` 
parent (19 instances)
   
   **Files changed (19):**
   
   | Component | Instances | Patterns |
   |---|---|---|
   | `camel-keycloak` | 254 | all 5 patterns |
   | `camel-docling` | 57 | to, log, simple |
   | `camel-langchain4j-embeddings` | 12 | to |
   | `camel-dhis2` | 12 | bare from, log, simple |
   | `camel-openai` | 9 | log, simple |
   | `camel-langchain4j-embeddingstore` | 9 | to, log, simple |
   | `camel-aws2-s3-vectors` | 7 | bare from, log, to |
   | `camel-pgvector` | 6 | to, simple |
   | `camel-azure-storage-blob` | 6 | log, to, URI params |
   | `camel-kamelet` | 6 | to, log, simple, bare from, URI params |
   | `camel-camunda` | 6 | simple, URI params |
   | `camel-event` | 6 | log |
   | `camel-kafka` | 2 | to |
   | `camel-pqc` | 5 | log, simple, to |
   | `camel-dfdl` | 4 | bare from, log |
   | `camel-ocsf` | 3 | simple |
   | `camel-smooks` (component + dataformat) | 4 | bare from, to, URI params, 
log |
   | `camel-ibm-watsonx-ai` | 2 | simple, URI params |
   
   ## Test plan
   
   - [ ] Spot-checked representative YAML blocks with `camel validate yaml-dsl` 
(MCP schema validation)
   - [ ] Documentation-only change — no code changes, no test impact
   
   _Claude Code on behalf of Claus Ibsen_
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to