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

   Upgrades Citrus from 5.0.2 to 5.1.0 (CAMEL-25878), used by 
`camel-test-citrus` and by `camel-jbang-plugin-test` (`camel test`).
   
   Citrus 5.1.0 no longer sends the default `Content-Type: text/plain` on a 
bodyless HTTP request (citrusframework/citrus#1826, 
citrusframework/citrus#1829). With that header, a REST DSL route with 
`bindingMode: json` answers a GET with 500, so Citrus tests of such routes had 
to set the Content-Type on every GET (apache/camel-jbang-examples#129). Its 
Spring (7.0.9) and Spring Boot (4.1.1) versions match Camel's.
   
   The plugin reads the Citrus version at runtime (`CitrusVersion.version()`), 
so `parent/pom.xml` is the only change.
   
   Tested locally:
   - `camel-test-citrus`: `mvn verify`, 41 tests pass.
   - `camel-jbang-plugin-test`: `mvn verify`, 6 tests pass.
   - With the rebuilt plugin installed, `camel test run` of the 
camel-jbang-examples `contracts/rest-code-first` test, with the Content-Type 
workaround removed from its GETs, passes (Citrus 5.1.0, integration on Camel 
4.23.0).
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


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