davsclaus opened a new pull request, #24667:
URL: https://github.com/apache/camel/pull/24667
## Summary
- Add HTTP POST support to all dev console endpoints (`/q/dev/*`) in
`ManagementHttpServer`, allowing parameters to be sent as a JSON request body
instead of query parameters (avoids URL length limits)
- Add exchange variables support to `EvalLanguageDevConsole` — new
`variables` option sets variables on the dummy exchange before evaluation
- Add `--variable` CLI option to `camel cmd expression` command
- Pass variables through the file-based IPC in `LocalCliConnector`
## Test plan
- [x] Unit tests for `EvalLanguageDevConsole` covering body, headers,
variables, predicates, and combined evaluation (5 new tests, all pass)
- [x] All existing tests in `camel-console` (139 tests),
`camel-platform-http-main` (18 tests), and `camel-cli-connector` pass
- [ ] Manual test with curl: `curl -X POST -H "Accept: application/json" -H
"Content-Type: application/json" -d
'{"language":"simple","template":"${body}","body":"hello"}'
http://localhost:8080/q/dev/eval-language`
_Claude Code on behalf of davsclaus_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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]