Claus Ibsen created CAMEL-22048:
-----------------------------------
Summary: camel-platform-http-main - HTTP summary align verbx
Key: CAMEL-22048
URL: https://issues.apache.org/jira/browse/CAMEL-22048
Project: Camel
Issue Type: Improvement
Components: camel-platform-http
Reporter: Claus Ibsen
Fix For: 4.12.0
If you use camel xxx.java --console
Then notice /q/jolokia has both GET,POST as verbs and it aligns uneven
{code:java}
2025-05-03 09:29:50.415 INFO 6310 --- [ main]
nt.platform.http.main.MainHttpServerUtil : HTTP endpoints summary
2025-05-03 09:29:50.415 INFO 6310 --- [ main]
nt.platform.http.main.MainHttpServerUtil : http://0.0.0.0:8080/q/dev
(GET) (produce:text/plain,application/json)
2025-05-03 09:29:50.415 INFO 6310 --- [ main]
nt.platform.http.main.MainHttpServerUtil : http://0.0.0.0:8080/q/health
(GET) (produce:application/json)
2025-05-03 09:29:50.415 INFO 6310 --- [ main]
nt.platform.http.main.MainHttpServerUtil : http://0.0.0.0:8080/q/info
(GET) (produce:application/json)
2025-05-03 09:29:50.415 INFO 6310 --- [ main]
nt.platform.http.main.MainHttpServerUtil : http://0.0.0.0:8080/q/jolokia
(GET,POST) (produce:application/json) {code}
It would be good to calc the max width of verbs and use same spacing for the
others.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)