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

   ## Summary
   
   - Renames the Exchange header *string values* in `JiraConstants` from 
non-Camel-prefixed values (`IssueKey`, `ProjectKey`, `IssueTransitionId`, 
`linkType`, `minutesSpent`, …) to `CamelJira<Name>`, following the convention 
used across the rest of the Camel component catalog.
   - The Java field names (`ISSUE_KEY`, `ISSUE_PROJECT_KEY`, `LINK_TYPE`, …) 
are unchanged so routes referencing the constants symbolically continue to work 
without modification.
   - The generated Endpoint DSL header accessors on `JiraHeaderNameBuilder` are 
renamed accordingly (`issueKey()` → `jiraIssueKey()`, `projectKey()` → 
`jiraIssueProjectKey()`, `linkType()` → `jiraLinkType()`, …).
   - Producer error messages that quote the old header names are updated for 
consistency.
   - Upgrade-guide entry added in `camel-4x-upgrade-guide-4_21.adoc`.
   
   This follows the rename pattern established in CAMEL-23526 (`camel-cxf`), 
CAMEL-23461 (`camel-aws-bedrock`), CAMEL-23522 (`camel-mail`), CAMEL-23532 
(`camel-vertx-websocket` / `camel-atmosphere-websocket` / `camel-iggy`), 
CAMEL-23515 (`camel-nats`), and CAMEL-23516 (`camel-xmpp`).
   
   Tracking ticket: CAMEL-23577 (global sweep) — this is one of the cluster 
sub-tasks.
   
   ## Backports
   
   The defect predates 4.x; `JiraConstants` has the same layout on 
`camel-4.18.x` and `camel-4.14.x`. Targeted fix versions: **4.21.0, 4.18.3, 
4.14.8**.
   
   ## Test plan
   
   - [x] `mvn -DskipTests install` in `components/camel-jira` — catalog and 
component docs regenerated cleanly.
   - [x] Full reactor build `mvn clean install -DskipTests` from repo root — 
endpoint DSL `JiraEndpointBuilderFactory` regenerated with new method names; no 
other regen drift.
   - [x] No literal-string usages of the old header values exist anywhere in 
the repo outside `JiraConstants.java` (verified by grep across `src/main`, 
`src/test`, `*.adoc`, `*.xml`, `*.json`).
   - [x] All test code already references the Java fields (`ISSUE_KEY`, 
`ISSUE_TRANSITION_ID`, …) via static import — no test changes required.
   - [ ] CI verifies the full build (no local-only failures).
   
   _Reported by Claude Code on behalf of Andrea Cosentino_


-- 
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